[INFO] cloning repository https://github.com/karlzakhary/Onion-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karlzakhary/Onion-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlzakhary%2FOnion-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlzakhary%2FOnion-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ea310e6bb3a3892b30460b9433c8ee7ab9d1da6 [INFO] checking karlzakhary/Onion-rust against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlzakhary%2FOnion-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/karlzakhary/Onion-rust on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/karlzakhary/Onion-rust [INFO] finished tweaking git repo https://github.com/karlzakhary/Onion-rust [INFO] tweaked toml for git repo https://github.com/karlzakhary/Onion-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/karlzakhary/Onion-rust 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce3c715f2819e3bd3ba2e8ed4812cd3be1916441bffd8c9974770e2985bbbb7 [INFO] running `Command { std: "docker" "start" "-a" "8ce3c715f2819e3bd3ba2e8ed4812cd3be1916441bffd8c9974770e2985bbbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce3c715f2819e3bd3ba2e8ed4812cd3be1916441bffd8c9974770e2985bbbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce3c715f2819e3bd3ba2e8ed4812cd3be1916441bffd8c9974770e2985bbbb7", kill_on_drop: false }` [INFO] [stdout] 8ce3c715f2819e3bd3ba2e8ed4812cd3be1916441bffd8c9974770e2985bbbb7 [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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c0b4d5864c1116db568dc5425812f70b190576145916cb426ae46cf9797d0f [INFO] running `Command { std: "docker" "start" "-a" "f1c0b4d5864c1116db568dc5425812f70b190576145916cb426ae46cf9797d0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking onion-21 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `onion_events_tx` [INFO] [stdout] --> src/onion/node.rs:160:67 [INFO] [stdout] | [INFO] [stdout] 160 | NodeRole::Endpoint { circuit_id, onion_events_rx, onion_events_tx } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `onion_events_tx: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion_events_tx` [INFO] [stdout] --> src/onion/node.rs:160:67 [INFO] [stdout] | [INFO] [stdout] 160 | NodeRole::Endpoint { circuit_id, onion_events_rx, onion_events_tx } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `onion_events_tx: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `circuit_id` is never read [INFO] [stdout] --> src/onion/commons.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct OnionEventSender { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 51 | pub(crate) circuit_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnionEventSender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) enum CircuitProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelayProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) enum RelayProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `circuit_id` is never read [INFO] [stdout] --> src/onion/commons.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct OnionEventSender { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 51 | pub(crate) circuit_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnionEventSender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) enum CircuitProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelayProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) enum RelayProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit_id` [INFO] [stdout] --> examples/cli.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | OnionResult::Ready { circuit_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `circuit_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit_id` [INFO] [stdout] --> examples/cli.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | OnionResult::Incoming { circuit_id } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `circuit_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit_id` [INFO] [stdout] --> examples/cli.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | OnionResult::Data { circuit_id, data } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `circuit_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> examples/cli.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | OnionResult::Data { circuit_id, data } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circuit_id` [INFO] [stdout] --> examples/cli.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | OnionResult::Error { circuit_id, reason } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `circuit_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> examples/cli.rs:135:42 [INFO] [stdout] | [INFO] [stdout] 135 | OnionResult::Error { circuit_id, reason } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `reason: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> examples/cli.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | async fn receive_api_and_send_onion_request(stream: TcpStream, messenger: Messenger) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messenger` [INFO] [stdout] --> examples/cli.rs:149:64 [INFO] [stdout] | [INFO] [stdout] 149 | async fn receive_api_and_send_onion_request(stream: TcpStream, messenger: Messenger) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messenger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion_events_tx` [INFO] [stdout] --> src/onion/node.rs:160:67 [INFO] [stdout] | [INFO] [stdout] 160 | NodeRole::Endpoint { circuit_id, onion_events_rx, onion_events_tx } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `onion_events_tx: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_rx` [INFO] [stdout] --> examples/cli.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let peer_rx = UnboundedReceiverStream::new(peer_rx); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_api_and_send_onion_request` is never used [INFO] [stdout] --> examples/cli.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | async fn receive_api_and_send_onion_request(stream: TcpStream, messenger: Messenger) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion_events_tx` [INFO] [stdout] --> src/onion/node.rs:160:67 [INFO] [stdout] | [INFO] [stdout] 160 | NodeRole::Endpoint { circuit_id, onion_events_rx, onion_events_tx } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `onion_events_tx: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_sender` [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let (peer_sender, peer_receiver) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion_router` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (onion_router, events) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_onion_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let (onion_router, events) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `circuit_id` is never read [INFO] [stdout] --> src/onion/commons.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct OnionEventSender { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 51 | pub(crate) circuit_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnionEventSender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) enum CircuitProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelayProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) enum RelayProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_sender` [INFO] [stdout] --> src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let (peer_sender, peer_receiver) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion_router` [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (onion_router, events) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_onion_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/main.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let (onion_router, events) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `circuit_id` is never read [INFO] [stdout] --> src/onion/commons.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct OnionEventSender { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 51 | pub(crate) circuit_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnionEventSender` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) enum CircuitProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RelayProtocolError` is never used [INFO] [stdout] --> src/onion/errors.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub(crate) enum RelayProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.13s [INFO] running `Command { std: "docker" "inspect" "f1c0b4d5864c1116db568dc5425812f70b190576145916cb426ae46cf9797d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c0b4d5864c1116db568dc5425812f70b190576145916cb426ae46cf9797d0f", kill_on_drop: false }` [INFO] [stdout] f1c0b4d5864c1116db568dc5425812f70b190576145916cb426ae46cf9797d0f