[INFO] fetching crate fncache 0.1.2... [INFO] testing fncache-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fncache 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate fncache 0.1.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fncache 0.1.2 [INFO] tweaked toml for crates.io crate fncache 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fncache 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fncache 0.1.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a599a2c6e6eddfeb308af2a7a674d5c6fbe8b24c7d3b0cc068f3da689285ab59 [INFO] running `Command { std: "docker" "start" "-a" "a599a2c6e6eddfeb308af2a7a674d5c6fbe8b24c7d3b0cc068f3da689285ab59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a599a2c6e6eddfeb308af2a7a674d5c6fbe8b24c7d3b0cc068f3da689285ab59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a599a2c6e6eddfeb308af2a7a674d5c6fbe8b24c7d3b0cc068f3da689285ab59", kill_on_drop: false }` [INFO] [stdout] a599a2c6e6eddfeb308af2a7a674d5c6fbe8b24c7d3b0cc068f3da689285ab59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d82855d7c8ccfaf9c798827d6987c282beeb557db3a6f52b3b8b36a1b990065 [INFO] running `Command { std: "docker" "start" "-a" "4d82855d7c8ccfaf9c798827d6987c282beeb557db3a6f52b3b8b36a1b990065", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling fncache-macros v0.1.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling fncache v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.19s [INFO] running `Command { std: "docker" "inspect" "4d82855d7c8ccfaf9c798827d6987c282beeb557db3a6f52b3b8b36a1b990065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d82855d7c8ccfaf9c798827d6987c282beeb557db3a6f52b3b8b36a1b990065", kill_on_drop: false }` [INFO] [stdout] 4d82855d7c8ccfaf9c798827d6987c282beeb557db3a6f52b3b8b36a1b990065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa51cc6117d5f4a512fa67608bba546d376d59fa057f2ce4a87538c83b2c707c [INFO] running `Command { std: "docker" "start" "-a" "fa51cc6117d5f4a512fa67608bba546d376d59fa057f2ce4a87538c83b2c707c", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.43 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.50 [INFO] [stderr] Compiling fncache v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `base_url` is never read [INFO] [stdout] --> tests/integration_tests.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 493 | struct ApiClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 494 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(COUNTER, 2); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(COUNTER, 2); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:575:20 [INFO] [stdout] | [INFO] [stdout] 575 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:631:20 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:639:20 [INFO] [stdout] | [INFO] [stdout] 639 | assert_eq!(COUNTER, 2); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(COUNTER, 2); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(COUNTER, 1); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/integration_tests.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | assert_eq!(COUNTER, 2); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStruct` is never constructed [INFO] [stdout] --> src/serialization/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/invalidation.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 585 | ) -> std::sync::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 585 | ) -> std::sync::MutexGuard<'_, std::collections::HashMap>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/invalidation.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 593 | ) -> std::sync::MutexGuard>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | ) -> std::sync::MutexGuard<'_, std::collections::HashMap>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.42s [INFO] running `Command { std: "docker" "inspect" "fa51cc6117d5f4a512fa67608bba546d376d59fa057f2ce4a87538c83b2c707c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa51cc6117d5f4a512fa67608bba546d376d59fa057f2ce4a87538c83b2c707c", kill_on_drop: false }` [INFO] [stdout] fa51cc6117d5f4a512fa67608bba546d376d59fa057f2ce4a87538c83b2c707c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3ae420805246450ca6b0a5335114ee89fa5e8a4a8827ce26d820fca8bf8620b [INFO] running `Command { std: "docker" "start" "-a" "b3ae420805246450ca6b0a5335114ee89fa5e8a4a8827ce26d820fca8bf8620b", kill_on_drop: false }` [INFO] [stderr] warning: struct `TestStruct` is never constructed [INFO] [stderr] --> src/serialization/mod.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | struct TestStruct { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/invalidation.rs:584:9 [INFO] [stderr] | [INFO] [stderr] 584 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 585 | ) -> std::sync::MutexGuard>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 585 | ) -> std::sync::MutexGuard<'_, std::collections::HashMap>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/invalidation.rs:592:9 [INFO] [stderr] | [INFO] [stderr] 592 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 593 | ) -> std::sync::MutexGuard>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 593 | ) -> std::sync::MutexGuard<'_, std::collections::HashMap>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `base_url` is never read [INFO] [stderr] --> tests/integration_tests.rs:494:9 [INFO] [stderr] | [INFO] [stderr] 493 | struct ApiClient { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 494 | base_url: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(COUNTER, 2); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:79:20 [INFO] [stderr] | [INFO] [stderr] 79 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:85:20 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(COUNTER, 2); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:118:20 [INFO] [stderr] | [INFO] [stderr] 118 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:575:20 [INFO] [stderr] | [INFO] [stderr] 575 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:604:20 [INFO] [stderr] | [INFO] [stderr] 604 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:631:20 [INFO] [stderr] | [INFO] [stderr] 631 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:639:20 [INFO] [stderr] | [INFO] [stderr] 639 | assert_eq!(COUNTER, 2); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:154:24 [INFO] [stderr] | [INFO] [stderr] 154 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:162:24 [INFO] [stderr] | [INFO] [stderr] 162 | assert_eq!(COUNTER, 2); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:195:24 [INFO] [stderr] | [INFO] [stderr] 195 | assert_eq!(COUNTER, 1); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/integration_tests.rs:204:24 [INFO] [stderr] | [INFO] [stderr] 204 | assert_eq!(COUNTER, 2); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `fncache` (lib test) generated 3 warnings (run `cargo fix --lib -p fncache --tests` to apply 2 suggestions) [INFO] [stderr] warning: `fncache` (test "integration_tests") generated 14 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fncache-57530274f471eddc) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test backends::memory::tests::test_metrics ... ok [INFO] [stdout] test backends::memory::tests::test_get_set ... ok [INFO] [stdout] test eviction::tests::test_lru_eviction ... ok [INFO] [stdout] test eviction::tests::test_lfu_eviction ... ok [INFO] [stdout] test eviction_tests::tests::test_eviction_policy_change ... ok [INFO] [stdout] test eviction_tests::tests::test_lfu_eviction_with_capacity_limit ... ok [INFO] [stdout] test eviction_tests::tests::test_lru_eviction_with_capacity_limit ... ok [INFO] [stdout] test key_derivation_tests::tests::test_key_derivation_with_backend ... ok [INFO] [stdout] test invalidation::tests::test_tag_creation ... ok [INFO] [stdout] test key_derivation::tests::test_compile_time_key_generation ... ok [INFO] [stdout] test warming::tests::test_async_warming ... ok [INFO] [stdout] test key_derivation_tests::tests::test_generate_compile_time_key_consistency ... ok [INFO] [stdout] test warming::tests::test_last_refreshed ... ok [INFO] [stdout] test metrics::tests::test_hit_rate_edge_cases ... ok [INFO] [stdout] test metrics::tests::test_metrics_counting ... ok [INFO] [stdout] test key_derivation_tests::tests::test_runtime_vs_compile_time_keys ... ok [INFO] [stdout] test warming::tests::test_sync_warming ... ok [INFO] [stdout] test metrics_tests::tests::test_advanced_metrics ... ok [INFO] [stdout] test metrics_tests::tests::test_metrics_size_tracking ... ok [INFO] [stdout] test eviction_tests::tests::test_ttl_with_eviction_policy ... ok [INFO] [stdout] test backends::memory::tests::test_ttl ... ok [INFO] [stdout] test tests::test_global_cache_initialization ... ok [INFO] [stdout] test warming::tests::test_background_warming ... ok [INFO] [stdout] test tests::test_global_cache_uninitialized - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] Running tests/basic_cache_safety_tests.rs (/opt/rustwide/target/debug/deps/basic_cache_safety_tests-9320aa0aa26b4f4f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_basic_cache_functionality ... ok [INFO] [stdout] test test_cache_reset_across_cycles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cache_tests.rs (/opt/rustwide/target/debug/deps/cache_tests-a141b992652207f8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/eviction_tests.rs (/opt/rustwide/target/debug/deps/eviction_tests-fd9f26322173f16b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_lfu_eviction ... ignored [INFO] [stdout] test test_lru_eviction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-2bcb9109bbc0b9ea) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test run_all_core_tests ... ignored, Disabled due to memory safety issues with multiple reset cycles - individual tests provide same coverage [INFO] [stdout] test concurrent_tests::test_concurrent_access ... ok [INFO] [stdout] test error_handling_tests::test_error_propagation ... ok [INFO] [stdout] test eviction_tests::test_lfu_eviction ... ok [INFO] [stdout] test eviction_tests::test_lru_eviction ... ok [INFO] [stdout] test function_signatures::test_function_returning_option ... ok [INFO] [stdout] test function_signatures::test_function_returning_result ... ok [INFO] [stdout] test integration_scenario_tests::test_api_client_caching ... ok [INFO] [stdout] test test_basic_memory_caching ... ok [INFO] [stdout] test test_async_caching ... ok [INFO] [stdout] test test_ttl_expiration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 3.01s [INFO] [stdout] [INFO] [stderr] Running tests/key_derivation_tests.rs (/opt/rustwide/target/debug/deps/key_derivation_tests-4b14defbeda29e31) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_async_compile_time_key_derivation ... ok [INFO] [stdout] test test_compile_time_key_derivation ... ok [INFO] [stdout] test test_async_runtime_key_derivation ... ok [INFO] [stdout] test test_runtime_key_derivation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/thread_safe_eviction_test.rs (/opt/rustwide/target/debug/deps/thread_safe_eviction_test-da30b38f4ffc2a1b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_thread_safe_lfu_eviction ... ok [INFO] [stderr] Doc-tests fncache [INFO] [stdout] test test_thread_safe_lru_eviction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stderr] warning: the `main` function of this doctest won't be run as it contains expressions at the top level, meaning that the whole doctest code will be wrapped in a function [INFO] [stderr] --> src/lib.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | //! ```ignore [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] test src/invalidation.rs - invalidation::CacheInvalidation (line 110) - compile ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::AsyncCacheInvalidation (line 193) - compile ... ok [INFO] [stdout] test src/backends/mod.rs - backends::Backend (line 226) ... ok [INFO] [stdout] test src/backends/mod.rs - backends (line 25) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend (line 148) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::metrics (line 214) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag::as_str (line 76) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackendConfig (line 91) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 42) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::with_eviction_policy (line 304) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::with_capacity (line 277) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ignored [INFO] [stdout] test src/lib.rs - fncache (line 90) ... ignored [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::new (line 198) ... ok [INFO] [stdout] test src/backends/mod.rs - backends::CacheBackend (line 87) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag (line 43) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 56) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::get_store_len (line 377) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag::new (line 62) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 15) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry::new (line 368) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::with_config (line 239) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry (line 340) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry::with_tags (line 407) ... ok [INFO] [stdout] test src/key_derivation.rs - key_derivation::generate_compile_time_key (line 119) ... ok [INFO] [stdout] test src/key_derivation.rs - key_derivation::KeyDerivation (line 63) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry::with_tag (line 388) ... ok [INFO] [stdout] test src/key_derivation.rs - key_derivation (line 22) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 2.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3ae420805246450ca6b0a5335114ee89fa5e8a4a8827ce26d820fca8bf8620b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ae420805246450ca6b0a5335114ee89fa5e8a4a8827ce26d820fca8bf8620b", kill_on_drop: false }` [INFO] [stdout] b3ae420805246450ca6b0a5335114ee89fa5e8a4a8827ce26d820fca8bf8620b