[INFO] fetching crate libzettels 0.4.1... [INFO] checking libzettels-0.4.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate libzettels 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate libzettels 0.4.1 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 libzettels 0.4.1 [INFO] finished tweaking crates.io crate libzettels 0.4.1 [INFO] tweaked toml for crates.io crate libzettels 0.4.1 written to /workspace/builds/worker-4-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-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] a594e27ea7aa6f40987b45f20f36037412d90cb0209ae34a2f11f0b0031dde1c [INFO] running `Command { std: "docker" "start" "-a" "a594e27ea7aa6f40987b45f20f36037412d90cb0209ae34a2f11f0b0031dde1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a594e27ea7aa6f40987b45f20f36037412d90cb0209ae34a2f11f0b0031dde1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a594e27ea7aa6f40987b45f20f36037412d90cb0209ae34a2f11f0b0031dde1c", kill_on_drop: false }` [INFO] [stdout] a594e27ea7aa6f40987b45f20f36037412d90cb0209ae34a2f11f0b0031dde1c [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] 8855f94a2ed1b6faeb437a82b1045c9aa16287ab8a368bb058d6c139df6eee04 [INFO] running `Command { std: "docker" "start" "-a" "8855f94a2ed1b6faeb437a82b1045c9aa16287ab8a368bb058d6c139df6eee04", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking gitignore v1.0.8 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Checking libzettels v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/backstage/indexing/mod.rs:570:50 [INFO] [stdout] | [INFO] [stdout] 570 | Err(Error::BadLink(zettelfile.clone().to_path_buf(), link, e)) [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] [stderr] error: could not compile `libzettels` (lib) 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/backstage/indexing/mod.rs:570:50 [INFO] [stdout] | [INFO] [stdout] 570 | Err(Error::BadLink(zettelfile.clone().to_path_buf(), link, e)) [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] [stderr] error: could not compile `libzettels` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8855f94a2ed1b6faeb437a82b1045c9aa16287ab8a368bb058d6c139df6eee04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8855f94a2ed1b6faeb437a82b1045c9aa16287ab8a368bb058d6c139df6eee04", kill_on_drop: false }` [INFO] [stdout] 8855f94a2ed1b6faeb437a82b1045c9aa16287ab8a368bb058d6c139df6eee04