[INFO] cloning repository https://github.com/softking229/rust-ddd-master [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/softking229/rust-ddd-master" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftking229%2Frust-ddd-master", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftking229%2Frust-ddd-master'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 589ce783ad51459c8a53f484cf3002c0f3ae6d3b [INFO] checking softking229/rust-ddd-master against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftking229%2Frust-ddd-master" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/softking229/rust-ddd-master [INFO] finished tweaking git repo https://github.com/softking229/rust-ddd-master [INFO] tweaked toml for git repo https://github.com/softking229/rust-ddd-master written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/softking229/rust-ddd-master on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/softking229/rust-ddd-master 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 445d306693c9e2f7c8c42244cc74fad094ae740bfb83f6a115438a50d330b8a6 [INFO] running `Command { std: "docker" "start" "-a" "445d306693c9e2f7c8c42244cc74fad094ae740bfb83f6a115438a50d330b8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "445d306693c9e2f7c8c42244cc74fad094ae740bfb83f6a115438a50d330b8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445d306693c9e2f7c8c42244cc74fad094ae740bfb83f6a115438a50d330b8a6", kill_on_drop: false }` [INFO] [stdout] 445d306693c9e2f7c8c42244cc74fad094ae740bfb83f6a115438a50d330b8a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19b1e086bb59132d7af3b28b55c69840fd5860d8e3a315b938775d23f551baab [INFO] running `Command { std: "docker" "start" "-a" "19b1e086bb59132d7af3b28b55c69840fd5860d8e3a315b938775d23f551baab", kill_on_drop: false }` [INFO] [stderr] Checking rust-ddd-login-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/domain/entities.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | id: String, [INFO] [stdout] 5 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/requests.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client_id: &'a str) -> GetClientUseCaseRequest { [INFO] [stdout] | ^^ ----------------------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client_id: &'a str) -> GetClientUseCaseRequest<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/handlers.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(client_repository: &dyn ClientRepository) -> CreateClientUseCaseHandler { [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] 12 | pub fn new(client_repository: &dyn ClientRepository) -> CreateClientUseCaseHandler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/handlers.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(client_repository: &dyn ClientRepository) -> GetClientUseCaseHandler { [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] 34 | pub fn new(client_repository: &dyn ClientRepository) -> GetClientUseCaseHandler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/handlers.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(client_repository: &dyn ClientRepository) -> GetAllClientsUseCaseHandler { [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] 53 | pub fn new(client_repository: &dyn ClientRepository) -> GetAllClientsUseCaseHandler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/domain/entities.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 4 | id: String, [INFO] [stdout] 5 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/requests.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client_id: &'a str) -> GetClientUseCaseRequest { [INFO] [stdout] | ^^ ----------------------- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client_id: &'a str) -> GetClientUseCaseRequest<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/handlers.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(client_repository: &dyn ClientRepository) -> CreateClientUseCaseHandler { [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] 12 | pub fn new(client_repository: &dyn ClientRepository) -> CreateClientUseCaseHandler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/handlers.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(client_repository: &dyn ClientRepository) -> GetClientUseCaseHandler { [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] 34 | pub fn new(client_repository: &dyn ClientRepository) -> GetClientUseCaseHandler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/application/handlers.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(client_repository: &dyn ClientRepository) -> GetAllClientsUseCaseHandler { [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] 53 | pub fn new(client_repository: &dyn ClientRepository) -> GetAllClientsUseCaseHandler<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "19b1e086bb59132d7af3b28b55c69840fd5860d8e3a315b938775d23f551baab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b1e086bb59132d7af3b28b55c69840fd5860d8e3a315b938775d23f551baab", kill_on_drop: false }` [INFO] [stdout] 19b1e086bb59132d7af3b28b55c69840fd5860d8e3a315b938775d23f551baab