[INFO] cloning repository https://github.com/pfernandom/cmd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pfernandom/cmd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfernandom%2Fcmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfernandom%2Fcmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70d7da77034e75ba69357ae90618c714f3108fa5 [INFO] checking pfernandom/cmd against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfernandom%2Fcmd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pfernandom/cmd on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pfernandom/cmd [INFO] finished tweaking git repo https://github.com/pfernandom/cmd [INFO] tweaked toml for git repo https://github.com/pfernandom/cmd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pfernandom/cmd 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c22fc54a99a88b5a23f47014fcb8b40de3eac87a34e8832f5c981080b54381 [INFO] running `Command { std: "docker" "start" "-a" "84c22fc54a99a88b5a23f47014fcb8b40de3eac87a34e8832f5c981080b54381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c22fc54a99a88b5a23f47014fcb8b40de3eac87a34e8832f5c981080b54381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c22fc54a99a88b5a23f47014fcb8b40de3eac87a34e8832f5c981080b54381", kill_on_drop: false }` [INFO] [stdout] 84c22fc54a99a88b5a23f47014fcb8b40de3eac87a34e8832f5c981080b54381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de1743c73b6c33e90f2e3d4bb0a3b89fb9630bfc37a63668a3185bf6f1b72993 [INFO] running `Command { std: "docker" "start" "-a" "de1743c73b6c33e90f2e3d4bb0a3b89fb9630bfc37a63668a3185bf6f1b72993", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling libsqlite3-sys v0.25.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking fragile v1.2.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking vfs v0.7.1 [INFO] [stderr] Checking git v0.3.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking dialoguer v0.10.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking hashlink v0.8.1 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.14.0+1.5.0 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling mockall_derive v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Checking git2 v0.15.0 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking mockall v0.11.2 [INFO] [stderr] Checking clap_complete v3.2.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking cmd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/cmd_record.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn update_command(mut self: &mut Self, command: &str) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/cmd_record.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn increase_usage(mut self: &mut Self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/cmd_service_sql.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 169 | .query_map([], |row| Ok(CmdRecord::from(row.clone()))) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Row<'_>` does not implement `Clone`, so calling `clone` on `&Row<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cmd` (bin "cmd") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/cmd_record.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn update_command(mut self: &mut Self, command: &str) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/cmd_record.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn increase_usage(mut self: &mut Self) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/services/cmd_service_sql.rs:169:56 [INFO] [stdout] | [INFO] [stdout] 169 | .query_map([], |row| Ok(CmdRecord::from(row.clone()))) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Row<'_>` does not implement `Clone`, so calling `clone` on `&Row<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cmd` (bin "cmd" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de1743c73b6c33e90f2e3d4bb0a3b89fb9630bfc37a63668a3185bf6f1b72993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1743c73b6c33e90f2e3d4bb0a3b89fb9630bfc37a63668a3185bf6f1b72993", kill_on_drop: false }` [INFO] [stdout] de1743c73b6c33e90f2e3d4bb0a3b89fb9630bfc37a63668a3185bf6f1b72993