[INFO] fetching crate mockforge-data 0.3.7... [INFO] building mockforge-data-0.3.7 against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] extracting crate mockforge-data 0.3.7 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate mockforge-data 0.3.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mockforge-data 0.3.7 [INFO] tweaked toml for crates.io crate mockforge-data 0.3.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mockforge-data 0.3.7 on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mockforge-data 0.3.7 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded dummy v0.9.2 [INFO] [stderr] Downloaded url-escape v0.1.1 [INFO] [stderr] Downloaded random_color v1.1.0 [INFO] [stderr] Downloaded rusty-fork v0.3.1 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded fluent-uri v0.3.2 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded referencing v0.33.0 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded fake v3.1.0 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded axum v0.8.7 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded jsonschema v0.33.0 [INFO] [stderr] Downloaded borrow-or-share v0.2.4 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded openapiv3 v2.2.0 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 096ebcdcb413b051a846861cf35072777d3b5df5a4a5774f941b079eba298d02 [INFO] running `Command { std: "docker" "start" "-a" "096ebcdcb413b051a846861cf35072777d3b5df5a4a5774f941b079eba298d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "096ebcdcb413b051a846861cf35072777d3b5df5a4a5774f941b079eba298d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096ebcdcb413b051a846861cf35072777d3b5df5a4a5774f941b079eba298d02", kill_on_drop: false }` [INFO] [stdout] 096ebcdcb413b051a846861cf35072777d3b5df5a4a5774f941b079eba298d02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 048a9b5a1cb464e01cb4e00ea17851c79f5c9fdda52e219e89391dd56fb77e53 [INFO] running `Command { std: "docker" "start" "-a" "048a9b5a1cb464e01cb4e00ea17851c79f5c9fdda52e219e89391dd56fb77e53", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling atomic v0.6.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling borrow-or-share v0.2.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling referencing v0.33.0 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling deunicode v1.6.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling dummy v0.9.2 [INFO] [stderr] Compiling ndarray v0.17.1 [INFO] [stderr] Compiling random_color v1.1.0 [INFO] [stderr] Compiling openapiv3 v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling fake v3.1.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling fancy-regex v0.16.2 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling jsonschema v0.33.0 [INFO] [stderr] Compiling mockforge-data v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pattern_id` [INFO] [stdout] --> src/drift_learning.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | for (pattern_id, pattern) in patterns.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_faker_type` [INFO] [stdout] --> src/mock_generator.rs:494:44 [INFO] [stdout] | [INFO] [stdout] 494 | if let Some((best_pattern, best_faker_type)) = best_match { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_faker_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `traffic_learner` and `persona_learner` are never read [INFO] [stdout] --> src/drift_learning.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct DriftLearningEngine { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | traffic_learner: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | /// Persona behavior learner [INFO] [stdout] 126 | persona_learner: Option>>, [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 `config`, `pattern_window`, and `patterns` are never read [INFO] [stdout] --> src/drift_learning.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct TrafficPatternLearner { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 281 | /// Learning configuration [INFO] [stdout] 282 | config: LearningConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 283 | /// Pattern window for analysis [INFO] [stdout] 284 | pattern_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 285 | /// Detected patterns [INFO] [stdout] 286 | patterns: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern_id`, `pattern_type`, `parameters`, `sample_count`, `first_seen`, and `last_seen` are never read [INFO] [stdout] --> src/drift_learning.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 291 | struct TrafficPattern { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 292 | /// Pattern identifier [INFO] [stdout] 293 | pattern_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 294 | /// Pattern type [INFO] [stdout] 295 | pattern_type: PatternType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 296 | /// Pattern parameters [INFO] [stdout] 297 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 298 | /// Sample count [INFO] [stdout] 299 | sample_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | /// First seen timestamp [INFO] [stdout] 301 | first_seen: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 302 | /// Last seen timestamp [INFO] [stdout] 303 | last_seen: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrafficPattern` 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: methods `generate_endpoint_response`, `find_best_response_schema`, and `extract_response_schema` are never used [INFO] [stdout] --> src/mock_generator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl MockDataGenerator { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | fn generate_endpoint_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn find_best_response_schema(&self, operation: &openapiv3::Operation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn extract_response_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paths` is never read [INFO] [stdout] --> src/mock_generator.rs:1026:5 [INFO] [stdout] | [INFO] [stdout] 1024 | struct OpenApiSpec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1025 | info: OpenApiInfo, [INFO] [stdout] 1026 | paths: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenApiSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operations` is never read [INFO] [stdout] --> src/mock_generator.rs:1032:5 [INFO] [stdout] | [INFO] [stdout] 1031 | struct PathItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 1032 | operations: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `operations` is never used [INFO] [stdout] --> src/mock_generator.rs:1036:8 [INFO] [stdout] | [INFO] [stdout] 1035 | impl PathItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 1036 | fn operations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generic_handler` is never used [INFO] [stdout] --> src/mock_server.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 112 | impl MockServer { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | async fn generic_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataFakerProvider` is never constructed [INFO] [stdout] --> src/provider.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DataFakerProvider(std::sync::Mutex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/provider.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl DataFakerProvider { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 12 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "048a9b5a1cb464e01cb4e00ea17851c79f5c9fdda52e219e89391dd56fb77e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048a9b5a1cb464e01cb4e00ea17851c79f5c9fdda52e219e89391dd56fb77e53", kill_on_drop: false }` [INFO] [stdout] 048a9b5a1cb464e01cb4e00ea17851c79f5c9fdda52e219e89391dd56fb77e53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a4f4fcd614632213b4748507f90fc2767674fb979fe48416f21aecc0248e3db [INFO] running `Command { std: "docker" "start" "-a" "3a4f4fcd614632213b4748507f90fc2767674fb979fe48416f21aecc0248e3db", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling zerocopy-derive v0.8.30 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling fancy-regex v0.16.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling openapiv3 v2.2.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling referencing v0.33.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling random_color v1.1.0 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling ndarray-stats v0.5.1 [INFO] [stderr] Compiling fake v3.1.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling jsonschema v0.33.0 [INFO] [stderr] Compiling mockforge-data v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/persona_backstory.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | use std::collections::HashMap; [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: `serde_json::json` [INFO] [stdout] --> src/integration_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern_id` [INFO] [stdout] --> src/drift_learning.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | for (pattern_id, pattern) in patterns.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_faker_type` [INFO] [stdout] --> src/mock_generator.rs:494:44 [INFO] [stdout] | [INFO] [stdout] 494 | if let Some((best_pattern, best_faker_type)) = best_match { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_faker_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern_id` [INFO] [stdout] --> src/drift_learning.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | for (pattern_id, pattern) in patterns.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_faker_type` [INFO] [stdout] --> src/mock_generator.rs:494:44 [INFO] [stdout] | [INFO] [stdout] 494 | if let Some((best_pattern, best_faker_type)) = best_match { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_faker_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `traffic_learner` and `persona_learner` are never read [INFO] [stdout] --> src/drift_learning.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct DriftLearningEngine { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | traffic_learner: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | /// Persona behavior learner [INFO] [stdout] 126 | persona_learner: Option>>, [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 `config`, `pattern_window`, and `patterns` are never read [INFO] [stdout] --> src/drift_learning.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct TrafficPatternLearner { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 281 | /// Learning configuration [INFO] [stdout] 282 | config: LearningConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 283 | /// Pattern window for analysis [INFO] [stdout] 284 | pattern_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 285 | /// Detected patterns [INFO] [stdout] 286 | patterns: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern_id`, `pattern_type`, `parameters`, `sample_count`, `first_seen`, and `last_seen` are never read [INFO] [stdout] --> src/drift_learning.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 291 | struct TrafficPattern { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 292 | /// Pattern identifier [INFO] [stdout] 293 | pattern_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 294 | /// Pattern type [INFO] [stdout] 295 | pattern_type: PatternType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 296 | /// Pattern parameters [INFO] [stdout] 297 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 298 | /// Sample count [INFO] [stdout] 299 | sample_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | /// First seen timestamp [INFO] [stdout] 301 | first_seen: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 302 | /// Last seen timestamp [INFO] [stdout] 303 | last_seen: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrafficPattern` 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: methods `generate_endpoint_response`, `find_best_response_schema`, and `extract_response_schema` are never used [INFO] [stdout] --> src/mock_generator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl MockDataGenerator { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | fn generate_endpoint_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn find_best_response_schema(&self, operation: &openapiv3::Operation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn extract_response_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paths` is never read [INFO] [stdout] --> src/mock_generator.rs:1026:5 [INFO] [stdout] | [INFO] [stdout] 1024 | struct OpenApiSpec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1025 | info: OpenApiInfo, [INFO] [stdout] 1026 | paths: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenApiSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operations` is never read [INFO] [stdout] --> src/mock_generator.rs:1032:5 [INFO] [stdout] | [INFO] [stdout] 1031 | struct PathItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 1032 | operations: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `operations` is never used [INFO] [stdout] --> src/mock_generator.rs:1036:8 [INFO] [stdout] | [INFO] [stdout] 1035 | impl PathItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 1036 | fn operations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generic_handler` is never used [INFO] [stdout] --> src/mock_server.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 112 | impl MockServer { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | async fn generic_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataFakerProvider` is never constructed [INFO] [stdout] --> src/provider.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DataFakerProvider(std::sync::Mutex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/provider.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl DataFakerProvider { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 12 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `traffic_learner` and `persona_learner` are never read [INFO] [stdout] --> src/drift_learning.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct DriftLearningEngine { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 124 | traffic_learner: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | /// Persona behavior learner [INFO] [stdout] 126 | persona_learner: Option>>, [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 `config`, `pattern_window`, and `patterns` are never read [INFO] [stdout] --> src/drift_learning.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub struct TrafficPatternLearner { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 281 | /// Learning configuration [INFO] [stdout] 282 | config: LearningConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 283 | /// Pattern window for analysis [INFO] [stdout] 284 | pattern_window: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 285 | /// Detected patterns [INFO] [stdout] 286 | patterns: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pattern_id`, `pattern_type`, `parameters`, `sample_count`, `first_seen`, and `last_seen` are never read [INFO] [stdout] --> src/drift_learning.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 291 | struct TrafficPattern { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 292 | /// Pattern identifier [INFO] [stdout] 293 | pattern_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 294 | /// Pattern type [INFO] [stdout] 295 | pattern_type: PatternType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 296 | /// Pattern parameters [INFO] [stdout] 297 | parameters: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 298 | /// Sample count [INFO] [stdout] 299 | sample_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | /// First seen timestamp [INFO] [stdout] 301 | first_seen: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 302 | /// Last seen timestamp [INFO] [stdout] 303 | last_seen: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrafficPattern` 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: methods `generate_endpoint_response`, `find_best_response_schema`, and `extract_response_schema` are never used [INFO] [stdout] --> src/mock_generator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl MockDataGenerator { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | fn generate_endpoint_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn find_best_response_schema(&self, operation: &openapiv3::Operation) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | fn extract_response_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paths` is never read [INFO] [stdout] --> src/mock_generator.rs:1026:5 [INFO] [stdout] | [INFO] [stdout] 1024 | struct OpenApiSpec { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 1025 | info: OpenApiInfo, [INFO] [stdout] 1026 | paths: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenApiSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operations` is never read [INFO] [stdout] --> src/mock_generator.rs:1032:5 [INFO] [stdout] | [INFO] [stdout] 1031 | struct PathItem { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 1032 | operations: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `operations` is never used [INFO] [stdout] --> src/mock_generator.rs:1036:8 [INFO] [stdout] | [INFO] [stdout] 1035 | impl PathItem { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 1036 | fn operations(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generic_handler` is never used [INFO] [stdout] --> src/mock_server.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 112 | impl MockServer { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 273 | async fn generic_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityType` [INFO] [stdout] --> tests/data_quality_tests.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | use mockforge_data::consistency::{ConsistencyStore, EntityType}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/data_quality_tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `persona` [INFO] [stdout] --> tests/data_quality_tests.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let persona = PersonaProfile::new("user_123".to_string(), Domain::General); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_persona` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> tests/prop_data_generation_tests.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let schema = SchemaDefinition::new("TestSchema".to_string()) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> tests/prop_data_generation_tests.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let schema = SchemaDefinition::new("EmptySchema".to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> tests/prop_data_generation_tests.rs:430:17 [INFO] [stdout] | [INFO] [stdout] 430 | let schema = SchemaDefinition::new("LargeSchema".to_string()) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_size` [INFO] [stdout] --> tests/prop_data_generation_tests.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | array_size in 0usize..50 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_field_count` [INFO] [stdout] --> tests/prop_data_generation_tests.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | object_field_count in 1usize..20 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_field_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema` [INFO] [stdout] --> tests/prop_data_generation_tests.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | let schema = SchemaDefinition::new("NestedSchema".to_string()) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "3a4f4fcd614632213b4748507f90fc2767674fb979fe48416f21aecc0248e3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4f4fcd614632213b4748507f90fc2767674fb979fe48416f21aecc0248e3db", kill_on_drop: false }` [INFO] [stdout] 3a4f4fcd614632213b4748507f90fc2767674fb979fe48416f21aecc0248e3db