[INFO] cloning repository https://github.com/Marhead/dairy-back [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marhead/dairy-back" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarhead%2Fdairy-back", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarhead%2Fdairy-back'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c74e392b27ea93e07415c040a9b4cdad598bd047 [INFO] building Marhead/dairy-back against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarhead%2Fdairy-back" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Marhead/dairy-back [INFO] finished tweaking git repo https://github.com/Marhead/dairy-back [INFO] tweaked toml for git repo https://github.com/Marhead/dairy-back written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Marhead/dairy-back on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Marhead/dairy-back 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded uuid v1.18.0 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded libm v0.2.15 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dbe43a6b02defa5401647c6971d90a209a91bfd1328c21750ffd248694a046c [INFO] running `Command { std: "docker" "start" "-a" "3dbe43a6b02defa5401647c6971d90a209a91bfd1328c21750ffd248694a046c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dbe43a6b02defa5401647c6971d90a209a91bfd1328c21750ffd248694a046c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dbe43a6b02defa5401647c6971d90a209a91bfd1328c21750ffd248694a046c", kill_on_drop: false }` [INFO] [stdout] 3dbe43a6b02defa5401647c6971d90a209a91bfd1328c21750ffd248694a046c [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f98fd57f78c8f15e6e7f5b382284a66b9a543bc2a5ad97b83bd7092e3eccdda [INFO] running `Command { std: "docker" "start" "-a" "8f98fd57f78c8f15e6e7f5b382284a66b9a543bc2a5ad97b83bd7092e3eccdda", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling dairy-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | async fn find_by_id(&self, id: Uuid) -> DomainResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | async fn delete(&self, id: Uuid) -> DomainResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | async fn find_by_id(&self, id: Uuid) -> DomainResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `twilio_sid` [INFO] [stdout] --> src/infrastructure/repositories.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | async fn find_by_twilio_sid(&self, twilio_sid: &str) -> DomainResult> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_twilio_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_id` [INFO] [stdout] --> src/infrastructure/repositories.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | async fn find_by_contact_id(&self, contact_id: Uuid) -> DomainResult> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contact` is never constructed [INFO] [stdout] --> src/domain/entities.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Contact { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Call` is never constructed [INFO] [stdout] --> src/domain/entities.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CallStatus` is never used [INFO] [stdout] --> src/domain/entities.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum CallStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_twilio_status` is never used [INFO] [stdout] --> src/domain/entities.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CallStatus { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 40 | pub fn from_twilio_status(status: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateCallRequest` is never constructed [INFO] [stdout] --> src/domain/entities.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CreateCallRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateContactRequest` is never constructed [INFO] [stdout] --> src/domain/entities.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CreateContactRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateCallStatusRequest` is never constructed [INFO] [stdout] --> src/domain/entities.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct UpdateCallStatusRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContactRepository` is never used [INFO] [stdout] --> src/domain/repositories.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait ContactRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CallRepository` is never used [INFO] [stdout] --> src/domain/repositories.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait CallRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CallService` is never used [INFO] [stdout] --> src/domain/services.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait CallService { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ContactNotFound`, `CallNotFound`, `InvalidPhoneNumber`, and `ValidationError` are never constructed [INFO] [stdout] --> src/domain/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DomainError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 5 | #[error("Contact not found: {0}")] [INFO] [stdout] 6 | ContactNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | CallNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidPhoneNumber(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ValidationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomainError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContactRepositoryImpl` is never constructed [INFO] [stdout] --> src/infrastructure/repositories.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ContactRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/infrastructure/repositories.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ContactRepositoryImpl { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(_pool: ()) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallRepositoryImpl` is never constructed [INFO] [stdout] --> src/infrastructure/repositories.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct CallRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/infrastructure/repositories.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl CallRepositoryImpl { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 130 | pub fn new(_pool: ()) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/infrastructure/twilio.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct TwilioCallResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 21 | sid: String, [INFO] [stdout] 22 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TwilioCallResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallServiceImpl` is never constructed [INFO] [stdout] --> src/application/services.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CallServiceImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/services.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl CallServiceImpl [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | CR: CallRepository, [INFO] [stdout] 21 | | CCR: ContactRepository, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub fn new(call_repository: CR, contact_repository: CCR, twilio_client: TwilioClient) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallHandler` is never constructed [INFO] [stdout] --> src/presentation/handlers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CallHandler { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `create_call`, `get_call`, `update_call_status`, `create_contact`, and `get_contacts` are never used [INFO] [stdout] --> src/presentation/handlers.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CallHandler { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new(service: CallServiceImpl) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn create_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get_call( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn update_call_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn create_contact( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn get_contacts( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `To` should have a snake case name [INFO] [stdout] --> src/infrastructure/twilio.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | To: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `to` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `From` should have a snake case name [INFO] [stdout] --> src/infrastructure/twilio.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | From: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Twiml` should have a snake case name [INFO] [stdout] --> src/infrastructure/twilio.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Twiml: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `twiml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8f98fd57f78c8f15e6e7f5b382284a66b9a543bc2a5ad97b83bd7092e3eccdda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f98fd57f78c8f15e6e7f5b382284a66b9a543bc2a5ad97b83bd7092e3eccdda", kill_on_drop: false }` [INFO] [stdout] 8f98fd57f78c8f15e6e7f5b382284a66b9a543bc2a5ad97b83bd7092e3eccdda [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3989d874a6c2c76236d13d4b86e05c1355c593a44dfd2c1dcfd31bc6e3e3d370 [INFO] running `Command { std: "docker" "start" "-a" "3989d874a6c2c76236d13d4b86e05c1355c593a44dfd2c1dcfd31bc6e3e3d370", kill_on_drop: false }` [INFO] [stderr] Compiling dairy-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | async fn find_by_id(&self, id: Uuid) -> DomainResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | async fn delete(&self, id: Uuid) -> DomainResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | async fn find_by_id(&self, id: Uuid) -> DomainResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `twilio_sid` [INFO] [stdout] --> src/infrastructure/repositories.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | async fn find_by_twilio_sid(&self, twilio_sid: &str) -> DomainResult> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_twilio_sid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contact_id` [INFO] [stdout] --> src/infrastructure/repositories.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | async fn find_by_contact_id(&self, contact_id: Uuid) -> DomainResult> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contact_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contact` is never constructed [INFO] [stdout] --> src/domain/entities.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Contact { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Call` is never constructed [INFO] [stdout] --> src/domain/entities.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CallStatus` is never used [INFO] [stdout] --> src/domain/entities.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum CallStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_twilio_status` is never used [INFO] [stdout] --> src/domain/entities.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CallStatus { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 40 | pub fn from_twilio_status(status: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateCallRequest` is never constructed [INFO] [stdout] --> src/domain/entities.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CreateCallRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateContactRequest` is never constructed [INFO] [stdout] --> src/domain/entities.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CreateContactRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateCallStatusRequest` is never constructed [INFO] [stdout] --> src/domain/entities.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct UpdateCallStatusRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContactRepository` is never used [INFO] [stdout] --> src/domain/repositories.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait ContactRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CallRepository` is never used [INFO] [stdout] --> src/domain/repositories.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait CallRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CallService` is never used [INFO] [stdout] --> src/domain/services.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait CallService { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ContactNotFound`, `CallNotFound`, `InvalidPhoneNumber`, and `ValidationError` are never constructed [INFO] [stdout] --> src/domain/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DomainError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 5 | #[error("Contact not found: {0}")] [INFO] [stdout] 6 | ContactNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | CallNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | InvalidPhoneNumber(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ValidationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DomainError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContactRepositoryImpl` is never constructed [INFO] [stdout] --> src/infrastructure/repositories.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ContactRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/infrastructure/repositories.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ContactRepositoryImpl { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(_pool: ()) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallRepositoryImpl` is never constructed [INFO] [stdout] --> src/infrastructure/repositories.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct CallRepositoryImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/infrastructure/repositories.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl CallRepositoryImpl { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 130 | pub fn new(_pool: ()) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/infrastructure/twilio.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct TwilioCallResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 21 | sid: String, [INFO] [stdout] 22 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TwilioCallResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallServiceImpl` is never constructed [INFO] [stdout] --> src/application/services.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CallServiceImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/services.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl CallServiceImpl [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | CR: CallRepository, [INFO] [stdout] 21 | | CCR: ContactRepository, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub fn new(call_repository: CR, contact_repository: CCR, twilio_client: TwilioClient) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallHandler` is never constructed [INFO] [stdout] --> src/presentation/handlers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CallHandler { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `create_call`, `get_call`, `update_call_status`, `create_contact`, and `get_contacts` are never used [INFO] [stdout] --> src/presentation/handlers.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CallHandler { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new(service: CallServiceImpl) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn create_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get_call( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn update_call_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub async fn create_contact( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub async fn get_contacts( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `To` should have a snake case name [INFO] [stdout] --> src/infrastructure/twilio.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | To: String, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `to` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `From` should have a snake case name [INFO] [stdout] --> src/infrastructure/twilio.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | From: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Twiml` should have a snake case name [INFO] [stdout] --> src/infrastructure/twilio.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Twiml: String, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `twiml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3989d874a6c2c76236d13d4b86e05c1355c593a44dfd2c1dcfd31bc6e3e3d370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3989d874a6c2c76236d13d4b86e05c1355c593a44dfd2c1dcfd31bc6e3e3d370", kill_on_drop: false }` [INFO] [stdout] 3989d874a6c2c76236d13d4b86e05c1355c593a44dfd2c1dcfd31bc6e3e3d370