[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#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose-experiments%2Fdistributed-locking-demo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timmyjose-experiments/distributed-locking-demo on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.27.1 [INFO] [stderr] Downloaded strum v0.27.1 [INFO] [stderr] Downloaded actix-server v2.5.1 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded jiff-static v0.2.10 [INFO] [stderr] Downloaded actix-http v3.10.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.3 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] [stderr] Downloaded redis v0.30.0 [INFO] [stderr] Downloaded jiff v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7613522289333e592030cd0f6d12c6f7cc2ee3925583915fbcb5a29d5b4c00c [INFO] running `Command { std: "docker" "start" "-a" "b7613522289333e592030cd0f6d12c6f7cc2ee3925583915fbcb5a29d5b4c00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7613522289333e592030cd0f6d12c6f7cc2ee3925583915fbcb5a29d5b4c00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7613522289333e592030cd0f6d12c6f7cc2ee3925583915fbcb5a29d5b4c00c", kill_on_drop: false }` [INFO] [stdout] b7613522289333e592030cd0f6d12c6f7cc2ee3925583915fbcb5a29d5b4c00c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b06a427439b7476deb23935d522584e221bd05a442bf25c83b94b440700bbd9a [INFO] running `Command { std: "docker" "start" "-a" "b06a427439b7476deb23935d522584e221bd05a442bf25c83b94b440700bbd9a", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking brotli-decompressor v4.0.3 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking jiff v0.2.10 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.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 env_logger v0.11.8 [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] Compiling zstd-safe v7.2.4 [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 zstd v0.13.3 [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 redis v0.30.0 [INFO] [stderr] Checking actix-http v3.10.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" "b06a427439b7476deb23935d522584e221bd05a442bf25c83b94b440700bbd9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b06a427439b7476deb23935d522584e221bd05a442bf25c83b94b440700bbd9a", kill_on_drop: false }` [INFO] [stdout] b06a427439b7476deb23935d522584e221bd05a442bf25c83b94b440700bbd9a