[INFO] cloning repository https://github.com/simophin/dsocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simophin/dsocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimophin%2Fdsocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimophin%2Fdsocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3ecd8ddfd3da8ac95f5746e6d923b826b5c97ce [INFO] building simophin/dsocks against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimophin%2Fdsocks" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simophin/dsocks on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/simophin/dsocks [INFO] finished tweaking git repo https://github.com/simophin/dsocks [INFO] tweaked toml for git repo https://github.com/simophin/dsocks written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/simophin/dsocks 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-shutdown v0.1.3 [INFO] [stderr] Downloaded socks5-proto v0.4.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c066198d2cc94cc27d144bc51966dd58c1c4fc009b89ecbc0d95dcbe782b6a2 [INFO] running `Command { std: "docker" "start" "-a" "4c066198d2cc94cc27d144bc51966dd58c1c4fc009b89ecbc0d95dcbe782b6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c066198d2cc94cc27d144bc51966dd58c1c4fc009b89ecbc0d95dcbe782b6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c066198d2cc94cc27d144bc51966dd58c1c4fc009b89ecbc0d95dcbe782b6a2", kill_on_drop: false }` [INFO] [stdout] 4c066198d2cc94cc27d144bc51966dd58c1c4fc009b89ecbc0d95dcbe782b6a2 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26f8b9783602a2e57d84694c20853886e106252b3aa9b8e4119ea365c6a9f6c9 [INFO] running `Command { std: "docker" "start" "-a" "26f8b9783602a2e57d84694c20853886e106252b3aa9b8e4119ea365c6a9f6c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling rustls-webpki v0.101.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling rustls-webpki v0.100.3 [INFO] [stderr] Compiling webpki-roots v0.23.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling clap v4.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling async-shutdown v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tungstenite v0.20.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling socks5-proto v0.4.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling dsocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/controller.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`, `broadcast`, `mpsc`, `net::TcpStream`, and `spawn` [INFO] [stdout] --> src/controller.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | io::{AsyncRead, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 8 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | spawn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sync::{broadcast, mpsc, oneshot}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/controller.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | stream::{BoxedStream, Stream}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/controller.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn on_job_request(&self, job: JobRequestInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker` [INFO] [stdout] --> src/controller.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn on_worker(&self, worker: WorkerInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `labels` and `websocket` are never read [INFO] [stdout] --> src/controller.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkerInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | pub labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub websocket: WebSocket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `req`, `label`, and `stream` are never read [INFO] [stdout] --> src/controller.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobRequestInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | pub req: JobRequest, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub stream: BoxedStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindJobRequest` is never constructed [INFO] [stdout] --> src/controller.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct FindJobRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JobMessage` is never used [INFO] [stdout] --> src/controller.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum JobMessage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JOB_HEADER_NAME` is never used [INFO] [stdout] --> src/worker.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const JOB_HEADER_NAME: &str = "X-PJob"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PING_INTERVAL` is never used [INFO] [stdout] --> src/worker.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const PING_INTERVAL: Duration = Duration::from_secs(30); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_worker` is never used [INFO] [stdout] --> src/worker.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn serve_worker(worker_name: String, url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReceivedMessage` is never used [INFO] [stdout] --> src/worker.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | enum ReceivedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stream` is never used [INFO] [stdout] --> src/worker.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | async fn copy_stream( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_messages` is never used [INFO] [stdout] --> src/worker.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | async fn write_messages(mut rx: mpsc::Receiver, mut tx: S) -> anyhow::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_data` is never used [INFO] [stdout] --> src/worker.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | async fn write_data( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_until_job_message` is never used [INFO] [stdout] --> src/worker.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | async fn wait_until_job_message(worker_name: &str, stream: &mut S) -> anyhow::Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.97s [INFO] running `Command { std: "docker" "inspect" "26f8b9783602a2e57d84694c20853886e106252b3aa9b8e4119ea365c6a9f6c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f8b9783602a2e57d84694c20853886e106252b3aa9b8e4119ea365c6a9f6c9", kill_on_drop: false }` [INFO] [stdout] 26f8b9783602a2e57d84694c20853886e106252b3aa9b8e4119ea365c6a9f6c9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19390d0f8a6627dbb73f1a969c20fc2e0ea7104ee1fba636807f812ad5aa3136 [INFO] running `Command { std: "docker" "start" "-a" "19390d0f8a6627dbb73f1a969c20fc2e0ea7104ee1fba636807f812ad5aa3136", kill_on_drop: false }` [INFO] [stderr] Compiling dsocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/controller.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`, `broadcast`, `mpsc`, `net::TcpStream`, and `spawn` [INFO] [stdout] --> src/controller.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | io::{AsyncRead, AsyncWrite}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 8 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | spawn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sync::{broadcast, mpsc, oneshot}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/controller.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | stream::{BoxedStream, Stream}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job` [INFO] [stdout] --> src/controller.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn on_job_request(&self, job: JobRequestInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_job` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker` [INFO] [stdout] --> src/controller.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn on_worker(&self, worker: WorkerInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `labels` and `websocket` are never read [INFO] [stdout] --> src/controller.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkerInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | pub labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | pub websocket: WebSocket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `req`, `label`, and `stream` are never read [INFO] [stdout] --> src/controller.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobRequestInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | pub req: JobRequest, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub stream: BoxedStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FindJobRequest` is never constructed [INFO] [stdout] --> src/controller.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct FindJobRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JobMessage` is never used [INFO] [stdout] --> src/controller.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum JobMessage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JOB_HEADER_NAME` is never used [INFO] [stdout] --> src/worker.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const JOB_HEADER_NAME: &str = "X-PJob"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PING_INTERVAL` is never used [INFO] [stdout] --> src/worker.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const PING_INTERVAL: Duration = Duration::from_secs(30); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_worker` is never used [INFO] [stdout] --> src/worker.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn serve_worker(worker_name: String, url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReceivedMessage` is never used [INFO] [stdout] --> src/worker.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | enum ReceivedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_stream` is never used [INFO] [stdout] --> src/worker.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | async fn copy_stream( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_messages` is never used [INFO] [stdout] --> src/worker.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | async fn write_messages(mut rx: mpsc::Receiver, mut tx: S) -> anyhow::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_data` is never used [INFO] [stdout] --> src/worker.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | async fn write_data( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_until_job_message` is never used [INFO] [stdout] --> src/worker.rs:242:10 [INFO] [stdout] | [INFO] [stdout] 242 | async fn wait_until_job_message(worker_name: &str, stream: &mut S) -> anyhow::Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "19390d0f8a6627dbb73f1a969c20fc2e0ea7104ee1fba636807f812ad5aa3136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19390d0f8a6627dbb73f1a969c20fc2e0ea7104ee1fba636807f812ad5aa3136", kill_on_drop: false }` [INFO] [stdout] 19390d0f8a6627dbb73f1a969c20fc2e0ea7104ee1fba636807f812ad5aa3136