[INFO] fetching crate fncache 0.1.2... [INFO] testing fncache-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate fncache 0.1.2 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fncache 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe0ac87453f39cf677848799f5526bb3f4901ed0104dfb75a93b193c4c9d117 [INFO] running `Command { std: "docker" "start" "-a" "4fe0ac87453f39cf677848799f5526bb3f4901ed0104dfb75a93b193c4c9d117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe0ac87453f39cf677848799f5526bb3f4901ed0104dfb75a93b193c4c9d117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe0ac87453f39cf677848799f5526bb3f4901ed0104dfb75a93b193c4c9d117", kill_on_drop: false }` [INFO] [stdout] 4fe0ac87453f39cf677848799f5526bb3f4901ed0104dfb75a93b193c4c9d117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3170658c8e48103adb7ff22a6f17f6cd501ce82094475ae04b6dbff50c4d7c58 [INFO] running `Command { std: "docker" "start" "-a" "3170658c8e48103adb7ff22a6f17f6cd501ce82094475ae04b6dbff50c4d7c58", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [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 fncache-macros v0.1.2 [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 17.98s [INFO] running `Command { std: "docker" "inspect" "3170658c8e48103adb7ff22a6f17f6cd501ce82094475ae04b6dbff50c4d7c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3170658c8e48103adb7ff22a6f17f6cd501ce82094475ae04b6dbff50c4d7c58", kill_on_drop: false }` [INFO] [stdout] 3170658c8e48103adb7ff22a6f17f6cd501ce82094475ae04b6dbff50c4d7c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6a3e61fb2061560d292b9812ceba79f0b3470a6709050e46f6c1d0ec9f0b04b [INFO] running `Command { std: "docker" "start" "-a" "f6a3e61fb2061560d292b9812ceba79f0b3470a6709050e46f6c1d0ec9f0b04b", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [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 wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [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 fncache v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [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)]` 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)]` 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)]` 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.28s [INFO] running `Command { std: "docker" "inspect" "f6a3e61fb2061560d292b9812ceba79f0b3470a6709050e46f6c1d0ec9f0b04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a3e61fb2061560d292b9812ceba79f0b3470a6709050e46f6c1d0ec9f0b04b", kill_on_drop: false }` [INFO] [stdout] f6a3e61fb2061560d292b9812ceba79f0b3470a6709050e46f6c1d0ec9f0b04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6a8ef073c62fe17a02a44ff6b1de78ee5dd9c426294776e1a8a448f2093e80e [INFO] running `Command { std: "docker" "start" "-a" "b6a8ef073c62fe17a02a44ff6b1de78ee5dd9c426294776e1a8a448f2093e80e", 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)]` 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)]` 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)]` 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.28s [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_get_set ... ok [INFO] [stdout] test eviction_tests::tests::test_lfu_eviction_with_capacity_limit ... ok [INFO] [stdout] test backends::memory::tests::test_metrics ... ok [INFO] [stdout] test eviction_tests::tests::test_lru_eviction_with_capacity_limit ... ok [INFO] [stdout] test invalidation::tests::test_tag_creation ... ok [INFO] [stdout] test metrics::tests::test_metrics_counting ... ok [INFO] [stdout] test eviction_tests::tests::test_eviction_policy_change ... ok [INFO] [stdout] test eviction::tests::test_lru_eviction ... ok [INFO] [stdout] test eviction::tests::test_lfu_eviction ... ok [INFO] [stdout] test metrics_tests::tests::test_metrics_size_tracking ... ok [INFO] [stdout] test warming::tests::test_last_refreshed ... ok [INFO] [stdout] test warming::tests::test_async_warming ... ok [INFO] [stdout] test warming::tests::test_sync_warming ... 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 key_derivation_tests::tests::test_key_derivation_with_backend ... 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 metrics_tests::tests::test_advanced_metrics ... 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.19s [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.01s [INFO] [stdout] [INFO] [stderr] Running tests/cache_tests.rs (/opt/rustwide/target/debug/deps/cache_tests-a141b992652207f8) [INFO] [stdout] [INFO] [stderr] Running tests/eviction_tests.rs (/opt/rustwide/target/debug/deps/eviction_tests-fd9f26322173f16b) [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 concurrent_tests::test_concurrent_access ... ok [INFO] [stdout] test eviction_tests::test_lfu_eviction ... ok [INFO] [stdout] test error_handling_tests::test_error_propagation ... ok [INFO] [stdout] test eviction_tests::test_lru_eviction ... ok [INFO] [stdout] test test_async_caching ... ok [INFO] [stdout] test function_signatures::test_function_returning_result ... ok [INFO] [stdout] test test_basic_memory_caching ... ok [INFO] [stdout] test function_signatures::test_function_returning_option ... ok [INFO] [stdout] test test_ttl_expiration ... 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 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] [stderr] Running tests/thread_safe_eviction_test.rs (/opt/rustwide/target/debug/deps/thread_safe_eviction_test-da30b38f4ffc2a1b) [INFO] [stdout] test test_async_runtime_key_derivation ... ok [INFO] [stdout] test test_compile_time_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.03s [INFO] [stdout] [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/backends/memory.rs - backends::memory::MemoryBackend (line 148) ... 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::MemoryBackend::with_config (line 239) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::get_store_len (line 377) ... ok [INFO] [stdout] test src/backends/mod.rs - backends::Backend (line 226) ... 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::MemoryBackend::with_eviction_policy (line 304) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 15) ... 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 (line 56) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory (line 42) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry::new (line 368) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::new (line 198) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag::as_str (line 76) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::with_capacity (line 277) ... ok [INFO] [stdout] test src/key_derivation.rs - key_derivation::KeyDerivation (line 63) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackendConfig (line 91) ... ok [INFO] [stdout] test src/backends/memory.rs - backends::memory::MemoryBackend::metrics (line 214) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::TaggedCacheEntry::with_tag (line 388) ... 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/invalidation.rs - invalidation::TaggedCacheEntry (line 340) ... ok [INFO] [stdout] test src/invalidation.rs - invalidation::Tag::new (line 62) ... 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.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b6a8ef073c62fe17a02a44ff6b1de78ee5dd9c426294776e1a8a448f2093e80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a8ef073c62fe17a02a44ff6b1de78ee5dd9c426294776e1a8a448f2093e80e", kill_on_drop: false }` [INFO] [stdout] b6a8ef073c62fe17a02a44ff6b1de78ee5dd9c426294776e1a8a448f2093e80e