[INFO] cloning repository https://github.com/silven/clean-arch-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/silven/clean-arch-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilven%2Fclean-arch-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilven%2Fclean-arch-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4017c6424ecbd1b580a08d45b08ceab8c84c9d0 [INFO] checking silven/clean-arch-rust against try#4949cf2f817beadb9a248d423b6d55d6d2398ffe for pr-142681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilven%2Fclean-arch-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/silven/clean-arch-rust [INFO] finished tweaking git repo https://github.com/silven/clean-arch-rust [INFO] tweaked toml for git repo https://github.com/silven/clean-arch-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/silven/clean-arch-rust on toolchain 4949cf2f817beadb9a248d423b6d55d6d2398ffe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/silven/clean-arch-rust 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" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc8ffc72bfb70e74690c6979ecc330b00089d18305733d96ffd94f582bccc77c [INFO] running `Command { std: "docker" "start" "-a" "cc8ffc72bfb70e74690c6979ecc330b00089d18305733d96ffd94f582bccc77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8ffc72bfb70e74690c6979ecc330b00089d18305733d96ffd94f582bccc77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8ffc72bfb70e74690c6979ecc330b00089d18305733d96ffd94f582bccc77c", kill_on_drop: false }` [INFO] [stdout] cc8ffc72bfb70e74690c6979ecc330b00089d18305733d96ffd94f582bccc77c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7e37db13315ad443a0bfc7516ac05869aabb5a6e780a29e1bc0b4ac510955c2 [INFO] running `Command { std: "docker" "start" "-a" "b7e37db13315ad443a0bfc7516ac05869aabb5a6e780a29e1bc0b4ac510955c2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking lru-cache v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking interactor v0.1.1 [INFO] [stderr] Checking rusqlite v0.15.0 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking clean-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/data/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, nll)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct QueryValue<'query>(&'static str, &'query ToSql); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub struct QueryValue<'query>(&'static str, &'query dyn ToSql); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/data/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, nll)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths, nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:36:86 [INFO] [stdout] | [INFO] [stdout] 36 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&ToSql]) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&dyn ToSql]) -> T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:11:82 [INFO] [stdout] | [INFO] [stdout] 11 | fn bind(data: &Self, consumer: F) -> T where F: FnMut(&'static str, &[&ToSql]) -> T; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn bind(data: &Self, consumer: F) -> T where F: FnMut(&'static str, &[&dyn ToSql]) -> T; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct QueryValue<'query>(&'static str, &'query ToSql); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub struct QueryValue<'query>(&'static str, &'query dyn ToSql); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:82:86 [INFO] [stdout] | [INFO] [stdout] 82 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&ToSql]) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&dyn ToSql]) -> T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let bindings: [&ToSql; 1] = [&data.name]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | let bindings: [&dyn ToSql; 1] = [&data.name]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let tags: &ToSql = if joined.len() > 0 { &joined } else { &rusqlite::types::Null }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | let tags: &dyn ToSql = if joined.len() > 0 { &joined } else { &rusqlite::types::Null }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let bindings: [&ToSql; 3] = [&data.desc, &data.done, &tags]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | let bindings: [&dyn ToSql; 3] = [&data.desc, &data.done, &tags]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params: Vec<&ToSql> = Vec::with_capacity(parameters.len()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | let mut params: Vec<&dyn ToSql> = Vec::with_capacity(parameters.len()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:36:86 [INFO] [stdout] | [INFO] [stdout] 36 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&ToSql]) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&dyn ToSql]) -> T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:11:82 [INFO] [stdout] | [INFO] [stdout] 11 | fn bind(data: &Self, consumer: F) -> T where F: FnMut(&'static str, &[&ToSql]) -> T; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn bind(data: &Self, consumer: F) -> T where F: FnMut(&'static str, &[&dyn ToSql]) -> T; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:82:86 [INFO] [stdout] | [INFO] [stdout] 82 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&ToSql]) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn bind(data: &Self, mut consumer: F) -> T where F: FnMut(&'static str, &[&dyn ToSql]) -> T { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let bindings: [&ToSql; 1] = [&data.name]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | let bindings: [&dyn ToSql; 1] = [&data.name]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Searchable` is never used [INFO] [stdout] --> src/domain/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Searchable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all` is never used [INFO] [stdout] --> src/domain/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Repository { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn all(&self) -> Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let tags: &ToSql = if joined.len() > 0 { &joined } else { &rusqlite::types::Null }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | let tags: &dyn ToSql = if joined.len() > 0 { &joined } else { &rusqlite::types::Null }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SearchableRepository` is never used [INFO] [stdout] --> src/domain/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait SearchableRepository : Repository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | let bindings: [&ToSql; 3] = [&data.desc, &data.done, &tags]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | let bindings: [&dyn ToSql; 3] = [&data.desc, &data.done, &tags]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `finish` and `is_done` are never used [INFO] [stdout] --> src/domain/entities.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn finish(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_task` is never used [INFO] [stdout] --> src/domain/entities.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl User { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_task(&mut self, task: Task) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UserSearchTerms` is never used [INFO] [stdout] --> src/domain/entities.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum UserSearchTerms { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_done` is never used [INFO] [stdout] --> src/domain/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn find_all_done(user: &User) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_done_via_id` is never used [INFO] [stdout] --> src/domain/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn find_all_done_via_id>(repo: &R, id: &R::Id) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SQLSearchable` is never used [INFO] [stdout] --> src/data/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait SQLSearchable : Searchable + SQLable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all` is never used [INFO] [stdout] --> src/data/mod.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Rusqlite { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn get_all(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrivialRepository` is never constructed [INFO] [stdout] --> src/data/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct TrivialRepository(Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl TrivialRepository { [INFO] [stdout] | ----------------------------------- associated function in this implementation [INFO] [stdout] 206 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashRepository` is never constructed [INFO] [stdout] --> src/data/mod.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct HashRepository(HashMap); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl HashRepository { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn build_query(creds: &[::Credentials]) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn build_query(creds: &[::Credentials]) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn build_query(creds: &[::Credentials]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn build_query(creds: &[::Credentials]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/mod.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | let mut params: Vec<&ToSql> = Vec::with_capacity(parameters.len()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | let mut params: Vec<&dyn ToSql> = Vec::with_capacity(parameters.len()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all` is never used [INFO] [stdout] --> src/domain/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Repository { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn all(&self) -> Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all` is never used [INFO] [stdout] --> src/data/mod.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Rusqlite { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn get_all(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn build_query(creds: &[::Credentials]) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn build_query(creds: &[::Credentials]) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn build_query(creds: &[::Credentials]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn build_query(creds: &[::Credentials]) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "b7e37db13315ad443a0bfc7516ac05869aabb5a6e780a29e1bc0b4ac510955c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e37db13315ad443a0bfc7516ac05869aabb5a6e780a29e1bc0b4ac510955c2", kill_on_drop: false }` [INFO] [stdout] b7e37db13315ad443a0bfc7516ac05869aabb5a6e780a29e1bc0b4ac510955c2