[INFO] fetching crate fncache 0.1.2... [INFO] checking fncache-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate fncache 0.1.2 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fncache 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v2.0.0 [INFO] [stderr] Downloaded serial_test_derive v2.0.0 [INFO] [stderr] Downloaded fncache-macros v0.1.2 [INFO] [stderr] Downloaded redis v0.23.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4bca4d4c7349996bfca3db68020d296318c14b6e100bb864814815deac2467f [INFO] running `Command { std: "docker" "start" "-a" "f4bca4d4c7349996bfca3db68020d296318c14b6e100bb864814815deac2467f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4bca4d4c7349996bfca3db68020d296318c14b6e100bb864814815deac2467f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4bca4d4c7349996bfca3db68020d296318c14b6e100bb864814815deac2467f", kill_on_drop: false }` [INFO] [stdout] f4bca4d4c7349996bfca3db68020d296318c14b6e100bb864814815deac2467f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b09d97d8732c1e1be2196264c8712b49c59d34fa063322a81e56f11f07319067 [INFO] running `Command { std: "docker" "start" "-a" "b09d97d8732c1e1be2196264c8712b49c59d34fa063322a81e56f11f07319067", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking clap_builder v4.5.43 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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 tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling fncache-macros v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking serde_json v1.0.142 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking fncache v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `SamplingMode` [INFO] [stdout] --> benches/redis_bench.rs:11:61 [INFO] [stdout] | [INFO] [stdout] 11 | use criterion::{criterion_group, criterion_main, Criterion, SamplingMode}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/redis_bench.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> benches/redis_bench.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> benches/redis_bench.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SMALL_DATA_SIZE` is never used [INFO] [stdout] --> benches/redis_bench.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const SMALL_DATA_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TTL_SECONDS` is never used [INFO] [stdout] --> benches/redis_bench.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const DEFAULT_TTL_SECONDS: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEASUREMENT_TIME_MS` is never used [INFO] [stdout] --> benches/redis_bench.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MEASUREMENT_TIME_MS: u64 = 1500; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WARMUP_TIME_MS` is never used [INFO] [stdout] --> benches/redis_bench.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const WARMUP_TIME_MS: u64 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_SAMPLE_SIZE` is never used [INFO] [stdout] --> benches/redis_bench.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const MIN_SAMPLE_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redis_url` is never used [INFO] [stdout] --> benches/redis_bench.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn redis_url() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_data` is never used [INFO] [stdout] --> benches/redis_bench.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn generate_data(size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> benches/rocksdb_bench.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/rocksdb_bench.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`, `env`, and `fs` [INFO] [stdout] --> benches/rocksdb_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env, fs, [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] 13 | time::{SystemTime, UNIX_EPOCH}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/file_bench.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use criterion::{black_box, criterion_group, criterion_main, Criterion, SamplingMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> benches/file_bench.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> benches/file_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SMALL_DATA_SIZE` is never used [INFO] [stdout] --> benches/rocksdb_bench.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const SMALL_DATA_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_data` is never used [INFO] [stdout] --> benches/rocksdb_bench.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn generate_data(size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SMALL_DATA_SIZE` is never used [INFO] [stdout] --> benches/file_bench.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const SMALL_DATA_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEASUREMENT_TIME_MS` is never used [INFO] [stdout] --> benches/file_bench.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const MEASUREMENT_TIME_MS: u64 = 2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WARMUP_TIME_MS` is never used [INFO] [stdout] --> benches/file_bench.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const WARMUP_TIME_MS: u64 = 500; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_SAMPLE_SIZE` is never used [INFO] [stdout] --> benches/file_bench.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const MIN_SAMPLE_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TTL_SECONDS` is never used [INFO] [stdout] --> benches/file_bench.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const DEFAULT_TTL_SECONDS: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_data` is never used [INFO] [stdout] --> benches/file_bench.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn generate_data(size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_benchmark_group` is never used [INFO] [stdout] --> benches/file_bench.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn configure_benchmark_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 `dev` profile [unoptimized + debuginfo] target(s) in 23.17s [INFO] running `Command { std: "docker" "inspect" "b09d97d8732c1e1be2196264c8712b49c59d34fa063322a81e56f11f07319067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09d97d8732c1e1be2196264c8712b49c59d34fa063322a81e56f11f07319067", kill_on_drop: false }` [INFO] [stdout] b09d97d8732c1e1be2196264c8712b49c59d34fa063322a81e56f11f07319067