[INFO] cloning repository https://github.com/MihleDex/pingy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MihleDex/pingy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMihleDex%2Fpingy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMihleDex%2Fpingy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43d611bdf8fb5d48015012b20e74527e87aaad89
[INFO] checking MihleDex/pingy against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMihleDex%2Fpingy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MihleDex/pingy
[INFO] finished tweaking git repo https://github.com/MihleDex/pingy
[INFO] tweaked toml for git repo https://github.com/MihleDex/pingy written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MihleDex/pingy on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MihleDex/pingy 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46
[INFO] running `Command { std: "docker" "start" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]     Checking osi v0.0.1
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking sys v0.0.1
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking raw-socket v0.0.2
[INFO] [stderr]     Checking pingy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `p_checksum` in this scope
[INFO] [stdout]   --> src/main.rs:14:49
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let packet: IcmpPacket = build_packet(8, 0, p_checksum, [0x00,0x01], [0x00,0x01], payload);
[INFO] [stdout]    |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::time;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let sent_bytes = socket.send_to(packet, target)?;
[INFO] [stdout]    |                             ------- ^^^^^^ expected `&[u8]`, found `IcmpPacket`
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/raw-socket-0.0.2/src/socket.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn send_to<A: ToSocketAddrs>(&self, buf: &[u8], addr: A) -> Result<usize> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:59
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn _make_echo_req(packet:IcmpPacket,target:SocketAddr) -> Result<SocketAddr,Error> {
[INFO] [stdout]    |    --------------                                         ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<SocketAddr, Error>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<std::net::SocketAddr, std::io::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pingy` (bin "pingy") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `p_checksum` in this scope
[INFO] [stdout]   --> src/main.rs:14:49
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let packet: IcmpPacket = build_packet(8, 0, p_checksum, [0x00,0x01], [0x00,0x01], payload);
[INFO] [stdout]    |                                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::time`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::time;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:42:37
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let sent_bytes = socket.send_to(packet, target)?;
[INFO] [stdout]    |                             ------- ^^^^^^ expected `&[u8]`, found `IcmpPacket`
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/raw-socket-0.0.2/src/socket.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn send_to<A: ToSocketAddrs>(&self, buf: &[u8], addr: A) -> Result<usize> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:38:59
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn _make_echo_req(packet:IcmpPacket,target:SocketAddr) -> Result<SocketAddr,Error> {
[INFO] [stdout]    |    --------------                                         ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<SocketAddr, Error>`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<std::net::SocketAddr, std::io::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pingy` (bin "pingy" test) due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: unused dependency `sys`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | sys = "0.0.1"
[INFO] [stderr]   | ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `sys`
[INFO] [stderr] warning: `pingy` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46", kill_on_drop: false }`
[INFO] [stdout] 619b16abaf567c99731ee55b73c0ca86fb2c5a00be43508fff84c77c2195ce46
