[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] building silven/clean-arch-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsilven%2Fclean-arch-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/silven/clean-arch-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.7.1 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded linked-hash-map v0.4.2 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded vcpkg v0.2.6 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded lru-cache v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded interactor v0.1.1 [INFO] [stderr] Downloaded rusqlite v0.15.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0d2a89f87e9329f536db83e2dd290a644d581e7c60ce564642ae07adc156f8d [INFO] running `Command { std: "docker" "start" "-a" "a0d2a89f87e9329f536db83e2dd290a644d581e7c60ce564642ae07adc156f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0d2a89f87e9329f536db83e2dd290a644d581e7c60ce564642ae07adc156f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d2a89f87e9329f536db83e2dd290a644d581e7c60ce564642ae07adc156f8d", kill_on_drop: false }` [INFO] [stdout] a0d2a89f87e9329f536db83e2dd290a644d581e7c60ce564642ae07adc156f8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af8da9f879c1f858a239d979cfb6a0761d81d18158a0e3bbe03f31c4904b308 [INFO] running `Command { std: "docker" "start" "-a" "8af8da9f879c1f858a239d979cfb6a0761d81d18158a0e3bbe03f31c4904b308", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.10.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling interactor v0.1.1 [INFO] [stderr] Compiling rusqlite v0.15.0 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling 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: 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 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: 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 `find` is never used [INFO] [stdout] --> src/domain/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait SearchableRepository : Repository { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] 19 | fn find(&self, id: &[T::Credentials], limit: Option) -> Vec; [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: variant `Name` is never constructed [INFO] [stdout] --> src/domain/entities.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum UserSearchTerms { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 64 | Name(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSearchTerms` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "8af8da9f879c1f858a239d979cfb6a0761d81d18158a0e3bbe03f31c4904b308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af8da9f879c1f858a239d979cfb6a0761d81d18158a0e3bbe03f31c4904b308", kill_on_drop: false }` [INFO] [stdout] 8af8da9f879c1f858a239d979cfb6a0761d81d18158a0e3bbe03f31c4904b308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed06419d0e754b133a482101aabcb028d801e8a3b2c57cb22ea64b93512a9f6b [INFO] running `Command { std: "docker" "start" "-a" "ed06419d0e754b133a482101aabcb028d801e8a3b2c57cb22ea64b93512a9f6b", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "ed06419d0e754b133a482101aabcb028d801e8a3b2c57cb22ea64b93512a9f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed06419d0e754b133a482101aabcb028d801e8a3b2c57cb22ea64b93512a9f6b", kill_on_drop: false }` [INFO] [stdout] ed06419d0e754b133a482101aabcb028d801e8a3b2c57cb22ea64b93512a9f6b