[INFO] fetching crate penne 0.3.4... [INFO] checking penne-0.3.4 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate penne 0.3.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate penne 0.3.4 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 crates.io crate penne 0.3.4 [INFO] finished tweaking crates.io crate penne 0.3.4 [INFO] tweaked toml for crates.io crate penne 0.3.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate penne 0.3.4 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 14a521f5634b4e733246cf4ecdb3f5baf1b1dfc296ef88bd7889e37922667a0f [INFO] running `Command { std: "docker" "start" "-a" "14a521f5634b4e733246cf4ecdb3f5baf1b1dfc296ef88bd7889e37922667a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a521f5634b4e733246cf4ecdb3f5baf1b1dfc296ef88bd7889e37922667a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a521f5634b4e733246cf4ecdb3f5baf1b1dfc296ef88bd7889e37922667a0f", kill_on_drop: false }` [INFO] [stdout] 14a521f5634b4e733246cf4ecdb3f5baf1b1dfc296ef88bd7889e37922667a0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ec36a5ee00d689864e661106cfe8cafb06ee4cb6220c0f00caaf6b60d144f43a [INFO] running `Command { std: "docker" "start" "-a" "ec36a5ee00d689864e661106cfe8cafb06ee4cb6220c0f00caaf6b60d144f43a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Compiling llvm-sys v60.6.0 [INFO] [stderr] Compiling darling_core v0.14.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Compiling enumset_derive v0.6.1 [INFO] [stderr] Checking clap v4.0.32 [INFO] [stderr] Checking enumset v1.0.12 [INFO] [stderr] Checking serde v1.0.152 [INFO] [stderr] Checking toml v0.5.10 [INFO] [stderr] Checking penne v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scoper/variable_references.rs:542:7 [INFO] [stdout] | [INFO] [stdout] 542 | let mut container = self [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/scoper/variable_references.rs:542:7 [INFO] [stdout] | [INFO] [stdout] 542 | let mut container = self [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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/expander.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | .map(|path| path.join(filename.clone())) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/expander.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | .map(|path| path.join(filename.clone())) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` 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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `penne` (lib test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `penne` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ec36a5ee00d689864e661106cfe8cafb06ee4cb6220c0f00caaf6b60d144f43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec36a5ee00d689864e661106cfe8cafb06ee4cb6220c0f00caaf6b60d144f43a", kill_on_drop: false }` [INFO] [stdout] ec36a5ee00d689864e661106cfe8cafb06ee4cb6220c0f00caaf6b60d144f43a