[INFO] cloning repository https://github.com/7aske/rgs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/7aske/rgs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7aske%2Frgs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7aske%2Frgs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e71c24b84863e86dcb01c9adb1ff632c6e32b3b8 [INFO] checking 7aske/rgs against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F7aske%2Frgs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/7aske/rgs 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/7aske/rgs [INFO] finished tweaking git repo https://github.com/7aske/rgs [INFO] tweaked toml for git repo https://github.com/7aske/rgs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/7aske/rgs 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] effc94acdb651e02d12a58e57f91420adc64f298fafbd5013b19a42c02802c3f [INFO] running `Command { std: "docker" "start" "-a" "effc94acdb651e02d12a58e57f91420adc64f298fafbd5013b19a42c02802c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "effc94acdb651e02d12a58e57f91420adc64f298fafbd5013b19a42c02802c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "effc94acdb651e02d12a58e57f91420adc64f298fafbd5013b19a42c02802c3f", kill_on_drop: false }` [INFO] [stdout] effc94acdb651e02d12a58e57f91420adc64f298fafbd5013b19a42c02802c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f4b8137e7b5a30fde8c29e1d8fa92eb046c560bd0cc5461e8760c3fe3464d506 [INFO] running `Command { std: "docker" "start" "-a" "f4b8137e7b5a30fde8c29e1d8fa92eb046c560bd0cc5461e8760c3fe3464d506", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl-src v111.25.0+1.1.1t [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.84 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libgit2-sys v0.15.0+1.6.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling savefile v0.8.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking nb-connect v1.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling openssl v0.10.49 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking ssh_config v0.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling savefile-derive v0.8.1 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling zbus_macros v1.9.1 [INFO] [stderr] Compiling zvariant_derive v2.7.0 [INFO] [stderr] Checking zvariant v2.7.0 [INFO] [stderr] Checking zbus v1.9.1 [INFO] [stderr] Checking notify-rust v4.5.2 [INFO] [stderr] Checking git2 v0.17.0 [INFO] [stderr] Checking rgs v1.14.3 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rgs.rs:344:41 [INFO] [stdout] | [INFO] [stdout] 344 | match fs::read_link(path.clone()) { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&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] [stderr] error: could not compile `rgs` (bin "rgs") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rgs.rs:344:41 [INFO] [stdout] | [INFO] [stdout] 344 | match fs::read_link(path.clone()) { [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&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] [stderr] error: could not compile `rgs` (bin "rgs" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f4b8137e7b5a30fde8c29e1d8fa92eb046c560bd0cc5461e8760c3fe3464d506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b8137e7b5a30fde8c29e1d8fa92eb046c560bd0cc5461e8760c3fe3464d506", kill_on_drop: false }` [INFO] [stdout] f4b8137e7b5a30fde8c29e1d8fa92eb046c560bd0cc5461e8760c3fe3464d506