[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 try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimophin%2Fdsocks" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/simophin/dsocks on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb97a644f42a11d4685ab390039d338d7d50e95db68010dc10610b861a49ee6c [INFO] running `Command { std: "docker" "start" "-a" "fb97a644f42a11d4685ab390039d338d7d50e95db68010dc10610b861a49ee6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb97a644f42a11d4685ab390039d338d7d50e95db68010dc10610b861a49ee6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb97a644f42a11d4685ab390039d338d7d50e95db68010dc10610b861a49ee6c", kill_on_drop: false }` [INFO] [stdout] fb97a644f42a11d4685ab390039d338d7d50e95db68010dc10610b861a49ee6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 018d920130fb142cb9c362000dd09b647191293c8799968af504583e6972537c [INFO] running `Command { std: "docker" "start" "-a" "018d920130fb142cb9c362000dd09b647191293c8799968af504583e6972537c", 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 itoa v1.0.9 [INFO] [stderr] Compiling memchr v2.6.3 [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 futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling async-shutdown v0.1.3 [INFO] [stderr] Compiling regex-automata v0.3.8 [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 pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling clap v4.4.3 [INFO] [stderr] Compiling rustls-webpki v0.101.5 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.100.3 [INFO] [stderr] Compiling webpki-roots v0.23.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [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 headers-core v0.2.0 [INFO] [stderr] Compiling tungstenite v0.20.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [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: struct `Controller` is never constructed [INFO] [stdout] --> src/controller.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Controller {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerInfo` is never constructed [INFO] [stdout] --> src/controller.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkerInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobRequestInfo` is never constructed [INFO] [stdout] --> src/controller.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobRequestInfo { [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: associated items `new`, `on_job_request`, and `on_worker` are never used [INFO] [stdout] --> src/controller.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Controller { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn on_job_request(&self, job: JobRequestInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn on_worker(&self, worker: WorkerInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stream` is never used [INFO] [stdout] --> src/stream.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Stream: AsyncRead + AsyncWrite + Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxedStream` is never used [INFO] [stdout] --> src/stream.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedStream = Box; [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.70s [INFO] running `Command { std: "docker" "inspect" "018d920130fb142cb9c362000dd09b647191293c8799968af504583e6972537c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018d920130fb142cb9c362000dd09b647191293c8799968af504583e6972537c", kill_on_drop: false }` [INFO] [stdout] 018d920130fb142cb9c362000dd09b647191293c8799968af504583e6972537c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d5dfb9566e0c85014d6032c2286b95310cb09ab0f54219a7beb72136ca51d3 [INFO] running `Command { std: "docker" "start" "-a" "98d5dfb9566e0c85014d6032c2286b95310cb09ab0f54219a7beb72136ca51d3", 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: struct `Controller` is never constructed [INFO] [stdout] --> src/controller.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Controller {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerInfo` is never constructed [INFO] [stdout] --> src/controller.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkerInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobRequestInfo` is never constructed [INFO] [stdout] --> src/controller.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobRequestInfo { [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: associated items `new`, `on_job_request`, and `on_worker` are never used [INFO] [stdout] --> src/controller.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Controller { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn on_job_request(&self, job: JobRequestInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn on_worker(&self, worker: WorkerInfo) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stream` is never used [INFO] [stdout] --> src/stream.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Stream: AsyncRead + AsyncWrite + Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxedStream` is never used [INFO] [stdout] --> src/stream.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type BoxedStream = Box; [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "98d5dfb9566e0c85014d6032c2286b95310cb09ab0f54219a7beb72136ca51d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d5dfb9566e0c85014d6032c2286b95310cb09ab0f54219a7beb72136ca51d3", kill_on_drop: false }` [INFO] [stdout] 98d5dfb9566e0c85014d6032c2286b95310cb09ab0f54219a7beb72136ca51d3