[INFO] fetching crate r2d2_redis_patch 0.6.1... [INFO] testing r2d2_redis_patch-0.6.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate r2d2_redis_patch 0.6.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate r2d2_redis_patch 0.6.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e309f742a6442ed0c728e0a85dadb8355928eaafc3125041c235046aa1dbefb [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" "0e309f742a6442ed0c728e0a85dadb8355928eaafc3125041c235046aa1dbefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e309f742a6442ed0c728e0a85dadb8355928eaafc3125041c235046aa1dbefb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e309f742a6442ed0c728e0a85dadb8355928eaafc3125041c235046aa1dbefb", kill_on_drop: false }` [INFO] [stdout] 0e309f742a6442ed0c728e0a85dadb8355928eaafc3125041c235046aa1dbefb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 81a2e8afb4d5ec7165c873cb0ef7673e5a0424ca5bf5789c7456de70edfe41c3 [INFO] running `Command { std: "docker" "start" "-a" "81a2e8afb4d5ec7165c873cb0ef7673e5a0424ca5bf5789c7456de70edfe41c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling r2d2_redis_patch v0.6.1 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn error::Error> { [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: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 8.85s [INFO] running `Command { std: "docker" "inspect" "81a2e8afb4d5ec7165c873cb0ef7673e5a0424ca5bf5789c7456de70edfe41c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a2e8afb4d5ec7165c873cb0ef7673e5a0424ca5bf5789c7456de70edfe41c3", kill_on_drop: false }` [INFO] [stdout] 81a2e8afb4d5ec7165c873cb0ef7673e5a0424ca5bf5789c7456de70edfe41c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 875623e26f76b737bf557d692c8a53fa5c8ebe7a97719e185baf7267a911679f [INFO] running `Command { std: "docker" "start" "-a" "875623e26f76b737bf557d692c8a53fa5c8ebe7a97719e185baf7267a911679f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn error::Error> { [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: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" "875623e26f76b737bf557d692c8a53fa5c8ebe7a97719e185baf7267a911679f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875623e26f76b737bf557d692c8a53fa5c8ebe7a97719e185baf7267a911679f", kill_on_drop: false }` [INFO] [stdout] 875623e26f76b737bf557d692c8a53fa5c8ebe7a97719e185baf7267a911679f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3aa1da8315e8aa343ee0910c722f6bd33ed9359f229e79325d8d625d2736cff7 [INFO] running `Command { std: "docker" "start" "-a" "3aa1da8315e8aa343ee0910c722f6bd33ed9359f229e79325d8d625d2736cff7", kill_on_drop: false }` [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: 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] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 34 + fn cause(&self) -> Option<&dyn error::Error> { [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: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.04s [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[E0433]: failed to resolve: use of undeclared type `RedisConnectionManager` [INFO] [stdout] --> src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 14 | let manager = RedisConnectionManager::new("redis://localhost").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RedisConnectionManager` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 15 | let pool = r2d2::Pool::new(config, manager).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------ ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.8.9/src/lib.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new(manager: M) -> Result, Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `deref` found for struct `PooledConnection<_>` in the current scope [INFO] [stdout] --> src/lib.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 23 | let reply = redis::cmd("PING").query::(conn.deref()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `PooledConnection<_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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.22s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3aa1da8315e8aa343ee0910c722f6bd33ed9359f229e79325d8d625d2736cff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa1da8315e8aa343ee0910c722f6bd33ed9359f229e79325d8d625d2736cff7", kill_on_drop: false }` [INFO] [stdout] 3aa1da8315e8aa343ee0910c722f6bd33ed9359f229e79325d8d625d2736cff7