[INFO] fetching crate slog-redis 0.1.2... [INFO] checking slog-redis-0.1.2 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] extracting crate slog-redis 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate slog-redis 0.1.2 [INFO] finished tweaking crates.io crate slog-redis 0.1.2 [INFO] tweaked toml for crates.io crate slog-redis 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slog-redis 0.1.2 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 99 packages to latest compatible versions [INFO] [stderr] Adding redis v0.20.2 (available: v0.32.5) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 52a978f3516e671b5966590b3403cf7a3346ff90300556f6b3e7d1f39116f737 [INFO] running `Command { std: "docker" "start" "-a" "52a978f3516e671b5966590b3403cf7a3346ff90300556f6b3e7d1f39116f737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52a978f3516e671b5966590b3403cf7a3346ff90300556f6b3e7d1f39116f737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a978f3516e671b5966590b3403cf7a3346ff90300556f6b3e7d1f39116f737", kill_on_drop: false }` [INFO] [stdout] 52a978f3516e671b5966590b3403cf7a3346ff90300556f6b3e7d1f39116f737 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 01cc32911800ccdfe860d3468ae561ea428830537b083a83f209a3289ab61f2f [INFO] running `Command { std: "docker" "start" "-a" "01cc32911800ccdfe860d3468ae561ea428830537b083a83f209a3289ab61f2f", kill_on_drop: false }` [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking redis v0.20.2 [INFO] [stderr] Checking r2d2_redis v0.14.0 [INFO] [stderr] Checking slog-redis v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn build(self) -> 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:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | redis::cmd("PING").query(&mut *con)?; [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] 196 | redis::cmd("PING").query::<()>(&mut *con)?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | fn send_to_redis(&self, msg: &str) -> Result<(), Error> { [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:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | .query(&mut *con)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 247 | .query::<()>(&mut *con)?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn build(self) -> 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:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | redis::cmd("PING").query(&mut *con)?; [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] 196 | redis::cmd("PING").query::<()>(&mut *con)?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | fn send_to_redis(&self, msg: &str) -> Result<(), Error> { [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:247:14 [INFO] [stdout] | [INFO] [stdout] 247 | .query(&mut *con)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 247 | .query::<()>(&mut *con)?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `redis_host` and `redis_port` are never read [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Logger { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 78 | redis_host: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | redis_port: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Logger` 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: fields `redis_host` and `redis_port` are never read [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Logger { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 78 | redis_host: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | redis_port: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Logger` 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 `slog-redis` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `slog-redis` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "01cc32911800ccdfe860d3468ae561ea428830537b083a83f209a3289ab61f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cc32911800ccdfe860d3468ae561ea428830537b083a83f209a3289ab61f2f", kill_on_drop: false }` [INFO] [stdout] 01cc32911800ccdfe860d3468ae561ea428830537b083a83f209a3289ab61f2f