[INFO] cloning repository https://github.com/DylanGo317/rust-packet-forwarder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DylanGo317/rust-packet-forwarder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDylanGo317%2Frust-packet-forwarder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDylanGo317%2Frust-packet-forwarder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 527b82603a4c33476ff4c78324f55d4909c7e1aa [INFO] checking DylanGo317/rust-packet-forwarder against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDylanGo317%2Frust-packet-forwarder" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DylanGo317/rust-packet-forwarder [INFO] finished tweaking git repo https://github.com/DylanGo317/rust-packet-forwarder [INFO] tweaked toml for git repo https://github.com/DylanGo317/rust-packet-forwarder written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DylanGo317/rust-packet-forwarder on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DylanGo317/rust-packet-forwarder 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b7dbe92bf328ff23141e2c79dbe5c0434c1bcb2e21b5039025d250509b50783 [INFO] running `Command { std: "docker" "start" "-a" "8b7dbe92bf328ff23141e2c79dbe5c0434c1bcb2e21b5039025d250509b50783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b7dbe92bf328ff23141e2c79dbe5c0434c1bcb2e21b5039025d250509b50783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7dbe92bf328ff23141e2c79dbe5c0434c1bcb2e21b5039025d250509b50783", kill_on_drop: false }` [INFO] [stdout] 8b7dbe92bf328ff23141e2c79dbe5c0434c1bcb2e21b5039025d250509b50783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6de0f8757a90eb4c04c52fdb93304ae127cd0954dce49620e1e29852fd89754c [INFO] running `Command { std: "docker" "start" "-a" "6de0f8757a90eb4c04c52fdb93304ae127cd0954dce49620e1e29852fd89754c", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking pnet_sys v0.34.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Compiling pnet v0.34.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking pnet_base v0.34.0 [INFO] [stderr] Checking pnet_macros_support v0.34.0 [INFO] [stderr] Checking pnet_datalink v0.34.0 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling pnet_macros v0.34.0 [INFO] [stderr] Checking pnet_packet v0.34.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking pnet_transport v0.34.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking packet_forwarder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MutablePacket` [INFO] [stdout] --> src/tcp_parser.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use pnet::packet::{Packet, MutablePacket, ipv4::{Ipv4Packet, MutableIpv4Packet}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutablePacket` [INFO] [stdout] --> src/tcp_parser.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use pnet::packet::{Packet, MutablePacket, ipv4::{Ipv4Packet, MutableIpv4Packet}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ip_listener.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = transport_channel(65535, transport_channel_type).expect("transport_channel"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/ip_listener.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = transport_channel(65535, transport_channel_type).expect("transport_channel"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_ip` [INFO] [stdout] --> src/ip_listener.rs:7:55 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn spawn_listener(protocol: IpNextHeaderProtocol, destination_ip: IpAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http_test_server.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | async fn handle(_req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 8 | | Ok(Response::new(Body::from("Hello"))) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http_test_server.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | async fn handle(_req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 8 | | Ok(Response::new(Body::from("Hello"))) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http_test_server.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(Response::new(Body::from("Hello"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle}, Body>, Infallible> [INFO] [stdout] --> src/http_test_server.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 12 | | Ok::<_, Infallible>(service_fn(handle)) [INFO] [stdout] 13 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle}, Body>, Infallible> [INFO] [stdout] --> src/http_test_server.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Ok::<_, Infallible>(service_fn(handle)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packet_forwarder` (bin "packet_forwarder") due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ip_listener.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = transport_channel(65535, transport_channel_type).expect("transport_channel"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/ip_listener.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = transport_channel(65535, transport_channel_type).expect("transport_channel"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination_ip` [INFO] [stdout] --> src/ip_listener.rs:7:55 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn spawn_listener(protocol: IpNextHeaderProtocol, destination_ip: IpAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http_test_server.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | async fn handle(_req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 8 | | Ok(Response::new(Body::from("Hello"))) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http_test_server.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | async fn handle(_req: Request) -> Result, Infallible> { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 8 | | Ok(Response::new(Body::from("Hello"))) [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/http_test_server.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(Response::new(Body::from("Hello"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle}, Body>, Infallible> [INFO] [stdout] --> src/http_test_server.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 12 | | Ok::<_, Infallible>(service_fn(handle)) [INFO] [stdout] 13 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle}, Body>, Infallible> [INFO] [stdout] --> src/http_test_server.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Ok::<_, Infallible>(service_fn(handle)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packet_forwarder` (bin "packet_forwarder" test) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6de0f8757a90eb4c04c52fdb93304ae127cd0954dce49620e1e29852fd89754c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de0f8757a90eb4c04c52fdb93304ae127cd0954dce49620e1e29852fd89754c", kill_on_drop: false }` [INFO] [stdout] 6de0f8757a90eb4c04c52fdb93304ae127cd0954dce49620e1e29852fd89754c