[INFO] fetching crate redlock-rs 0.2.1... [INFO] testing redlock-rs-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate redlock-rs 0.2.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate redlock-rs 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 redis v0.32.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79c89afbc028fbf604b174fd7d5d6981639cd22b39880ad6c4e3277529135de2 [INFO] running `Command { std: "docker" "start" "-a" "79c89afbc028fbf604b174fd7d5d6981639cd22b39880ad6c4e3277529135de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79c89afbc028fbf604b174fd7d5d6981639cd22b39880ad6c4e3277529135de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c89afbc028fbf604b174fd7d5d6981639cd22b39880ad6c4e3277529135de2", kill_on_drop: false }` [INFO] [stdout] 79c89afbc028fbf604b174fd7d5d6981639cd22b39880ad6c4e3277529135de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 11109e360b407b53aa92fa36019f32cccdf405d38434435197719b4c722051c8 [INFO] running `Command { std: "docker" "start" "-a" "11109e360b407b53aa92fa36019f32cccdf405d38434435197719b4c722051c8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling redis v0.32.2 [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] 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 `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/redlock.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [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 = 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-0.32.2/src/cmd.rs:661:12 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn query(&self, con: &mut dyn ConnectionLike) -> RedisResult { [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 = 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-0.32.2/src/script.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn invoke(&self, con: &mut dyn ConnectionLike) -> RedisResult { [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 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "11109e360b407b53aa92fa36019f32cccdf405d38434435197719b4c722051c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11109e360b407b53aa92fa36019f32cccdf405d38434435197719b4c722051c8", kill_on_drop: false }` [INFO] [stdout] 11109e360b407b53aa92fa36019f32cccdf405d38434435197719b4c722051c8