[INFO] cloning repository https://github.com/ANasserkh/n-redis-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ANasserkh/n-redis-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANasserkh%2Fn-redis-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANasserkh%2Fn-redis-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b66b8e4a8f4e7e1de0f9ea03f81197c218b00af1 [INFO] checking ANasserkh/n-redis-clone against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FANasserkh%2Fn-redis-clone" "/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/ANasserkh/n-redis-clone [INFO] finished tweaking git repo https://github.com/ANasserkh/n-redis-clone [INFO] tweaked toml for git repo https://github.com/ANasserkh/n-redis-clone written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ANasserkh/n-redis-clone on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ANasserkh/n-redis-clone 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5 [INFO] running `Command { std: "docker" "start" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking use v0.0.1-pre.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking redis-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Value { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub entries: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i64` [INFO] [stdout] --> src/command.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | "px" => Some(Utc::now() + Duration::milliseconds(expire_after.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 51 - "px" => Some(Utc::now() + Duration::milliseconds(expire_after.into())), [INFO] [stdout] 51 + "px" => Some(Utc::now() + Duration::milliseconds(expire_after)), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 51 - "px" => Some(Utc::now() + Duration::milliseconds(expire_after.into())), [INFO] [stdout] 51 + "px" => Some(Utc::now() + Duration::milliseconds(>::into(expire_after))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i64` [INFO] [stdout] --> src/command.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | "ex" => Some(Utc::now() + Duration::seconds(expire_after.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 52 - "ex" => Some(Utc::now() + Duration::seconds(expire_after.into())), [INFO] [stdout] 52 + "ex" => Some(Utc::now() + Duration::seconds(expire_after)), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 52 - "ex" => Some(Utc::now() + Duration::seconds(expire_after.into())), [INFO] [stdout] 52 + "ex" => Some(Utc::now() + Duration::seconds(>::into(expire_after))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> src/database.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Value { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub entries: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i64` [INFO] [stdout] --> src/command.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | "px" => Some(Utc::now() + Duration::milliseconds(expire_after.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 51 - "px" => Some(Utc::now() + Duration::milliseconds(expire_after.into())), [INFO] [stdout] 51 + "px" => Some(Utc::now() + Duration::milliseconds(expire_after)), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 51 - "px" => Some(Utc::now() + Duration::milliseconds(expire_after.into())), [INFO] [stdout] 51 + "px" => Some(Utc::now() + Duration::milliseconds(>::into(expire_after))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `i64` [INFO] [stdout] --> src/command.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | "ex" => Some(Utc::now() + Duration::seconds(expire_after.into())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 52 - "ex" => Some(Utc::now() + Duration::seconds(expire_after.into())), [INFO] [stdout] 52 + "ex" => Some(Utc::now() + Duration::seconds(expire_after)), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 52 - "ex" => Some(Utc::now() + Duration::seconds(expire_after.into())), [INFO] [stdout] 52 + "ex" => Some(Utc::now() + Duration::seconds(>::into(expire_after))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `redis-starter-rust` (bin "redis-starter-rust" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: unused dependency `nom` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | nom = "7.1.3" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `nom` [INFO] [stderr] warning: unused dependency `thiserror` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | thiserror = "1.0.32" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `thiserror` [INFO] [stderr] warning: unused dependency `tokio` [INFO] [stderr] --> Cargo.toml:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | [dependencies.tokio] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tokio` [INFO] [stderr] warning: `redis-starter-rust` (manifest) generated 3 warnings [INFO] running `Command { std: "docker" "inspect" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5", kill_on_drop: false }` [INFO] [stdout] e490fc34f098ed33e92611c4e3e28b745d1d31caba35fca3c83f020f6b836ac5