[INFO] cloning repository https://github.com/vmyroslav/translucent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vmyroslav/translucent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmyroslav%2Ftranslucent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmyroslav%2Ftranslucent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7984584fd3592fe5fdbdfe4ee9b6d9d52b842e0d [INFO] testing vmyroslav/translucent against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmyroslav%2Ftranslucent" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vmyroslav/translucent [INFO] finished tweaking git repo https://github.com/vmyroslav/translucent [INFO] tweaked toml for git repo https://github.com/vmyroslav/translucent written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vmyroslav/translucent 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] crate git repo https://github.com/vmyroslav/translucent 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ff27a833df75e0845ae001d671e032bb7f881ec93389cda5d78a35ee17ee61c7 [INFO] running `Command { std: "docker" "start" "-a" "ff27a833df75e0845ae001d671e032bb7f881ec93389cda5d78a35ee17ee61c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff27a833df75e0845ae001d671e032bb7f881ec93389cda5d78a35ee17ee61c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff27a833df75e0845ae001d671e032bb7f881ec93389cda5d78a35ee17ee61c7", kill_on_drop: false }` [INFO] [stdout] ff27a833df75e0845ae001d671e032bb7f881ec93389cda5d78a35ee17ee61c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cba71719fe11f2eb6bcf257d8394dfbe7e60e53edcb5e35d8de4d056a6e16c4a [INFO] running `Command { std: "docker" "start" "-a" "cba71719fe11f2eb6bcf257d8394dfbe7e60e53edcb5e35d8de4d056a6e16c4a", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling translucent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `any` and `post` [INFO] [stdout] --> src/http/server.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post, delete, any}, [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 imports: `Body`, `Bytes`, `Method`, `Query`, `Response`, `Uri`, and `to_bytes` [INFO] [stdout] --> src/http/handlers.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | body::{Bytes, Body, to_bytes}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | extract::{Path, State, Query, Request}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | http::{StatusCode, HeaderMap, Uri, Method}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 6 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/http/handlers.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/http/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Method`, and `Uri` [INFO] [stdout] --> src/session/manager.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | http::{StatusCode, HeaderMap, Uri, Method}, [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Empty` [INFO] [stdout] --> src/session/manager.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use http_body_util::{BodyExt, Full, Empty}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpsConnectorBuilder` [INFO] [stdout] --> src/session/manager.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper_rustls::{HttpsConnectorBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/session/manager.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_target` [INFO] [stdout] --> src/session/manager.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let default_target = match &self.app_config { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/http/handlers.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let uri = req.uri().clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | config: &SessionConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/matching/matcher.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let method = req.method().clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/matching/matcher.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let path = req.uri().path().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/matching/matcher.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let query = req.uri().query().map(|q| q.to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | config: &SessionConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let config = match self.config.try_read() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let config = match self.config.try_read() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_proxy_mode` is never used [INFO] [stdout] --> src/config/models.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn default_proxy_mode() -> SessionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage` and `session_manager` are never read [INFO] [stdout] --> src/core/simulator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiSimulator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | config: AppConfig, [INFO] [stdout] 11 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | session_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `json_matches` is never used [INFO] [stdout] --> src/matching/matcher.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl RequestMatcher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn json_matches(&self, actual: &Value, expected: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dynamic_values` is never read [INFO] [stdout] --> src/session/manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | dynamic_values: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `passthrough_request`, `proxy_request`, and `extract_target_url_for_proxy` are never used [INFO] [stdout] --> src/session/manager.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 183 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | async fn passthrough_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | async fn proxy_request( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn extract_target_url_for_proxy(&self, parts: &axum::http::request::Parts) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.52s [INFO] running `Command { std: "docker" "inspect" "cba71719fe11f2eb6bcf257d8394dfbe7e60e53edcb5e35d8de4d056a6e16c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba71719fe11f2eb6bcf257d8394dfbe7e60e53edcb5e35d8de4d056a6e16c4a", kill_on_drop: false }` [INFO] [stdout] cba71719fe11f2eb6bcf257d8394dfbe7e60e53edcb5e35d8de4d056a6e16c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 81de69baed82277b431b63281ee35d4d0e9151ac14364699f9f5630f45ac6463 [INFO] running `Command { std: "docker" "start" "-a" "81de69baed82277b431b63281ee35d4d0e9151ac14364699f9f5630f45ac6463", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling translucent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `any` and `post` [INFO] [stdout] --> src/http/server.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post, delete, any}, [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 imports: `Body`, `Bytes`, `Method`, `Query`, `Response`, `Uri`, and `to_bytes` [INFO] [stdout] --> src/http/handlers.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | body::{Bytes, Body, to_bytes}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | extract::{Path, State, Query, Request}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | http::{StatusCode, HeaderMap, Uri, Method}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 6 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/http/handlers.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/http/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Method`, and `Uri` [INFO] [stdout] --> src/session/manager.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | http::{StatusCode, HeaderMap, Uri, Method}, [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Empty` [INFO] [stdout] --> src/session/manager.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use http_body_util::{BodyExt, Full, Empty}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpsConnectorBuilder` [INFO] [stdout] --> src/session/manager.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper_rustls::{HttpsConnectorBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/session/manager.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_target` [INFO] [stdout] --> src/session/manager.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let default_target = match &self.app_config { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/http/handlers.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let uri = req.uri().clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | config: &SessionConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/matching/matcher.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let method = req.method().clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/matching/matcher.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let path = req.uri().path().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/matching/matcher.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let query = req.uri().query().map(|q| q.to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | config: &SessionConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let config = match self.config.try_read() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let config = match self.config.try_read() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_proxy_mode` is never used [INFO] [stdout] --> src/config/models.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn default_proxy_mode() -> SessionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage` and `session_manager` are never read [INFO] [stdout] --> src/core/simulator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiSimulator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | config: AppConfig, [INFO] [stdout] 11 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | session_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `json_matches` is never used [INFO] [stdout] --> src/matching/matcher.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl RequestMatcher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn json_matches(&self, actual: &Value, expected: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dynamic_values` is never read [INFO] [stdout] --> src/session/manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | dynamic_values: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `passthrough_request`, `proxy_request`, and `extract_target_url_for_proxy` are never used [INFO] [stdout] --> src/session/manager.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 183 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | async fn passthrough_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | async fn proxy_request( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn extract_target_url_for_proxy(&self, parts: &axum::http::request::Parts) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any` and `post` [INFO] [stdout] --> src/http/server.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post, delete, any}, [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 imports: `Body`, `Bytes`, `Method`, `Query`, `Response`, `Uri`, and `to_bytes` [INFO] [stdout] --> src/http/handlers.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | body::{Bytes, Body, to_bytes}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | extract::{Path, State, Query, Request}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | http::{StatusCode, HeaderMap, Uri, Method}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] 6 | response::{IntoResponse, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/http/handlers.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/http/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `Method`, and `Uri` [INFO] [stdout] --> src/session/manager.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | http::{StatusCode, HeaderMap, Uri, Method}, [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Empty` [INFO] [stdout] --> src/session/manager.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use http_body_util::{BodyExt, Full, Empty}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpsConnectorBuilder` [INFO] [stdout] --> src/session/manager.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper_rustls::{HttpsConnectorBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/session/manager.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{debug, info, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_target` [INFO] [stdout] --> src/session/manager.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let default_target = match &self.app_config { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/http/handlers.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let uri = req.uri().clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | config: &SessionConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> tests/integration.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicBool, Ordering}; [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 imports: `debug`, `error`, `info`, and `warn` [INFO] [stdout] --> tests/integration.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{debug, info, error, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/matching/matcher.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let method = req.method().clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/matching/matcher.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let path = req.uri().path().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/matching/matcher.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let query = req.uri().query().map(|q| q.to_string()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ProxyConfig` has no field named `default_mode` [INFO] [stdout] --> tests/integration.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | default_mode: SessionMode::Proxy, [INFO] [stdout] | ^^^^^^^^^^^^ `ProxyConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | config: &SessionConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Proxy` found for enum `SessionMode` in the current scope [INFO] [stdout] --> tests/integration.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | default_mode: SessionMode::Proxy, [INFO] [stdout] | ^^^^^ variant or associated item not found in `SessionMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `translucent` (test "integration") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let config = match self.config.try_read() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/session/manager.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let config = match self.config.try_read() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_proxy_mode` is never used [INFO] [stdout] --> src/config/models.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn default_proxy_mode() -> SessionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage` and `session_manager` are never read [INFO] [stdout] --> src/core/simulator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ApiSimulator { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 10 | config: AppConfig, [INFO] [stdout] 11 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | session_manager: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `json_matches` is never used [INFO] [stdout] --> src/matching/matcher.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl RequestMatcher { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn json_matches(&self, actual: &Value, expected: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dynamic_values` is never read [INFO] [stdout] --> src/session/manager.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Session { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | dynamic_values: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `passthrough_request`, `proxy_request`, and `extract_target_url_for_proxy` are never used [INFO] [stdout] --> src/session/manager.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 183 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | async fn passthrough_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | async fn proxy_request( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn extract_target_url_for_proxy(&self, parts: &axum::http::request::Parts) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81de69baed82277b431b63281ee35d4d0e9151ac14364699f9f5630f45ac6463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81de69baed82277b431b63281ee35d4d0e9151ac14364699f9f5630f45ac6463", kill_on_drop: false }` [INFO] [stdout] 81de69baed82277b431b63281ee35d4d0e9151ac14364699f9f5630f45ac6463