[INFO] fetching crate r2d2_redis_patch 0.6.1... [INFO] testing r2d2_redis_patch-0.6.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate r2d2_redis_patch 0.6.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate r2d2_redis_patch 0.6.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate r2d2_redis_patch 0.6.1 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate r2d2_redis_patch 0.6.1 [INFO] tweaked toml for crates.io crate r2d2_redis_patch 0.6.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded redis v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d09274134e3bedfa0199d33c04e3d73c5cf92190ea083887d64935ed8a5c7ef6 [INFO] running `Command { std: "docker" "start" "-a" "d09274134e3bedfa0199d33c04e3d73c5cf92190ea083887d64935ed8a5c7ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d09274134e3bedfa0199d33c04e3d73c5cf92190ea083887d64935ed8a5c7ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09274134e3bedfa0199d33c04e3d73c5cf92190ea083887d64935ed8a5c7ef6", kill_on_drop: false }` [INFO] [stdout] d09274134e3bedfa0199d33c04e3d73c5cf92190ea083887d64935ed8a5c7ef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc639e9d882fb8e16d4870aae8b971b154fbf72eda6aa81cfcb3501e3d95b6e7 [INFO] running `Command { std: "docker" "start" "-a" "dc639e9d882fb8e16d4870aae8b971b154fbf72eda6aa81cfcb3501e3d95b6e7", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling r2d2_redis_patch v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | connection_info: try!(params.into_connection_info()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | match self.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:21:55 [INFO] [stdout] | [INFO] [stdout] 21 | Some(cause) => write!(fmt, "{}: {}", self.description(), cause), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | None => write!(fmt, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | Error::Other(ref err) => err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | Error::Other(ref err) => err.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.76s [INFO] running `Command { std: "docker" "inspect" "dc639e9d882fb8e16d4870aae8b971b154fbf72eda6aa81cfcb3501e3d95b6e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc639e9d882fb8e16d4870aae8b971b154fbf72eda6aa81cfcb3501e3d95b6e7", kill_on_drop: false }` [INFO] [stdout] dc639e9d882fb8e16d4870aae8b971b154fbf72eda6aa81cfcb3501e3d95b6e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97eea894078e3dbb8838de10553994960152c0e9f19db9a2570f883bb26af6be [INFO] running `Command { std: "docker" "start" "-a" "97eea894078e3dbb8838de10553994960152c0e9f19db9a2570f883bb26af6be", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | connection_info: try!(params.into_connection_info()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | match self.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:21:55 [INFO] [stdout] | [INFO] [stdout] 21 | Some(cause) => write!(fmt, "{}: {}", self.description(), cause), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | None => write!(fmt, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | Error::Other(ref err) => err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | Error::Other(ref err) => err.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97eea894078e3dbb8838de10553994960152c0e9f19db9a2570f883bb26af6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97eea894078e3dbb8838de10553994960152c0e9f19db9a2570f883bb26af6be", kill_on_drop: false }` [INFO] [stdout] 97eea894078e3dbb8838de10553994960152c0e9f19db9a2570f883bb26af6be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 485b877177c81e21d237fb11d1a28f158f651d157554edb54184d787a2a22175 [INFO] running `Command { std: "docker" "start" "-a" "485b877177c81e21d237fb11d1a28f158f651d157554edb54184d787a2a22175", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::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 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:93:30 [INFO] [stderr] | [INFO] [stderr] 93 | connection_info: try!(params.into_connection_info()), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | match self.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:21:55 [INFO] [stderr] | [INFO] [stderr] 21 | Some(cause) => write!(fmt, "{}: {}", self.description(), cause), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | None => write!(fmt, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:30:42 [INFO] [stderr] | [INFO] [stderr] 30 | Error::Other(ref err) => err.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:36:42 [INFO] [stderr] | [INFO] [stderr] 36 | Error::Other(ref err) => err.cause() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `r2d2_redis_patch` (lib) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Doc-tests r2d2_redis_patch [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - RedisConnectionManager (line 45) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RedisConnectionManager (line 45) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `r2d2_redis` [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r2d2_redis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - RedisConnectionManager (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "485b877177c81e21d237fb11d1a28f158f651d157554edb54184d787a2a22175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485b877177c81e21d237fb11d1a28f158f651d157554edb54184d787a2a22175", kill_on_drop: false }` [INFO] [stdout] 485b877177c81e21d237fb11d1a28f158f651d157554edb54184d787a2a22175