[INFO] cloning repository https://github.com/ntvinh2005/v-distributed-tunnel-v1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ntvinh2005/v-distributed-tunnel-v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntvinh2005%2Fv-distributed-tunnel-v1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntvinh2005%2Fv-distributed-tunnel-v1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ec9bc18510ef1555721dc07ff5243e99dfb1b52 [INFO] building ntvinh2005/v-distributed-tunnel-v1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntvinh2005%2Fv-distributed-tunnel-v1" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ntvinh2005/v-distributed-tunnel-v1 [INFO] finished tweaking git repo https://github.com/ntvinh2005/v-distributed-tunnel-v1 [INFO] tweaked toml for git repo https://github.com/ntvinh2005/v-distributed-tunnel-v1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ntvinh2005/v-distributed-tunnel-v1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ntvinh2005/v-distributed-tunnel-v1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded toml_write v0.1.2 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded rustls-platform-verifier v0.5.3 [INFO] [stderr] Downloaded anstyle-wincon v3.0.9 [INFO] [stderr] Downloaded anstyle-query v1.1.3 [INFO] [stderr] Downloaded clap v4.5.41 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded clap_builder v4.5.41 [INFO] [stderr] Downloaded webpki-root-certs v1.0.1 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded aws-lc-rs v1.13.2 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded prettyplease v0.2.35 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] [stderr] Downloaded rpassword v7.4.0 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded webpki-root-certs v0.26.11 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded tokio v1.46.1 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded anstream v0.6.19 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded fastbloom v0.9.0 [INFO] [stderr] Downloaded rustls-platform-verifier-android v0.1.1 [INFO] [stderr] Downloaded sct v0.7.1 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded rtoolbox v0.0.3 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded rustls v0.23.29 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc8da55a1a4c366f8946e7887d902c958d00fc7d215a19b0ed1378f6ef2069b6 [INFO] running `Command { std: "docker" "start" "-a" "cc8da55a1a4c366f8946e7887d902c958d00fc7d215a19b0ed1378f6ef2069b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8da55a1a4c366f8946e7887d902c958d00fc7d215a19b0ed1378f6ef2069b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8da55a1a4c366f8946e7887d902c958d00fc7d215a19b0ed1378f6ef2069b6", kill_on_drop: false }` [INFO] [stdout] cc8da55a1a4c366f8946e7887d902c958d00fc7d215a19b0ed1378f6ef2069b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07ced89dfd5f36ed2ab3253b9660130b38c9ea95db4024981bd4f339f5214aa8 [INFO] running `Command { std: "docker" "start" "-a" "07ced89dfd5f36ed2ab3253b9660130b38c9ea95db4024981bd4f339f5214aa8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling aws-lc-rs v1.13.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling fastbloom v0.9.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling quinn-proto v0.11.12 [INFO] [stderr] Compiling v-distributed-tunnel-v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/client.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Write}; [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: `reverse_proxy::routing_table::RoutingTable` [INFO] [stdout] --> src/bin/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reverse_proxy::routing_table::RoutingTable; [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: `v_distributed_tunnel_v1::common::helper` [INFO] [stdout] --> src/bin/server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use v_distributed_tunnel_v1::common::helper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut send_stream: SendStream, [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mut recv_stream: RecvStream, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/client.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut send_stream: SendStream, [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mut recv_stream: RecvStream, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_forward_fn` is never used [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn make_forward_fn() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_stream` [INFO] [stdout] --> src/bin/server.rs:301:49 [INFO] [stdout] | [INFO] [stdout] 301 | ... Ok((send_stream, recv_stream)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv_stream` [INFO] [stdout] --> src/bin/server.rs:301:62 [INFO] [stdout] | [INFO] [stdout] 301 | ... Ok((send_stream, recv_stream)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recv_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_password` is never used [INFO] [stdout] --> src/bin/admin/password_gen.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_password() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tunnel` is never used [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn handle_tunnel( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/bin/pool/port_pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Port { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `assign_random_port` is never used [INFO] [stdout] --> src/bin/pool/port_pool.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PortPool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn assign_random_port(&self, node_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "07ced89dfd5f36ed2ab3253b9660130b38c9ea95db4024981bd4f339f5214aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ced89dfd5f36ed2ab3253b9660130b38c9ea95db4024981bd4f339f5214aa8", kill_on_drop: false }` [INFO] [stdout] 07ced89dfd5f36ed2ab3253b9660130b38c9ea95db4024981bd4f339f5214aa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e01e952b6fd4381174d32ec88c27021b063e90dbdff2407fd6ffe8c31d4a4366 [INFO] running `Command { std: "docker" "start" "-a" "e01e952b6fd4381174d32ec88c27021b063e90dbdff2407fd6ffe8c31d4a4366", kill_on_drop: false }` [INFO] [stderr] Compiling v-distributed-tunnel-v1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reverse_proxy::routing_table::RoutingTable` [INFO] [stdout] --> src/bin/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reverse_proxy::routing_table::RoutingTable; [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: `v_distributed_tunnel_v1::common::helper` [INFO] [stdout] --> src/bin/server.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use v_distributed_tunnel_v1::common::helper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/bin/client.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Write}; [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/bin/forward/client_tunnel_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut send_stream: SendStream, [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mut recv_stream: RecvStream, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/client.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mut send_stream: SendStream, [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mut recv_stream: RecvStream, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_forward_fn` is never used [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn make_forward_fn() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/forward/server_tunnel_handler.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(|mut tcp_stream, mut send_stream, mut recv_stream| { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_stream` [INFO] [stdout] --> src/bin/server.rs:301:49 [INFO] [stdout] | [INFO] [stdout] 301 | ... Ok((send_stream, recv_stream)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv_stream` [INFO] [stdout] --> src/bin/server.rs:301:62 [INFO] [stdout] | [INFO] [stdout] 301 | ... Ok((send_stream, recv_stream)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recv_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_password` is never used [INFO] [stdout] --> src/bin/admin/password_gen.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_password() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tunnel` is never used [INFO] [stdout] --> src/bin/forward/client_tunnel_handler.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn handle_tunnel( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/bin/pool/port_pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Port { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `assign_random_port` is never used [INFO] [stdout] --> src/bin/pool/port_pool.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PortPool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn assign_random_port(&self, node_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.30s [INFO] running `Command { std: "docker" "inspect" "e01e952b6fd4381174d32ec88c27021b063e90dbdff2407fd6ffe8c31d4a4366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01e952b6fd4381174d32ec88c27021b063e90dbdff2407fd6ffe8c31d4a4366", kill_on_drop: false }` [INFO] [stdout] e01e952b6fd4381174d32ec88c27021b063e90dbdff2407fd6ffe8c31d4a4366