[INFO] fetching crate hexser 0.4.7... [INFO] checking hexser-0.4.7 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] extracting crate hexser 0.4.7 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate hexser 0.4.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hexser 0.4.7 [INFO] tweaked toml for crates.io crate hexser 0.4.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hexser 0.4.7 on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hexser 0.4.7 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hexser_macros v0.4.7 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b37aec51cd0b2221fdfb8eb23b36e1e3a89e59757a1e3d312d7b3a664b1e2529 [INFO] running `Command { std: "docker" "start" "-a" "b37aec51cd0b2221fdfb8eb23b36e1e3a89e59757a1e3d312d7b3a664b1e2529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b37aec51cd0b2221fdfb8eb23b36e1e3a89e59757a1e3d312d7b3a664b1e2529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37aec51cd0b2221fdfb8eb23b36e1e3a89e59757a1e3d312d7b3a664b1e2529", kill_on_drop: false }` [INFO] [stdout] b37aec51cd0b2221fdfb8eb23b36e1e3a89e59757a1e3d312d7b3a664b1e2529 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6430ff42e734779bf73f8feceab22f15f6e51a987a6b0baa98a986c9ecf212 [INFO] running `Command { std: "docker" "start" "-a" "2e6430ff42e734779bf73f8feceab22f15f6e51a987a6b0baa98a986c9ecf212", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling hexser_macros v0.4.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking hexser v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/showcase/visualizable.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_dot(&self) -> crate::result::hex_result::HexResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 23 | self.to_dot() [INFO] [stdout] | ------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/showcase/visualizable.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | fn to_mermaid(&self) -> crate::result::hex_result::HexResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 27 | self.to_mermaid() [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> examples/tutorial_02_repository.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserRepository` is never used [INFO] [stdout] --> examples/tutorial_02_repository.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | trait UserRepository: hexser::ports::Repository { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/cqrs_pattern.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 56 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 57 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Clone`, 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 `repository` is never read [INFO] [stdout] --> examples/cqrs_pattern.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 85 | struct CreateUserHandler { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 86 | repository: InMemoryUserRepository, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/cqrs_pattern.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 113 | struct UserView { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 114 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `title` are never read [INFO] [stdout] --> examples/tutorial_04_application.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 15 | struct Todo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Todo` has a derived impl for the trait `Clone`, 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 variable: `e` [INFO] [stdout] --> examples/transactional_order.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/transactional_order.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | tx.commit().map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/transactional_order.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `items` and `total` are never read [INFO] [stdout] --> examples/transactional_order.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 26 | struct Order { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | items: std::vec::Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | total: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` has derived impls for the traits `Debug` and `Clone`, 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: fields `customer_id` and `timestamp` are never read [INFO] [stdout] --> examples/transactional_order.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 39 | struct OrderCreated { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 40 | order_id: std::string::String, [INFO] [stdout] 41 | customer_id: std::string::String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderCreated` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_committed` is never used [INFO] [stdout] --> examples/transactional_order.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 61 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | fn is_committed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `event_count` is never used [INFO] [stdout] --> examples/transactional_order.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 182 | impl InMemoryEventBus { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn event_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `value` are never read [INFO] [stdout] --> tests/macro_tests.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | struct TestAggregate { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | value: i32, [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/macro_tests.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 32 | struct TestDomain { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 33 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityItem` is never constructed [INFO] [stdout] --> tests/macro_tests.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | struct EntityItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> tests/macro_tests.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 73 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 74 | id: String, [INFO] [stdout] 75 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total` is never read [INFO] [stdout] --> tests/macro_tests.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 93 | struct Order { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 94 | id: u64, [INFO] [stdout] 95 | total: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/macro_tests.rs:112:18 [INFO] [stdout] | [INFO] [stdout] 112 | struct Email(String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Email` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> examples/tutorial_03_adapters.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 15 | struct Todo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] 17 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Todo` has a derived impl for the trait `Clone`, 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: associated function `new` is never used [INFO] [stdout] --> examples/tutorial_03_adapters.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl InMemoryTodoRepository { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 34 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ById` is never constructed [INFO] [stdout] --> examples/tutorial_03_adapters.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 55 | enum TodoFilter { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 56 | All, [INFO] [stdout] 57 | ById(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoFilter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> examples/tutorial_03_adapters.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 60 | enum TodoSortKey { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 61 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoSortKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `email` are never read [INFO] [stdout] --> examples/architecture_visualization.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct Customer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | email: 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: fields `id`, `customer_id`, and `total` are never read [INFO] [stdout] --> examples/architecture_visualization.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 18 | struct Order { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 19 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | customer_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | total: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `price` are never read [INFO] [stdout] --> examples/architecture_visualization.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 25 | struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 26 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_string` is never read [INFO] [stdout] --> examples/architecture_visualization.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 43 | struct PostgresCustomerRepository { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] 44 | connection_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_string` is never read [INFO] [stdout] --> examples/architecture_visualization.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 48 | struct PostgresOrderRepository { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 49 | connection_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `redis_url` is never read [INFO] [stdout] --> examples/architecture_visualization.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 53 | struct RedisProductCache { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 54 | redis_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `customer_id` and `products` are never read [INFO] [stdout] --> examples/architecture_visualization.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 59 | struct CreateOrderDirective { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 60 | customer_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | products: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetCustomerOrdersQuery` is never constructed [INFO] [stdout] --> examples/architecture_visualization.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct GetCustomerOrdersQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> examples/composite_profile.rs:222:60 [INFO] [stdout] | [INFO] [stdout] 222 | let core_profile = self.sql_db.query(user_id).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile2` [INFO] [stdout] --> examples/composite_profile.rs:307:7 [INFO] [stdout] | [INFO] [stdout] 307 | let profile2 = repo.find_by_id("user-001")?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `created_at` are never read [INFO] [stdout] --> examples/composite_profile.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | id: std::string::String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 41 | created_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` has derived impls for the traits `Debug` and `Clone`, 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: method `invalidate` is never used [INFO] [stdout] --> examples/composite_profile.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 143 | impl LruCache { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | fn invalidate(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/showcase/visualizable.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> examples/auth_integration.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 18 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | password_hash: std::string::String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, 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: method `find_by_email` is never used [INFO] [stdout] --> examples/auth_integration.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 30 | trait UserRepository: hexser::ports::repository::Repository { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn find_by_email( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppContext` is never constructed [INFO] [stdout] --> examples/auth_integration.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | struct AppContext { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_in_memory` is never used [INFO] [stdout] --> examples/auth_integration.rs:164:6 [INFO] [stdout] | [INFO] [stdout] 163 | impl AppContext { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 164 | fn new_in_memory() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, and `done` are never read [INFO] [stdout] --> examples/tutorial_02_ports.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 12 | struct Todo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> examples/simple_todo.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 112 | enum TodoSortKey { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 113 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoSortKey` has a derived impl for the trait `Clone`, 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 `id`, `title`, and `done` are never read [INFO] [stdout] --> examples/tutorial_01_hello.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct TodoMore { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | done: bool, [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 `observed_at_iso` is never used [INFO] [stdout] --> examples/weather_adapter.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl Forecast { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn observed_at_iso(&self) -> Option<&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: trait `WeatherPort` is never used [INFO] [stdout] --> examples/weather_adapter.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | trait WeatherPort { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `api_base_url` and `client` are never read [INFO] [stdout] --> examples/weather_adapter.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 75 | struct RestWeatherAdapter { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 76 | api_base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 77 | client: reqwest::blocking::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiWeatherResponse` is never constructed [INFO] [stdout] --> examples/weather_adapter.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct ApiWeatherResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> tests/integration_test.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 31 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 32 | id: String, [INFO] [stdout] 33 | email: Email, [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 `id` is never read [INFO] [stdout] --> tests/integration_test.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | struct Order { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 56 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `value` are never read [INFO] [stdout] --> tests/integration_test.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 93 | struct SimpleAggregate { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 94 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 95 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `done` are never read [INFO] [stdout] --> tests/integration_test.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 119 | struct Todo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 120 | id: String, [INFO] [stdout] 121 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 122 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Todo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> tests/integration_test.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 148 | enum TodoSortKey { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 149 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoSortKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> tests/integration_test.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 330 | struct TodoView { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 331 | id: String, [INFO] [stdout] 332 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoView` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/showcase/visualizable.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | fn to_dot(&self) -> crate::result::hex_result::HexResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 23 | self.to_dot() [INFO] [stdout] | ------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/showcase/visualizable.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | fn to_mermaid(&self) -> crate::result::hex_result::HexResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 27 | self.to_mermaid() [INFO] [stdout] | ----------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/adapters/in_memory_event_bus.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct TestEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 242 | id: std::string::String, [INFO] [stdout] 243 | value: std::string::String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestEvent` has a derived impl for the trait `Clone`, 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 `value` is never read [INFO] [stdout] --> src/application/directive_handler.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct TestDirective { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 62 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/application/query_handler.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct TestResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 61 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/domain/aggregate.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct TestOrder { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 61 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/domain/domain_event.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct TestUserCreated { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 50 | user_id: String, [INFO] [stdout] 51 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/domain/entity.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct TestUser { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 42 | id: u64, [INFO] [stdout] 43 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/infrastructure/config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct TestConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/ports/events/cloud_events_envelope.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 465 | struct TestEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 466 | id: std::string::String, [INFO] [stdout] 467 | data: std::string::String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ports/events/event_codec.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 162 | struct TestEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 163 | id: std::string::String, [INFO] [stdout] 164 | value: std::string::String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/ports/output_port.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct TestRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 51 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ports/query.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct TestQueryResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 55 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NameEquals` and `And` are never constructed [INFO] [stdout] --> src/ports/repository.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 117 | enum TestFilter { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 118 | ById(u64), [INFO] [stdout] 119 | NameEquals(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | All, [INFO] [stdout] 121 | And(Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestFilter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> src/ports/repository.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | enum TestSortKey { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 126 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestSortKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/registry/component_registry.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(count >= 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/registry/inventory_integration.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(components.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.86s [INFO] running `Command { std: "docker" "inspect" "2e6430ff42e734779bf73f8feceab22f15f6e51a987a6b0baa98a986c9ecf212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6430ff42e734779bf73f8feceab22f15f6e51a987a6b0baa98a986c9ecf212", kill_on_drop: false }` [INFO] [stdout] 2e6430ff42e734779bf73f8feceab22f15f6e51a987a6b0baa98a986c9ecf212