[INFO] fetching crate nwn_nasher_types 0.3.1... [INFO] checking nwn_nasher_types-0.3.1 against try#de0e80659cee4f27282e60d63bbb8c5271a0d147 for pr-129392 [INFO] extracting crate nwn_nasher_types 0.3.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate nwn_nasher_types 0.3.1 on toolchain de0e80659cee4f27282e60d63bbb8c5271a0d147 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nwn_nasher_types 0.3.1 [INFO] finished tweaking crates.io crate nwn_nasher_types 0.3.1 [INFO] tweaked toml for crates.io crate nwn_nasher_types 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding git2 v0.17.2 (latest: v0.19.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding libgit2-sys v0.15.2+1.6.4 (latest: v0.17.0+1.8.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e64e991bfe884e46017bf4703c15587ba4a4f196fef4c071a33644a7feaccbf2 [INFO] running `Command { std: "docker" "start" "-a" "e64e991bfe884e46017bf4703c15587ba4a4f196fef4c071a33644a7feaccbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e64e991bfe884e46017bf4703c15587ba4a4f196fef4c071a33644a7feaccbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64e991bfe884e46017bf4703c15587ba4a4f196fef4c071a33644a7feaccbf2", kill_on_drop: false }` [INFO] [stdout] e64e991bfe884e46017bf4703c15587ba4a4f196fef4c071a33644a7feaccbf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+de0e80659cee4f27282e60d63bbb8c5271a0d147" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b554c8800b38634b86f1bb69263d550728439efea550096aaf06a251b7cb97e8 [INFO] running `Command { std: "docker" "start" "-a" "b554c8800b38634b86f1bb69263d550728439efea550096aaf06a251b7cb97e8", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking nwn_nasher_types v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking termdiff v3.1.4 [INFO] [stderr] Checking git2 v0.17.2 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/neverwinter_type_test.rs:353:20 [INFO] [stdout] | [INFO] [stdout] 353 | if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DirEntry` does not implement `Clone`, so calling `clone` on `&DirEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 353 - if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] 353 + if file.file_type().unwrap().is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/neverwinter_type_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | + &file.clone().file_name().to_string_lossy().to_string(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DirEntry` does not implement `Clone`, so calling `clone` on `&DirEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 362 - + &file.clone().file_name().to_string_lossy().to_string(), [INFO] [stdout] 362 + + &file.file_name().to_string_lossy().to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/neverwinter_type_test.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DirEntry` does not implement `Clone`, so calling `clone` on `&DirEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 374 - if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] 374 + if file.file_type().unwrap().is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/neverwinter_module_test.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DirEntry` does not implement `Clone`, so calling `clone` on `&DirEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 211 - if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] 211 + if file.file_type().unwrap().is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/neverwinter_module_test.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | + &file.clone().file_name().to_string_lossy().to_string(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DirEntry` does not implement `Clone`, so calling `clone` on `&DirEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 220 - + &file.clone().file_name().to_string_lossy().to_string(), [INFO] [stdout] 220 + + &file.file_name().to_string_lossy().to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/neverwinter_module_test.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `DirEntry` does not implement `Clone`, so calling `clone` on `&DirEntry` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 232 - if file.clone().file_type().unwrap().is_dir() { [INFO] [stdout] 232 + if file.file_type().unwrap().is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.80s [INFO] running `Command { std: "docker" "inspect" "b554c8800b38634b86f1bb69263d550728439efea550096aaf06a251b7cb97e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b554c8800b38634b86f1bb69263d550728439efea550096aaf06a251b7cb97e8", kill_on_drop: false }` [INFO] [stdout] b554c8800b38634b86f1bb69263d550728439efea550096aaf06a251b7cb97e8