[INFO] cloning repository https://github.com/timmyjose-experiments/distributed-locking-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timmyjose-experiments/distributed-locking-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose-experiments%2Fdistributed-locking-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose-experiments%2Fdistributed-locking-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97cccf702fb20be0c83ba0463ed1325deb2c9d66 [INFO] checking timmyjose-experiments/distributed-locking-demo against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose-experiments%2Fdistributed-locking-demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timmyjose-experiments/distributed-locking-demo [INFO] finished tweaking git repo https://github.com/timmyjose-experiments/distributed-locking-demo [INFO] tweaked toml for git repo https://github.com/timmyjose-experiments/distributed-locking-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timmyjose-experiments/distributed-locking-demo on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timmyjose-experiments/distributed-locking-demo 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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6630c08a80009dafda28813ed0a5ad2dbc89827d3dbfdc107f3776032c314d0 [INFO] running `Command { std: "docker" "start" "-a" "c6630c08a80009dafda28813ed0a5ad2dbc89827d3dbfdc107f3776032c314d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6630c08a80009dafda28813ed0a5ad2dbc89827d3dbfdc107f3776032c314d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6630c08a80009dafda28813ed0a5ad2dbc89827d3dbfdc107f3776032c314d0", kill_on_drop: false }` [INFO] [stdout] c6630c08a80009dafda28813ed0a5ad2dbc89827d3dbfdc107f3776032c314d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f5feb7f507249204f5667e78a5846ba7449fcc11434e7d21a336976cba3999 [INFO] running `Command { std: "docker" "start" "-a" "17f5feb7f507249204f5667e78a5846ba7449fcc11434e7d21a336976cba3999", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking brotli-decompressor v4.0.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking jiff v0.2.10 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking redis v0.30.0 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking distributed-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_lock.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn acquire(&mut self) -> RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_lock.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | .expire(&self.key, self.ttl.as_secs() as i64) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 20 | .expire::<_, ()>(&self.key, self.ttl.as_secs() as i64) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_lock.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn acquire(&mut self) -> RedisResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_lock.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | .expire(&self.key, self.ttl.as_secs() as i64) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 20 | .expire::<_, ()>(&self.key, self.ttl.as_secs() as i64) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CannotDivideByZero` is never constructed [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | CannotDivideByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CannotDivideByZero` is never constructed [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | CannotDivideByZero, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `distributed-calculator` (bin "distributed-calculator" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `distributed-calculator` (bin "distributed-calculator") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "17f5feb7f507249204f5667e78a5846ba7449fcc11434e7d21a336976cba3999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f5feb7f507249204f5667e78a5846ba7449fcc11434e7d21a336976cba3999", kill_on_drop: false }` [INFO] [stdout] 17f5feb7f507249204f5667e78a5846ba7449fcc11434e7d21a336976cba3999