[INFO] cloning repository https://github.com/framework-tools/armory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/framework-tools/armory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fframework-tools%2Farmory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fframework-tools%2Farmory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7dcd80c3c6052435e6d3e92e91a619adc0289d1 [INFO] checking framework-tools/armory against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fframework-tools%2Farmory" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/framework-tools/armory 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/framework-tools/armory [INFO] finished tweaking git repo https://github.com/framework-tools/armory [INFO] tweaked toml for git repo https://github.com/framework-tools/armory written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/framework-tools/armory 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] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3bd2084f9b3cb3387d579c527b2280450eeb594e13012d995e26309bae5f7192 [INFO] running `Command { std: "docker" "start" "-a" "3bd2084f9b3cb3387d579c527b2280450eeb594e13012d995e26309bae5f7192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bd2084f9b3cb3387d579c527b2280450eeb594e13012d995e26309bae5f7192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd2084f9b3cb3387d579c527b2280450eeb594e13012d995e26309bae5f7192", kill_on_drop: false }` [INFO] [stdout] 3bd2084f9b3cb3387d579c527b2280450eeb594e13012d995e26309bae5f7192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c229b0e25f600e3d08e7a85749dc36c9c81bdc532c9c56281b63ab46a0b7c590 [INFO] running `Command { std: "docker" "start" "-a" "c229b0e25f600e3d08e7a85749dc36c9c81bdc532c9c56281b63ab46a0b7c590", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking opener v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking clap v3.1.17 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling libz-sys v1.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling curl-sys v0.4.54+curl-7.83.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.13.3+1.4.2 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking retry v1.3.1 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Checking dialoguer v0.10.1 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling cargo v0.61.1 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking git2 v0.14.3 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.1.2 [INFO] [stderr] Checking git2-curl v0.15.0 [INFO] [stderr] Checking kstring v1.0.6 [INFO] [stderr] Checking os_info v3.3.0 [INFO] [stderr] Checking serde_ignored v0.1.3 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking toml_edit v0.13.4 [INFO] [stderr] Checking crates-io v0.34.0 [INFO] [stderr] Checking rustfix v0.6.0 [INFO] [stderr] Checking armory_lib v0.1.0 (/opt/rustwide/workdir/armory_lib) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> armory_lib/src/lib.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let workspace_toml = dir.clone().join("Cargo.toml"); [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] --> armory_lib/src/lib.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let workspace_toml = dir.clone().join("Cargo.toml"); [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" "c229b0e25f600e3d08e7a85749dc36c9c81bdc532c9c56281b63ab46a0b7c590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c229b0e25f600e3d08e7a85749dc36c9c81bdc532c9c56281b63ab46a0b7c590", kill_on_drop: false }` [INFO] [stdout] c229b0e25f600e3d08e7a85749dc36c9c81bdc532c9c56281b63ab46a0b7c590