[INFO] cloning repository https://github.com/Squshy/chop-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Squshy/chop-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSqushy%2Fchop-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSqushy%2Fchop-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d094540b7a78626ae7b60b747f7fe069ab494f9 [INFO] checking Squshy/chop-db against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSqushy%2Fchop-db" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Squshy/chop-db [INFO] finished tweaking git repo https://github.com/Squshy/chop-db [INFO] tweaked toml for git repo https://github.com/Squshy/chop-db written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Squshy/chop-db 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/Squshy/chop-db 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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd [INFO] running `Command { std: "docker" "start" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd", 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" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd", 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" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd" "/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.78 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde v1.0.191 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking chop-db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.12.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.1 [INFO] [stderr] Checking transactions v0.1.0 (/opt/rustwide/workdir/exercises/transactions) [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> exercises/transactions/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Command { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` 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] error: useless conversion to the same type: `&String` [INFO] [stdout] --> exercises/transactions/src/db.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | self.store.get(key.into()).cloned() [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] 55 - self.store.get(key.into()).cloned() [INFO] [stdout] 55 + self.store.get(key).cloned() [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 55 - self.store.get(key.into()).cloned() [INFO] [stdout] 55 + self.store.get(<&String as Into<_>>::into(key)).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `transactions` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> exercises/transactions/src/lib.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> exercises/transactions/src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&String` [INFO] [stdout] --> exercises/transactions/src/db.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | self.store.get(key.into()).cloned() [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] 55 - self.store.get(key.into()).cloned() [INFO] [stdout] 55 + self.store.get(key).cloned() [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 55 - self.store.get(key.into()).cloned() [INFO] [stdout] 55 + self.store.get(<&String as Into<_>>::into(key)).cloned() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `transactions` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd", kill_on_drop: false }` [INFO] [stdout] 5d69ceec60c21a79e7ace6d7c3999c3a49b9b935f642a0e11db5c64a7d03eabd