[INFO] cloning repository https://github.com/BlackVaultEnterprises/project-gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlackVaultEnterprises/project-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlackVaultEnterprises%2Fproject-gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlackVaultEnterprises%2Fproject-gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7fc33bd830af4c2898afdc91a46e67f502e361f0
[INFO] checking BlackVaultEnterprises/project-gateway against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlackVaultEnterprises%2Fproject-gateway" "/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/BlackVaultEnterprises/project-gateway
[INFO] finished tweaking git repo https://github.com/BlackVaultEnterprises/project-gateway
[INFO] tweaked toml for git repo https://github.com/BlackVaultEnterprises/project-gateway written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BlackVaultEnterprises/project-gateway on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BlackVaultEnterprises/project-gateway 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-embed-utils v8.7.2
[INFO] [stderr]   Downloaded opentelemetry v0.22.0
[INFO] [stderr]   Downloaded rust-embed-impl v8.7.2
[INFO] [stderr]   Downloaded kqueue v1.1.1
[INFO] [stderr]   Downloaded libredox v0.1.4
[INFO] [stderr]   Downloaded clap v4.5.40
[INFO] [stderr]   Downloaded metrics-util v0.17.0
[INFO] [stderr]   Downloaded metrics v0.23.1
[INFO] [stderr]   Downloaded async-compression v0.4.25
[INFO] [stderr]   Downloaded metrics-exporter-prometheus v0.15.3
[INFO] [stderr]   Downloaded h2 v0.4.11
[INFO] [stderr]   Downloaded clap_builder v4.5.40
[INFO] [stderr]   Downloaded utoipa-gen v4.3.1
[INFO] [stderr]   Downloaded rust-embed v8.7.2
[INFO] [stderr]   Downloaded utoipa-swagger-ui v6.0.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da65837d29f47a4ba626f4e999569bb32b989f89ef789af830501fd0b9041d51
[INFO] running `Command { std: "docker" "start" "-a" "da65837d29f47a4ba626f4e999569bb32b989f89ef789af830501fd0b9041d51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da65837d29f47a4ba626f4e999569bb32b989f89ef789af830501fd0b9041d51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da65837d29f47a4ba626f4e999569bb32b989f89ef789af830501fd0b9041d51", kill_on_drop: false }`
[INFO] [stdout] da65837d29f47a4ba626f4e999569bb32b989f89ef789af830501fd0b9041d51
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bbcc9fcac626b0ea33ed21df73afb43f1e7625caeb592a4295dca03e5f07b366
[INFO] running `Command { std: "docker" "start" "-a" "bbcc9fcac626b0ea33ed21df73afb43f1e7625caeb592a4295dca03e5f07b366", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling aws-lc-rs v1.13.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustls v0.23.28
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking winnow v0.7.11
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling rust-embed-utils v8.7.2
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking rustls-native-certs v0.8.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking metrics v0.23.1
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking sketches-ddsketch v0.2.2
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking filetime v0.2.25
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]    Compiling aws-lc-sys v0.29.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling utoipa-swagger-ui v6.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[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 rust-embed-impl v8.7.2
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]     Checking tokio v1.46.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking rust-embed v8.7.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking opentelemetry v0.22.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking async-compression v0.4.25
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking raw-cpuid v11.5.0
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking h2 v0.4.11
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking utoipa v4.2.3
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]     Checking metrics-util v0.17.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking reqwest v0.12.22
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.15.3
[INFO] [stderr]     Checking project-gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `PerformanceMonitor`, `PerformanceValidation`, and `config::CanaryRolloutConfig`
[INFO] [stdout]   --> src/gatekeeper/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     config::CanaryRolloutConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     monitoring::{PerformanceMonitor, PerformanceValidation},
[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: `tokio::time::timeout`
[INFO] [stdout]  --> src/middleware/mirror.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::time::timeout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PerformanceMonitor`, `PerformanceValidation`, and `config::CanaryRolloutConfig`
[INFO] [stdout]   --> src/gatekeeper/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     config::CanaryRolloutConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     monitoring::{PerformanceMonitor, PerformanceValidation},
[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: `tokio::time::timeout`
[INFO] [stdout]  --> src/middleware/mirror.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::time::timeout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> tests/integration_tests.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[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: `tokio::time::sleep`
[INFO] [stdout]  --> tests/integration_tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::time::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> benches/gateway_bench.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::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] error[E0599]: no method named `to_async` found for mutable reference `&mut Bencher<'_>` in the current scope
[INFO] [stdout]   --> benches/gateway_bench.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         b.to_async(&rt).iter(|| async {
[INFO] [stdout]    |           ^^^^^^^^ method not found in `&mut Bencher<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project-gateway` (bench "gateway_bench") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     http::StatusCode,
[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: `PerformanceMonitor`, `PerformanceValidation`, and `config::CanaryRolloutConfig`
[INFO] [stdout]   --> src/gatekeeper/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     config::CanaryRolloutConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     monitoring::{PerformanceMonitor, PerformanceValidation},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::timeout`
[INFO] [stdout]  --> src/middleware/mirror.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::time::timeout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppConfig`
[INFO] [stdout]   --> src/main.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 | use config::{watcher::ConfigWatcher, AppConfig};
[INFO] [stdout]    |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http::StatusCode`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     http::StatusCode,
[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: `PerformanceMonitor`, `PerformanceValidation`, and `config::CanaryRolloutConfig`
[INFO] [stdout]   --> src/gatekeeper/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     config::CanaryRolloutConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     monitoring::{PerformanceMonitor, PerformanceValidation},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::timeout`
[INFO] [stdout]  --> src/middleware/mirror.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::time::timeout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AppConfig`
[INFO] [stdout]   --> src/main.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 | use config::{watcher::ConfigWatcher, AppConfig};
[INFO] [stdout]    |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |     Ok(app)
[INFO] [stdout]     |     -- ^^^ expected `Router`, found `Router<AppState>`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Router<()>`
[INFO] [stdout]                found struct `Router<AppState>`
[INFO] [stdout] help: the type constructed contains `Router<AppState>` due to the type of the argument passed
[INFO] [stdout]    --> src/main.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     Ok(app)
[INFO] [stdout]     |     ^^^---^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/292be5c7c05138d753bbd4b30db7a3f1a5c914f7/library/core/src/result.rs:561:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |     Ok(app)
[INFO] [stdout]     |     -- ^^^ expected `Router`, found `Router<AppState>`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Router<()>`
[INFO] [stdout]                found struct `Router<AppState>`
[INFO] [stdout] help: the type constructed contains `Router<AppState>` due to the type of the argument passed
[INFO] [stdout]    --> src/main.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     Ok(app)
[INFO] [stdout]     |     ^^^---^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/292be5c7c05138d753bbd4b30db7a3f1a5c914f7/library/core/src/result.rs:561:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:172:35
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^----------------------- argument #2 of type `AppConfig` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/config/watcher.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  17 |     pub fn new(config_path: &str, initial_config: AppConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^                    -------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml", /* AppConfig */).await?);
[INFO] [stdout]     |                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<ConfigWatcher, anyhow::Error>` is not a future
[INFO] [stdout]    --> src/main.rs:172:77
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |                                   ----------------------------------------- ^^^^^ `Result<ConfigWatcher, anyhow::Error>` is not a future
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this call returns `Result<ConfigWatcher, anyhow::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::future::Future` is not implemented for `Result<ConfigWatcher, anyhow::Error>`
[INFO] [stdout]     = note: Result<ConfigWatcher, anyhow::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]     = note: required for `Result<ConfigWatcher, anyhow::Error>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout] 172 -     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout] 172 +     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml")?);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>`
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |         config_watcher: config_watcher.clone(),
[INFO] [stdout]     |                         -------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `config_watcher` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher: Arc<T> = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:172:35
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^----------------------- argument #2 of type `AppConfig` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/config/watcher.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  17 |     pub fn new(config_path: &str, initial_config: AppConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^                    -------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml", /* AppConfig */).await?);
[INFO] [stdout]     |                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<ConfigWatcher, anyhow::Error>` is not a future
[INFO] [stdout]    --> src/main.rs:172:77
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |                                   ----------------------------------------- ^^^^^ `Result<ConfigWatcher, anyhow::Error>` is not a future
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   this call returns `Result<ConfigWatcher, anyhow::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::future::Future` is not implemented for `Result<ConfigWatcher, anyhow::Error>`
[INFO] [stdout]     = note: Result<ConfigWatcher, anyhow::Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]     = note: required for `Result<ConfigWatcher, anyhow::Error>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout] 172 -     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout] 172 +     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml")?);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Arc<_>`
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |         config_watcher: config_watcher.clone(),
[INFO] [stdout]     |                         -------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `config_watcher` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 172 |     let config_watcher: Arc<T> = Arc::new(ConfigWatcher::new("config/default.yaml").await?);
[INFO] [stdout]     |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 | async fn gatekeeper_status_handler(State(state): State<AppState>) -> Json<gatekeeper::GatekeeperStatus> {
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 80 | async fn gatekeeper_status_handler(State(state): State<AppState>) -> Json<gatekeeper::GatekeeperStatus> {
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project-gateway` (bin "project-gateway") due to 4 previous errors; 5 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `project-gateway` (bin "project-gateway" test) due to 4 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bbcc9fcac626b0ea33ed21df73afb43f1e7625caeb592a4295dca03e5f07b366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbcc9fcac626b0ea33ed21df73afb43f1e7625caeb592a4295dca03e5f07b366", kill_on_drop: false }`
[INFO] [stdout] bbcc9fcac626b0ea33ed21df73afb43f1e7625caeb592a4295dca03e5f07b366
