[INFO] fetching crate nickel_postgres 0.2.0... [INFO] testing nickel_postgres-0.2.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate nickel_postgres 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate nickel_postgres 0.2.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.11.12 [INFO] [stderr] Downloaded scheduled-thread-pool v0.1.0 [INFO] [stderr] Downloaded r2d2 v0.7.4 [INFO] [stderr] Downloaded phf v0.7.15 [INFO] [stderr] Downloaded phf_shared v0.7.15 [INFO] [stderr] Downloaded r2d2_postgres v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 602584a4bc32149df2fc1fc6c86a5465012c0f014db2f56b5f1b42924e607f4a [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" "602584a4bc32149df2fc1fc6c86a5465012c0f014db2f56b5f1b42924e607f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "602584a4bc32149df2fc1fc6c86a5465012c0f014db2f56b5f1b42924e607f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602584a4bc32149df2fc1fc6c86a5465012c0f014db2f56b5f1b42924e607f4a", kill_on_drop: false }` [INFO] [stdout] 602584a4bc32149df2fc1fc6c86a5465012c0f014db2f56b5f1b42924e607f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b9ce2c73c3455f3ea86be8ea00b0e90140c80512270b2cd5fe5ad7b1f593eb4 [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" "9b9ce2c73c3455f3ea86be8ea00b0e90140c80512270b2cd5fe5ad7b1f593eb4", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [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 unicase v1.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.1.0 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling r2d2 v0.7.4 [INFO] [stderr] Compiling postgres v0.11.12 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mustache v0.6.3 [INFO] [stderr] Compiling r2d2_postgres v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling url v1.7.2 [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.09s [INFO] running `Command { std: "docker" "inspect" "9b9ce2c73c3455f3ea86be8ea00b0e90140c80512270b2cd5fe5ad7b1f593eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9ce2c73c3455f3ea86be8ea00b0e90140c80512270b2cd5fe5ad7b1f593eb4", kill_on_drop: false }` [INFO] [stdout] 9b9ce2c73c3455f3ea86be8ea00b0e90140c80512270b2cd5fe5ad7b1f593eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4fdc7f1cfd945336371508d0bc165ac55b4ea77982063315accbac2d37814c [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" "ab4fdc7f1cfd945336371508d0bc165ac55b4ea77982063315accbac2d37814c", kill_on_drop: false }` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "ab4fdc7f1cfd945336371508d0bc165ac55b4ea77982063315accbac2d37814c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4fdc7f1cfd945336371508d0bc165ac55b4ea77982063315accbac2d37814c", kill_on_drop: false }` [INFO] [stdout] ab4fdc7f1cfd945336371508d0bc165ac55b4ea77982063315accbac2d37814c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcfcd855572e11059a33f5435ce98181408949db651762f214be717bdc135cee [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" "fcfcd855572e11059a33f5435ce98181408949db651762f214be717bdc135cee", kill_on_drop: false }` [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nickel_postgres-bb2aa8ba5a0f059b) [INFO] [stdout] [INFO] [stderr] Doc-tests nickel_postgres [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] [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" "fcfcd855572e11059a33f5435ce98181408949db651762f214be717bdc135cee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfcd855572e11059a33f5435ce98181408949db651762f214be717bdc135cee", kill_on_drop: false }` [INFO] [stdout] fcfcd855572e11059a33f5435ce98181408949db651762f214be717bdc135cee