[INFO] cloning repository https://github.com/edwardo1239/mi_ping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edwardo1239/mi_ping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardo1239%2Fmi_ping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardo1239%2Fmi_ping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9250038be8e1433cd92028785a6756a14620a363 [INFO] checking edwardo1239/mi_ping against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardo1239%2Fmi_ping" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/edwardo1239/mi_ping [INFO] finished tweaking git repo https://github.com/edwardo1239/mi_ping [INFO] tweaked toml for git repo https://github.com/edwardo1239/mi_ping written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/edwardo1239/mi_ping on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/edwardo1239/mi_ping 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dfb4246a015df4ee34df4836b12459ef73dd9aaa701768817e093a7e702a42c [INFO] running `Command { std: "docker" "start" "-a" "9dfb4246a015df4ee34df4836b12459ef73dd9aaa701768817e093a7e702a42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dfb4246a015df4ee34df4836b12459ef73dd9aaa701768817e093a7e702a42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dfb4246a015df4ee34df4836b12459ef73dd9aaa701768817e093a7e702a42c", kill_on_drop: false }` [INFO] [stdout] 9dfb4246a015df4ee34df4836b12459ef73dd9aaa701768817e093a7e702a42c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff4195435298a875e6d184e6b68bace8ad278c5adbefe7077740211f7baddf18 [INFO] running `Command { std: "docker" "start" "-a" "ff4195435298a875e6d184e6b68bace8ad278c5adbefe7077740211f7baddf18", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking mi_ping v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::inaddr::IN_ADDR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ws2def::{AF_INET, SOCKADDR_IN, SOL_SOCKET, SO_RCVTIMEO, SO_SNDTIMEO}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winsock2::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc::SOCKET` [INFO] [stdout] --> src/lib.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{self, setsockopt, socket, SOCKET}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SOCKET` in the root [INFO] [stdout] | help: a similar name exists in the module: `socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | tv_sec: timeout.as_secs() as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::inaddr::IN_ADDR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ws2def::{AF_INET, SOCKADDR_IN, SOL_SOCKET, SO_RCVTIMEO, SO_SNDTIMEO}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winsock2::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc::SOCKET` [INFO] [stdout] --> src/lib.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::{self, setsockopt, socket, SOCKET}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `SOCKET` in the root [INFO] [stdout] | help: a similar name exists in the module: `socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | std::mem::size_of::() as i32, [INFO] [stdout] | ------------------------------------------- expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: expected `*const c_void`, found `*const i8` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | &timeval as *const _ as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const c_void` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.158/src/unix/mod.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 84 | (std::mem::size_of::() as i32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | tv_sec: timeout.as_secs() as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | std::mem::size_of::() as i32 [INFO] [stdout] | ------------------------------------------- expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: expected `*const c_void`, found `*const i8` [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &timeval as *const _ as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const c_void` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.158/src/unix/mod.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 156 | (std::mem::size_of::() as i32).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mi_ping` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | tv_sec: timeout.as_secs() as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | std::mem::size_of::() as i32, [INFO] [stdout] | ------------------------------------------- expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: expected `*const c_void`, found `*const i8` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | &timeval as *const _ as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const c_void` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.158/src/unix/mod.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 84 | (std::mem::size_of::() as i32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | tv_sec: timeout.as_secs() as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | std::mem::size_of::() as i32 [INFO] [stdout] | ------------------------------------------- expected `u32`, found `i32` [INFO] [stdout] | [INFO] [stdout] note: expected `*const c_void`, found `*const i8` [INFO] [stdout] --> src/lib.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | &timeval as *const _ as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*const c_void` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.158/src/unix/mod.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn setsockopt( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 156 | (std::mem::size_of::() as i32).try_into().unwrap() [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mi_ping` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ff4195435298a875e6d184e6b68bace8ad278c5adbefe7077740211f7baddf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff4195435298a875e6d184e6b68bace8ad278c5adbefe7077740211f7baddf18", kill_on_drop: false }` [INFO] [stdout] ff4195435298a875e6d184e6b68bace8ad278c5adbefe7077740211f7baddf18