[INFO] fetching crate simple-task 0.2.0... [INFO] checking simple-task-0.2.0 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] extracting crate simple-task 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate simple-task 0.2.0 [INFO] finished tweaking crates.io crate simple-task 0.2.0 [INFO] tweaked toml for crates.io crate simple-task 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple-task 0.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 117 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding redis v0.23.3 (available: v0.32.5) [INFO] [stderr] Adding yansi v0.5.1 (available: v1.0.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 63717ffa4e3636fa31d8a069c6a406f86103418c1e36d93ce15dc91ed3d3e4cd [INFO] running `Command { std: "docker" "start" "-a" "63717ffa4e3636fa31d8a069c6a406f86103418c1e36d93ce15dc91ed3d3e4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63717ffa4e3636fa31d8a069c6a406f86103418c1e36d93ce15dc91ed3d3e4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63717ffa4e3636fa31d8a069c6a406f86103418c1e36d93ce15dc91ed3d3e4cd", kill_on_drop: false }` [INFO] [stdout] 63717ffa4e3636fa31d8a069c6a406f86103418c1e36d93ce15dc91ed3d3e4cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 383991ab1b3f9afb4ab4ef9f7a643e92e942f9c0b2e9724e7ac98f66f3b5ff93 [INFO] running `Command { std: "docker" "start" "-a" "383991ab1b3f9afb4ab4ef9f7a643e92e942f9c0b2e9724e7ac98f66f3b5ff93", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking simple-task v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn send_task(&self, handler_name: &str, input: Value) -> anyhow::Result<()> { [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/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | conn.hset_multiple( [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] 74 ~ conn.hset_multiple::<_, _, _, ()>( [INFO] [stdout] 75 | task_id_key, [INFO] [stdout] ... [INFO] [stdout] 82 | .await?; [INFO] [stdout] 83 ~ conn.lpush::<_, _, ()>(WAITING_TASK_ID_QUEUE, task_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / pub async fn run_task( [INFO] [stdout] 88 | | self: &Arc, [INFO] [stdout] 89 | | task_id: &str, [INFO] [stdout] 90 | | handler: &Arc, [INFO] [stdout] 91 | | input: Value, [INFO] [stdout] 92 | | ) -> anyhow::Result<()> { [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/lib.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | .hset_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 107 ~ .hset_multiple::<_, _, _, ()>( [INFO] [stdout] 108 | task_id_key, [INFO] [stdout] ... [INFO] [stdout] 115 | redis_conn [INFO] [stdout] 116 ~ .lrem::<_, _, ()>(PROCESSING_TASK_ID_QUEUE, 1, task_id) [INFO] [stdout] 117 | .await?; [INFO] [stdout] 118 ~ redis_conn.expire::<_, ()>(task_id_key, 3600).await?; [INFO] [stdout] 119 | } [INFO] [stdout] ... [INFO] [stdout] 125 | redis_conn [INFO] [stdout] 126 ~ .hset_multiple::<_, _, _, ()>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn run(self) -> anyhow::Result<()> { [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/lib.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | conn.hset(task_id_key, "status", TaskStatus::Processing.as_str()) [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 210 ~ conn.hset::<_, _, _, ()>(task_id_key, "status", TaskStatus::Processing.as_str()) [INFO] [stdout] 211 | .await?; [INFO] [stdout] ... [INFO] [stdout] 217 | _ => { [INFO] [stdout] 218 ~ conn.hset_multiple::<_, _, _, ()>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn send_task(&self, handler_name: &str, input: Value) -> anyhow::Result<()> { [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/lib.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | conn.hset_multiple( [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] 74 ~ conn.hset_multiple::<_, _, _, ()>( [INFO] [stdout] 75 | task_id_key, [INFO] [stdout] ... [INFO] [stdout] 82 | .await?; [INFO] [stdout] 83 ~ conn.lpush::<_, _, ()>(WAITING_TASK_ID_QUEUE, task_id).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-task` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / pub async fn run_task( [INFO] [stdout] 88 | | self: &Arc, [INFO] [stdout] 89 | | task_id: &str, [INFO] [stdout] 90 | | handler: &Arc, [INFO] [stdout] 91 | | input: Value, [INFO] [stdout] 92 | | ) -> anyhow::Result<()> { [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/lib.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | .hset_multiple( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 107 ~ .hset_multiple::<_, _, _, ()>( [INFO] [stdout] 108 | task_id_key, [INFO] [stdout] ... [INFO] [stdout] 115 | redis_conn [INFO] [stdout] 116 ~ .lrem::<_, _, ()>(PROCESSING_TASK_ID_QUEUE, 1, task_id) [INFO] [stdout] 117 | .await?; [INFO] [stdout] 118 ~ redis_conn.expire::<_, ()>(task_id_key, 3600).await?; [INFO] [stdout] 119 | } [INFO] [stdout] ... [INFO] [stdout] 125 | redis_conn [INFO] [stdout] 126 ~ .hset_multiple::<_, _, _, ()>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub async fn run(self) -> anyhow::Result<()> { [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/lib.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | conn.hset(task_id_key, "status", TaskStatus::Processing.as_str()) [INFO] [stdout] | ^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 210 ~ conn.hset::<_, _, _, ()>(task_id_key, "status", TaskStatus::Processing.as_str()) [INFO] [stdout] 211 | .await?; [INFO] [stdout] ... [INFO] [stdout] 217 | _ => { [INFO] [stdout] 218 ~ conn.hset_multiple::<_, _, _, ()>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-task` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "383991ab1b3f9afb4ab4ef9f7a643e92e942f9c0b2e9724e7ac98f66f3b5ff93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "383991ab1b3f9afb4ab4ef9f7a643e92e942f9c0b2e9724e7ac98f66f3b5ff93", kill_on_drop: false }` [INFO] [stdout] 383991ab1b3f9afb4ab4ef9f7a643e92e942f9c0b2e9724e7ac98f66f3b5ff93