[INFO] cloning repository https://github.com/alesiong/tcp-over-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alesiong/tcp-over-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Ftcp-over-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Ftcp-over-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91707b2e26e31e70ad0aeb0770f94d6a8b6edbb3 [INFO] checking alesiong/tcp-over-redis against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Ftcp-over-redis" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alesiong/tcp-over-redis [INFO] finished tweaking git repo https://github.com/alesiong/tcp-over-redis [INFO] tweaked toml for git repo https://github.com/alesiong/tcp-over-redis written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alesiong/tcp-over-redis 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/alesiong/tcp-over-redis 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ba845ead8febf13397948b774e96f78e1098e680e23fd01b351539b6d8ad5fb5 [INFO] running `Command { std: "docker" "start" "-a" "ba845ead8febf13397948b774e96f78e1098e680e23fd01b351539b6d8ad5fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba845ead8febf13397948b774e96f78e1098e680e23fd01b351539b6d8ad5fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba845ead8febf13397948b774e96f78e1098e680e23fd01b351539b6d8ad5fb5", kill_on_drop: false }` [INFO] [stdout] ba845ead8febf13397948b774e96f78e1098e680e23fd01b351539b6d8ad5fb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cf3ae90b5751ee737e5412fc5c94b1af181ff7c57b10b52d75fd47838ab521c0 [INFO] running `Command { std: "docker" "start" "-a" "cf3ae90b5751ee737e5412fc5c94b1af181ff7c57b10b52d75fd47838ab521c0", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tracing v0.1.40 [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 icu_provider v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking deadpool v0.12.1 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking deadpool-redis v0.15.1 [INFO] [stderr] Checking tcp-over-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cache::consts::REDIS_KEY_GLOBAL_REGISTRY` [INFO] [stdout] --> src/cache/pipe.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::cache::consts::REDIS_KEY_GLOBAL_REGISTRY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/cache/listener.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/cache/pipe.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[instrument(level = "info", skip(cache, data), fields(len = data.len()), err(Debug))] [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/cache/pipe.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | .query_async(&mut cache).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cache::consts::REDIS_KEY_GLOBAL_REGISTRY` [INFO] [stdout] --> src/cache/pipe.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::cache::consts::REDIS_KEY_GLOBAL_REGISTRY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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/cache/pipe.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[instrument(level = "info", skip(cache, data), fields(len = data.len()), err(Debug))] [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/cache/pipe.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | .query_async(&mut cache).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_name_str` [INFO] [stdout] --> src/cache/pipe.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let pipe_name_str = pipe_name.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_name_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_name_str` [INFO] [stdout] --> src/cache/pipe.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let pipe_name_str = pipe_name.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_name_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read` [INFO] [stdout] --> src/cache/listener.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 233 | let (mut read, write) = conn.split(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/listener.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let (mut read, write) = conn.split(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redis_timeout` is never read [INFO] [stdout] --> src/cache/connection.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ConnectionReader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 29 | redis_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_PREFIX_CLIENT_HAND_SHAKE` is never used [INFO] [stdout] --> src/cache/consts.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const REDIS_KEY_PREFIX_CLIENT_HAND_SHAKE: &str = concatcp!(REDIS_KEY_PREFIX, ":client:handshake:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDIS_KEY_GLOBAL_REGISTRY` is never used [INFO] [stdout] --> src/cache/consts.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const REDIS_KEY_GLOBAL_REGISTRY: &str = concatcp!("{}:registry", REDIS_KEY_PREFIX); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redis_timeout` is never read [INFO] [stdout] --> src/cache/connection.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ConnectionReader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 29 | redis_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp-over-redis` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stdout] warning: constant `REDIS_KEY_PREFIX_CLIENT_HAND_SHAKE` is never used [INFO] [stdout] --> src/cache/consts.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const REDIS_KEY_PREFIX_CLIENT_HAND_SHAKE: &str = concatcp!(REDIS_KEY_PREFIX, ":client:handshake:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `REDIS_KEY_GLOBAL_REGISTRY` is never used [INFO] [stdout] --> src/cache/consts.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const REDIS_KEY_GLOBAL_REGISTRY: &str = concatcp!("{}:registry", REDIS_KEY_PREFIX); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/cache/pipe.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | tokio::join!(handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> src/cache/listener.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | tokio::join!(handle_send); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp-over-redis` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cf3ae90b5751ee737e5412fc5c94b1af181ff7c57b10b52d75fd47838ab521c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3ae90b5751ee737e5412fc5c94b1af181ff7c57b10b52d75fd47838ab521c0", kill_on_drop: false }` [INFO] [stdout] cf3ae90b5751ee737e5412fc5c94b1af181ff7c57b10b52d75fd47838ab521c0