kpgres 0.5.0

A native, asynchronous PostgreSQL client for Kayrx
Build #1517841 2024-11-11 02:35:46

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.84.0-nightly (143ce0920 2024-11-10)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/kpgres-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/kpgres-0.5.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241110-1.84.0-nightly-143ce0920\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] f6f0fea0c11896dd1938cc5bd74389770e9edb6354a0450b8d3fb06279b5829d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f6f0fea0c11896dd1938cc5bd74389770e9edb6354a0450b8d3fb06279b5829d", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking kayrx v0.7.7
[INFO] [stderr] error[E0277]: cannot subtract `TimeDelta` from `Tm`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kayrx-0.7.7/src/http/cookie/jar.rs:223:44
[INFO] [stderr]     |
[INFO] [stderr] 223 |             cookie.set_expires(time::now() - Duration::days(365));
[INFO] [stderr]     |                                            ^ no implementation for `Tm - TimeDelta`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Sub<TimeDelta>` is not implemented for `Tm`
[INFO] [stderr]     = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stderr]               `Tm` implements `Sub<time::Duration>`
[INFO] [stderr]               `Tm` implements `Sub`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/kayrx-0.7.7/src/http/cookie/mod.rs:734:40
[INFO] [stderr]     |
[INFO] [stderr] 734 |         self.set_expires(time::now() + twenty_years);
[INFO] [stderr]     |                                        ^^^^^^^^^^^^ expected `Duration`, found `TimeDelta`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `kayrx` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "f6f0fea0c11896dd1938cc5bd74389770e9edb6354a0450b8d3fb06279b5829d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6f0fea0c11896dd1938cc5bd74389770e9edb6354a0450b8d3fb06279b5829d", kill_on_drop: false }`
[INFO] [stdout] f6f0fea0c11896dd1938cc5bd74389770e9edb6354a0450b8d3fb06279b5829d