[INFO] fetching crate fncache 0.1.2... [INFO] testing fncache-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fncache 0.1.2 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fncache 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99599e38147869185c3d9c2f7c6c61165e44153a04e1e8f9f30478325fd01b49 [INFO] running `Command { std: "docker" "start" "-a" "99599e38147869185c3d9c2f7c6c61165e44153a04e1e8f9f30478325fd01b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99599e38147869185c3d9c2f7c6c61165e44153a04e1e8f9f30478325fd01b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99599e38147869185c3d9c2f7c6c61165e44153a04e1e8f9f30478325fd01b49", kill_on_drop: false }` [INFO] [stdout] 99599e38147869185c3d9c2f7c6c61165e44153a04e1e8f9f30478325fd01b49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7201cc2a7ad9be7fd07652a03ed8041bec590c17af26a60210af5ac80370e3b3 [INFO] running `Command { std: "docker" "start" "-a" "7201cc2a7ad9be7fd07652a03ed8041bec590c17af26a60210af5ac80370e3b3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [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 fncache-macros v0.1.2 [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 20.55s [INFO] running `Command { std: "docker" "inspect" "7201cc2a7ad9be7fd07652a03ed8041bec590c17af26a60210af5ac80370e3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7201cc2a7ad9be7fd07652a03ed8041bec590c17af26a60210af5ac80370e3b3", kill_on_drop: false }` [INFO] [stdout] 7201cc2a7ad9be7fd07652a03ed8041bec590c17af26a60210af5ac80370e3b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f26dfe7da1b8e15f1f69d04cce94e310b04d8bf1fa5eecb1e7ecd2386e2ff4 [INFO] running `Command { std: "docker" "start" "-a" "61f26dfe7da1b8e15f1f69d04cce94e310b04d8bf1fa5eecb1e7ecd2386e2ff4", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [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-support v0.2.100 [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 bincode v1.3.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling fncache v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-test v0.3.50 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [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 44.04s [INFO] running `Command { std: "docker" "inspect" "61f26dfe7da1b8e15f1f69d04cce94e310b04d8bf1fa5eecb1e7ecd2386e2ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f26dfe7da1b8e15f1f69d04cce94e310b04d8bf1fa5eecb1e7ecd2386e2ff4", kill_on_drop: false }` [INFO] [stdout] 61f26dfe7da1b8e15f1f69d04cce94e310b04d8bf1fa5eecb1e7ecd2386e2ff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f991e8b8544d1b5dee25cc4bd1438b9802b48d729ea64c4c834cabbbd0b21d5 [INFO] running `Command { std: "docker" "start" "-a" "1f991e8b8544d1b5dee25cc4bd1438b9802b48d729ea64c4c834cabbbd0b21d5", kill_on_drop: false }` [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` (test "integration_tests") generated 14 warnings [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: `fncache` (lib test) generated 3 warnings (run `cargo fix --lib -p fncache --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fncache-57530274f471eddc) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test eviction::tests::test_lfu_eviction ... ok [INFO] [stdout] test backends::memory::tests::test_get_set ... ok [INFO] [stdout] test invalidation::tests::test_tag_creation ... ok [INFO] [stdout] test eviction_tests::tests::test_eviction_policy_change ... ok [INFO] [stdout] test key_derivation::tests::test_compile_time_key_generation ... ok [INFO] [stdout] test key_derivation_tests::tests::test_generate_compile_time_key_consistency ... ok [INFO] [stdout] test eviction::tests::test_lru_eviction ... ok [INFO] [stdout] test key_derivation_tests::tests::test_key_derivation_with_backend ... ok [INFO] [stdout] test eviction_tests::tests::test_lfu_eviction_with_capacity_limit ... ok [INFO] [stdout] test warming::tests::test_async_warming ... ok [INFO] [stdout] test metrics_tests::tests::test_advanced_metrics ... ok [INFO] [stdout] test key_derivation_tests::tests::test_runtime_vs_compile_time_keys ... ok [INFO] [stdout] test metrics::tests::test_hit_rate_edge_cases ... ok [INFO] [stdout] test warming::tests::test_sync_warming ... ok [INFO] [stdout] test metrics::tests::test_metrics_counting ... ok [INFO] [stdout] test warming::tests::test_last_refreshed ... ok [INFO] [stdout] test metrics_tests::tests::test_metrics_size_tracking ... ok [INFO] [stdout] test eviction_tests::tests::test_lru_eviction_with_capacity_limit ... ok [INFO] [stdout] test tests::test_global_cache_uninitialized - should panic ... ok [INFO] [stdout] test eviction_tests::tests::test_ttl_with_eviction_policy ... ok [INFO] [stdout] test warming::tests::test_background_warming ... ok [INFO] [stdout] test backends::memory::tests::test_metrics ... ok [INFO] [stdout] test backends::memory::tests::test_ttl ... ok [INFO] [stdout] test tests::test_global_cache_initialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] [stderr] Running tests/basic_cache_safety_tests.rs (/opt/rustwide/target/debug/deps/basic_cache_safety_tests-9320aa0aa26b4f4f) [INFO] [stdout] [INFO] [stderr] Running tests/cache_tests.rs (/opt/rustwide/target/debug/deps/cache_tests-a141b992652207f8) [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/eviction_tests.rs (/opt/rustwide/target/debug/deps/eviction_tests-fd9f26322173f16b) [INFO] [stdout] test test_cache_reset_across_cycles ... ok [INFO] [stdout] test test_basic_cache_functionality ... 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 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] [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 error_handling_tests::test_error_propagation ... ok [INFO] [stdout] test function_signatures::test_function_returning_result ... ok [INFO] [stdout] test eviction_tests::test_lru_eviction ... ok [INFO] [stdout] test concurrent_tests::test_concurrent_access ... 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] test function_signatures::test_function_returning_option ... ok [INFO] [stdout] test eviction_tests::test_lfu_eviction ... ok [INFO] [stdout] test integration_scenario_tests::test_api_client_caching ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 2.03s [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_runtime_key_derivation ... ok [INFO] [stdout] test test_compile_time_key_derivation ... ok [INFO] [stdout] test test_async_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] [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] [stderr] Doc-tests fncache [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] [INFO] [stdout] running 28 tests [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 (line 25) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 15) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::with_config (line 239) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag (line 43) ... 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::get_store_len (line 377) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 56) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::with_capacity (line 277) ... ok [INFO] [stdout] test src/backends/mod.rs - backends::Backend (line 226) ... 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/mod.rs - backends::CacheBackend (line 87) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackendConfig (line 91) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend (line 148) ... ok [INFO] [stdout] test src/key_derivation.rs - key_derivation::KeyDerivation (line 63) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry::new (line 368) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag::new (line 62) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::metrics (line 214) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::new (line 198) ... 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/invalidation.rs - invalidation::Tag::as_str (line 76) ... ok [INFO] [stdout] test src/key_derivation.rs - key_derivation::generate_compile_time_key (line 119) ... 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.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f991e8b8544d1b5dee25cc4bd1438b9802b48d729ea64c4c834cabbbd0b21d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f991e8b8544d1b5dee25cc4bd1438b9802b48d729ea64c4c834cabbbd0b21d5", kill_on_drop: false }` [INFO] [stdout] 1f991e8b8544d1b5dee25cc4bd1438b9802b48d729ea64c4c834cabbbd0b21d5