[INFO] fetching crate redlock-rs 0.2.1...
[INFO] checking redlock-rs-0.2.1 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate redlock-rs 0.2.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate redlock-rs 0.2.1
[INFO] finished tweaking crates.io crate redlock-rs 0.2.1
[INFO] tweaked toml for crates.io crate redlock-rs 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redis v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4bed17b2e76d04622b0b0d254e8289a61437c696265a6f6562f1e925097044b6
[INFO] running `Command { std: "docker" "start" "-a" "4bed17b2e76d04622b0b0d254e8289a61437c696265a6f6562f1e925097044b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bed17b2e76d04622b0b0d254e8289a61437c696265a6f6562f1e925097044b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bed17b2e76d04622b0b0d254e8289a61437c696265a6f6562f1e925097044b6", kill_on_drop: false }`
[INFO] [stdout] 4bed17b2e76d04622b0b0d254e8289a61437c696265a6f6562f1e925097044b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] faff5b52f7705a1d380eff637c1e3d461b1ee0364acf52c2009154890ba8793b
[INFO] running `Command { std: "docker" "start" "-a" "faff5b52f7705a1d380eff637c1e3d461b1ee0364acf52c2009154890ba8793b", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stderr]     Checking redlock-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/redlock.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           std::collections::btree_map::Range
[INFO] [stdout]           std::collections::btree_set::Range
[INFO] [stdout]           std::ops::Range
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time`
[INFO] [stdout]   --> src/redlock.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let time = time::get_time();
[INFO] [stdout]    |                          ^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/redlock.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           std::collections::btree_map::Range
[INFO] [stdout]           std::collections::btree_set::Range
[INFO] [stdout]           std::ops::Range
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]  --> src/redlock.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep_ms;
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/redlock.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             sleep_ms(n);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time`
[INFO] [stdout]   --> src/redlock.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let time = time::get_time();
[INFO] [stdout]    |                          ^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]  --> src/redlock.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep_ms;
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/redlock.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             sleep_ms(n);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:89:119
[INFO] [stdout]     |
[INFO] [stdout] 89  |         let result : RedisResult<Value> = redis::cmd("SET").arg(resource).arg(val).arg("nx").arg("px").arg(ttl).query(&con);
[INFO] [stdout]     |                                                                                                                 ----- ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                                                                 |
[INFO] [stdout]     |                                                                                                                 arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:419:12
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:89:119
[INFO] [stdout]     |
[INFO] [stdout] 89  |         let result : RedisResult<Value> = redis::cmd("SET").arg(resource).arg(val).arg("nx").arg("px").arg(ttl).query(&con);
[INFO] [stdout]     |                                                                                                                 ----- ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                                                                 |
[INFO] [stdout]     |                                                                                                                 arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:419:12
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:153:78
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let result : RedisResult<i32> = script.key(resource).arg(val).invoke(&con);
[INFO] [stdout]     |                                                                       ------ ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/script.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn invoke<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:153:78
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let result : RedisResult<i32> = script.key(resource).arg(val).invoke(&con);
[INFO] [stdout]     |                                                                       ------ ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/script.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn invoke<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:218:53
[INFO] [stdout]     |
[INFO] [stdout] 218 |     redis::cmd("SET").arg(&*key).arg(&*val).execute(&con);
[INFO] [stdout]     |                                             ------- ^^^^ types differ in mutability
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:525:12
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn execute(&self, con: &mut dyn ConnectionLike) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:231:42
[INFO] [stdout]     |
[INFO] [stdout] 231 |     redis::cmd("DEL").arg(&*key).execute(&con);
[INFO] [stdout]     |                                  ------- ^^^^ types differ in mutability
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:525:12
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn execute(&self, con: &mut dyn ConnectionLike) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redlock-rs` (lib) due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:242:64
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let _ : () = redis::cmd("SET").arg(&*key).arg(&*val).query(&con).unwrap();
[INFO] [stdout]     |                                                          ----- ^^^^ types differ in mutability
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:419:12
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redlock-rs` (lib test) due to 8 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "faff5b52f7705a1d380eff637c1e3d461b1ee0364acf52c2009154890ba8793b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faff5b52f7705a1d380eff637c1e3d461b1ee0364acf52c2009154890ba8793b", kill_on_drop: false }`
[INFO] [stdout] faff5b52f7705a1d380eff637c1e3d461b1ee0364acf52c2009154890ba8793b
[INFO] checking redlock-rs-0.2.1 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate redlock-rs 0.2.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate redlock-rs 0.2.1
[INFO] finished tweaking crates.io crate redlock-rs 0.2.1
[INFO] tweaked toml for crates.io crate redlock-rs 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 695fd8e4de647e1996c8664a35512265be273e926425b6bbf919bd56750e77db
[INFO] running `Command { std: "docker" "start" "-a" "695fd8e4de647e1996c8664a35512265be273e926425b6bbf919bd56750e77db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "695fd8e4de647e1996c8664a35512265be273e926425b6bbf919bd56750e77db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "695fd8e4de647e1996c8664a35512265be273e926425b6bbf919bd56750e77db", kill_on_drop: false }`
[INFO] [stdout] 695fd8e4de647e1996c8664a35512265be273e926425b6bbf919bd56750e77db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 53287d5e9ad8d19b753995421b6d77380faf1f7fa737582be31039eafba7330a
[INFO] running `Command { std: "docker" "start" "-a" "53287d5e9ad8d19b753995421b6d77380faf1f7fa737582be31039eafba7330a", kill_on_drop: false }`
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking time v0.3.34
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stderr]     Checking redlock-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/redlock.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           std::collections::btree_map::Range
[INFO] [stdout]           std::collections::btree_set::Range
[INFO] [stdout]           std::ops::Range
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time`
[INFO] [stdout]   --> src/redlock.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let time = time::get_time();
[INFO] [stdout]    |                          ^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]  --> src/redlock.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]   |                           |
[INFO] [stdout]   |                           no `IndependentSample` in `distributions`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           std::collections::btree_map::Range
[INFO] [stdout]           std::collections::btree_set::Range
[INFO] [stdout]           std::ops::Range
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]  --> src/redlock.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep_ms;
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/redlock.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             sleep_ms(n);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time`
[INFO] [stdout]   --> src/redlock.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let time = time::get_time();
[INFO] [stdout]    |                          ^^^^^^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]  --> src/redlock.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep_ms;
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/redlock.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |             sleep_ms(n);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:89:119
[INFO] [stdout]     |
[INFO] [stdout] 89  |         let result : RedisResult<Value> = redis::cmd("SET").arg(resource).arg(val).arg("nx").arg("px").arg(ttl).query(&con);
[INFO] [stdout]     |                                                                                                                 ----- ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                                                                 |
[INFO] [stdout]     |                                                                                                                 arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:419:12
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:89:119
[INFO] [stdout]     |
[INFO] [stdout] 89  |         let result : RedisResult<Value> = redis::cmd("SET").arg(resource).arg(val).arg("nx").arg("px").arg(ttl).query(&con);
[INFO] [stdout]     |                                                                                                                 ----- ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                                                                 |
[INFO] [stdout]     |                                                                                                                 arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:419:12
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:153:78
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let result : RedisResult<i32> = script.key(resource).arg(val).invoke(&con);
[INFO] [stdout]     |                                                                       ------ ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/script.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn invoke<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:153:78
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let result : RedisResult<i32> = script.key(resource).arg(val).invoke(&con);
[INFO] [stdout]     |                                                                       ------ ^^^^ types differ in mutability
[INFO] [stdout]     |                                                                       |
[INFO] [stdout]     |                                                                       arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/script.rs:144:12
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn invoke<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:218:53
[INFO] [stdout]     |
[INFO] [stdout] 218 |     redis::cmd("SET").arg(&*key).arg(&*val).execute(&con);
[INFO] [stdout]     |                                             ------- ^^^^ types differ in mutability
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:525:12
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn execute(&self, con: &mut dyn ConnectionLike) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:231:42
[INFO] [stdout]     |
[INFO] [stdout] 231 |     redis::cmd("DEL").arg(&*key).execute(&con);
[INFO] [stdout]     |                                  ------- ^^^^ types differ in mutability
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:525:12
[INFO] [stdout]     |
[INFO] [stdout] 525 |     pub fn execute(&self, con: &mut dyn ConnectionLike) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redlock-rs` (lib) due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/redlock.rs:242:64
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let _ : () = redis::cmd("SET").arg(&*key).arg(&*val).query(&con).unwrap();
[INFO] [stdout]     |                                                          ----- ^^^^ types differ in mutability
[INFO] [stdout]     |                                                          |
[INFO] [stdout]     |                                                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut dyn ConnectionLike`
[INFO] [stdout]                        found reference `&Connection`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.24.0/src/cmd.rs:419:12
[INFO] [stdout]     |
[INFO] [stdout] 419 |     pub fn query<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `redlock-rs` (lib test) due to 8 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "53287d5e9ad8d19b753995421b6d77380faf1f7fa737582be31039eafba7330a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53287d5e9ad8d19b753995421b6d77380faf1f7fa737582be31039eafba7330a", kill_on_drop: false }`
[INFO] [stdout] 53287d5e9ad8d19b753995421b6d77380faf1f7fa737582be31039eafba7330a
