[INFO] fetching crate redlock-rs 0.2.1...
[INFO] testing redlock-rs-0.2.1 against beta-2023-04-20 for beta-1.70-1
[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 beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a7364b1524de506e5712b647346cbb0e5fc804f8c1ac4850eae7fb47ac8e6fbb
[INFO] running `Command { std: "docker" "start" "-a" "a7364b1524de506e5712b647346cbb0e5fc804f8c1ac4850eae7fb47ac8e6fbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7364b1524de506e5712b647346cbb0e5fc804f8c1ac4850eae7fb47ac8e6fbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7364b1524de506e5712b647346cbb0e5fc804f8c1ac4850eae7fb47ac8e6fbb", kill_on_drop: false }`
[INFO] [stdout] a7364b1524de506e5712b647346cbb0e5fc804f8c1ac4850eae7fb47ac8e6fbb
[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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9cd841f668fa6406b11565d4aa7c77e8635563f5b879e407bf1fc25cb146756
[INFO] running `Command { std: "docker" "start" "-a" "c9cd841f668fa6406b11565d4aa7c77e8635563f5b879e407bf1fc25cb146756", kill_on_drop: false }`
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling combine v4.6.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling redis v0.23.0
[INFO] [stderr]    Compiling 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] 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.23.0/src/cmd.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 |     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.23.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] [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] running `Command { std: "docker" "inspect" "c9cd841f668fa6406b11565d4aa7c77e8635563f5b879e407bf1fc25cb146756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9cd841f668fa6406b11565d4aa7c77e8635563f5b879e407bf1fc25cb146756", kill_on_drop: false }`
[INFO] [stdout] c9cd841f668fa6406b11565d4aa7c77e8635563f5b879e407bf1fc25cb146756
