[INFO] cloning repository https://github.com/rsdiaz/usb-image-writter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rsdiaz/usb-image-writter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsdiaz%2Fusb-image-writter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsdiaz%2Fusb-image-writter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5107e59146c7f4674dc003032c3784514206eab [INFO] testing rsdiaz/usb-image-writter against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frsdiaz%2Fusb-image-writter" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rsdiaz/usb-image-writter [INFO] finished tweaking git repo https://github.com/rsdiaz/usb-image-writter [INFO] tweaked toml for git repo https://github.com/rsdiaz/usb-image-writter written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rsdiaz/usb-image-writter on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rsdiaz/usb-image-writter 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-result v0.1.0 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded syn v2.0.57 [INFO] [stderr] Downloaded windows v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ed91378a42539fda6f8a5fcab2dc97751ebc1e8ed0164a72336dc9f8c3b6a40 [INFO] running `Command { std: "docker" "start" "-a" "8ed91378a42539fda6f8a5fcab2dc97751ebc1e8ed0164a72336dc9f8c3b6a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ed91378a42539fda6f8a5fcab2dc97751ebc1e8ed0164a72336dc9f8c3b6a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed91378a42539fda6f8a5fcab2dc97751ebc1e8ed0164a72336dc9f8c3b6a40", kill_on_drop: false }` [INFO] [stdout] 8ed91378a42539fda6f8a5fcab2dc97751ebc1e8ed0164a72336dc9f8c3b6a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46a493b73a499cd9c0bffd9240e72834edf3a8c373ae5a1b6f3baa2f6a40844a [INFO] running `Command { std: "docker" "start" "-a" "46a493b73a499cd9c0bffd9240e72834edf3a8c373ae5a1b6f3baa2f6a40844a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.4 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling windows-targets v0.52.4 [INFO] [stderr] Compiling windows-result v0.1.0 [INFO] [stderr] Compiling windows-core v0.53.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling windows v0.53.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling usb-image-writter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `win32` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use win32::{list_physical_disks, list_volumes, open_device, write_to_device}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `win32` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/win32/mod.rs, use `mod win32` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod win32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{command, Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `usb-image-writter` (bin "usb-image-writter") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "46a493b73a499cd9c0bffd9240e72834edf3a8c373ae5a1b6f3baa2f6a40844a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a493b73a499cd9c0bffd9240e72834edf3a8c373ae5a1b6f3baa2f6a40844a", kill_on_drop: false }` [INFO] [stdout] 46a493b73a499cd9c0bffd9240e72834edf3a8c373ae5a1b6f3baa2f6a40844a