[INFO] cloning repository https://github.com/zarkdav/winsock-ping-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zarkdav/winsock-ping-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarkdav%2Fwinsock-ping-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarkdav%2Fwinsock-ping-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e92d98defd0b43f55551803bff8e5f37b35246d [INFO] checking zarkdav/winsock-ping-rust against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzarkdav%2Fwinsock-ping-rust" "/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/zarkdav/winsock-ping-rust [INFO] finished tweaking git repo https://github.com/zarkdav/winsock-ping-rust [INFO] tweaked toml for git repo https://github.com/zarkdav/winsock-ping-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zarkdav/winsock-ping-rust on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zarkdav/winsock-ping-rust 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 289f2baaf7c3778c8f347dbfb4eaffbedc1d1f007721a70873f78563c59e35f7 [INFO] running `Command { std: "docker" "start" "-a" "289f2baaf7c3778c8f347dbfb4eaffbedc1d1f007721a70873f78563c59e35f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "289f2baaf7c3778c8f347dbfb4eaffbedc1d1f007721a70873f78563c59e35f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289f2baaf7c3778c8f347dbfb4eaffbedc1d1f007721a70873f78563c59e35f7", kill_on_drop: false }` [INFO] [stdout] 289f2baaf7c3778c8f347dbfb4eaffbedc1d1f007721a70873f78563c59e35f7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16f8abb887ff4dbf7731af16b3a2f2ed2a7763d1582b23ec640263b9ae935b47 [INFO] running `Command { std: "docker" "start" "-a" "16f8abb887ff4dbf7731af16b3a2f2ed2a7763d1582b23ec640263b9ae935b47", kill_on_drop: false }` [INFO] [stderr] Checking windows-sys v0.42.0 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking winsock-ping-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | windows::prelude::OsStrExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | windows::prelude::OsStrExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:209:51 [INFO] [stdout] | [INFO] [stdout] 209 | let host = unsafe { WideCString::from_ptr_str(pnodebuffer).to_string().unwrap() }; [INFO] [stdout] | ------------------------- ^^^^^^^^^^^ expected `*const u32`, found `*mut u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u32` [INFO] [stdout] found raw pointer `*mut u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.0.2/src/ucstring.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:211:35 [INFO] [stdout] | [INFO] [stdout] 211 | WideCString::from_ptr_str(pservicebuffer) [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^ expected `*const u32`, found `*mut u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u32` [INFO] [stdout] found raw pointer `*mut u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.0.2/src/ucstring.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | (*icmp_hdr).icmp_timestamp = GetTickCount(); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:209:51 [INFO] [stdout] | [INFO] [stdout] 209 | let host = unsafe { WideCString::from_ptr_str(pnodebuffer).to_string().unwrap() }; [INFO] [stdout] | ------------------------- ^^^^^^^^^^^ expected `*const u32`, found `*mut u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u32` [INFO] [stdout] found raw pointer `*mut u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.0.2/src/ucstring.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:211:35 [INFO] [stdout] | [INFO] [stdout] 211 | WideCString::from_ptr_str(pservicebuffer) [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^ expected `*const u32`, found `*mut u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u32` [INFO] [stdout] found raw pointer `*mut u16` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/widestring-1.0.2/src/ucstring.rs:829:1 [INFO] [stdout] | [INFO] [stdout] 829 | / ucstring_common_impl! { [INFO] [stdout] 830 | | /// An owned, mutable C-style 32-bit wide string for FFI that is nul-aware and nul-terminated. [INFO] [stdout] 831 | | /// [INFO] [stdout] 832 | | /// The string slice of a [`U32CString`] is [`U32CStr`]. [INFO] [stdout] ... | [INFO] [stdout] 989 | | fn into_boxed_ucstr() -> {} [INFO] [stdout] 990 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `ucstring_common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | (*icmp_hdr).icmp_timestamp = GetTickCount(); [INFO] [stdout] | -------------------------- ^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:308:64 [INFO] [stdout] | [INFO] [stdout] 308 | let mut service_name: Vec = OsStr::new(port.as_ref()).encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:308:64 [INFO] [stdout] | [INFO] [stdout] 308 | let mut service_name: Vec = OsStr::new(port.as_ref()).encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:311:49 [INFO] [stdout] | [INFO] [stdout] 311 | Some(addr) => OsStr::new(addr.as_ref()).encode_wide().collect(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:311:49 [INFO] [stdout] | [INFO] [stdout] 311 | Some(addr) => OsStr::new(addr.as_ref()).encode_wide().collect(), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winsock-ping-rust` (bin "winsock-ping-rust") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `winsock-ping-rust` (bin "winsock-ping-rust" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "16f8abb887ff4dbf7731af16b3a2f2ed2a7763d1582b23ec640263b9ae935b47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f8abb887ff4dbf7731af16b3a2f2ed2a7763d1582b23ec640263b9ae935b47", kill_on_drop: false }` [INFO] [stdout] 16f8abb887ff4dbf7731af16b3a2f2ed2a7763d1582b23ec640263b9ae935b47