[INFO] fetching crate wasi-tcp-server 0.1.1... [INFO] building wasi-tcp-server-0.1.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate wasi-tcp-server 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wasi-tcp-server 0.1.1 [INFO] finished tweaking crates.io crate wasi-tcp-server 0.1.1 [INFO] tweaked toml for crates.io crate wasi-tcp-server 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasi-tcp-server 0.1.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasi-tcp-server 0.1.1 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8af8684c49bb1d255a8b5793cb1efd0ec3e82ccedced8642d19ea018dc71328 [INFO] running `Command { std: "docker" "start" "-a" "a8af8684c49bb1d255a8b5793cb1efd0ec3e82ccedced8642d19ea018dc71328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8af8684c49bb1d255a8b5793cb1efd0ec3e82ccedced8642d19ea018dc71328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8af8684c49bb1d255a8b5793cb1efd0ec3e82ccedced8642d19ea018dc71328", kill_on_drop: false }` [INFO] [stdout] a8af8684c49bb1d255a8b5793cb1efd0ec3e82ccedced8642d19ea018dc71328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f7c767f05db306f52c43514ed55878f9382a6ab2e6fb555326d269c80f8744e [INFO] running `Command { std: "docker" "start" "-a" "8f7c767f05db306f52c43514ed55878f9382a6ab2e6fb555326d269c80f8744e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling wasmedge_wasi_socket v0.4.1 [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/poll.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::wasi::prelude::*; [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/socket.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::wasi::prelude::{AsRawFd, FromRawFd, IntoRawFd, RawFd}; [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | os::wasi::prelude::{AsRawFd, FromRawFd, IntoRawFd}, [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawFd` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/poll.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | fd: RawFd, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::fd::RawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawFd` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/poll.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fd: RawFd, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::fd::RawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/poll.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn io( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | fn as_raw_fd(&self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::unix::prelude; [INFO] [stdout] | [INFO] [stdout] help: if you import `prelude`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - fn as_raw_fd(&self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] 78 + fn as_raw_fd(&self) -> prelude::RawFd { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | fn into_raw_fd(self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::unix::prelude; [INFO] [stdout] | [INFO] [stdout] help: if you import `prelude`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - fn into_raw_fd(self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] 84 + fn into_raw_fd(self) -> prelude::RawFd { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe fn from_raw_fd(fd: std::os::wasi::prelude::RawFd) -> Self { [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::unix::prelude; [INFO] [stdout] | [INFO] [stdout] help: if you import `prelude`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 90 - unsafe fn from_raw_fd(fd: std::os::wasi::prelude::RawFd) -> Self { [INFO] [stdout] 90 + unsafe fn from_raw_fd(fd: prelude::RawFd) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | fn as_raw_fd(&self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::unix::prelude; [INFO] [stdout] | [INFO] [stdout] help: if you import `prelude`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - fn as_raw_fd(&self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] 180 + fn as_raw_fd(&self) -> prelude::RawFd { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | fn into_raw_fd(self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::unix::prelude; [INFO] [stdout] | [INFO] [stdout] help: if you import `prelude`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 186 - fn into_raw_fd(self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] 186 + fn into_raw_fd(self) -> prelude::RawFd { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `wasi` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasmedge_wasi_socket-0.4.1/src/lib.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | fn as_raw_fd(&self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] | ^^^^ could not find `wasi` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/library/std/src/os/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::unix::prelude; [INFO] [stdout] | [INFO] [stdout] help: if you import `prelude`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 246 - fn as_raw_fd(&self) -> std::os::wasi::prelude::RawFd { [INFO] [stdout] 246 + fn as_raw_fd(&self) -> prelude::RawFd { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmedge_wasi_socket` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "8f7c767f05db306f52c43514ed55878f9382a6ab2e6fb555326d269c80f8744e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7c767f05db306f52c43514ed55878f9382a6ab2e6fb555326d269c80f8744e", kill_on_drop: false }` [INFO] [stdout] 8f7c767f05db306f52c43514ed55878f9382a6ab2e6fb555326d269c80f8744e