[INFO] cloning repository https://github.com/GirkovArpa/raw-socket-sniffer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GirkovArpa/raw-socket-sniffer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirkovArpa%2Fraw-socket-sniffer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirkovArpa%2Fraw-socket-sniffer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0e9123ffb34d3b267ec8dc415783e60f86d5830 [INFO] checking GirkovArpa/raw-socket-sniffer-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirkovArpa%2Fraw-socket-sniffer-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GirkovArpa/raw-socket-sniffer-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GirkovArpa/raw-socket-sniffer-rs [INFO] finished tweaking git repo https://github.com/GirkovArpa/raw-socket-sniffer-rs [INFO] tweaked toml for git repo https://github.com/GirkovArpa/raw-socket-sniffer-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/GirkovArpa/raw-socket-sniffer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2afc72f52b1d4b2208cf56e3e96584771d64086ced59d1d372d731ebf8c90e45 [INFO] running `Command { std: "docker" "start" "-a" "2afc72f52b1d4b2208cf56e3e96584771d64086ced59d1d372d731ebf8c90e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2afc72f52b1d4b2208cf56e3e96584771d64086ced59d1d372d731ebf8c90e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afc72f52b1d4b2208cf56e3e96584771d64086ced59d1d372d731ebf8c90e45", kill_on_drop: false }` [INFO] [stdout] 2afc72f52b1d4b2208cf56e3e96584771d64086ced59d1d372d731ebf8c90e45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5f01db9288fd8a97b9b3e4fb0b9ce98a7eb670b05ea1413fe41063f621bcc2c7 [INFO] running `Command { std: "docker" "start" "-a" "5f01db9288fd8a97b9b3e4fb0b9ce98a7eb670b05ea1413fe41063f621bcc2c7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking raw-socket-sniffer-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let mut wsa_data = std::mem::MaybeUninit::::zeroed(); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | winapi::um::winsock2::WSAStartup( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | winapi::shared::minwindef::MAKEWORD(2, 2), [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/main.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [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/main.rs:98:77 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [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/main.rs:98:111 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [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/main.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | if sd == winapi::um::winsock2::INVALID_SOCKET { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | eprintln!("socket() failed: {:?}", winapi::um::winsock2::WSAGetLastError()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | let in_addr_S_un = winapi::shared::inaddr::in_addr_S_un {}; [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/main.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let in_addr = 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/main.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let addr = winapi::shared::ws2def::SOCKADDR_IN { [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/main.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | sin_family: winapi::shared::ws2def::AF_INET as u16, [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/main.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | sin_port: unsafe { winapi::um::winsock2::htons(0) }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcap_timeval` should have an upper camel case name [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct pcap_timeval { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapTimeval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcap_file_header` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct pcap_file_header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapFileHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcap_sf_pkthdr` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct pcap_sf_pkthdr { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapSfPkthdr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raw-socket-sniffer-rs` due to 15 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let mut wsa_data = std::mem::MaybeUninit::::zeroed(); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | winapi::um::winsock2::WSAStartup( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | winapi::shared::minwindef::MAKEWORD(2, 2), [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/main.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [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/main.rs:98:77 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [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/main.rs:98:111 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::winsock2::socket(winapi::shared::ws2def::AF_INET, winapi::shared::ws2def::SOCK_RAW, winapi::shared::ws2def::IPPROTO_IP) [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/main.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | if sd == winapi::um::winsock2::INVALID_SOCKET { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | eprintln!("socket() failed: {:?}", winapi::um::winsock2::WSAGetLastError()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | let in_addr_S_un = winapi::shared::inaddr::in_addr_S_un {}; [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/main.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let in_addr = 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/main.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let addr = winapi::shared::ws2def::SOCKADDR_IN { [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/main.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | sin_family: winapi::shared::ws2def::AF_INET as u16, [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/main.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | sin_port: unsafe { winapi::um::winsock2::htons(0) }, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcap_timeval` should have an upper camel case name [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct pcap_timeval { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapTimeval` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcap_file_header` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct pcap_file_header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapFileHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcap_sf_pkthdr` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct pcap_sf_pkthdr { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapSfPkthdr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5f01db9288fd8a97b9b3e4fb0b9ce98a7eb670b05ea1413fe41063f621bcc2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f01db9288fd8a97b9b3e4fb0b9ce98a7eb670b05ea1413fe41063f621bcc2c7", kill_on_drop: false }` [INFO] [stdout] 5f01db9288fd8a97b9b3e4fb0b9ce98a7eb670b05ea1413fe41063f621bcc2c7