[INFO] cloning repository https://github.com/EstebanBorai/rust-patterns-ddd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EstebanBorai/rust-patterns-ddd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanBorai%2Frust-patterns-ddd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanBorai%2Frust-patterns-ddd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ea347693e9e38525b985a8680b94fd19b60a64f [INFO] checking EstebanBorai/rust-patterns-ddd against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanBorai%2Frust-patterns-ddd" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EstebanBorai/rust-patterns-ddd on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EstebanBorai/rust-patterns-ddd [INFO] finished tweaking git repo https://github.com/EstebanBorai/rust-patterns-ddd [INFO] tweaked toml for git repo https://github.com/EstebanBorai/rust-patterns-ddd written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/EstebanBorai/rust-patterns-ddd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011291b760dedd6552544b0c9d7465cfd071006aea01bda2d5dfd77244850fb4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "011291b760dedd6552544b0c9d7465cfd071006aea01bda2d5dfd77244850fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011291b760dedd6552544b0c9d7465cfd071006aea01bda2d5dfd77244850fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011291b760dedd6552544b0c9d7465cfd071006aea01bda2d5dfd77244850fb4", kill_on_drop: false }` [INFO] [stdout] 011291b760dedd6552544b0c9d7465cfd071006aea01bda2d5dfd77244850fb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d75b48e83d4245316c57cd4862501988858340c3d389f92879484ef6a0f6ee47 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d75b48e83d4245316c57cd4862501988858340c3d389f92879484ef6a0f6ee47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking async_once v0.2.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking sqlx-rt v0.2.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Checking sqlx-core v0.4.2 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Checking sqlx v0.4.2 [INFO] [stderr] Checking rust-patterns-ddd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `find_one` [INFO] [stdout] --> src/application/services/domain/user/service.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn find_one(&self, id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_one` [INFO] [stdout] --> src/application/services/domain/user/service.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn find_one(&self, id: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/application/services/domain/user/service.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn update(&self, id: &Uuid, user: dto::NewUserDTO) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/application/services/domain/user/service.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn update(&self, id: &Uuid, user: dto::NewUserDTO) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ping` [INFO] [stdout] --> src/infrastructure/database.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn ping() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ping` [INFO] [stdout] --> src/infrastructure/database.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn ping() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "d75b48e83d4245316c57cd4862501988858340c3d389f92879484ef6a0f6ee47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75b48e83d4245316c57cd4862501988858340c3d389f92879484ef6a0f6ee47", kill_on_drop: false }` [INFO] [stdout] d75b48e83d4245316c57cd4862501988858340c3d389f92879484ef6a0f6ee47