[INFO] fetching crate redlock-rs 0.2.1...
[INFO] testing redlock-rs-0.2.1 against 1.95.0 for beta-1.96-2
[INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-5-tc1/source
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate redlock-rs 0.2.1 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 92 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded arcstr v1.2.0
[INFO] [stderr]   Downloaded rand v0.10.1
[INFO] [stderr]   Downloaded rand_core v0.10.1
[INFO] [stderr]   Downloaded xxhash-rust v0.8.15
[INFO] [stderr]   Downloaded redis v1.2.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 431d198fda981d68015fff29f875bdda347bc1e0d86bc0a593dcc6d5b7030935
[INFO] running `Command { std: "docker" "start" "-a" "431d198fda981d68015fff29f875bdda347bc1e0d86bc0a593dcc6d5b7030935", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "431d198fda981d68015fff29f875bdda347bc1e0d86bc0a593dcc6d5b7030935", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "431d198fda981d68015fff29f875bdda347bc1e0d86bc0a593dcc6d5b7030935", kill_on_drop: false }`
[INFO] [stdout] 431d198fda981d68015fff29f875bdda347bc1e0d86bc0a593dcc6d5b7030935
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5d5b6534d048ada8402fe1eca4ff88b423b94edada971bd740a6c13456e123a
[INFO] running `Command { std: "docker" "start" "-a" "f5d5b6534d048ada8402fe1eca4ff88b423b94edada971bd740a6c13456e123a", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling arcstr v1.2.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling xxhash-rust v0.8.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling redis v1.2.0
[INFO] [stderr]    Compiling redlock-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions`
[INFO] [stdout]  --> src/redlock.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |           ^^^^^^^^^^^^^ could not find `distributions` in `rand`
[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[E0425]: cannot find function `thread_rng` in crate `rand`
[INFO] [stdout]    --> src/redlock.rs:115:29
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let mut rng = rand::thread_rng();
[INFO] [stdout]     |                             ^^^^^^^^^^ not found in `rand`
[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-1949cf8c6b5b557f/redis-1.2.0/src/cmd.rs:641:12
[INFO] [stdout]     |
[INFO] [stdout] 641 |     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-1949cf8c6b5b557f/redis-1.2.0/src/script.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn invoke<T: FromRedisValue>(&self, con: &mut dyn ConnectionLike) -> RedisResult<T> {
[INFO] [stdout]     |            ^^^^^^
[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" "f5d5b6534d048ada8402fe1eca4ff88b423b94edada971bd740a6c13456e123a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5d5b6534d048ada8402fe1eca4ff88b423b94edada971bd740a6c13456e123a", kill_on_drop: false }`
[INFO] [stdout] f5d5b6534d048ada8402fe1eca4ff88b423b94edada971bd740a6c13456e123a
