[INFO] cloning repository https://github.com/Manbass/sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Manbass/sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManbass%2Fsample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManbass%2Fsample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3731635710220e0e0353202403d876657f9d9232 [INFO] checking Manbass/sample against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManbass%2Fsample" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Manbass/sample on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Manbass/sample [INFO] finished tweaking git repo https://github.com/Manbass/sample [INFO] tweaked toml for git repo https://github.com/Manbass/sample written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Manbass/sample 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd8dcf5168f0bbaf0a5d2654a4d6fe4b94dac427eacb2530787a10c735cfffb9 [INFO] running `Command { std: "docker" "start" "-a" "bd8dcf5168f0bbaf0a5d2654a4d6fe4b94dac427eacb2530787a10c735cfffb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd8dcf5168f0bbaf0a5d2654a4d6fe4b94dac427eacb2530787a10c735cfffb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd8dcf5168f0bbaf0a5d2654a4d6fe4b94dac427eacb2530787a10c735cfffb9", kill_on_drop: false }` [INFO] [stdout] bd8dcf5168f0bbaf0a5d2654a4d6fe4b94dac427eacb2530787a10c735cfffb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9109f0aa8b5124cdb56547759665b285241583621d64041e2db28b25ac64b623 [INFO] running `Command { std: "docker" "start" "-a" "9109f0aa8b5124cdb56547759665b285241583621d64041e2db28b25ac64b623", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/apple_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/entities/onion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/pear_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/use_cases/process_new_events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/use_cases/update_onion.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::entities::onion::Onion` [INFO] [stdout] --> src/use_cases/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entities::onion::Onion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/use_cases/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/use_cases/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/apple_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/entities/onion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/pear_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/use_cases/process_new_events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/use_cases/update_onion.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::entities::onion::Onion` [INFO] [stdout] --> src/use_cases/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entities::onion::Onion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/use_cases/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/use_cases/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/services/event_processor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | item: SmthItem, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/services/event_processor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | item: SmthItem, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_id` [INFO] [stdout] --> src/services/event_processor.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | some_id: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/services/event_processor.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let tx = Arc::clone(&process_params.tx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_context` [INFO] [stdout] --> src/services/event_processor.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/event_processor.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_id` [INFO] [stdout] --> src/services/event_processor.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | some_id: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/services/event_processor.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let tx = Arc::clone(&process_params.tx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_context` [INFO] [stdout] --> src/services/event_processor.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/event_processor.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_params` [INFO] [stdout] --> src/services/event_processor.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | process_params: &'d mut ProcessParams<'c>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_params` [INFO] [stdout] --> src/services/event_processor.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ingest_params: &'d mut IngestParams, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_params` [INFO] [stdout] --> src/services/event_processor.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | process_params: &'d mut ProcessParams<'c>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_params` [INFO] [stdout] --> src/services/event_processor.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ingest_params: &'d mut IngestParams, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | event: &AppleEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | event: &AppleEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:29:62 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:29:62 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_pear_event` [INFO] [stdout] --> src/services/event_processor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_apple_event` [INFO] [stdout] --> src/services/event_processor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::get_apple_event_kind` [INFO] [stdout] --> src/services/event_processor.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SomeTx<'a>` is more private than the item `InternalTxImplNotFromThere` [INFO] [stdout] --> src/services/event_processor.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type InternalTxImplNotFromThere<'a> = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `InternalTxImplNotFromThere` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SomeTx<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/services/event_processor.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `EventProcessor::new` [INFO] [stdout] --> src/services/event_processor.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn new(params: EventProcessorParams) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `EventProcessor::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnion::get_onion` [INFO] [stdout] --> src/use_cases/get_onion.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn get_onion(&self, some_id: Uuid) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnion::get_onion` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/get_onion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn execute(&self, some_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::process_apple_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::get_apple_event_kind` [INFO] [stdout] --> src/use_cases/process_new_events.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessPearEvent::process_pear_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessPearEvent::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialPearEvents::list_sequential_pear_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / async fn list_sequential_pear_events( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | start_sequence_id: u64, [INFO] [stdout] 38 | | batch_size: u64, [INFO] [stdout] 39 | | ) -> Result>; [INFO] [stdout] | |________________________________^ method `ListSequentialPearEvents::list_sequential_pear_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialAppleEvents::list_sequential_apple_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / async fn list_sequential_apple_events( [INFO] [stdout] 45 | | &self, [INFO] [stdout] 46 | | onion_id: Uuid, [INFO] [stdout] 47 | | apple_id: String, [INFO] [stdout] 48 | | start_sequence_id: u64, [INFO] [stdout] 49 | | batch_size: u64, [INFO] [stdout] 50 | | ) -> Result>; [INFO] [stdout] | |_________________________________^ method `ListSequentialAppleEvents::list_sequential_apple_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessNewEvents::<'_, CCISR>::execute` [INFO] [stdout] --> src/use_cases/process_new_events.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn execute(&mut self, onion_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessNewEvents::<'_, CCISR>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnion::update` [INFO] [stdout] --> src/use_cases/update_onion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / async fn update( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | onion_id: Uuid, [INFO] [stdout] 24 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 25 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 26 | | ) -> Result<()>; [INFO] [stdout] | |____________________^ method `UpdateOnion::update` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/update_onion.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / pub async fn execute( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 38 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 39 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ method `UpdateOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `Result` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `Result` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SomeError` is never constructed [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | #[error("Some error")] [INFO] [stdout] 12 | SomeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: field `cfg` is never read [INFO] [stdout] --> src/services/event_processor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EventProcessor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | // some fields [INFO] [stdout] 24 | cfg: InternalServiecConfigNotFromThere, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventProcessor` 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 `some_field` is never read [INFO] [stdout] --> src/services/event_processor.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 49 | // some tx [INFO] [stdout] 50 | some_field: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct ProcessParams<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct IngestParams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_smth`, `process_smth_item`, `build_ingest_params`, and `build_ingest_context` are never used [INFO] [stdout] --> src/services/event_processor.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 64 | impl EventProcessor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | async fn process_smth<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn process_smth_item<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | async fn build_ingest_params(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn build_ingest_context<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestContextNotFromThere` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct IngestContextNotFromThere<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Smth` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct Smth { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmthItem` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct SmthItem {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/use_cases/process_new_events.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 64 | / impl ProcessNewEvents<'_, CCISR> [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | CCISR: GetOnion + UpdateOnion, [INFO] [stdout] | |__________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | async fn process_new_apple_events(&mut self, apple_id: String, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | async fn process_new_apple_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | async fn update_onion_for_last_apple_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn process_new_pear_events(&mut self, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | async fn process_new_pear_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | async fn update_onion_for_last_pear_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | async fn block_onion(&mut self, onion: &Onion) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_pear_event` [INFO] [stdout] --> src/services/event_processor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_apple_event` [INFO] [stdout] --> src/services/event_processor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::get_apple_event_kind` [INFO] [stdout] --> src/services/event_processor.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SomeTx<'a>` is more private than the item `InternalTxImplNotFromThere` [INFO] [stdout] --> src/services/event_processor.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type InternalTxImplNotFromThere<'a> = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `InternalTxImplNotFromThere` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SomeTx<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/services/event_processor.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `EventProcessor::new` [INFO] [stdout] --> src/services/event_processor.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn new(params: EventProcessorParams) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `EventProcessor::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnion::get_onion` [INFO] [stdout] --> src/use_cases/get_onion.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn get_onion(&self, some_id: Uuid) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnion::get_onion` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/get_onion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn execute(&self, some_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::process_apple_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::get_apple_event_kind` [INFO] [stdout] --> src/use_cases/process_new_events.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessPearEvent::process_pear_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessPearEvent::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialPearEvents::list_sequential_pear_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / async fn list_sequential_pear_events( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | start_sequence_id: u64, [INFO] [stdout] 38 | | batch_size: u64, [INFO] [stdout] 39 | | ) -> Result>; [INFO] [stdout] | |________________________________^ method `ListSequentialPearEvents::list_sequential_pear_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialAppleEvents::list_sequential_apple_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / async fn list_sequential_apple_events( [INFO] [stdout] 45 | | &self, [INFO] [stdout] 46 | | onion_id: Uuid, [INFO] [stdout] 47 | | apple_id: String, [INFO] [stdout] 48 | | start_sequence_id: u64, [INFO] [stdout] 49 | | batch_size: u64, [INFO] [stdout] 50 | | ) -> Result>; [INFO] [stdout] | |_________________________________^ method `ListSequentialAppleEvents::list_sequential_apple_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessNewEvents::<'_, CCISR>::execute` [INFO] [stdout] --> src/use_cases/process_new_events.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn execute(&mut self, onion_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessNewEvents::<'_, CCISR>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnion::update` [INFO] [stdout] --> src/use_cases/update_onion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / async fn update( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | onion_id: Uuid, [INFO] [stdout] 24 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 25 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 26 | | ) -> Result<()>; [INFO] [stdout] | |____________________^ method `UpdateOnion::update` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/update_onion.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / pub async fn execute( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 38 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 39 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ method `UpdateOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `Result` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `Result` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SomeError` is never constructed [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | #[error("Some error")] [INFO] [stdout] 12 | SomeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: field `cfg` is never read [INFO] [stdout] --> src/services/event_processor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EventProcessor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | // some fields [INFO] [stdout] 24 | cfg: InternalServiecConfigNotFromThere, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventProcessor` 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 `some_field` is never read [INFO] [stdout] --> src/services/event_processor.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 49 | // some tx [INFO] [stdout] 50 | some_field: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct ProcessParams<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct IngestParams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_smth`, `process_smth_item`, `build_ingest_params`, and `build_ingest_context` are never used [INFO] [stdout] --> src/services/event_processor.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 64 | impl EventProcessor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | async fn process_smth<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn process_smth_item<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | async fn build_ingest_params(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn build_ingest_context<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestContextNotFromThere` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct IngestContextNotFromThere<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Smth` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct Smth { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmthItem` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct SmthItem {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/use_cases/process_new_events.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 64 | / impl ProcessNewEvents<'_, CCISR> [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | CCISR: GetOnion + UpdateOnion, [INFO] [stdout] | |__________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | async fn process_new_apple_events(&mut self, apple_id: String, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | async fn process_new_apple_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | async fn update_onion_for_last_apple_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn process_new_pear_events(&mut self, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | async fn process_new_pear_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | async fn update_onion_for_last_pear_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | async fn block_onion(&mut self, onion: &Onion) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.63s [INFO] running `Command { std: "docker" "inspect" "9109f0aa8b5124cdb56547759665b285241583621d64041e2db28b25ac64b623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9109f0aa8b5124cdb56547759665b285241583621d64041e2db28b25ac64b623", kill_on_drop: false }` [INFO] [stdout] 9109f0aa8b5124cdb56547759665b285241583621d64041e2db28b25ac64b623 [INFO] checking Manbass/sample against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManbass%2Fsample" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Manbass/sample on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Manbass/sample [INFO] finished tweaking git repo https://github.com/Manbass/sample [INFO] tweaked toml for git repo https://github.com/Manbass/sample written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Manbass/sample 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b1565c68d0e9fb1e6a342154e4b13c11ecd1b807b2e27718ab982df1177b5c6 [INFO] running `Command { std: "docker" "start" "-a" "9b1565c68d0e9fb1e6a342154e4b13c11ecd1b807b2e27718ab982df1177b5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b1565c68d0e9fb1e6a342154e4b13c11ecd1b807b2e27718ab982df1177b5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1565c68d0e9fb1e6a342154e4b13c11ecd1b807b2e27718ab982df1177b5c6", kill_on_drop: false }` [INFO] [stdout] 9b1565c68d0e9fb1e6a342154e4b13c11ecd1b807b2e27718ab982df1177b5c6 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03eb2f76b8a22b59d54b816542cc306efb8f7e788b948d8a95f5675abca3d51c [INFO] running `Command { std: "docker" "start" "-a" "03eb2f76b8a22b59d54b816542cc306efb8f7e788b948d8a95f5675abca3d51c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/apple_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/entities/onion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/pear_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/use_cases/process_new_events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/use_cases/update_onion.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::entities::onion::Onion` [INFO] [stdout] --> src/use_cases/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entities::onion::Onion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/use_cases/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/use_cases/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/apple_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/entities/onion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/entities/pear_event.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/use_cases/process_new_events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/use_cases/update_onion.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::entities::onion::Onion` [INFO] [stdout] --> src/use_cases/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entities::onion::Onion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/use_cases/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/use_cases/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/services/event_processor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | item: SmthItem, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_id` [INFO] [stdout] --> src/services/event_processor.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | some_id: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/services/event_processor.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let tx = Arc::clone(&process_params.tx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_context` [INFO] [stdout] --> src/services/event_processor.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/event_processor.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_params` [INFO] [stdout] --> src/services/event_processor.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | process_params: &'d mut ProcessParams<'c>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_params` [INFO] [stdout] --> src/services/event_processor.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ingest_params: &'d mut IngestParams, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/services/event_processor.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | item: SmthItem, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some_id` [INFO] [stdout] --> src/services/event_processor.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | some_id: Option<&str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_some_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/services/event_processor.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let tx = Arc::clone(&process_params.tx); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_context` [INFO] [stdout] --> src/services/event_processor.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | event: &AppleEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/event_processor.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ingest_context = self [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_params` [INFO] [stdout] --> src/services/event_processor.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | process_params: &'d mut ProcessParams<'c>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingest_params` [INFO] [stdout] --> src/services/event_processor.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ingest_params: &'d mut IngestParams, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingest_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:29:62 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | event: &AppleEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_pear_event` [INFO] [stdout] --> src/services/event_processor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_apple_event` [INFO] [stdout] --> src/services/event_processor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::get_apple_event_kind` [INFO] [stdout] --> src/services/event_processor.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SomeTx<'a>` is more private than the item `InternalTxImplNotFromThere` [INFO] [stdout] --> src/services/event_processor.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type InternalTxImplNotFromThere<'a> = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `InternalTxImplNotFromThere` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SomeTx<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/services/event_processor.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `EventProcessor::new` [INFO] [stdout] --> src/services/event_processor.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn new(params: EventProcessorParams) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `EventProcessor::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnion::get_onion` [INFO] [stdout] --> src/use_cases/get_onion.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn get_onion(&self, some_id: Uuid) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnion::get_onion` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/get_onion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn execute(&self, some_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::process_apple_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::get_apple_event_kind` [INFO] [stdout] --> src/use_cases/process_new_events.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessPearEvent::process_pear_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessPearEvent::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialPearEvents::list_sequential_pear_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / async fn list_sequential_pear_events( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | start_sequence_id: u64, [INFO] [stdout] 38 | | batch_size: u64, [INFO] [stdout] 39 | | ) -> Result>; [INFO] [stdout] | |________________________________^ method `ListSequentialPearEvents::list_sequential_pear_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialAppleEvents::list_sequential_apple_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / async fn list_sequential_apple_events( [INFO] [stdout] 45 | | &self, [INFO] [stdout] 46 | | onion_id: Uuid, [INFO] [stdout] 47 | | apple_id: String, [INFO] [stdout] 48 | | start_sequence_id: u64, [INFO] [stdout] 49 | | batch_size: u64, [INFO] [stdout] 50 | | ) -> Result>; [INFO] [stdout] | |_________________________________^ method `ListSequentialAppleEvents::list_sequential_apple_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessNewEvents::<'_, CCISR>::execute` [INFO] [stdout] --> src/use_cases/process_new_events.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn execute(&mut self, onion_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessNewEvents::<'_, CCISR>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnion::update` [INFO] [stdout] --> src/use_cases/update_onion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / async fn update( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | onion_id: Uuid, [INFO] [stdout] 24 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 25 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 26 | | ) -> Result<()>; [INFO] [stdout] | |____________________^ method `UpdateOnion::update` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/update_onion.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / pub async fn execute( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 38 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 39 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ method `UpdateOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `Result` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `Result` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SomeError` is never constructed [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | #[error("Some error")] [INFO] [stdout] 12 | SomeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: field `cfg` is never read [INFO] [stdout] --> src/services/event_processor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EventProcessor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | // some fields [INFO] [stdout] 24 | cfg: InternalServiecConfigNotFromThere, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventProcessor` 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 `some_field` is never read [INFO] [stdout] --> src/services/event_processor.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 49 | // some tx [INFO] [stdout] 50 | some_field: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct ProcessParams<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct IngestParams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/use_cases/process_new_events.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | onion: Onion, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_smth`, `process_smth_item`, `build_ingest_params`, and `build_ingest_context` are never used [INFO] [stdout] --> src/services/event_processor.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 64 | impl EventProcessor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | async fn process_smth<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn process_smth_item<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | async fn build_ingest_params(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn build_ingest_context<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestContextNotFromThere` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct IngestContextNotFromThere<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Smth` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct Smth { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmthItem` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct SmthItem {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/use_cases/process_new_events.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 64 | / impl ProcessNewEvents<'_, CCISR> [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | CCISR: GetOnion + UpdateOnion, [INFO] [stdout] | |__________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | async fn process_new_apple_events(&mut self, apple_id: String, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | async fn process_new_apple_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | async fn update_onion_for_last_apple_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn process_new_pear_events(&mut self, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | async fn process_new_pear_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | async fn update_onion_for_last_pear_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | async fn block_onion(&mut self, onion: &Onion) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | event: &PearEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:29:62 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `onion` [INFO] [stdout] --> src/services/event_processor.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_onion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/services/event_processor.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_pear_event` [INFO] [stdout] --> src/services/event_processor.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::process_apple_event` [INFO] [stdout] --> src/services/event_processor.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()> { [INFO] [stdout] | ^^^^^ method `::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `::get_apple_event_kind` [INFO] [stdout] --> src/services/event_processor.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SomeTx<'a>` is more private than the item `InternalTxImplNotFromThere` [INFO] [stdout] --> src/services/event_processor.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type InternalTxImplNotFromThere<'a> = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `InternalTxImplNotFromThere` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SomeTx<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/services/event_processor.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `EventProcessor::new` [INFO] [stdout] --> src/services/event_processor.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn new(params: EventProcessorParams) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `EventProcessor::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnion::get_onion` [INFO] [stdout] --> src/use_cases/get_onion.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn get_onion(&self, some_id: Uuid) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnion::get_onion` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `GetOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/get_onion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn execute(&self, some_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GetOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::process_apple_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn process_apple_event(&mut self, event: AppleEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::process_apple_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessAppleEvent::get_apple_event_kind` [INFO] [stdout] --> src/use_cases/process_new_events.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_apple_event_kind(&self, event: AppleEvent) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessAppleEvent::get_apple_event_kind` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessPearEvent::process_pear_event` [INFO] [stdout] --> src/use_cases/process_new_events.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn process_pear_event(&mut self, event: PearEvent, onion: Onion) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessPearEvent::process_pear_event` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialPearEvents::list_sequential_pear_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / async fn list_sequential_pear_events( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | start_sequence_id: u64, [INFO] [stdout] 38 | | batch_size: u64, [INFO] [stdout] 39 | | ) -> Result>; [INFO] [stdout] | |________________________________^ method `ListSequentialPearEvents::list_sequential_pear_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ListSequentialAppleEvents::list_sequential_apple_events` [INFO] [stdout] --> src/use_cases/process_new_events.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / async fn list_sequential_apple_events( [INFO] [stdout] 45 | | &self, [INFO] [stdout] 46 | | onion_id: Uuid, [INFO] [stdout] 47 | | apple_id: String, [INFO] [stdout] 48 | | start_sequence_id: u64, [INFO] [stdout] 49 | | batch_size: u64, [INFO] [stdout] 50 | | ) -> Result>; [INFO] [stdout] | |_________________________________^ method `ListSequentialAppleEvents::list_sequential_apple_events` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `ProcessNewEvents::<'_, CCISR>::execute` [INFO] [stdout] --> src/use_cases/process_new_events.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn execute(&mut self, onion_id: Uuid) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ProcessNewEvents::<'_, CCISR>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnion::update` [INFO] [stdout] --> src/use_cases/update_onion.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / async fn update( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | onion_id: Uuid, [INFO] [stdout] 24 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 25 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 26 | | ) -> Result<()>; [INFO] [stdout] | |____________________^ method `UpdateOnion::update` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `UpdateOnionUseCase::<'_>::execute` [INFO] [stdout] --> src/use_cases/update_onion.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / pub async fn execute( [INFO] [stdout] 35 | | &self, [INFO] [stdout] 36 | | onion_id: Uuid, [INFO] [stdout] 37 | | optional_updates: OnionOptionalUpdates, [INFO] [stdout] 38 | | expected_old_values: ExpectedOldValues, [INFO] [stdout] 39 | | ) -> Result<()> { [INFO] [stdout] | |___________________^ method `UpdateOnionUseCase::<'_>::execute` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Error` is more private than the item `Result` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type alias `Result` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Error` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SomeError` is never constructed [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 11 | #[error("Some error")] [INFO] [stdout] 12 | SomeError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: field `cfg` is never read [INFO] [stdout] --> src/services/event_processor.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EventProcessor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | // some fields [INFO] [stdout] 24 | cfg: InternalServiecConfigNotFromThere, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventProcessor` 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 `some_field` is never read [INFO] [stdout] --> src/services/event_processor.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct SomeTx<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 49 | // some tx [INFO] [stdout] 50 | some_field: &'a str, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct ProcessParams<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestParams` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct IngestParams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_smth`, `process_smth_item`, `build_ingest_params`, and `build_ingest_context` are never used [INFO] [stdout] --> src/services/event_processor.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 64 | impl EventProcessor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | async fn process_smth<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | async fn process_smth_item<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | async fn build_ingest_params(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | async fn build_ingest_context<'c, 'd>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngestContextNotFromThere` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | struct IngestContextNotFromThere<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Smth` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct Smth { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmthItem` is never constructed [INFO] [stdout] --> src/services/event_processor.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct SmthItem {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/use_cases/process_new_events.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 64 | / impl ProcessNewEvents<'_, CCISR> [INFO] [stdout] 65 | | where [INFO] [stdout] 66 | | CCISR: GetOnion + UpdateOnion, [INFO] [stdout] | |__________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | async fn process_new_apple_events(&mut self, apple_id: String, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | async fn process_new_apple_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | async fn update_onion_for_last_apple_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn process_new_pear_events(&mut self, onion: &Onion) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | async fn process_new_pear_event_with_retries( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | async fn update_onion_for_last_pear_event_processed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | async fn block_onion(&mut self, onion: &Onion) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.14s [INFO] running `Command { std: "docker" "inspect" "03eb2f76b8a22b59d54b816542cc306efb8f7e788b948d8a95f5675abca3d51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03eb2f76b8a22b59d54b816542cc306efb8f7e788b948d8a95f5675abca3d51c", kill_on_drop: false }` [INFO] [stdout] 03eb2f76b8a22b59d54b816542cc306efb8f7e788b948d8a95f5675abca3d51c