[INFO] fetching crate motorx-core 0.0.18... [INFO] testing motorx-core-0.0.18 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate motorx-core 0.0.18 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate motorx-core 0.0.18 [INFO] finished tweaking crates.io crate motorx-core 0.0.18 [INFO] tweaked toml for crates.io crate motorx-core 0.0.18 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate motorx-core 0.0.18 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 293 packages to latest compatible versions [INFO] [stderr] Adding rcgen v0.13.2 (available: v0.14.3) [INFO] [stderr] Adding rustls-acme v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding webpki-roots v0.26.11 (available: v1.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-acme v0.12.1 [INFO] [stderr] Downloaded async-http-codec v0.8.0 [INFO] [stderr] Downloaded async-web-client v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c81f52494596f4fc2262af5be79b76543ae95408d48cfebd18c9d6d5c4af354 [INFO] running `Command { std: "docker" "start" "-a" "4c81f52494596f4fc2262af5be79b76543ae95408d48cfebd18c9d6d5c4af354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c81f52494596f4fc2262af5be79b76543ae95408d48cfebd18c9d6d5c4af354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c81f52494596f4fc2262af5be79b76543ae95408d48cfebd18c9d6d5c4af354", kill_on_drop: false }` [INFO] [stdout] 4c81f52494596f4fc2262af5be79b76543ae95408d48cfebd18c9d6d5c4af354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 933a33244758d72121871f2342c6ee2802b1b0f8910a4e9c513ada38b9f6c35e [INFO] running `Command { std: "docker" "start" "-a" "933a33244758d72121871f2342c6ee2802b1b0f8910a4e9c513ada38b9f6c35e", kill_on_drop: false }` [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling motorx-core v0.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr` [INFO] [stdout] --> src/config/mod.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, net::SocketAddr, path::PathBuf, str::FromStr, sync::Arc}; [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: `util::proxy_request` [INFO] [stdout] --> src/handle/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use util::proxy_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/listener.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, net::SocketAddr, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpStream` [INFO] [stdout] --> src/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Tls` [INFO] [stdout] --> src/listener.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{config::Tls, Config}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/conn_pool.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | if let Err(err) = conn.with_upgrades().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/upgrade.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/upgrade.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(err) = tokio::io::copy_bidirectional( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | if let Err(err) = conn.ready().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | if let Err(err) = conn.await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upstreams` [INFO] [stdout] --> src/handle/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | upstreams: &Upstreams, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upstreams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/conn_pool.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Err(err) = self.sender.try_send(self.conn.take().unwrap()) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tls` [INFO] [stdout] --> src/listener.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(tls) = &config.tls { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = conn_build [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_upstream_max_connections` is never used [INFO] [stdout] --> src/config/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | const fn default_upstream_max_connections() -> usize { [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 `default_cache_methods` is never used [INFO] [stdout] --> src/config/rule.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn default_cache_methods() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_cache_max_age` is never used [INFO] [stdout] --> src/config/rule.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn default_cache_max_age() -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tunnel` is never used [INFO] [stdout] --> src/handle/util.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | pub async fn tunnel(upgraded: Upgraded, addr: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.84s [INFO] running `Command { std: "docker" "inspect" "933a33244758d72121871f2342c6ee2802b1b0f8910a4e9c513ada38b9f6c35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933a33244758d72121871f2342c6ee2802b1b0f8910a4e9c513ada38b9f6c35e", kill_on_drop: false }` [INFO] [stdout] 933a33244758d72121871f2342c6ee2802b1b0f8910a4e9c513ada38b9f6c35e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 154ee2606c2b89626b5895093821b26e0520e629a43ee1976fa12f19efd8bdd2 [INFO] running `Command { std: "docker" "start" "-a" "154ee2606c2b89626b5895093821b26e0520e629a43ee1976fa12f19efd8bdd2", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling rcgen v0.13.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling motorx-core v0.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr` [INFO] [stdout] --> src/config/mod.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, net::SocketAddr, path::PathBuf, str::FromStr, sync::Arc}; [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: `util::proxy_request` [INFO] [stdout] --> src/handle/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use util::proxy_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/listener.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, net::SocketAddr, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpStream` [INFO] [stdout] --> src/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Tls` [INFO] [stdout] --> src/listener.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{config::Tls, Config}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/conn_pool.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | if let Err(err) = conn.with_upgrades().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/upgrade.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/upgrade.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(err) = tokio::io::copy_bidirectional( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | if let Err(err) = conn.ready().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | if let Err(err) = conn.await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upstreams` [INFO] [stdout] --> src/handle/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | upstreams: &Upstreams, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upstreams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/conn_pool.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Err(err) = self.sender.try_send(self.conn.take().unwrap()) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stdout] warning: unused variable: `tls` [INFO] [stdout] --> src/listener.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(tls) = &config.tls { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = conn_build [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_upstream_max_connections` is never used [INFO] [stdout] --> src/config/mod.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | const fn default_upstream_max_connections() -> usize { [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 `default_cache_methods` is never used [INFO] [stdout] --> src/config/rule.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn default_cache_methods() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_cache_max_age` is never used [INFO] [stdout] --> src/config/rule.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn default_cache_max_age() -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tunnel` is never used [INFO] [stdout] --> src/handle/util.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | pub async fn tunnel(upgraded: Upgraded, addr: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr` [INFO] [stdout] --> src/config/mod.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::HashMap, net::SocketAddr, path::PathBuf, str::FromStr, sync::Arc}; [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: `util::proxy_request` [INFO] [stdout] --> src/handle/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use util::proxy_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/listener.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, net::SocketAddr, pin::Pin, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::TcpStream` [INFO] [stdout] --> src/listener.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | net::TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Tls` [INFO] [stdout] --> src/listener.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{config::Tls, Config}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/conn_pool.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | if let Err(err) = conn.with_upgrades().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/upgrade.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/upgrade.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(err) = tokio::io::copy_bidirectional( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | if let Err(err) = conn.ready().await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handle/util.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | if let Err(err) = conn.await { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upstreams` [INFO] [stdout] --> src/handle/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | upstreams: &Upstreams, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upstreams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Acme` found for enum `Tls` [INFO] [stdout] --> src/e2e/mod.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | tls: Some(Tls::Acme { [INFO] [stdout] | ^^^^ variant not found in `Tls` [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Tls { [INFO] [stdout] | ------------ variant `Acme` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `File` found for enum `Tls` [INFO] [stdout] --> src/e2e/mod.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | tls: Some(Tls::File { [INFO] [stdout] | ^^^^ variant not found in `Tls` [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Tls { [INFO] [stdout] | ------------ variant `File` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `File` found for enum `Tls` [INFO] [stdout] --> src/e2e/mod.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | tls: Some(Tls::File { [INFO] [stdout] | ^^^^ variant not found in `Tls` [INFO] [stdout] | [INFO] [stdout] ::: src/config/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Tls { [INFO] [stdout] | ------------ variant `File` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/conn_pool.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | if let Err(err) = self.sender.try_send(self.conn.take().unwrap()) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tls` [INFO] [stdout] --> src/listener.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(tls) = &config.tls { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = conn_build [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `motorx-core` (lib test) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "154ee2606c2b89626b5895093821b26e0520e629a43ee1976fa12f19efd8bdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "154ee2606c2b89626b5895093821b26e0520e629a43ee1976fa12f19efd8bdd2", kill_on_drop: false }` [INFO] [stdout] 154ee2606c2b89626b5895093821b26e0520e629a43ee1976fa12f19efd8bdd2