[INFO] cloning repository https://github.com/marknijboer/MagicUtil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marknijboer/MagicUtil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarknijboer%2FMagicUtil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarknijboer%2FMagicUtil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21b13e052c12092fb9a868b5ebf23d37724b7d44 [INFO] checking marknijboer/MagicUtil against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarknijboer%2FMagicUtil" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marknijboer/MagicUtil 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] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/marknijboer/MagicUtil [INFO] finished tweaking git repo https://github.com/marknijboer/MagicUtil [INFO] tweaked toml for git repo https://github.com/marknijboer/MagicUtil written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/marknijboer/MagicUtil 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e25a43dd437e20649011e453de5aca75e843f298a89a7b8cfb965eb90c01692f [INFO] running `Command { std: "docker" "start" "-a" "e25a43dd437e20649011e453de5aca75e843f298a89a7b8cfb965eb90c01692f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e25a43dd437e20649011e453de5aca75e843f298a89a7b8cfb965eb90c01692f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25a43dd437e20649011e453de5aca75e843f298a89a7b8cfb965eb90c01692f", kill_on_drop: false }` [INFO] [stdout] e25a43dd437e20649011e453de5aca75e843f298a89a7b8cfb965eb90c01692f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0b3feb80593556e56e832aff84d8ef4e8a94b2ca96068fad8b4849637e82e93c [INFO] running `Command { std: "docker" "start" "-a" "0b3feb80593556e56e832aff84d8ef4e8a94b2ca96068fad8b4849637e82e93c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking cpufeatures v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking local_ipaddress v0.1.3 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking inout v0.1.2 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking sha-1 v0.9.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.4 [INFO] [stderr] Checking blowfish v0.7.0 [INFO] [stderr] Checking aes v0.8.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking clap v4.0.26 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking pwhash v1.0.0 [INFO] [stderr] Checking mac_address v1.1.4 [INFO] [stderr] Checking magicutil v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/open/mod.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | let mut file_copy = file.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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/open/mod.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | let mut file_copy = file.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] [stderr] error: could not compile `magicutil` (bin "magicutil") 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 `magicutil` (bin "magicutil" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0b3feb80593556e56e832aff84d8ef4e8a94b2ca96068fad8b4849637e82e93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3feb80593556e56e832aff84d8ef4e8a94b2ca96068fad8b4849637e82e93c", kill_on_drop: false }` [INFO] [stdout] 0b3feb80593556e56e832aff84d8ef4e8a94b2ca96068fad8b4849637e82e93c