[INFO] cloning repository https://github.com/gondaruk/redis-replay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gondaruk/redis-replay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgondaruk%2Fredis-replay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgondaruk%2Fredis-replay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11055c8bc2c52939964fdf0c4d78d67333114893 [INFO] checking gondaruk/redis-replay against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgondaruk%2Fredis-replay" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gondaruk/redis-replay on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gondaruk/redis-replay [INFO] finished tweaking git repo https://github.com/gondaruk/redis-replay [INFO] tweaked toml for git repo https://github.com/gondaruk/redis-replay written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gondaruk/redis-replay 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee7abb8be933d0a49d8c149f6e15ad64b56bb18054f3995a9526aea4286fb921 [INFO] running `Command { std: "docker" "start" "-a" "ee7abb8be933d0a49d8c149f6e15ad64b56bb18054f3995a9526aea4286fb921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee7abb8be933d0a49d8c149f6e15ad64b56bb18054f3995a9526aea4286fb921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7abb8be933d0a49d8c149f6e15ad64b56bb18054f3995a9526aea4286fb921", kill_on_drop: false }` [INFO] [stdout] ee7abb8be933d0a49d8c149f6e15ad64b56bb18054f3995a9526aea4286fb921 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e24061b1e5b0a7de0ffa0f64d71a2d4526b16f6702495792c5c41b1bc67e225 [INFO] running `Command { std: "docker" "start" "-a" "5e24061b1e5b0a7de0ffa0f64d71a2d4526b16f6702495792c5c41b1bc67e225", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking shellwords v1.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking redis-replay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command::ReplayCommandDelayed` [INFO] [stdout] --> src/replay/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use command::ReplayCommandDelayed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command::ReplayCommandDelayed` [INFO] [stdout] --> src/replay/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use command::ReplayCommandDelayed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/manager.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn apply(&mut self, command: ReplayCommand) -> 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/redis/manager.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | .query_async(&mut self.connection) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/manager.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn apply(&mut self, command: ReplayCommand) -> 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/redis/manager.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | .query_async(&mut self.connection) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/replay/command.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ReplayCommand { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | db: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReplayCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ts` and `db` are never used [INFO] [stdout] --> src/replay/command.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ReplayCommand { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 22 | pub fn ts(&self) -> &Micros { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn db(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `immediate` is never used [INFO] [stdout] --> src/replay/command.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl ReplayCommandDelayed { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 90 | pub fn immediate(command: ReplayCommand) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_positive`, `is_zero`, and `is_negative` are never used [INFO] [stdout] --> src/replay/micros.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Micros { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_positive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_negative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/replay/command.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | let command: String = iter [INFO] [stdout] | _______________________________^ [INFO] [stdout] 56 | | .next() [INFO] [stdout] 57 | | .context("missing command")? [INFO] [stdout] 58 | | .trim_end_matches("]") [INFO] [stdout] 59 | | .to_uppercase() [INFO] [stdout] 60 | | .into(); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/replay/command.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | / x.replace(r#"\\"#, r#"\"#) // unescape string [INFO] [stdout] 65 | | .replace(r#"\""#, r#"""#) // unescape string [INFO] [stdout] 66 | | .into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-replay` (bin "redis-replay") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/replay/command.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ReplayCommand { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | db: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReplayCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ts` and `db` are never used [INFO] [stdout] --> src/replay/command.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ReplayCommand { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 22 | pub fn ts(&self) -> &Micros { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn db(&self) -> &i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `immediate` is never used [INFO] [stdout] --> src/replay/command.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl ReplayCommandDelayed { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 90 | pub fn immediate(command: ReplayCommand) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_positive`, `is_zero`, and `is_negative` are never used [INFO] [stdout] --> src/replay/micros.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Micros { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_positive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_negative(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/replay/command.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | let command: String = iter [INFO] [stdout] | _______________________________^ [INFO] [stdout] 56 | | .next() [INFO] [stdout] 57 | | .context("missing command")? [INFO] [stdout] 58 | | .trim_end_matches("]") [INFO] [stdout] 59 | | .to_uppercase() [INFO] [stdout] 60 | | .into(); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/replay/command.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | / x.replace(r#"\\"#, r#"\"#) // unescape string [INFO] [stdout] 65 | | .replace(r#"\""#, r#"""#) // unescape string [INFO] [stdout] 66 | | .into() [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-replay` (bin "redis-replay" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e24061b1e5b0a7de0ffa0f64d71a2d4526b16f6702495792c5c41b1bc67e225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e24061b1e5b0a7de0ffa0f64d71a2d4526b16f6702495792c5c41b1bc67e225", kill_on_drop: false }` [INFO] [stdout] 5e24061b1e5b0a7de0ffa0f64d71a2d4526b16f6702495792c5c41b1bc67e225