[INFO] fetching crate nickel_postgres 0.2.0... [INFO] testing nickel_postgres-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate nickel_postgres 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking crates.io crate nickel_postgres 0.2.0 [INFO] finished tweaking crates.io crate nickel_postgres 0.2.0 [INFO] tweaked toml for crates.io crate nickel_postgres 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nickel_postgres 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding nickel v0.8.1 (available: v0.11.0) [INFO] [stderr] Adding phf v0.7.15 (available: v0.7.24) [INFO] [stderr] Adding phf_shared v0.7.15 (available: v0.7.24) [INFO] [stderr] Adding r2d2 v0.7.4 (available: v0.8.10) [INFO] [stderr] Adding r2d2_postgres v0.10.1 (available: v0.18.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f987a61ba0d81953553e103c3a0d0460d346228d907b3233943afd63de4cdc84 [INFO] running `Command { std: "docker" "start" "-a" "f987a61ba0d81953553e103c3a0d0460d346228d907b3233943afd63de4cdc84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f987a61ba0d81953553e103c3a0d0460d346228d907b3233943afd63de4cdc84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f987a61ba0d81953553e103c3a0d0460d346228d907b3233943afd63de4cdc84", kill_on_drop: false }` [INFO] [stdout] f987a61ba0d81953553e103c3a0d0460d346228d907b3233943afd63de4cdc84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2448c2b3c24411c9fd2c887be44ee8c6e3b8827e0061a93d23b3c42585c9c17 [INFO] running `Command { std: "docker" "start" "-a" "f2448c2b3c24411c9fd2c887be44ee8c6e3b8827e0061a93d23b3c42585c9c17", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling scheduled-thread-pool v0.1.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling r2d2 v0.7.4 [INFO] [stderr] Compiling postgres v0.11.12 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling r2d2_postgres v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling mustache v0.6.3 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling hyper v0.8.1 [INFO] [stderr] Compiling nickel v0.8.1 [INFO] [stderr] Compiling nickel_postgres v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let manager = try!(PostgresConnectionManager::new(db_url, SslMode::None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = try!(Pool::new(Config::default(), manager)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f2448c2b3c24411c9fd2c887be44ee8c6e3b8827e0061a93d23b3c42585c9c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2448c2b3c24411c9fd2c887be44ee8c6e3b8827e0061a93d23b3c42585c9c17", kill_on_drop: false }` [INFO] [stdout] f2448c2b3c24411c9fd2c887be44ee8c6e3b8827e0061a93d23b3c42585c9c17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b02b483356df152e7e4b5076a5688b0cca656206d72df1fb13774bebeabea3fe [INFO] running `Command { std: "docker" "start" "-a" "b02b483356df152e7e4b5076a5688b0cca656206d72df1fb13774bebeabea3fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nickel_postgres v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let manager = try!(PostgresConnectionManager::new(db_url, SslMode::None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = try!(Pool::new(Config::default(), manager)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let manager = try!(PostgresConnectionManager::new(db_url, SslMode::None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/middleware.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let pool = try!(Pool::new(Config::default(), manager)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b02b483356df152e7e4b5076a5688b0cca656206d72df1fb13774bebeabea3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02b483356df152e7e4b5076a5688b0cca656206d72df1fb13774bebeabea3fe", kill_on_drop: false }` [INFO] [stdout] b02b483356df152e7e4b5076a5688b0cca656206d72df1fb13774bebeabea3fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7061d7aba5551a35664ad4b6f062c471ada87b0174232e16d0edb51b3d457fe [INFO] running `Command { std: "docker" "start" "-a" "c7061d7aba5551a35664ad4b6f062c471ada87b0174232e16d0edb51b3d457fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/middleware.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | let manager = try!(PostgresConnectionManager::new(db_url, SslMode::None)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/middleware.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | let pool = try!(Pool::new(Config::default(), manager)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/middleware.rs:18:64 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(db_url: &str) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nickel_postgres` (lib) generated 3 warnings (run `cargo fix --lib -p nickel_postgres` to apply 1 suggestion) [INFO] [stderr] warning: `nickel_postgres` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nickel_postgres-5ad461486d91b46a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nickel_postgres [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/middleware.rs - middleware::PostgresRequestExtensions (line 52) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7061d7aba5551a35664ad4b6f062c471ada87b0174232e16d0edb51b3d457fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7061d7aba5551a35664ad4b6f062c471ada87b0174232e16d0edb51b3d457fe", kill_on_drop: false }` [INFO] [stdout] c7061d7aba5551a35664ad4b6f062c471ada87b0174232e16d0edb51b3d457fe