[INFO] fetching crate armory_lib 0.3.24... [INFO] checking armory_lib-0.3.24 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate armory_lib 0.3.24 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate armory_lib 0.3.24 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 armory_lib 0.3.24 [INFO] finished tweaking crates.io crate armory_lib 0.3.24 [INFO] tweaked toml for crates.io crate armory_lib 0.3.24 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d1f9d7204a533f8fe12a99d8907328fc3bdf33265ef512f65803232d903525d4 [INFO] running `Command { std: "docker" "start" "-a" "d1f9d7204a533f8fe12a99d8907328fc3bdf33265ef512f65803232d903525d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f9d7204a533f8fe12a99d8907328fc3bdf33265ef512f65803232d903525d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f9d7204a533f8fe12a99d8907328fc3bdf33265ef512f65803232d903525d4", kill_on_drop: false }` [INFO] [stdout] d1f9d7204a533f8fe12a99d8907328fc3bdf33265ef512f65803232d903525d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 105944758cb5c0692f1bda06268279addf9139b4ce74bb2aa12eaaf9df350bec [INFO] running `Command { std: "docker" "start" "-a" "105944758cb5c0692f1bda06268279addf9139b4ce74bb2aa12eaaf9df350bec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bstr v1.5.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking os_str_bytes v6.5.0 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.63+curl-8.1.2 [INFO] [stderr] Compiling libgit2-sys v0.13.5+1.4.5 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling cargo v0.61.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking opener v0.5.2 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking bytesize v1.2.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking retry v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.1.2 [INFO] [stderr] Checking kstring v1.0.6 [INFO] [stderr] Checking os_info v3.7.0 [INFO] [stderr] Checking serde_ignored v0.1.7 [INFO] [stderr] Checking toml_edit v0.13.4 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking rustfix v0.6.1 [INFO] [stderr] Checking crates-io v0.34.0 [INFO] [stderr] Checking git2 v0.14.4 [INFO] [stderr] Checking git2-curl v0.15.0 [INFO] [stderr] Checking armory_lib v0.3.24 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | let workspace = Workspace::new(&dir.clone().join("Cargo.toml"), &cfg).unwrap(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | let workspace = Workspace::new(&dir.clone().join("Cargo.toml"), &cfg).unwrap(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` 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] [stderr] error: could not compile `armory_lib` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `armory_lib` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "105944758cb5c0692f1bda06268279addf9139b4ce74bb2aa12eaaf9df350bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105944758cb5c0692f1bda06268279addf9139b4ce74bb2aa12eaaf9df350bec", kill_on_drop: false }` [INFO] [stdout] 105944758cb5c0692f1bda06268279addf9139b4ce74bb2aa12eaaf9df350bec