[INFO] cloning repository https://github.com/jkunder/linux-io
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkunder/linux-io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkunder%2Flinux-io"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkunder%2Flinux-io'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 7b157c5217a21b38798da0684b01fd2e4a4960f3
[INFO] testing jkunder/linux-io against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkunder%2Flinux-io" "/workspace/builds/worker-7-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jkunder/linux-io
[INFO] finished tweaking git repo https://github.com/jkunder/linux-io
[INFO] tweaked toml for git repo https://github.com/jkunder/linux-io written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkunder/linux-io on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jkunder/linux-io already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece
[INFO] running `"docker" "start" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece"`
[INFO] running `"docker" "inspect" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece"`
[INFO] running `"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" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling no-std-net v0.6.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling pnet v0.35.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling pnet_sys v0.35.0
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling pnet_base v0.35.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling pnet_macros_support v0.35.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling ipnetwork v0.20.0
[INFO] [stderr]    Compiling pnet_datalink v0.35.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling pnet_macros v0.35.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling pnet_packet v0.35.0
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling pnet_transport v0.35.0
[INFO] [stderr]    Compiling linux-io v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `::`
[INFO] [stdout]   --> src/stats.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Self { stats::HashMap::new()}
[INFO] [stdout]    |         ----   -----^^ expected one of `,`, `:`, or `}`
[INFO] [stdout]    |         |      |
[INFO] [stdout]    |         |      while parsing this struct field
[INFO] [stdout]    |         while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RawSocket` in this scope
[INFO] [stdout]  --> src/afpacket.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     socket: RawSocket,
[INFO] [stdout]   |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Packet` in this scope
[INFO] [stdout]   --> src/packet.rs:12:46
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn parse_packet(packet: &[u8]) -> Result<Packet, String> {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn parse_packet<Packet>(packet: &[u8]) -> Result<Packet, String> {
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `format` in this scope
[INFO] [stdout]   --> src/packet.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 return Ok(format("ICMP Packet"));
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a macro named `format` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 return Ok(format!("ICMP Packet"));
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::fmt::format;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `format` in this scope
[INFO] [stdout]   --> src/packet.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 return Ok(format("UDP Packet"));
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a macro named `format` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 return Ok(format!("UDP Packet"));
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::fmt::format;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `format` in this scope
[INFO] [stdout]   --> src/packet.rs:30:27
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 return Ok(format("TCP Packet"));
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a macro named `format` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 return Ok(format!("TCP Packet"));
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::fmt::format;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `format` in this scope
[INFO] [stdout]   --> src/packet.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 return Ok(format("ARP Packet"));
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a macro named `format` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 return Ok(format!("ARP Packet"));
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::fmt::format;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: cannot find function `format` in this scope
[INFO] [stdout]   --> src/packet.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 return Ok(format("Unknown Protocol"));
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: a macro named `format` exists in another namespace
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 return Ok(format!("Unknown Protocol"));
[INFO] [stdout]    |                                 +
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::fmt::format;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/stats.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     stats: HashMap<string, Stats>,
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `string` in this scope
[INFO] [stdout]   --> src/stats.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     stats: HashMap<string, Stats>,
[INFO] [stdout]    |                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named struct `String` defined here
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/alloc/src/string.rs:357:0
[INFO] [stdout] help: a struct with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 10 -     stats: HashMap<string, Stats>,
[INFO] [stdout] 10 +     stats: HashMap<String, Stats>,
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct ProtocolStats<string> {
[INFO] [stdout]    |                     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `bytest` in this scope
[INFO] [stdout]   --> src/stats.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |         stats.bytes += bytest;
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 -         stats.bytes += bytest;
[INFO] [stdout] 21 +         stats.bytes += bytes;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `AfPacketInterface` is private
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use afpacket::AfPacketInterface;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^ private struct
[INFO] [stdout]   |
[INFO] [stdout] note: the struct `AfPacketInterface` is defined here
[INFO] [stdout]  --> src/afpacket.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct AfPacketInterface {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `ProtocolStats` is private
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use stats::ProtocolStats;
[INFO] [stdout]    |            ^^^^^^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `ProtocolStats` is defined here
[INFO] [stdout]   --> src/stats.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | struct ProtocolStats {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RawSocket` in this scope
[INFO] [stdout]   --> src/afpacket.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let socket = RawSocket::new(interface_name)?;
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `RawSocket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/afpacket.rs:19:30
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn receive(&self) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |            -------           ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Vec<u8>, String>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Vec<u8>, std::string::String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `EtherType` in this scope
[INFO] [stdout]   --> src/packet.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |     if ethernet_packet.get_ethertype() == EtherType::Ipv4 {
[INFO] [stdout]    |                                           ^^^^^^^^^ use of undeclared type `EtherType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_protocol` found for struct `Ipv4Packet<'p>` in the current scope
[INFO] [stdout]   --> src/packet.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |         match ipv4_packet.get_protocol() {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `get_next_level_protocol` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 16 |         match ipv4_packet.get_next_level_protocol() {
[INFO] [stdout]    |                               +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_protocol` found for struct `Ipv4Packet<'p>` in the current scope
[INFO] [stdout]   --> src/packet.rs:38:71
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 tracing::debug!("Unknown protocol: {:?}", ipv4_packet.get_protocol());
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `get_next_level_protocol` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 tracing::debug!("Unknown protocol: {:?}", ipv4_packet.get_next_level_protocol());
[INFO] [stdout]    |                                                                           +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Stats` in the current scope
[INFO] [stdout]   --> src/stats.rs:19:65
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct Stats {
[INFO] [stdout]    | ------------ associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |         let stats = self.stats.entry(protocol).or_insert(Stats::new());
[INFO] [stdout]    |                                                                 ^^^ associated function or constant not found in `Stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | /     loop {
[INFO] [stdout] 27 | |         let packet = interface.receive()?;
[INFO] [stdout] 28 | |         // tracing log the packet in DEBUG level
[INFO] [stdout] 29 | |         tracing::debug!("Received packet: {:?}", packet);
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |         tracing::debug!("Parsed packet: {:?}", parsed_packet);
[INFO] [stdout] 33 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 34 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Protocol` in this scope
[INFO] [stdout]   --> src/packet.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Protocol::Arp => { 
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Protocol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Protocol` in this scope
[INFO] [stdout]   --> src/packet.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Protocol::Tcp => { 
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Protocol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Protocol` in this scope
[INFO] [stdout]   --> src/packet.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Protocol::Icmp => { 
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Protocol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Protocol` in this scope
[INFO] [stdout]   --> src/packet.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             Protocol::Udp => { 
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Protocol`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linux-io` (bin "linux-io") due to 23 previous errors; 1 warning emitted
[INFO] running `"docker" "inspect" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece"`
[INFO] running `"docker" "rm" "-f" "86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece"`
[INFO] [stdout] 86b9f4399280e8c814007c9116d5974c9a311ea8621f043f7a6924a23027aece
