[INFO] cloning repository https://github.com/XaydBayeck/ipw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XaydBayeck/ipw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXaydBayeck%2Fipw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXaydBayeck%2Fipw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69d672368d88829cffa255c8a2dc3a2caa05e96d [INFO] checking XaydBayeck/ipw/69d672368d88829cffa255c8a2dc3a2caa05e96d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXaydBayeck%2Fipw" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XaydBayeck/ipw on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/XaydBayeck/ipw [INFO] finished tweaking git repo https://github.com/XaydBayeck/ipw [INFO] tweaked toml for git repo https://github.com/XaydBayeck/ipw written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/XaydBayeck/ipw 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89d36b1cc2f0ebfb9e343acc3b7d58847aacbc9f01a016439e5522ab7a4caaf9 [INFO] running `Command { std: "docker" "start" "-a" "89d36b1cc2f0ebfb9e343acc3b7d58847aacbc9f01a016439e5522ab7a4caaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89d36b1cc2f0ebfb9e343acc3b7d58847aacbc9f01a016439e5522ab7a4caaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d36b1cc2f0ebfb9e343acc3b7d58847aacbc9f01a016439e5522ab7a4caaf9", kill_on_drop: false }` [INFO] [stdout] 89d36b1cc2f0ebfb9e343acc3b7d58847aacbc9f01a016439e5522ab7a4caaf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920038d3469d2371075882c0edeb89c80d15d531e40c3ee6a61204bf10f7bcc5 [INFO] running `Command { std: "docker" "start" "-a" "920038d3469d2371075882c0edeb89c80d15d531e40c3ee6a61204bf10f7bcc5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking ipwrapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `libc::posix_spawn_file_actions_addchdir_np` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::posix_spawn_file_actions_addchdir_np; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icmp::*` [INFO] [stdout] --> src/head.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use icmp::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::posix_spawn_file_actions_addchdir_np` [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::posix_spawn_file_actions_addchdir_np; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icmp::*` [INFO] [stdout] --> src/head.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use icmp::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shost` [INFO] [stdout] --> src/app.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let shost = Socket::new(Domain::IPV4, Type::DGRAM, None)? [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/app.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let (data, addr) = dbg!(self.arp.recive()?); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/app.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let (data, addr) = self.socket.recive()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/app.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let ((_, iphdr), buf) = <(EtherHdr, IPHdr)>::from_bytes(&data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/app.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let (data, addr) = self.socket.recive()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/app.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | log: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arp` and `log` are never read [INFO] [stdout] --> src/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | arp: PackSocket<64>, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | macs: Vec<(String, [u8; 6])>, [INFO] [stdout] 17 | log: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mac` is never used [INFO] [stdout] --> src/app.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl App { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_mac(&mut self, dhost: [u8; 4]) -> std::io::Result<[u8; 6]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ttl`, `get_chksum`, and `append_opt` are never used [INFO] [stdout] --> src/head/ip.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl IPHdr { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn ttl(self, ttl: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_chksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn append_opt(self, mut opt_section: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_ident`, `with_seqnum`, `checksum`, and `typ_dsc` are never used [INFO] [stdout] --> src/head/icmp.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ICMP { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(typ: u8, code: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_ident(self, ident: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_seqnum(self, seqnum: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn checksum(mut self, data:&[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn typ_dsc(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shost` [INFO] [stdout] --> src/app.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let shost = Socket::new(Domain::IPV4, Type::DGRAM, None)? [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shost` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/app.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | let (data, addr) = dbg!(self.arp.recive()?); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/app.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let (data, addr) = self.socket.recive()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/app.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | let ((_, iphdr), buf) = <(EtherHdr, IPHdr)>::from_bytes(&data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/app.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | let (data, addr) = self.socket.recive()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/app.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | log: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arp` and `log` are never read [INFO] [stdout] --> src/app.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | arp: PackSocket<64>, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | macs: Vec<(String, [u8; 6])>, [INFO] [stdout] 17 | log: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mac` is never used [INFO] [stdout] --> src/app.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl App { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_mac(&mut self, dhost: [u8; 4]) -> std::io::Result<[u8; 6]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ttl`, `get_chksum`, and `append_opt` are never used [INFO] [stdout] --> src/head/ip.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl IPHdr { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn ttl(self, ttl: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_chksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn append_opt(self, mut opt_section: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_ident`, `with_seqnum`, `checksum`, and `typ_dsc` are never used [INFO] [stdout] --> src/head/icmp.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ICMP { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(typ: u8, code: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_ident(self, ident: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_seqnum(self, seqnum: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn checksum(mut self, data:&[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn typ_dsc(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "920038d3469d2371075882c0edeb89c80d15d531e40c3ee6a61204bf10f7bcc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920038d3469d2371075882c0edeb89c80d15d531e40c3ee6a61204bf10f7bcc5", kill_on_drop: false }` [INFO] [stdout] 920038d3469d2371075882c0edeb89c80d15d531e40c3ee6a61204bf10f7bcc5