[INFO] fetching crate warp-dir 0.1.0... [INFO] testing warp-dir-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate warp-dir 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate warp-dir 0.1.0 [INFO] finished tweaking crates.io crate warp-dir 0.1.0 [INFO] tweaked toml for crates.io crate warp-dir 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate warp-dir 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate warp-dir 0.1.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abbdb5fb883b01e2ccd146bc4cedf37efa8f5557580ee50a3d59ca67d07150ac [INFO] running `Command { std: "docker" "start" "-a" "abbdb5fb883b01e2ccd146bc4cedf37efa8f5557580ee50a3d59ca67d07150ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abbdb5fb883b01e2ccd146bc4cedf37efa8f5557580ee50a3d59ca67d07150ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abbdb5fb883b01e2ccd146bc4cedf37efa8f5557580ee50a3d59ca67d07150ac", kill_on_drop: false }` [INFO] [stdout] abbdb5fb883b01e2ccd146bc4cedf37efa8f5557580ee50a3d59ca67d07150ac [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c4f5ee5abfb9d67268e6906afad6bac8080e6766769619ff316b4202946247b [INFO] running `Command { std: "docker" "start" "-a" "8c4f5ee5abfb9d67268e6906afad6bac8080e6766769619ff316b4202946247b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling etcetera v0.8.0 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling path-dedot v3.1.0 [INFO] [stderr] Compiling path-absolutize v3.1.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.3.21 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling clap v4.3.21 [INFO] [stderr] Compiling clap_complete v4.3.2 [INFO] [stderr] Compiling warp-dir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | let mut target_file = target_file.deref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TargetsFile` does not implement `Deref`, so calling `deref` on `&TargetsFile` 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] 197 - let mut target_file = target_file.deref().clone(); [INFO] [stdout] 197 + let mut target_file = target_file.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TargetsFile`, implement `Clone` for it [INFO] [stdout] --> src/target.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 + #[derive(Clone)] [INFO] [stdout] 34 | pub struct TargetsFile { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.30s [INFO] running `Command { std: "docker" "inspect" "8c4f5ee5abfb9d67268e6906afad6bac8080e6766769619ff316b4202946247b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4f5ee5abfb9d67268e6906afad6bac8080e6766769619ff316b4202946247b", kill_on_drop: false }` [INFO] [stdout] 8c4f5ee5abfb9d67268e6906afad6bac8080e6766769619ff316b4202946247b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a03aa8c288f9f3009be495176f5d8062978b1623131fc48f476af84804d168a0 [INFO] running `Command { std: "docker" "start" "-a" "a03aa8c288f9f3009be495176f5d8062978b1623131fc48f476af84804d168a0", kill_on_drop: false }` [INFO] [stderr] Compiling warp-dir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:197:38 [INFO] [stdout] | [INFO] [stdout] 197 | let mut target_file = target_file.deref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TargetsFile` does not implement `Deref`, so calling `deref` on `&TargetsFile` 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] 197 - let mut target_file = target_file.deref().clone(); [INFO] [stdout] 197 + let mut target_file = target_file.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TargetsFile`, implement `Clone` for it [INFO] [stdout] --> src/target.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 + #[derive(Clone)] [INFO] [stdout] 34 | pub struct TargetsFile { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "a03aa8c288f9f3009be495176f5d8062978b1623131fc48f476af84804d168a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03aa8c288f9f3009be495176f5d8062978b1623131fc48f476af84804d168a0", kill_on_drop: false }` [INFO] [stdout] a03aa8c288f9f3009be495176f5d8062978b1623131fc48f476af84804d168a0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d12dc6780b4305a4523c7cb0259714d9f37c62c8f725e2a1e44c53629cf4d7a [INFO] running `Command { std: "docker" "start" "-a" "4d12dc6780b4305a4523c7cb0259714d9f37c62c8f725e2a1e44c53629cf4d7a", kill_on_drop: false }` [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:197:38 [INFO] [stderr] | [INFO] [stderr] 197 | let mut target_file = target_file.deref().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `TargetsFile` does not implement `Deref`, so calling `deref` on `&TargetsFile` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 197 - let mut target_file = target_file.deref().clone(); [INFO] [stderr] 197 + let mut target_file = target_file.clone(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `TargetsFile`, implement `Clone` for it [INFO] [stderr] --> src/target.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 + #[derive(Clone)] [INFO] [stderr] 34 | pub struct TargetsFile { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `warp-dir` (bin "wd" test) generated 1 warning (run `cargo fix --bin "wd" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wd-6dd84e3f2a0af005) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d12dc6780b4305a4523c7cb0259714d9f37c62c8f725e2a1e44c53629cf4d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d12dc6780b4305a4523c7cb0259714d9f37c62c8f725e2a1e44c53629cf4d7a", kill_on_drop: false }` [INFO] [stdout] 4d12dc6780b4305a4523c7cb0259714d9f37c62c8f725e2a1e44c53629cf4d7a