[INFO] cloning repository https://github.com/K0enM/sup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/K0enM/sup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK0enM%2Fsup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK0enM%2Fsup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a96ad29d2047f1b9f2cf6eaff78b819df3afd45 [INFO] checking K0enM/sup against master#7606c13961ddc1174b70638e934df0439b7dc515 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK0enM%2Fsup" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/K0enM/sup on toolchain 7606c13961ddc1174b70638e934df0439b7dc515 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/K0enM/sup [INFO] finished tweaking git repo https://github.com/K0enM/sup [INFO] tweaked toml for git repo https://github.com/K0enM/sup written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/K0enM/sup 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" "+7606c13961ddc1174b70638e934df0439b7dc515" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking K0enM/sup against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FK0enM%2Fsup" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/K0enM/sup on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/K0enM/sup [INFO] finished tweaking git repo https://github.com/K0enM/sup [INFO] tweaked toml for git repo https://github.com/K0enM/sup written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/K0enM/sup 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b8080301d68ebd4bf763c7b6c2965194129bb49b71689cb234894a70e507129 [INFO] running `Command { std: "docker" "start" "-a" "5b8080301d68ebd4bf763c7b6c2965194129bb49b71689cb234894a70e507129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b8080301d68ebd4bf763c7b6c2965194129bb49b71689cb234894a70e507129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8080301d68ebd4bf763c7b6c2965194129bb49b71689cb234894a70e507129", kill_on_drop: false }` [INFO] [stdout] 5b8080301d68ebd4bf763c7b6c2965194129bb49b71689cb234894a70e507129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04d67c9f26429b7633b3dc9cf2e1b7252e2db18c5864877847ca2586e53bd3d5 [INFO] running `Command { std: "docker" "start" "-a" "04d67c9f26429b7633b3dc9cf2e1b7252e2db18c5864877847ca2586e53bd3d5", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking sup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IpOptionInformation` [INFO] [stdout] --> src/icmp/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use self::icmp_sys::{IpOptionInformation, IcmpSendEcho}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/icmp/icmp_sys.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `loadlibrary::Library` [INFO] [stdout] --> src/icmp/icmp_sys.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ipv4, loadlibrary::Library}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IpOptionInformation` [INFO] [stdout] --> src/icmp/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use self::icmp_sys::{IpOptionInformation, IcmpSendEcho}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Add`, `write` [INFO] [stdout] --> src/ipv4.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{self, write}, num::ParseIntError, ops::Add}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/icmp/icmp_sys.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `loadlibrary::Library` [INFO] [stdout] --> src/icmp/icmp_sys.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ipv4, loadlibrary::Library}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Add`, `write` [INFO] [stdout] --> src/ipv4.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{self, write}, num::ParseIntError, ops::Add}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/loadlibrary.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / extern "stdcall" { [INFO] [stdout] 22 | | fn LoadLibraryA(name: *const c_char) -> Option; [INFO] [stdout] 23 | | fn GetProcAddress(module: HModule, name: *const c_char) -> Option; [INFO] [stdout] 24 | | } [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/loadlibrary.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / extern "stdcall" { [INFO] [stdout] 22 | | fn LoadLibraryA(name: *const c_char) -> Option; [INFO] [stdout] 23 | | fn GetProcAddress(module: HModule, name: *const c_char) -> Option; [INFO] [stdout] 24 | | } [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: type alias `IcmpSendEcho` is never used [INFO] [stdout] --> src/icmp/icmp_sys.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | type IcmpSendEcho = extern "stdcall" fn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IcmpSendEcho` is never used [INFO] [stdout] --> src/icmp/icmp_sys.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | type IcmpSendEcho = extern "stdcall" fn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IcmpCreateFile` is never used [INFO] [stdout] --> src/icmp/icmp_sys.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type IcmpCreateFile = extern "stdcall" fn() -> Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IcmpCreateFile` is never used [INFO] [stdout] --> src/icmp/icmp_sys.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type IcmpCreateFile = extern "stdcall" fn() -> Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IcmpCloseHandle` is never used [INFO] [stdout] --> src/icmp/icmp_sys.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | type IcmpCloseHandle = extern "stdcall" fn(handle: Handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IcmpCloseHandle` is never used [INFO] [stdout] --> src/icmp/icmp_sys.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | type IcmpCloseHandle = extern "stdcall" fn(handle: Handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IcmpCreateFile` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn IcmpCreateFile() -> Handle; [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: structure field `IcmpCreateFile` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn IcmpCreateFile() -> Handle; [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: structure field `IcmpCloseHandle` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn IcmpCloseHandle(handle: Handle) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_close_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IcmpCloseHandle` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn IcmpCloseHandle(handle: Handle) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_close_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IcmpSendEcho` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn IcmpSendEcho( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_send_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IcmpSendEcho` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn IcmpSendEcho( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_send_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Addr`, which is not FFI-safe [INFO] [stdout] --> src/icmp/icmp_sys.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | $(pub $name: extern "stdcall" fn ($($arg: $type),*) -> $ret),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 30 | / bind! { [INFO] [stdout] 31 | | fn IcmpCreateFile() -> Handle; [INFO] [stdout] 32 | | fn IcmpCloseHandle(handle: Handle) -> (); [INFO] [stdout] 33 | | fn IcmpSendEcho( [INFO] [stdout] ... | [INFO] [stdout] 42 | | ) -> u32; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [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/ipv4.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Addr(pub [u8; 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Addr`, which is not FFI-safe [INFO] [stdout] --> src/icmp/icmp_sys.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | $(pub $name: extern "stdcall" fn ($($arg: $type),*) -> $ret),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 30 | / bind! { [INFO] [stdout] 31 | | fn IcmpCreateFile() -> Handle; [INFO] [stdout] 32 | | fn IcmpCloseHandle(handle: Handle) -> (); [INFO] [stdout] 33 | | fn IcmpSendEcho( [INFO] [stdout] ... | [INFO] [stdout] 42 | | ) -> u32; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [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/ipv4.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Addr(pub [u8; 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IcmpCreateFile` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn IcmpCreateFile() -> Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_create_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IcmpCreateFile` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn IcmpCreateFile() -> Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_create_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IcmpCloseHandle` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn IcmpCloseHandle(handle: Handle) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_close_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IcmpSendEcho` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn IcmpSendEcho( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_send_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IcmpCloseHandle` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn IcmpCloseHandle(handle: Handle) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_close_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IcmpSendEcho` should have a snake case name [INFO] [stdout] --> src/icmp/icmp_sys.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn IcmpSendEcho( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `icmp_send_echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Addr`, which is not FFI-safe [INFO] [stdout] --> src/icmp/icmp_sys.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | type IcmpSendEcho = extern "stdcall" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | handle: Handle, [INFO] [stdout] 69 | | dest: ipv4::Addr, [INFO] [stdout] 70 | | request_data: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 75 | | timeout: u32, [INFO] [stdout] 76 | | ) -> 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/ipv4.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Addr(pub [u8; 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Addr`, which is not FFI-safe [INFO] [stdout] --> src/icmp/icmp_sys.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | type IcmpSendEcho = extern "stdcall" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | handle: Handle, [INFO] [stdout] 69 | | dest: ipv4::Addr, [INFO] [stdout] 70 | | request_data: *const u8, [INFO] [stdout] ... | [INFO] [stdout] 75 | | timeout: u32, [INFO] [stdout] 76 | | ) -> 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/ipv4.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Addr(pub [u8; 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "04d67c9f26429b7633b3dc9cf2e1b7252e2db18c5864877847ca2586e53bd3d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04d67c9f26429b7633b3dc9cf2e1b7252e2db18c5864877847ca2586e53bd3d5", kill_on_drop: false }` [INFO] [stdout] 04d67c9f26429b7633b3dc9cf2e1b7252e2db18c5864877847ca2586e53bd3d5