[INFO] cloning repository https://github.com/Kesigomon/traincrew-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kesigomon/traincrew-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKesigomon%2Ftraincrew-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKesigomon%2Ftraincrew-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d6fa6a4a21ed103007ae3297ef7a0eb1559af16 [INFO] checking Kesigomon/traincrew-rs against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKesigomon%2Ftraincrew-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kesigomon/traincrew-rs on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kesigomon/traincrew-rs [INFO] finished tweaking git repo https://github.com/Kesigomon/traincrew-rs [INFO] tweaked toml for git repo https://github.com/Kesigomon/traincrew-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kesigomon/traincrew-rs 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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac61909d73cd43b3cdd728933a8dfc409540ce11b0ae9a0eb7ca5a9fcd85ed2d [INFO] running `Command { std: "docker" "start" "-a" "ac61909d73cd43b3cdd728933a8dfc409540ce11b0ae9a0eb7ca5a9fcd85ed2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac61909d73cd43b3cdd728933a8dfc409540ce11b0ae9a0eb7ca5a9fcd85ed2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac61909d73cd43b3cdd728933a8dfc409540ce11b0ae9a0eb7ca5a9fcd85ed2d", kill_on_drop: false }` [INFO] [stdout] ac61909d73cd43b3cdd728933a8dfc409540ce11b0ae9a0eb7ca5a9fcd85ed2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a31dd442aadc5da197094ac90fcccdb8a60c7b56888888f318ac8abba5f51a [INFO] running `Command { std: "docker" "start" "-a" "74a31dd442aadc5da197094ac90fcccdb8a60c7b56888888f318ac8abba5f51a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking traincrew-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Foundation::HANDLE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Security::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Foundation::HANDLE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Security::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::Memory::{CreateFileMappingW, MapViewOfFile, UnmapViewOfFile, FILE_MAP_READ, MEMORY_MAPPED_VIEW_ADDRESS, PAGE_... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::Memory::{CreateFileMappingW, MapViewOfFile, UnmapViewOfFile, FILE_MAP_READ, MEMORY_MAPPED_VIEW_ADDRESS, PAGE_... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 21 | / loop { [INFO] [stdout] 22 | | let size =slice::from_raw_parts(buf.Value as *const u8, 4).try_into().map(i32::from_le_bytes); [INFO] [stdout] 23 | | let raw_data = size.map( [INFO] [stdout] 24 | | |size| slice::from_raw_parts(buf.Value.offset(4) as *const u16, size as usize) [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 35 | UnmapViewOfFile(buf).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 21 | / loop { [INFO] [stdout] 22 | | let size =slice::from_raw_parts(buf.Value as *const u8, 4).try_into().map(i32::from_le_bytes); [INFO] [stdout] 23 | | let raw_data = size.map( [INFO] [stdout] 24 | | |size| slice::from_raw_parts(buf.Value.offset(4) as *const u16, size as usize) [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 35 | UnmapViewOfFile(buf).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `traincrew-rs` (bin "traincrew-rs") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `traincrew-rs` (bin "traincrew-rs" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "74a31dd442aadc5da197094ac90fcccdb8a60c7b56888888f318ac8abba5f51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a31dd442aadc5da197094ac90fcccdb8a60c7b56888888f318ac8abba5f51a", kill_on_drop: false }` [INFO] [stdout] 74a31dd442aadc5da197094ac90fcccdb8a60c7b56888888f318ac8abba5f51a