[INFO] fetching crate kairos-rs 0.2.6... [INFO] testing kairos-rs-0.2.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate kairos-rs 0.2.6 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate kairos-rs 0.2.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kairos-rs 0.2.6 [INFO] tweaked toml for crates.io crate kairos-rs 0.2.6 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kairos-rs 0.2.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kairos-rs 0.2.6 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compression-codecs v0.4.30 [INFO] [stderr] Downloaded actix-web-codegen v4.3.0 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] [stderr] Downloaded compression-core v0.4.29 [INFO] [stderr] Downloaded tokio-rustls v0.26.3 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded actix-governor v0.5.0 [INFO] [stderr] Downloaded local-channel v0.1.5 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded cookie v0.16.2 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded zstd v0.13.3 [INFO] [stderr] Downloaded language-tags v0.3.2 [INFO] [stderr] Downloaded actix-server v2.6.0 [INFO] [stderr] Downloaded actix-service v2.0.3 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded windows-core v0.62.0 [INFO] [stderr] Downloaded jiff v0.2.15 [INFO] [stderr] Downloaded jiff-static v0.2.15 [INFO] [stderr] Downloaded actix-web v4.11.0 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded actix-utils v3.0.1 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded async-compression v0.4.30 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded actix-codec v0.5.2 [INFO] [stderr] Downloaded actix-macros v0.2.4 [INFO] [stderr] Downloaded local-waker v0.1.4 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded impl-more v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee32cc1c275c24f3f0b158834e90261dca85057f2f6e4400c35475cb48c9a573 [INFO] running `Command { std: "docker" "start" "-a" "ee32cc1c275c24f3f0b158834e90261dca85057f2f6e4400c35475cb48c9a573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee32cc1c275c24f3f0b158834e90261dca85057f2f6e4400c35475cb48c9a573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee32cc1c275c24f3f0b158834e90261dca85057f2f6e4400c35475cb48c9a573", kill_on_drop: false }` [INFO] [stdout] ee32cc1c275c24f3f0b158834e90261dca85057f2f6e4400c35475cb48c9a573 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acdbd3d38896c6b002fe253d621d990fa6b832611e381a460d609eb1f1444f4e [INFO] running `Command { std: "docker" "start" "-a" "acdbd3d38896c6b002fe253d621d990fa6b832611e381a460d609eb1f1444f4e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling compression-codecs v0.4.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling governor v0.6.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.30 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling actix-governor v0.5.0 [INFO] [stderr] Compiling kairos-rs v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `with_required_claims` is never used [INFO] [stdout] --> src/middleware/auth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl JwtConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn with_required_claims(mut self, claims: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_token` is never used [INFO] [stdout] --> src/middleware/auth.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn create_test_token(claims: Claims, secret: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimitEntry` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct RateLimitEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/middleware/rate_limit.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl RateLimitEntry { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimitStore` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct RateLimitStore { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_rate_limit`, `check_fixed_window`, `check_sliding_window`, `check_token_bucket`, and `cleanup_expired_entries` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl RateLimitStore { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn check_rate_limit(&self, key: &str, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn check_fixed_window(&self, entry: &mut RateLimitEntry, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn check_sliding_window(&self, entry: &mut RateLimitEntry, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn check_token_bucket(&self, entry: &mut RateLimitEntry, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn cleanup_expired_entries(&self, config: &RateLimitConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdvancedRateLimit` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct AdvancedRateLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `extract_key` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl AdvancedRateLimit { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn new(config: RateLimitConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn extract_key(&self, req: &ServiceRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdvancedRateLimitMiddleware` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct AdvancedRateLimitMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cors_headers` is never used [INFO] [stdout] --> src/middleware/security.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cors_headers() -> DefaultHeaders { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_request_size` is never used [INFO] [stdout] --> src/middleware/validation.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn validate_request_size(max_size: usize) -> impl Fn(&ServiceRequest) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_headers` is never used [INFO] [stdout] --> src/middleware/validation.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn validate_headers() -> impl Fn(&ServiceRequest) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadRequest` is never constructed [INFO] [stdout] --> src/models/error.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GatewayError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 100 | BadRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_route` is never used [INFO] [stdout] --> src/routes/http.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn configure_route(cfg: &mut web::ServiceConfig, handler: RouteHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_timeout_error` and `record_connection_error` are never used [INFO] [stdout] --> src/routes/metrics.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MetricsCollector { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn record_timeout_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn record_connection_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/services/circuit_breaker.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CircuitBreakerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "acdbd3d38896c6b002fe253d621d990fa6b832611e381a460d609eb1f1444f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acdbd3d38896c6b002fe253d621d990fa6b832611e381a460d609eb1f1444f4e", kill_on_drop: false }` [INFO] [stdout] acdbd3d38896c6b002fe253d621d990fa6b832611e381a460d609eb1f1444f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57617aea1b22d6ac6e70819e03712067f1dbe0e7e43d98eb7dfb78cbf561c2e3 [INFO] running `Command { std: "docker" "start" "-a" "57617aea1b22d6ac6e70819e03712067f1dbe0e7e43d98eb7dfb78cbf561c2e3", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling governor v0.6.3 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling actix-governor v0.5.0 [INFO] [stderr] Compiling kairos-rs v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `with_required_claims` is never used [INFO] [stdout] --> src/middleware/auth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl JwtConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn with_required_claims(mut self, claims: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_token` is never used [INFO] [stdout] --> src/middleware/auth.rs:364:8 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn create_test_token(claims: Claims, secret: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimitEntry` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct RateLimitEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/middleware/rate_limit.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl RateLimitEntry { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RateLimitStore` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct RateLimitStore { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_rate_limit`, `check_fixed_window`, `check_sliding_window`, `check_token_bucket`, and `cleanup_expired_entries` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl RateLimitStore { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn check_rate_limit(&self, key: &str, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn check_fixed_window(&self, entry: &mut RateLimitEntry, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn check_sliding_window(&self, entry: &mut RateLimitEntry, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn check_token_bucket(&self, entry: &mut RateLimitEntry, config: &RateLimitConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn cleanup_expired_entries(&self, config: &RateLimitConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdvancedRateLimit` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct AdvancedRateLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `extract_key` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl AdvancedRateLimit { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn new(config: RateLimitConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn extract_key(&self, req: &ServiceRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdvancedRateLimitMiddleware` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct AdvancedRateLimitMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cors_headers` is never used [INFO] [stdout] --> src/middleware/security.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cors_headers() -> DefaultHeaders { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_request_size` is never used [INFO] [stdout] --> src/middleware/validation.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn validate_request_size(max_size: usize) -> impl Fn(&ServiceRequest) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_headers` is never used [INFO] [stdout] --> src/middleware/validation.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn validate_headers() -> impl Fn(&ServiceRequest) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadRequest` is never constructed [INFO] [stdout] --> src/models/error.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GatewayError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 100 | BadRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_route` is never used [INFO] [stdout] --> src/routes/http.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn configure_route(cfg: &mut web::ServiceConfig, handler: RouteHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_timeout_error` and `record_connection_error` are never used [INFO] [stdout] --> src/routes/metrics.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MetricsCollector { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn record_timeout_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn record_connection_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/services/circuit_breaker.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CircuitBreakerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_required_claims` is never used [INFO] [stdout] --> src/middleware/auth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl JwtConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn with_required_claims(mut self, claims: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdvancedRateLimit` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct AdvancedRateLimit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `extract_key` are never used [INFO] [stdout] --> src/middleware/rate_limit.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl AdvancedRateLimit { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn new(config: RateLimitConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn extract_key(&self, req: &ServiceRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdvancedRateLimitMiddleware` is never constructed [INFO] [stdout] --> src/middleware/rate_limit.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct AdvancedRateLimitMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cors_headers` is never used [INFO] [stdout] --> src/middleware/security.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cors_headers() -> DefaultHeaders { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_request_size` is never used [INFO] [stdout] --> src/middleware/validation.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn validate_request_size(max_size: usize) -> impl Fn(&ServiceRequest) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_headers` is never used [INFO] [stdout] --> src/middleware/validation.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn validate_headers() -> impl Fn(&ServiceRequest) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadRequest` is never constructed [INFO] [stdout] --> src/models/error.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum GatewayError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 100 | BadRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_route` is never used [INFO] [stdout] --> src/routes/http.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn configure_route(cfg: &mut web::ServiceConfig, handler: RouteHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_timeout_error` and `record_connection_error` are never used [INFO] [stdout] --> src/routes/metrics.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MetricsCollector { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn record_timeout_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn record_connection_error(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/services/circuit_breaker.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CircuitBreakerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kairos-rs` (bin "kairos-rs"); 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/bin/rustc --crate-name kairos_rs --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a8747c20ed30230a -C extra-filename=-e87e29b8e7170fe7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern actix_governor=/opt/rustwide/target/debug/deps/libactix_governor-f9ac7f7f82585b90.rlib --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-9be8d07a10a17e1f.rlib --extern ahash=/opt/rustwide/target/debug/deps/libahash-b969c7466c125026.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-1182fc571addc987.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-52fbc09812f2e88b.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-59c4da94918ed8a3.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-52ada873e1c0b266.rlib --extern jsonwebtoken=/opt/rustwide/target/debug/deps/libjsonwebtoken-87144fe20f1f84c0.rlib --extern kairos_rs=/opt/rustwide/target/debug/deps/libkairos_rs-89ee73a02d6ace91.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-28f8cc0684f4f944.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0ba6aecba7086d38.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-70e61a01e8bd07d9.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-bb544c8c4a51bc9a.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-2f19501445959459.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-e94dafcc49e5d80b.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-8915154b9b93abc3.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-8d42d1225bbca037.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-dd7741ab0ac2641b.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/zstd-sys-24b5e329b9160950/out -L native=/opt/rustwide/target/debug/build/ring-3395d927412743fe/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "57617aea1b22d6ac6e70819e03712067f1dbe0e7e43d98eb7dfb78cbf561c2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57617aea1b22d6ac6e70819e03712067f1dbe0e7e43d98eb7dfb78cbf561c2e3", kill_on_drop: false }` [INFO] [stdout] 57617aea1b22d6ac6e70819e03712067f1dbe0e7e43d98eb7dfb78cbf561c2e3