[INFO] cloning repository https://github.com/s1ntropy/ferrous-di [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s1ntropy/ferrous-di" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs1ntropy%2Fferrous-di", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs1ntropy%2Fferrous-di'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41566f83563abfee0a984dd7611cb88871a354f8 [INFO] building s1ntropy/ferrous-di against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs1ntropy%2Fferrous-di" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/s1ntropy/ferrous-di [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/s1ntropy/ferrous-di [INFO] tweaked toml for git repo https://github.com/s1ntropy/ferrous-di written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s1ntropy/ferrous-di on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/s1ntropy/ferrous-di 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scc v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0335f98caaf8e828ff7f56f993f291ef349eaa208ef6718bcc6af634b666ec2 [INFO] running `Command { std: "docker" "start" "-a" "d0335f98caaf8e828ff7f56f993f291ef349eaa208ef6718bcc6af634b666ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0335f98caaf8e828ff7f56f993f291ef349eaa208ef6718bcc6af634b666ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0335f98caaf8e828ff7f56f993f291ef349eaa208ef6718bcc6af634b666ec2", kill_on_drop: false }` [INFO] [stdout] d0335f98caaf8e828ff7f56f993f291ef349eaa208ef6718bcc6af634b666ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04cdaac87b0806c68a9bc5f42c1a392af5f4dfb4cadd243552c47b704a4d38c2 [INFO] running `Command { std: "docker" "start" "-a" "04cdaac87b0806c68a9bc5f42c1a392af5f4dfb4cadd243552c47b704a4d38c2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ferrous-di v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scope_local.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn add_scope_locals(&mut self) -> ScopeLocalBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 316 | pub fn add_scope_locals(&mut self) -> ScopeLocalBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.98s [INFO] running `Command { std: "docker" "inspect" "04cdaac87b0806c68a9bc5f42c1a392af5f4dfb4cadd243552c47b704a4d38c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cdaac87b0806c68a9bc5f42c1a392af5f4dfb4cadd243552c47b704a4d38c2", kill_on_drop: false }` [INFO] [stdout] 04cdaac87b0806c68a9bc5f42c1a392af5f4dfb4cadd243552c47b704a4d38c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 948578d32c592fc20e48a30e3719fcc6aa7d43cdee397a67bc6e250f4287e6d0 [INFO] running `Command { std: "docker" "start" "-a" "948578d32c592fc20e48a30e3719fcc6aa7d43cdee397a67bc6e250f4287e6d0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [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 tempfile v3.21.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling ferrous-di v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scope_local.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn add_scope_locals(&mut self) -> ScopeLocalBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 316 | pub fn add_scope_locals(&mut self) -> ScopeLocalBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> tests/advanced_features.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | trait TestService: Send + Sync { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 83 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/advanced_features.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | struct ServiceImpl { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 87 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log` is never used [INFO] [stdout] --> tests/advanced_features.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 457 | trait Logger: Send + Sync { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 458 | fn log(&self, msg: &str) -> String; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> tests/simple_disposal_test.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, atomic::{AtomicU32, Ordering}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CapabilityRequirement`, `FastSingletonCache`, `Lifetime`, `LoggingObserver`, `ValidationBuilder`, and `ValidationError` [INFO] [stdout] --> tests/agent_features.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | ...r, LoggingObserver, Resolver, ScopeLocal, ToolCapability, ToolSelectionCriteria, CapabilityRequirement, ValidationBuilder, Lifetime, ValidationError, FastSingletonCache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FastSingletonCache` [INFO] [stdout] --> tests/agent_features.rs:400:41 [INFO] [stdout] | [INFO] [stdout] 400 | use ferrous_di::{ServiceCollection, FastSingletonCache}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> tests/integration_full_application.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct InMemoryCache { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 127 | data: Mutex>, [INFO] [stdout] 128 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InMemoryCache` 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: unused import: `std::time::Duration` [INFO] [stdout] --> src/cancellation.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> tests/integration_concurrent_access.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let results: Vec<_> = handles.into_iter().map(|h| h.join().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `init_count` and `value` are never read [INFO] [stdout] --> tests/agent_features.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 403 | struct ExpensiveService { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 404 | init_count: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 405 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_cache` is never used [INFO] [stdout] --> tests/modules.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 143 | trait CacheExtension { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 144 | fn add_cache(self) -> Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flag` is never read [INFO] [stdout] --> tests/property_resolution.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct ServiceC { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | flag: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceC` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `data` is never read [INFO] [stdout] --> tests/integration_memory_leaks.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TestService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestService` 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: field `b` is never read [INFO] [stdout] --> tests/circular.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | struct A { [INFO] [stdout] | - field in this struct [INFO] [stdout] 72 | b: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> tests/circular.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | struct B { [INFO] [stdout] | - field in this struct [INFO] [stdout] 76 | a: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> tests/circular.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 101 | struct X { [INFO] [stdout] | - field in this struct [INFO] [stdout] 102 | y: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `z` is never read [INFO] [stdout] --> tests/circular.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | struct Y { [INFO] [stdout] | - field in this struct [INFO] [stdout] 106 | z: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> tests/circular.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | struct Z { [INFO] [stdout] | - field in this struct [INFO] [stdout] 110 | x: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> tests/circular.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | trait ServiceA: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 138 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> tests/circular.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 141 | trait ServiceB: Send + Sync { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 142 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> tests/circular.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | struct ImplA { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 146 | b: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> tests/circular.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 153 | struct ImplB { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 154 | a: std::sync::Arc, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth` is never read [INFO] [stdout] --> tests/circular.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | struct DeepService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 189 | depth: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user` is never read [INFO] [stdout] --> examples/web_server_scope.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct RequestContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 18 | request_id: String, [INFO] [stdout] 19 | user: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestContext` 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: unused imports: `AtomicU32`, `Mutex`, and `Ordering` [INFO] [stdout] --> tests/regression_benchmarks.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Arc, Mutex, atomic::{AtomicU32, Ordering}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/regression_benchmarks.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `map` are never read [INFO] [stdout] --> tests/regression_benchmarks.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HeavyService { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 30 | id: u32, [INFO] [stdout] 31 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | map: std::collections::HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeavyService` 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: fields `lightweight`, `heavy`, and `computed_value` are never read [INFO] [stdout] --> tests/regression_benchmarks.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DependentService { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 56 | lightweight: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 57 | heavy: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | computed_value: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DependentService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scope_local.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn add_scope_locals(&mut self) -> ScopeLocalBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 316 | pub fn add_scope_locals(&mut self) -> ScopeLocalBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 54.58s [INFO] running `Command { std: "docker" "inspect" "948578d32c592fc20e48a30e3719fcc6aa7d43cdee397a67bc6e250f4287e6d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948578d32c592fc20e48a30e3719fcc6aa7d43cdee397a67bc6e250f4287e6d0", kill_on_drop: false }` [INFO] [stdout] 948578d32c592fc20e48a30e3719fcc6aa7d43cdee397a67bc6e250f4287e6d0