[INFO] fetching crate fact-wasm-core 1.0.0... [INFO] checking fact-wasm-core-1.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate fact-wasm-core 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate fact-wasm-core 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fact-wasm-core 1.0.0 [INFO] tweaked toml for crates.io crate fact-wasm-core 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fact-wasm-core 1.0.0 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 fact-wasm-core 1.0.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ace199f4b7274ba18223be608b4895009f8f4ba3c8556d21134910941556b3a [INFO] running `Command { std: "docker" "start" "-a" "8ace199f4b7274ba18223be608b4895009f8f4ba3c8556d21134910941556b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ace199f4b7274ba18223be608b4895009f8f4ba3c8556d21134910941556b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ace199f4b7274ba18223be608b4895009f8f4ba3c8556d21134910941556b3a", kill_on_drop: false }` [INFO] [stdout] 8ace199f4b7274ba18223be608b4895009f8f4ba3c8556d21134910941556b3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bf6deb53c4c56b49075ed3636d3191c662ee3e51c86e26bf94dd2b7692a648b [INFO] running `Command { std: "docker" "start" "-a" "7bf6deb53c4c56b49075ed3636d3191c662ee3e51c86e26bf94dd2b7692a648b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking fact-wasm-core v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `CachePriority` is more private than the item `CacheEntry::priority` [INFO] [stdout] --> src/cache.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub priority: CachePriority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CacheEntry::priority` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CachePriority` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cache.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | enum CachePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AccessPattern` is more private than the item `CacheEntry::access_pattern` [INFO] [stdout] --> src/cache.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub access_pattern: AccessPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CacheEntry::access_pattern` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AccessPattern` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cache.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct AccessPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AccessPatternStats` is more private than the item `CacheStats::access_pattern_stats` [INFO] [stdout] --> src/cache.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub access_pattern_stats: AccessPatternStats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CacheStats::access_pattern_stats` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AccessPatternStats` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cache.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct AccessPatternStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frequency_score`, `recency_score`, `seasonal_pattern`, `burst_access`, and `access_intervals` are never read [INFO] [stdout] --> src/cache.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct AccessPattern { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 24 | frequency_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | recency_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | seasonal_pattern: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | burst_access: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | access_intervals: SmallVec<[f64; 8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tags`, `last_modified`, `access_pattern`, and `validation_hash` are never read [INFO] [stdout] --> src/cache.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub tags: SmallVec<[String; 4]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub compression_ratio: f32, [INFO] [stdout] 50 | pub last_modified: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub access_pattern: AccessPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub validation_hash: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl CacheEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(value: String, ttl: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evict_entries` is never used [INFO] [stdout] --> src/cache.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 391 | impl FastCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 694 | fn evict_entries(&mut self, needed_space: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/processor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct QueryPattern { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 82 | pub id: String, [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryPattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/cache_benchmark.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | let mut cache = FastCache::new(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 7 - let mut cache = FastCache::new(1000); [INFO] [stdout] 7 + let mut cache = FastCache::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/cache_benchmark.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut cache = FastCache::new(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 18 - let mut cache = FastCache::new(1000); [INFO] [stdout] 18 + let mut cache = FastCache::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fact-wasm-core` (bench "cache_benchmark") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `fact_wasm_core::utils` [INFO] [stdout] --> benches/performance.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | use fact_wasm_core::utils::{simple_hash, escape_sql_string, format_bytes}; [INFO] [stdout] | ^^^^^ could not find `utils` in `fact_wasm_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/performance.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fact_wasm_core::optimizations` [INFO] [stdout] --> tests/performance_tests.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use fact_wasm_core::optimizations::*; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `optimizations` in `fact_wasm_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/performance.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | let mut cache = FastCache::new(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 9 - let mut cache = FastCache::new(1000); [INFO] [stdout] 9 + let mut cache = FastCache::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/performance.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut cache = FastCache::new(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 21 - let mut cache = FastCache::new(1000); [INFO] [stdout] 21 + let mut cache = FastCache::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/performance.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let mut cache = FastCache::new(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 40 - let mut cache = FastCache::new(1000); [INFO] [stdout] 40 + let mut cache = FastCache::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/performance.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let mut cache = FastCache::new(10000); [INFO] [stdout] | ^^^^^^^^^^^^^^ ----- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 95 - let mut cache = FastCache::new(10000); [INFO] [stdout] 95 + let mut cache = FastCache::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/performance.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | let mut cache = FastCache::new(100); // Small cache to force evictions [INFO] [stdout] | ^^^^^^^^^^^^^^ --- unexpected argument of type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/cache.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn new() -> FastCache { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 108 - let mut cache = FastCache::new(100); // Small cache to force evictions [INFO] [stdout] 108 + let mut cache = FastCache::new(); // Small cache to force evictions [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fact_wasm_core::*` [INFO] [stdout] --> tests/performance_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fact_wasm_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fact-wasm-core` (test "performance_tests") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `fact-wasm-core` (bench "performance") due to 6 previous errors; 1 warning emitted [INFO] [stdout] warning: type `CachePriority` is more private than the item `CacheEntry::priority` [INFO] [stdout] --> src/cache.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub priority: CachePriority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CacheEntry::priority` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CachePriority` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cache.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | enum CachePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AccessPattern` is more private than the item `CacheEntry::access_pattern` [INFO] [stdout] --> src/cache.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub access_pattern: AccessPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CacheEntry::access_pattern` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AccessPattern` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cache.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct AccessPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AccessPatternStats` is more private than the item `CacheStats::access_pattern_stats` [INFO] [stdout] --> src/cache.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub access_pattern_stats: AccessPatternStats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CacheStats::access_pattern_stats` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AccessPatternStats` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cache.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct AccessPatternStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frequency_score`, `recency_score`, `seasonal_pattern`, `burst_access`, and `access_intervals` are never read [INFO] [stdout] --> src/cache.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct AccessPattern { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 24 | frequency_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | recency_score: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | seasonal_pattern: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | burst_access: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | access_intervals: SmallVec<[f64; 8]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccessPattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tags`, `last_modified`, `access_pattern`, and `validation_hash` are never read [INFO] [stdout] --> src/cache.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub tags: SmallVec<[String; 4]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub compression_ratio: f32, [INFO] [stdout] 50 | pub last_modified: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub access_pattern: AccessPattern, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub validation_hash: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl CacheEntry { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(value: String, ttl: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evict_entries` is never used [INFO] [stdout] --> src/cache.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 391 | impl FastCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 694 | fn evict_entries(&mut self, needed_space: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/processor.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct QueryPattern { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 82 | pub id: String, [INFO] [stdout] 83 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryPattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7bf6deb53c4c56b49075ed3636d3191c662ee3e51c86e26bf94dd2b7692a648b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf6deb53c4c56b49075ed3636d3191c662ee3e51c86e26bf94dd2b7692a648b", kill_on_drop: false }` [INFO] [stdout] 7bf6deb53c4c56b49075ed3636d3191c662ee3e51c86e26bf94dd2b7692a648b