[INFO] cloning repository https://github.com/Ali-Mirghasemi/api-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ali-Mirghasemi/api-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAli-Mirghasemi%2Fapi-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAli-Mirghasemi%2Fapi-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5784847873808989aa41272e7331c6c0b8a193f [INFO] testing Ali-Mirghasemi/api-proxy against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAli-Mirghasemi%2Fapi-proxy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ali-Mirghasemi/api-proxy [INFO] finished tweaking git repo https://github.com/Ali-Mirghasemi/api-proxy [INFO] tweaked toml for git repo https://github.com/Ali-Mirghasemi/api-proxy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ali-Mirghasemi/api-proxy on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ali-Mirghasemi/api-proxy 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" "+beta-2026-04-21" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc56ab2f4a25aa7063ceec284ef4e5f64fe79c04508d094bed8c6362b0233b5e [INFO] running `Command { std: "docker" "start" "-a" "dc56ab2f4a25aa7063ceec284ef4e5f64fe79c04508d094bed8c6362b0233b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc56ab2f4a25aa7063ceec284ef4e5f64fe79c04508d094bed8c6362b0233b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc56ab2f4a25aa7063ceec284ef4e5f64fe79c04508d094bed8c6362b0233b5e", kill_on_drop: false }` [INFO] [stdout] dc56ab2f4a25aa7063ceec284ef4e5f64fe79c04508d094bed8c6362b0233b5e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b34b80349cbc1014c84a86fe10a1be17f0263fdf72186fce70ca8f5b3664645f [INFO] running `Command { std: "docker" "start" "-a" "b34b80349cbc1014c84a86fe10a1be17f0263fdf72186fce70ca8f5b3664645f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling phf_codegen v0.13.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling string_cache_codegen v0.6.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling web_atoms v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling string_cache v0.9.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.33.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling servo_arc v0.4.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling cssparser v0.36.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling markup5ever v0.36.1 [INFO] [stderr] Compiling html5ever v0.36.1 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling rcgen v0.14.7 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling scraper v0.25.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling actix-tls v3.5.0 [INFO] [stderr] Compiling actix-http v3.12.0 (https://github.com/Ali-Mirghasemi/actix-web?branch=develop#179bafbc) [INFO] [stderr] Compiling actix-web v4.13.0 [INFO] [stderr] Compiling awc v3.8.2 (https://github.com/Ali-Mirghasemi/actix-web?branch=develop#179bafbc) [INFO] [stderr] Compiling actix-ws v0.3.1 [INFO] [stderr] Compiling api-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_web::dev::WebService` [INFO] [stdout] --> lib/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::dev::WebService; [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: `BoxedPayloadStream` [INFO] [stdout] --> lib/proxy.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use actix_http::{BoxedPayloadStream, Payload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::WebService` [INFO] [stdout] --> lib/proxy.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::dev::WebService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> lib/proxy.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::guard::{self, Guard}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method` and `StatusCode` [INFO] [stdout] --> lib/proxy.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | use actix_web::http::{Method, StatusCode, header}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connector` [INFO] [stdout] --> lib/proxy.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | use awc::{Client, ClientResponse, Connector}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytestring::ByteString` [INFO] [stdout] --> lib/proxy.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use bytestring::ByteString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldType` and `Rule` [INFO] [stdout] --> lib/proxy.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::config::{ApiConfig, FieldType, Rule, Mode, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> lib/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Guard` [INFO] [stdout] --> lib/proxy.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::guard::{self, Guard}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `awc::body::MessageBody` [INFO] [stdout] --> lib/proxy.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use awc::body::MessageBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> lib/proxy.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> lib/proxy.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | server: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/server.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if let Err(e) = h.await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/config.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | ...ok(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 464 | fn hook(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/config.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::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 variable: `e` [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if let Err(e) = Server::run_servers(config.servers).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "b34b80349cbc1014c84a86fe10a1be17f0263fdf72186fce70ca8f5b3664645f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34b80349cbc1014c84a86fe10a1be17f0263fdf72186fce70ca8f5b3664645f", kill_on_drop: false }` [INFO] [stdout] b34b80349cbc1014c84a86fe10a1be17f0263fdf72186fce70ca8f5b3664645f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 634e81663839e1fb134e502ccef7ba45e928f63dcf268f2f8d5438cef0342afe [INFO] running `Command { std: "docker" "start" "-a" "634e81663839e1fb134e502ccef7ba45e928f63dcf268f2f8d5438cef0342afe", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `actix_web::dev::WebService` [INFO] [stdout] --> lib/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::dev::WebService; [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: `BoxedPayloadStream` [INFO] [stdout] --> lib/proxy.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use actix_http::{BoxedPayloadStream, Payload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::WebService` [INFO] [stdout] --> lib/proxy.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::dev::WebService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> lib/proxy.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::guard::{self, Guard}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method` and `StatusCode` [INFO] [stdout] --> lib/proxy.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | use actix_web::http::{Method, StatusCode, header}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connector` [INFO] [stdout] --> lib/proxy.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | use awc::{Client, ClientResponse, Connector}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling api-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bytestring::ByteString` [INFO] [stdout] --> lib/proxy.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use bytestring::ByteString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldType` and `Rule` [INFO] [stdout] --> lib/proxy.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::config::{ApiConfig, FieldType, Rule, Mode, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> lib/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Guard` [INFO] [stdout] --> lib/proxy.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::guard::{self, Guard}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `awc::body::MessageBody` [INFO] [stdout] --> lib/proxy.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use awc::body::MessageBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> lib/proxy.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> lib/proxy.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | server: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/server.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if let Err(e) = h.await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/config.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | ...ok(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 464 | fn hook(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/config.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::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 variable: `e` [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | if let Err(e) = Server::run_servers(config.servers).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::WebService` [INFO] [stdout] --> lib/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::dev::WebService; [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: `BoxedPayloadStream` [INFO] [stdout] --> lib/proxy.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use actix_http::{BoxedPayloadStream, Payload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::WebService` [INFO] [stdout] --> lib/proxy.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::dev::WebService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Guard` and `self` [INFO] [stdout] --> lib/proxy.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_web::guard::{self, Guard}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method` and `StatusCode` [INFO] [stdout] --> lib/proxy.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | use actix_web::http::{Method, StatusCode, header}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `awc::body::MessageBody` [INFO] [stdout] --> lib/proxy.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use awc::body::MessageBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connector` [INFO] [stdout] --> lib/proxy.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | use awc::{Client, ClientResponse, Connector}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytestring::ByteString` [INFO] [stdout] --> lib/proxy.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use bytestring::ByteString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> lib/proxy.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldType` and `Rule` [INFO] [stdout] --> lib/proxy.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::config::{ApiConfig, FieldType, Rule, Mode, ServerConfig}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> lib/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:611:21 [INFO] [stdout] | [INFO] [stdout] 611 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> lib/proxy.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | server: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/proxy.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> lib/server.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | if let Err(e) = h.await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/config.rs:464:13 [INFO] [stdout] | [INFO] [stdout] 464 | ...ok(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 464 | fn hook(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/config.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture>; [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "634e81663839e1fb134e502ccef7ba45e928f63dcf268f2f8d5438cef0342afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634e81663839e1fb134e502ccef7ba45e928f63dcf268f2f8d5438cef0342afe", kill_on_drop: false }` [INFO] [stdout] 634e81663839e1fb134e502ccef7ba45e928f63dcf268f2f8d5438cef0342afe [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86dffa6bd969e06de64f2fa9e9bcc7271345e21734b83ff099cfaca484655cc5 [INFO] running `Command { std: "docker" "start" "-a" "86dffa6bd969e06de64f2fa9e9bcc7271345e21734b83ff099cfaca484655cc5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `actix_web::dev::WebService` [INFO] [stderr] --> lib/server.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use actix_web::dev::WebService; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BoxedPayloadStream` [INFO] [stderr] --> lib/proxy.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | use actix_http::{BoxedPayloadStream, Payload}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::dev::WebService` [INFO] [stderr] --> lib/proxy.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use actix_web::dev::WebService; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> lib/proxy.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | use actix_web::guard::{self, Guard}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Method` and `StatusCode` [INFO] [stderr] --> lib/proxy.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | use actix_web::http::{Method, StatusCode, header}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Connector` [INFO] [stderr] --> lib/proxy.rs:28:35 [INFO] [stderr] | [INFO] [stderr] 28 | use awc::{Client, ClientResponse, Connector}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytestring::ByteString` [INFO] [stderr] --> lib/proxy.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use bytestring::ByteString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FieldType` and `Rule` [INFO] [stderr] --> lib/proxy.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | use crate::config::{ApiConfig, FieldType, Rule, Mode, ServerConfig}; [INFO] [stderr] | ^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::*` [INFO] [stderr] --> lib/mod.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub use log::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Guard` [INFO] [stderr] --> lib/proxy.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | use actix_web::guard::{self, Guard}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `awc::body::MessageBody` [INFO] [stderr] --> lib/proxy.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use awc::body::MessageBody; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::DerefMut` [INFO] [stderr] --> lib/proxy.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use std::ops::DerefMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> lib/proxy.rs:611:21 [INFO] [stderr] | [INFO] [stderr] 611 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `server` [INFO] [stderr] --> lib/proxy.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | server: Arc, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> lib/proxy.rs:237:17 [INFO] [stderr] | [INFO] [stderr] 237 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> lib/proxy.rs:423:17 [INFO] [stderr] | [INFO] [stderr] 423 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> lib/server.rs:176:24 [INFO] [stderr] | [INFO] [stderr] 176 | if let Err(e) = h.await { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> lib/config.rs:464:13 [INFO] [stderr] | [INFO] [stderr] 464 | ...ok(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture>; [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 464 | fn hook(&mut self, config: &ApiConfig, req: &mut HttpRequest, payload: &mut actix_web::web::Payload) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> lib/config.rs:468:13 [INFO] [stderr] | [INFO] [stderr] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture>; [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 468 | fn hook(&mut self, config: &ApiConfig, res: &mut ClientResponse>) -> BoxFuture<'_, Result<(), Error>>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Guard` and `self` [INFO] [stderr] --> lib/proxy.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | use actix_web::guard::{self, Guard}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `api-proxy` (lib) generated 19 warnings (run `cargo fix --lib -p api-proxy` to apply 16 suggestions) [INFO] [stderr] warning: `api-proxy` (lib test) generated 18 warnings (17 duplicates) (run `cargo fix --lib -p api-proxy --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | if let Err(e) = Server::run_servers(config.servers).await { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `api-proxy` (bin "api_proxy" test) generated 3 warnings (run `cargo fix --bin "api_proxy" -p api-proxy --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests lib/mod.rs (/opt/rustwide/target/debug/deps/api_proxy-df9d17167bbaf723) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test config::tests::load_json_config ... ok [INFO] [stdout] test config::tests::load_toml_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_proxy-fb3219f673b28d15) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests api_proxy [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "86dffa6bd969e06de64f2fa9e9bcc7271345e21734b83ff099cfaca484655cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86dffa6bd969e06de64f2fa9e9bcc7271345e21734b83ff099cfaca484655cc5", kill_on_drop: false }` [INFO] [stdout] 86dffa6bd969e06de64f2fa9e9bcc7271345e21734b83ff099cfaca484655cc5