[INFO] cloning repository https://github.com/dragon-D/redis-cluster-async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragon-D/redis-cluster-async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-D%2Fredis-cluster-async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-D%2Fredis-cluster-async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb9711ddeeeeff08370103c248967feebe9210a5 [INFO] checking dragon-D/redis-cluster-async/cb9711ddeeeeff08370103c248967feebe9210a5 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragon-D%2Fredis-cluster-async" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dragon-D/redis-cluster-async on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dragon-D/redis-cluster-async [INFO] finished tweaking git repo https://github.com/dragon-D/redis-cluster-async [INFO] tweaked toml for git repo https://github.com/dragon-D/redis-cluster-async written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dragon-D/redis-cluster-async already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded env_logger v0.8.1 [INFO] [stderr] Downloaded aho-corasick v0.7.14 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded proptest v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42cffe0f133b774d2ba20a191afb856b8fc03581edfe276fbc2c534b0ebe1f7c [INFO] running `Command { std: "docker" "start" "-a" "42cffe0f133b774d2ba20a191afb856b8fc03581edfe276fbc2c534b0ebe1f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42cffe0f133b774d2ba20a191afb856b8fc03581edfe276fbc2c534b0ebe1f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cffe0f133b774d2ba20a191afb856b8fc03581edfe276fbc2c534b0ebe1f7c", kill_on_drop: false }` [INFO] [stdout] 42cffe0f133b774d2ba20a191afb856b8fc03581edfe276fbc2c534b0ebe1f7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c8dd8711a5be0fea0f26f027c4a474ffba2d4d5aa55b68444ac6f73af81243f [INFO] running `Command { std: "docker" "start" "-a" "0c8dd8711a5be0fea0f26f027c4a474ffba2d4d5aa55b68444ac6f73af81243f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking redis v0.21.5 [INFO] [stderr] Checking redis_cluster_async v0.7.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lazy_static` [INFO] [stdout] --> tests/mock.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | lazy_static::lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `lazy_static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lazy_static` [INFO] [stdout] --> tests/basic.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | lazy_static::lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `lazy_static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLERS` in this scope [INFO] [stdout] --> tests/mock.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | handler: HANDLERS [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLERS` in this scope [INFO] [stdout] --> tests/mock.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | HANDLERS.write().unwrap().remove(&self.0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HANDLERS` in this scope [INFO] [stdout] --> tests/mock.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | HANDLERS.write().unwrap().insert( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REDIS` in this scope [INFO] [stdout] --> tests/basic.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let redis_lock = REDIS [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delay_for` in module `tokio::time` [INFO] [stdout] --> tests/basic.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | tokio::time::delay_for(std::time::Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ConnectionAddr` cannot be dereferenced [INFO] [stdout] --> tests/mock.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | let (name, port) = match &*info.addr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u16` cannot be dereferenced [INFO] [stdout] --> tests/mock.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | redis::ConnectionAddr::Tcp(addr, port) => (addr, *port), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> tests/mock.rs:122:52 [INFO] [stdout] | [INFO] [stdout] 122 | let mut runtime = tokio::runtime::Builder::new() [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.17.0/src/runtime/builder.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn new(kind: Kind) -> Builder { [INFO] [stdout] | ---------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> tests/mock.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | let mut runtime = tokio::runtime::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `runtime::builder::Kind` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.17.0/src/runtime/builder.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn new(kind: Kind) -> Builder { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 122 | let mut runtime = tokio::runtime::Builder::new(/* runtime::builder::Kind */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/mock.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 122 | let mut runtime = tokio::runtime::Builder::new() [INFO] [stdout] | ___________________________- [INFO] [stdout] 123 | | .basic_scheduler() [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> tests/basic.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | let mut runtime = tokio::runtime::Builder::new() [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.17.0/src/runtime/builder.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn new(kind: Kind) -> Builder { [INFO] [stdout] | ---------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> tests/basic.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let mut runtime = tokio::runtime::Builder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `runtime::builder::Kind` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.17.0/src/runtime/builder.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn new(kind: Kind) -> Builder { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 47 | let mut runtime = tokio::runtime::Builder::new(/* runtime::builder::Kind */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> tests/basic.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 47 | let mut runtime = tokio::runtime::Builder::new() [INFO] [stdout] | ___________________________- [INFO] [stdout] 48 | | .basic_scheduler() [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `Builder` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0614, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis_cluster_async` (test "mock") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `redis_cluster_async` (test "basic") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0c8dd8711a5be0fea0f26f027c4a474ffba2d4d5aa55b68444ac6f73af81243f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8dd8711a5be0fea0f26f027c4a474ffba2d4d5aa55b68444ac6f73af81243f", kill_on_drop: false }` [INFO] [stdout] 0c8dd8711a5be0fea0f26f027c4a474ffba2d4d5aa55b68444ac6f73af81243f