[INFO] cloning repository https://github.com/shirshak55/ping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shirshak55/ping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshirshak55%2Fping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshirshak55%2Fping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82b88066eecaccb3ed603ffff4f4ddf19aa8e3fc [INFO] checking shirshak55/ping against master#368e2fd458a22d0cc133d0c254f2612ee999744f for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshirshak55%2Fping" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shirshak55/ping on toolchain 368e2fd458a22d0cc133d0c254f2612ee999744f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shirshak55/ping [INFO] finished tweaking git repo https://github.com/shirshak55/ping [INFO] tweaked toml for git repo https://github.com/shirshak55/ping written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shirshak55/ping 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" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e06ad3c98bfca2201a0bae77ee836bb999a176f8f2872bd68d8e0d147d6a7f6f [INFO] running `Command { std: "docker" "start" "-a" "e06ad3c98bfca2201a0bae77ee836bb999a176f8f2872bd68d8e0d147d6a7f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e06ad3c98bfca2201a0bae77ee836bb999a176f8f2872bd68d8e0d147d6a7f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06ad3c98bfca2201a0bae77ee836bb999a176f8f2872bd68d8e0d147d6a7f6f", kill_on_drop: false }` [INFO] [stdout] e06ad3c98bfca2201a0bae77ee836bb999a176f8f2872bd68d8e0d147d6a7f6f [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f38876f1d6bcf2407837407c47d0e649b6911a5a94a28cb318db004114bbe73 [INFO] running `Command { std: "docker" "start" "-a" "9f38876f1d6bcf2407837407c47d0e649b6911a5a94a28cb318db004114bbe73", kill_on_drop: false }` [INFO] [stderr] Checking pretty-hex v0.1.1 [INFO] [stderr] Checking ping v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / extern "stdcall" { [INFO] [stdout] 32 | | fn LoadLibrary(name: *const u8) -> HModule; [INFO] [stdout] 33 | | fn GetProcAddress(module: HModule,name: *const u8) -> FarProc; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / extern "stdcall" { [INFO] [stdout] 32 | | fn LoadLibrary(name: *const u8) -> HModule; [INFO] [stdout] 33 | | fn GetProcAddress(module: HModule,name: *const u8) -> FarProc; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut reply_size = mem::size_of::(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut reply_size = mem::size_of::(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `IpAddr`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | type IcmpSendEcho = extern "stdcall" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 37 | | handle: Handle, [INFO] [stdout] 38 | | ip_addr: IpAddr, [INFO] [stdout] 39 | | request_data: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 44 | | timeout: u32, [INFO] [stdout] 45 | | )->u32; [INFO] [stdout] | |______^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct IpAddr([u8;4]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IcmpCreateFile` should have a snake case name [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let IcmpCreateFile: IcmpCreateFile = transmute(GetProcAddress(h, b"IcmpCreateFile\0".as_ptr())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_create_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IcmpSendEcho` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let IcmpSendEcho: IcmpSendEcho = transmute(GetProcAddress(h, b"IcmpSendEcho\0".as_ptr())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_send_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `IpAddr`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | type IcmpSendEcho = extern "stdcall" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 37 | | handle: Handle, [INFO] [stdout] 38 | | ip_addr: IpAddr, [INFO] [stdout] 39 | | request_data: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 44 | | timeout: u32, [INFO] [stdout] 45 | | )->u32; [INFO] [stdout] | |______^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct IpAddr([u8;4]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IcmpCreateFile` should have a snake case name [INFO] [stdout] --> src/main.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let IcmpCreateFile: IcmpCreateFile = transmute(GetProcAddress(h, b"IcmpCreateFile\0".as_ptr())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_create_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IcmpSendEcho` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let IcmpSendEcho: IcmpSendEcho = transmute(GetProcAddress(h, b"IcmpSendEcho\0".as_ptr())); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_send_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "9f38876f1d6bcf2407837407c47d0e649b6911a5a94a28cb318db004114bbe73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f38876f1d6bcf2407837407c47d0e649b6911a5a94a28cb318db004114bbe73", kill_on_drop: false }` [INFO] [stdout] 9f38876f1d6bcf2407837407c47d0e649b6911a5a94a28cb318db004114bbe73