[INFO] cloning repository https://github.com/jim-nnamdi/sokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jim-nnamdi/sokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjim-nnamdi%2Fsokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjim-nnamdi%2Fsokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdb1807898ff90dc3f089d40f3b8d2c1f431e49c [INFO] checking jim-nnamdi/sokio against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjim-nnamdi%2Fsokio" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jim-nnamdi/sokio [INFO] finished tweaking git repo https://github.com/jim-nnamdi/sokio [INFO] tweaked toml for git repo https://github.com/jim-nnamdi/sokio written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jim-nnamdi/sokio on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jim-nnamdi/sokio 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90a416c83a36202f5f07ad73f47647acbfb7fc9903e5b9c25611caae311b374d [INFO] running `Command { std: "docker" "start" "-a" "90a416c83a36202f5f07ad73f47647acbfb7fc9903e5b9c25611caae311b374d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90a416c83a36202f5f07ad73f47647acbfb7fc9903e5b9c25611caae311b374d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a416c83a36202f5f07ad73f47647acbfb7fc9903e5b9c25611caae311b374d", kill_on_drop: false }` [INFO] [stdout] 90a416c83a36202f5f07ad73f47647acbfb7fc9903e5b9c25611caae311b374d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdaa3d7afbfc45c93602075a0d9aa58f311647a6c59d80c668621e3a9faa7d12 [INFO] running `Command { std: "docker" "start" "-a" "cdaa3d7afbfc45c93602075a0d9aa58f311647a6c59d80c668621e3a9faa7d12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking sokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/discover.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | adr.sin_family = libc::AF_INET as u8; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/discover.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | adr.sin_family = libc::AF_INET as u8; [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sin_len` on type `sockaddr_in` [INFO] [stdout] --> src/core/discover.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | adr.sin_len = mem::size_of::() as u8; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/discover.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | a.sin_family = libc::AF_INET as u8; [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sin_len` on type `sockaddr_in` [INFO] [stdout] --> src/core/discover.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | a.sin_len = mem::size_of::() as u8; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sin_len` on type `sockaddr_in` [INFO] [stdout] --> src/core/sync.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | addr.sin_len = std::mem::size_of::() as u16; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/executor.rs:78:85 [INFO] [stdout] | [INFO] [stdout] 78 | let cfd = libc::accept(task.fd, &mut addr as *mut _ as *mut libc::sockaddr, addrlen); [INFO] [stdout] | ------------ arguments to this function are incorrect ^^^^^^^ expected `*mut u32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u32` [INFO] [stdout] found type `u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.175/src/unix/mod.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | pub fn accept(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> c_int; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sin_len` on type `sockaddr_in` [INFO] [stdout] --> src/core/discover.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | adr.sin_len = mem::size_of::() as u8; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/discover.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | a.sin_family = libc::AF_INET as u8; [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sokio` (lib test) due to 6 previous errors [INFO] [stdout] error[E0609]: no field `sin_len` on type `sockaddr_in` [INFO] [stdout] --> src/core/discover.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | a.sin_len = mem::size_of::() as u8; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0609]: no field `sin_len` on type `sockaddr_in` [INFO] [stdout] --> src/core/sync.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | addr.sin_len = std::mem::size_of::() as u16; [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sin_family`, `sin_port`, `sin_addr`, `sin_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/executor.rs:78:85 [INFO] [stdout] | [INFO] [stdout] 78 | let cfd = libc::accept(task.fd, &mut addr as *mut _ as *mut libc::sockaddr, addrlen); [INFO] [stdout] | ------------ arguments to this function are incorrect ^^^^^^^ expected `*mut u32`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut u32` [INFO] [stdout] found type `u32` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.175/src/unix/mod.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | pub fn accept(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> c_int; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sokio` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "cdaa3d7afbfc45c93602075a0d9aa58f311647a6c59d80c668621e3a9faa7d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdaa3d7afbfc45c93602075a0d9aa58f311647a6c59d80c668621e3a9faa7d12", kill_on_drop: false }` [INFO] [stdout] cdaa3d7afbfc45c93602075a0d9aa58f311647a6c59d80c668621e3a9faa7d12