[INFO] fetching crate nwn_nasher_types 0.3.1... [INFO] checking nwn_nasher_types-0.3.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate nwn_nasher_types 0.3.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate nwn_nasher_types 0.3.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termdiff v3.1.4 [INFO] [stderr] Downloaded git2 v0.17.2 [INFO] [stderr] Downloaded libgit2-sys v0.15.2+1.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4e58046b59a1605196d6fe24dce898db12fb06940de269cdd479f57127a050f [INFO] running `Command { std: "docker" "start" "-a" "e4e58046b59a1605196d6fe24dce898db12fb06940de269cdd479f57127a050f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4e58046b59a1605196d6fe24dce898db12fb06940de269cdd479f57127a050f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e58046b59a1605196d6fe24dce898db12fb06940de269cdd479f57127a050f", kill_on_drop: false }` [INFO] [stdout] e4e58046b59a1605196d6fe24dce898db12fb06940de269cdd479f57127a050f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03f786409f4c75b7fb96d5401bea29b63e519cde63f71e2577fae6e9b5355c61 [INFO] running `Command { std: "docker" "start" "-a" "03f786409f4c75b7fb96d5401bea29b63e519cde63f71e2577fae6e9b5355c61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking termdiff v3.1.4 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking nwn_nasher_types v0.3.1 (/opt/rustwide/workdir) [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_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: 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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.22s [INFO] running `Command { std: "docker" "inspect" "03f786409f4c75b7fb96d5401bea29b63e519cde63f71e2577fae6e9b5355c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f786409f4c75b7fb96d5401bea29b63e519cde63f71e2577fae6e9b5355c61", kill_on_drop: false }` [INFO] [stdout] 03f786409f4c75b7fb96d5401bea29b63e519cde63f71e2577fae6e9b5355c61