[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 beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchyh1990%2Froute-checker" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chyh1990/route-checker on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-8/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0dc4a39d0295a8e97cd8f148d5ae39aaace7ddb0a6a486fdcbd21f7bcf52977b
[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" "0dc4a39d0295a8e97cd8f148d5ae39aaace7ddb0a6a486fdcbd21f7bcf52977b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0dc4a39d0295a8e97cd8f148d5ae39aaace7ddb0a6a486fdcbd21f7bcf52977b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0dc4a39d0295a8e97cd8f148d5ae39aaace7ddb0a6a486fdcbd21f7bcf52977b", kill_on_drop: false }`
[INFO] [stdout] 0dc4a39d0295a8e97cd8f148d5ae39aaace7ddb0a6a486fdcbd21f7bcf52977b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd7af5f8f13280a416b8584841e5a148e708f7a3e0e6245583c1ac9f244829b1
[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" "cd7af5f8f13280a416b8584841e5a148e708f7a3e0e6245583c1ac9f244829b1", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking regex v1.3.9
[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::<u32>().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::<u32>().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::<u32>().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::<u32>().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" "cd7af5f8f13280a416b8584841e5a148e708f7a3e0e6245583c1ac9f244829b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd7af5f8f13280a416b8584841e5a148e708f7a3e0e6245583c1ac9f244829b1", kill_on_drop: false }`
[INFO] [stdout] cd7af5f8f13280a416b8584841e5a148e708f7a3e0e6245583c1ac9f244829b1
