[INFO] fetching crate wasmedge_wasi_socket 0.1.0... [INFO] checking wasmedge_wasi_socket-0.1.0 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate wasmedge_wasi_socket 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate wasmedge_wasi_socket 0.1.0 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmedge_wasi_socket 0.1.0 [INFO] finished tweaking crates.io crate wasmedge_wasi_socket 0.1.0 [INFO] tweaked toml for crates.io crate wasmedge_wasi_socket 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate wasmedge_wasi_socket 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32fbdb29e171ba3bf91ba336094d336f33d8b9e9fb656060c824a3eb61219b37 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32fbdb29e171ba3bf91ba336094d336f33d8b9e9fb656060c824a3eb61219b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32fbdb29e171ba3bf91ba336094d336f33d8b9e9fb656060c824a3eb61219b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fbdb29e171ba3bf91ba336094d336f33d8b9e9fb656060c824a3eb61219b37", kill_on_drop: false }` [INFO] [stdout] 32fbdb29e171ba3bf91ba336094d336f33d8b9e9fb656060c824a3eb61219b37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84f250c2e920bb1cc327966c9fa25f5c5b159d009ce21aef70598b87c75c3c1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84f250c2e920bb1cc327966c9fa25f5c5b159d009ce21aef70598b87c75c3c1c", kill_on_drop: false }` [INFO] [stderr] Checking wasmedge_wasi_socket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addrs` [INFO] [stdout] --> src/lib.rs:285:35 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn bind(addrs: A) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_addrs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Datagram` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Datagram, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addrs` [INFO] [stdout] --> src/lib.rs:285:35 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn bind(addrs: A) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_addrs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | address: WasiAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Datagram` [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Datagram, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | address: WasiAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `WasiAddress`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sock_bind(fd: u32, addr: *mut WasiAddress, port: u32) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [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/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub struct WasiAddress { [INFO] [stdout] 16 | | pub buf: *const libc::c_uchar, [INFO] [stdout] 17 | | pub size: usize, [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `WasiAddress`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn sock_connect(fd: u32, addr: *mut WasiAddress, port: u32) -> 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/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub struct WasiAddress { [INFO] [stdout] 16 | | pub buf: *const libc::c_uchar, [INFO] [stdout] 17 | | pub size: usize, [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `IovecWrite`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | buf: *const IovecWrite, [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/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct IovecWrite { [INFO] [stdout] 12 | | pub buf: *const libc::c_uchar, [INFO] [stdout] 13 | | pub size: usize, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `WasiAddress`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sock_bind(fd: u32, addr: *mut WasiAddress, port: u32) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [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/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub struct WasiAddress { [INFO] [stdout] 16 | | pub buf: *const libc::c_uchar, [INFO] [stdout] 17 | | pub size: usize, [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `WasiAddress`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn sock_connect(fd: u32, addr: *mut WasiAddress, port: u32) -> 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/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub struct WasiAddress { [INFO] [stdout] 16 | | pub buf: *const libc::c_uchar, [INFO] [stdout] 17 | | pub size: usize, [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `IovecWrite`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | buf: *const IovecWrite, [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/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub struct IovecWrite { [INFO] [stdout] 12 | | pub buf: *const libc::c_uchar, [INFO] [stdout] 13 | | pub size: usize, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "84f250c2e920bb1cc327966c9fa25f5c5b159d009ce21aef70598b87c75c3c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f250c2e920bb1cc327966c9fa25f5c5b159d009ce21aef70598b87c75c3c1c", kill_on_drop: false }` [INFO] [stdout] 84f250c2e920bb1cc327966c9fa25f5c5b159d009ce21aef70598b87c75c3c1c