[INFO] cloning repository https://github.com/kulinsky/user-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kulinsky/user-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulinsky%2Fuser-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulinsky%2Fuser-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49bafc78e51a32d54cd77f34701e157bd481c2a1 [INFO] testing kulinsky/user-service against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulinsky%2Fuser-service" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kulinsky/user-service [INFO] finished tweaking git repo https://github.com/kulinsky/user-service [INFO] tweaked toml for git repo https://github.com/kulinsky/user-service written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kulinsky/user-service on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kulinsky/user-service 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped-tls v1.0.0 [INFO] [stderr] Downloaded tungstenite v0.14.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.15.0 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded uuid7 v0.2.6 [INFO] [stderr] Downloaded sqlx-rt v0.6.0 [INFO] [stderr] Downloaded sqlx-macros v0.6.0 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded sqlx v0.6.0 [INFO] [stderr] Downloaded rustls v0.20.6 [INFO] [stderr] Downloaded sqlx-core v0.6.0 [INFO] [stderr] Downloaded webpki-roots v0.22.4 [INFO] [stderr] Downloaded rustls-pemfile v1.0.1 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] [stderr] Downloaded hashlink v0.8.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.6 [INFO] [stderr] Downloaded crc-catalog v2.1.0 [INFO] [stderr] Downloaded envconfig_derive v0.10.0 [INFO] [stderr] Downloaded async_once v0.2.6 [INFO] [stderr] Downloaded crossbeam-utils v0.8.11 [INFO] [stderr] Downloaded crc v3.0.0 [INFO] [stderr] Downloaded envconfig v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26 [INFO] running `Command { std: "docker" "start" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling uuid7 v0.2.6 [INFO] [stderr] Compiling async_once v0.2.6 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling envconfig_derive v0.10.0 [INFO] [stderr] Compiling envconfig v0.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling sqlx-rt v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.6.0 [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling sqlx-macros v0.6.0 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling sqlx v0.6.0 [INFO] [stderr] Compiling user-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warp::reject::reject` [INFO] [stdout] --> src/presentation/http_server/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::reject::reject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create` is never used [INFO] [stdout] --> src/application/services/user/repository.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Repository { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | async fn create<'c, C: Queryer<'c>>(&self, db: C, user: &User) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_user` is never used [INFO] [stdout] --> src/application/services/user/service.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 16 | / impl UserService [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | R: Repository, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn create_user(&self, user: &User) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserIDProvider` is never used [INFO] [stdout] --> src/domain/user/value_objects.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait UserIDProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserIDProviderUUID7` is never constructed [INFO] [stdout] --> src/implementation/uuid7_id_provider.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserIDProviderUUID7 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/implementation/uuid7_id_provider.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl UserIDProviderUUID7 { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_conn` is never read [INFO] [stdout] --> src/infrastructure/config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DbConfig { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub max_conn: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, sqlx-core v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling user-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warp::reject::reject` [INFO] [stdout] --> src/presentation/http_server/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::reject::reject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create` is never used [INFO] [stdout] --> src/application/services/user/repository.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Repository { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | async fn create<'c, C: Queryer<'c>>(&self, db: C, user: &User) -> Result<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_user` is never used [INFO] [stdout] --> src/application/services/user/service.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 16 | / impl UserService [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | R: Repository, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn create_user(&self, user: &User) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UserIDProvider` is never used [INFO] [stdout] --> src/domain/user/value_objects.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait UserIDProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserIDProviderUUID7` is never constructed [INFO] [stdout] --> src/implementation/uuid7_id_provider.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserIDProviderUUID7 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/implementation/uuid7_id_provider.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl UserIDProviderUUID7 { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_conn` is never read [INFO] [stdout] --> src/infrastructure/config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DbConfig { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub max_conn: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, sqlx-core v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `warp::reject::reject` [INFO] [stderr] --> src/presentation/http_server/handler.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use warp::reject::reject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `create` is never used [INFO] [stderr] --> src/application/services/user/repository.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait Repository { [INFO] [stderr] | ---------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 13 | async fn create<'c, C: Queryer<'c>>(&self, db: C, user: &User) -> Result<()>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `create_user` is never used [INFO] [stderr] --> src/application/services/user/service.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 16 | / impl UserService [INFO] [stderr] 17 | | where [INFO] [stderr] 18 | | R: Repository, [INFO] [stderr] | |__________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub async fn create_user(&self, user: &User) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `UserIDProvider` is never used [INFO] [stderr] --> src/domain/user/value_objects.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | pub trait UserIDProvider { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserIDProviderUUID7` is never constructed [INFO] [stderr] --> src/implementation/uuid7_id_provider.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct UserIDProviderUUID7 {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/implementation/uuid7_id_provider.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl UserIDProviderUUID7 { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 11 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `max_conn` is never read [INFO] [stderr] --> src/infrastructure/config.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct DbConfig { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | pub max_conn: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `user-service` (bin "user-service" test) generated 7 warnings (run `cargo fix --bin "user-service" -p user-service --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, sqlx-core v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/user_service-884a0c7236c7f153) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26", kill_on_drop: false }` [INFO] [stdout] e0ef3093f85a05ee021ce9588ccc982e5538865b0804b017a2e42bb91673ef26