[INFO] cloning repository https://github.com/chyh1990/route-checker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chyh1990/route-checker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyh1990%2Froute-checker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyh1990%2Froute-checker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a642557e58bc4297c85ae3403b32f71bc077c4f [INFO] checking chyh1990/route-checker against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyh1990%2Froute-checker" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chyh1990/route-checker on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chyh1990/route-checker [INFO] finished tweaking git repo https://github.com/chyh1990/route-checker [INFO] tweaked toml for git repo https://github.com/chyh1990/route-checker written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/chyh1990/route-checker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 43f9c46d0f09a781dc47ffd2edd160d15c13375d173071c38e79ab2239967f7a [INFO] running `Command { std: "docker" "start" "-a" "43f9c46d0f09a781dc47ffd2edd160d15c13375d173071c38e79ab2239967f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f9c46d0f09a781dc47ffd2edd160d15c13375d173071c38e79ab2239967f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f9c46d0f09a781dc47ffd2edd160d15c13375d173071c38e79ab2239967f7a", kill_on_drop: false }` [INFO] [stdout] 43f9c46d0f09a781dc47ffd2edd160d15c13375d173071c38e79ab2239967f7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22aba34b8b6a83360d46f342fa4a9c93046c97ad5a70e7ed075686f6d808f240 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "22aba34b8b6a83360d46f342fa4a9c93046c97ad5a70e7ed075686f6d808f240", kill_on_drop: false }` [INFO] [stderr] Checking link-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AF_INET`, `sockaddr_storage` [INFO] [stdout] --> src/main.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{c_int, c_void, socket, AF_INET, AF_PACKET, sockaddr_storage}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{BufReader, Bytes, BufRead}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_IP` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Ethertype_IP = 0x0800, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeIp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_ARP` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Ethertype_ARP = 0x0806, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeArp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_VLAN` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ethertype_VLAN = 0x8100, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeVlan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_Unknown` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Ethertype_Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AF_INET`, `sockaddr_storage` [INFO] [stdout] --> src/main.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{c_int, c_void, socket, AF_INET, AF_PACKET, sockaddr_storage}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Seek` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Seek}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{BufReader, Bytes, BufRead}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_IP` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Ethertype_IP = 0x0800, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeIp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_ARP` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Ethertype_ARP = 0x0806, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeArp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_VLAN` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ethertype_VLAN = 0x8100, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeVlan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ethertype_Unknown` should have an upper camel case name [INFO] [stdout] --> src/packet.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Ethertype_Unknown = 0x0000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EthertypeUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | buf.len() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 51 | (buf.len() as u64).try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | buf.len() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 51 | (buf.len() as u64).try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 209 | ... loss = c.at(1).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:210:50 [INFO] [stdout] | [INFO] [stdout] 210 | ... time = c.at(2).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 209 | ... loss = c.at(1).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:210:50 [INFO] [stdout] | [INFO] [stdout] 210 | ... time = c.at(2).unwrap().parse::().unwrap(); [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `link-router` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "22aba34b8b6a83360d46f342fa4a9c93046c97ad5a70e7ed075686f6d808f240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22aba34b8b6a83360d46f342fa4a9c93046c97ad5a70e7ed075686f6d808f240", kill_on_drop: false }` [INFO] [stdout] 22aba34b8b6a83360d46f342fa4a9c93046c97ad5a70e7ed075686f6d808f240