[INFO] cloning repository https://github.com/koya1616/rust-http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koya1616/rust-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoya1616%2Frust-http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoya1616%2Frust-http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f6069019c1e0d8702060305c1200c67ee465dbc [INFO] checking koya1616/rust-http against master#e3e432d4d65a55e6db167598e96db2bcb163e316 for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoya1616%2Frust-http" "/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/koya1616/rust-http on toolchain e3e432d4d65a55e6db167598e96db2bcb163e316 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koya1616/rust-http [INFO] finished tweaking git repo https://github.com/koya1616/rust-http [INFO] tweaked toml for git repo https://github.com/koya1616/rust-http written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/koya1616/rust-http 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" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90ad09aa7e5c19c05313f8d0d9a281ac311188b643a627ce5dcd0897d12056df [INFO] running `Command { std: "docker" "start" "-a" "90ad09aa7e5c19c05313f8d0d9a281ac311188b643a627ce5dcd0897d12056df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90ad09aa7e5c19c05313f8d0d9a281ac311188b643a627ce5dcd0897d12056df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ad09aa7e5c19c05313f8d0d9a281ac311188b643a627ce5dcd0897d12056df", kill_on_drop: false }` [INFO] [stdout] 90ad09aa7e5c19c05313f8d0d9a281ac311188b643a627ce5dcd0897d12056df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 749ded684bf335e201b1927f43b8120f322f94d71206a5e94e3be8bf1b56e403 [INFO] running `Command { std: "docker" "start" "-a" "749ded684bf335e201b1927f43b8120f322f94d71206a5e94e3be8bf1b56e403", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `each_addr` in module `super` [INFO] [stdout] --> src/net/tcp.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | super::each_addr(addr, TcpListener::bind).map(TcpListenerMyself) [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `each_addr` in module `super` [INFO] [stdout] --> src/net/tcp.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | super::each_addr(addr, TcpListener::bind).map(TcpListenerMyself) [INFO] [stdout] | ^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `socket_addr` found for struct `sys_common::net::TcpListener` in the current scope [INFO] [stdout] --> src/net/tcp.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | self.0.socket_addr() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `TcpListener` [INFO] [stdout] | [INFO] [stdout] ::: src/sys_common/net.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TcpListener { [INFO] [stdout] | ---------------------- method `socket_addr` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/net/tcp.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | Incoming { listener: self } [INFO] [stdout] | ^^^^ expected `&TcpListener`, found `&TcpListenerMyself` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&sys_common::net::TcpListener` [INFO] [stdout] found reference `&TcpListenerMyself` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `sys_common::net::TcpListener` [INFO] [stdout] --> src/net/tcp.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | self.0 [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | cvt(c::setsockopt( [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `c` [INFO] [stdout] | help: a type parameter with a similar name exists: `T` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw` found for reference `&Socket` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | sock.as_raw(), [INFO] [stdout] | ^^^^^^ method not found in `&Socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/sys_common/net.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | init(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let sock = Socket::new(addr, c::SOCK_STREAM)?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | setsockopt(&sock, c::SOL_SOCKET, c::SO_REUSEADDR, 1 as c_int)?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | setsockopt(&sock, c::SOL_SOCKET, c::SO_REUSEADDR, 1 as c_int)?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_inner` found for reference `&std::net::SocketAddr` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let (addr, len) = addr.into_inner(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&SocketAddr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoInner` defines an item `into_inner`, perhaps you need to implement it [INFO] [stdout] --> src/net/tcp.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait IntoInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | cvt(unsafe { c::bind(sock.as_raw(), addr.as_ptr(), len as _) })?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `socket_addr` found for struct `sys_common::net::TcpListener` in the current scope [INFO] [stdout] --> src/net/tcp.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | self.0.socket_addr() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `TcpListener` [INFO] [stdout] | [INFO] [stdout] ::: src/sys_common/net.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TcpListener { [INFO] [stdout] | ---------------------- method `socket_addr` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw` found for struct `Socket` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | cvt(unsafe { c::bind(sock.as_raw(), addr.as_ptr(), len as _) })?; [INFO] [stdout] | ^^^^^^ method not found in `Socket` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/net.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Socket(FileDesc); [INFO] [stdout] | ----------------- method `as_raw` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | cvt(unsafe { c::listen(sock.as_raw(), backlog) })?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/net/tcp.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | Incoming { listener: self } [INFO] [stdout] | ^^^^ expected `&TcpListener`, found `&TcpListenerMyself` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&sys_common::net::TcpListener` [INFO] [stdout] found reference `&TcpListenerMyself` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `sys_common::net::TcpListener` [INFO] [stdout] --> src/net/tcp.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | self.0 [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw` found for struct `Socket` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | cvt(unsafe { c::listen(sock.as_raw(), backlog) })?; [INFO] [stdout] | ^^^^^^ method not found in `Socket` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/net.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Socket(FileDesc); [INFO] [stdout] | ----------------- method `as_raw` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | cvt(c::setsockopt( [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `c` [INFO] [stdout] | help: a type parameter with a similar name exists: `T` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw` found for reference `&Socket` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | sock.as_raw(), [INFO] [stdout] | ^^^^^^ method not found in `&Socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/sys_common/net.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | init(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let sock = Socket::new(addr, c::SOCK_STREAM)?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | setsockopt(&sock, c::SOL_SOCKET, c::SO_REUSEADDR, 1 as c_int)?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | setsockopt(&sock, c::SOL_SOCKET, c::SO_REUSEADDR, 1 as c_int)?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `tcp::Incoming<'_>` is not an iterator [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | for stream in listener.incoming() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `tcp::Incoming<'_>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `tcp::Incoming<'_>` [INFO] [stdout] = note: required for `tcp::Incoming<'_>` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_inner` found for reference `&std::net::SocketAddr` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let (addr, len) = addr.into_inner(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&SocketAddr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `IntoInner` defines an item `into_inner`, perhaps you need to implement it [INFO] [stdout] --> src/net/tcp.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait IntoInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | cvt(unsafe { c::bind(sock.as_raw(), addr.as_ptr(), len as _) })?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | mem::size_of::() as c::socklen_t, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `c` [INFO] [stdout] | help: a type parameter with a similar name exists: `T` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw` found for struct `Socket` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | cvt(unsafe { c::bind(sock.as_raw(), addr.as_ptr(), len as _) })?; [INFO] [stdout] | ^^^^^^ method not found in `Socket` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/net.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Socket(FileDesc); [INFO] [stdout] | ----------------- method `as_raw` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | cvt(unsafe { c::listen(sock.as_raw(), backlog) })?; [INFO] [stdout] | ^ use of unresolved module or unlinked crate `c` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw` found for struct `Socket` in the current scope [INFO] [stdout] --> src/sys_common/net.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | cvt(unsafe { c::listen(sock.as_raw(), backlog) })?; [INFO] [stdout] | ^^^^^^ method not found in `Socket` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/net.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Socket(FileDesc); [INFO] [stdout] | ----------------- method `as_raw` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (bin "app") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `tcp::Incoming<'_>` is not an iterator [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | for stream in listener.incoming() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `tcp::Incoming<'_>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `tcp::Incoming<'_>` [INFO] [stdout] = note: required for `tcp::Incoming<'_>` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `c` [INFO] [stdout] --> src/sys_common/net.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | mem::size_of::() as c::socklen_t, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `c` [INFO] [stdout] | help: a type parameter with a similar name exists: `T` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `c`, use `cargo add c` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (bin "app" test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "749ded684bf335e201b1927f43b8120f322f94d71206a5e94e3be8bf1b56e403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749ded684bf335e201b1927f43b8120f322f94d71206a5e94e3be8bf1b56e403", kill_on_drop: false }` [INFO] [stdout] 749ded684bf335e201b1927f43b8120f322f94d71206a5e94e3be8bf1b56e403