[INFO] cloning repository https://github.com/venomous-maker/RustgEloquent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/venomous-maker/RustgEloquent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvenomous-maker%2FRustgEloquent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvenomous-maker%2FRustgEloquent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9847dd6c997bc5878bacca0e5bacbd9d13de2d1 [INFO] checking venomous-maker/RustgEloquent against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvenomous-maker%2FRustgEloquent" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/venomous-maker/RustgEloquent [INFO] finished tweaking git repo https://github.com/venomous-maker/RustgEloquent [INFO] tweaked toml for git repo https://github.com/venomous-maker/RustgEloquent written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/venomous-maker/RustgEloquent on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/venomous-maker/RustgEloquent 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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8715ae7632e57c1a0c384c5fc74c3eba82003235c035eb1320ebe2b6e0ff518a [INFO] running `Command { std: "docker" "start" "-a" "8715ae7632e57c1a0c384c5fc74c3eba82003235c035eb1320ebe2b6e0ff518a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8715ae7632e57c1a0c384c5fc74c3eba82003235c035eb1320ebe2b6e0ff518a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8715ae7632e57c1a0c384c5fc74c3eba82003235c035eb1320ebe2b6e0ff518a", kill_on_drop: false }` [INFO] [stdout] 8715ae7632e57c1a0c384c5fc74c3eba82003235c035eb1320ebe2b6e0ff518a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2207a67dd9696a1b23169abe815850e80674aa4e14b0bfbd794676feb439ac6 [INFO] running `Command { std: "docker" "start" "-a" "b2207a67dd9696a1b23169abe815850e80674aa4e14b0bfbd794676feb439ac6", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking RustEloquent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn associate(&mut self, parent: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_many.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_many.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn associate(&mut self, parent: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_many.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_one.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_many.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_one.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_one.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_many.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn toggle(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn sync_with_pivot_data(&self, data: HashMap>) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_many.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_one.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_one.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | async fn sync(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_one.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn toggle(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn sync_with_pivot_data(&self, data: HashMap>) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | async fn sync(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/db/connection.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | connections.get(conn_name).map(|conn| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/db/connection.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | connections.get(conn_name).map(|conn| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> src/orm/query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Query { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | table: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `foreign_key` is never read [INFO] [stdout] --> src/orm/relations/belongs_to.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsTo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | child: T, [INFO] [stdout] 12 | foreign_key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BelongsTo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_many.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMany { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_one.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasOne { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasOne` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent_key` is never read [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsToMany { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | parent_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BelongsToMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphOne { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasMorphOne` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphMany { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasMorphMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustEloquent` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_eloquent` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> src/orm/query.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Query { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | table: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `foreign_key` is never read [INFO] [stdout] --> src/orm/relations/belongs_to.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsTo { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | child: T, [INFO] [stdout] 12 | foreign_key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BelongsTo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_many.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMany { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_one.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasOne { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasOne` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent_key` is never read [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsToMany { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | parent_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BelongsToMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphOne { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasMorphOne` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_key` is never read [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphMany { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | local_key: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HasMorphMany` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/orm/model.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | async fn restore(&mut self) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 54 - async fn restore(&mut self) -> Result<(), sqlx::Error>; [INFO] [stdout] 54 + fn restore(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/orm/model.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | async fn force_delete(&self) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 55 - async fn force_delete(&self) -> Result<(), sqlx::Error>; [INFO] [stdout] 55 + fn force_delete(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/orm/model.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | async fn restore(&mut self) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 54 - async fn restore(&mut self) -> Result<(), sqlx::Error>; [INFO] [stdout] 54 + fn restore(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/orm/model.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | async fn force_delete(&self) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 55 - async fn force_delete(&self) -> Result<(), sqlx::Error>; [INFO] [stdout] 55 + fn force_delete(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: visibility qualifiers are not permitted here [INFO] [stdout] --> examples/basic_usage.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_id_value(&self) -> Option { [INFO] [stdout] | ^^^ help: remove the qualifier [INFO] [stdout] | [INFO] [stdout] = note: trait items always share the visibility of their trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attributable`, `HasTimestamps`, and `SoftDeletes` [INFO] [stdout] --> src/orm/mod.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | pub use model::{Model, HasTimestamps, SoftDeletes, Attributable}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0449]: visibility qualifiers are not permitted here [INFO] [stdout] --> examples/basic_usage.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_id_value(&self) -> Option { [INFO] [stdout] | ^^^ help: remove the qualifier [INFO] [stdout] | [INFO] [stdout] = note: trait items always share the visibility of their trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttachableRelation`, `BelongsToMany`, `BelongsTo`, `CreatableRelation`, `HasMany`, `HasMorphMany`, `HasMorphOne`, `HasOne`, and `Relation` [INFO] [stdout] --> src/orm/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | Relation, CreatableRelation, AttachableRelation, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | HasOne, HasMany, BelongsTo, BelongsToMany, HasMorphOne, HasMorphMany [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_id_value` is not a member of trait `Model` [INFO] [stdout] --> examples/basic_usage.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_id_value(&self) -> Option { [INFO] [stdout] | ^ ------------ help: there is an associated function with a similar name: `get_key_value` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 67 | | self.id.map(|v| serde_json::Value::Number(serde_json::Number::from(v))) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ not a member of trait `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_id_value` is not a member of trait `Model` [INFO] [stdout] --> examples/basic_usage.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_id_value(&self) -> Option { [INFO] [stdout] | ^ ------------ help: there is an associated function with a similar name: `get_key_value` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 141 | | self.id.map(|v| serde_json::Value::Number(serde_json::Number::from(v))) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ not a member of trait `Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_id_value` found for reference `&User` in the current scope [INFO] [stdout] --> examples/basic_usage.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | self.get_id_value() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_key_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - self.get_id_value() [INFO] [stdout] 72 + self.get_key_value() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attributable`, `HasTimestamps`, and `SoftDeletes` [INFO] [stdout] --> src/orm/mod.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | pub use model::{Model, HasTimestamps, SoftDeletes, Attributable}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttachableRelation`, `BelongsToMany`, `BelongsTo`, `CreatableRelation`, `HasMany`, `HasMorphMany`, `HasMorphOne`, `HasOne`, and `Relation` [INFO] [stdout] --> src/orm/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | Relation, CreatableRelation, AttachableRelation, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | HasOne, HasMany, BelongsTo, BelongsToMany, HasMorphOne, HasMorphMany [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_id_value` found for reference `&Post` in the current scope [INFO] [stdout] --> examples/basic_usage.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | self.get_id_value() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_key_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 - self.get_id_value() [INFO] [stdout] 145 + self.get_key_value() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> examples/basic_usage.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | async fn find(id: i64) -> Result, sqlx::Error> { [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] --> examples/basic_usage.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | async fn find(id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0407, E0449, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0407`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustEloquent` (example "basic_usage") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn associate(&mut self, parent: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_many.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_many.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_many.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_one.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_one.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_one.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn toggle(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn sync_with_pivot_data(&self, data: HashMap>) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | async fn sync(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/orm/relations/belongs_to.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn associate(&mut self, parent: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/db/connection.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | connections.get(conn_name).map(|conn| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_many.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_many.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_many.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_one.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orm/relations/has_one.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | async fn create(&self, mut attributes: HashMap) -> Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_one.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn toggle(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn sync_with_pivot_data(&self, data: HashMap>) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:47 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | async fn sync(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:132:26 [INFO] [stdout] | [INFO] [stdout] 132 | async fn save(&self, model: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/db/connection.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | connections.get(conn_name).map(|conn| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Eloquent` is never used [INFO] [stdout] --> src/orm/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Eloquent: model::Model + Clone + Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Model` is never used [INFO] [stdout] --> src/orm/model.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Model: Serialize + for<'de> Deserialize<'de> + Send + Sync + Clone + 'static { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasTimestamps` is never used [INFO] [stdout] --> src/orm/model.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait HasTimestamps: Model { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SoftDeletes` is never used [INFO] [stdout] --> src/orm/model.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait SoftDeletes: Model { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Attributable` is never used [INFO] [stdout] --> src/orm/model.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Attributable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelInstance` is never constructed [INFO] [stdout] --> src/orm/model.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ModelInstance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_attributes` are never used [INFO] [stdout] --> src/orm/model.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ModelInstance { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 78 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn from_attributes(attributes: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/orm/query.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhereCondition` is never constructed [INFO] [stdout] --> src/orm/query.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WhereCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/orm/query.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderBy` is never constructed [INFO] [stdout] --> src/orm/query.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct OrderBy { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/query.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 43 | / impl Query [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | T: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 46 | { [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn select(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn select_raw(mut self, sql: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn where_clause(mut self, column: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn where_op(mut self, column: &str, operator: &str, value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn where_in(mut self, column: &str, values: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn where_not_in(mut self, column: &str, values: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn where_null(mut self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn where_not_null(mut self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn or_where(mut self, column: &str, operator: &str, value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn join(mut self, table: &str, first: &str, operator: &str, second: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn left_join(mut self, table: &str, first: &str, operator: &str, second: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn right_join(mut self, table: &str, first: &str, operator: &str, second: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn order_by(mut self, column: &str, direction: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn order_by_asc(self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn order_by_desc(self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn latest(self, column: Option<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn oldest(self, column: Option<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn limit(mut self, limit: i64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn offset(mut self, offset: i64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn skip(self, skip: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn take(self, take: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn group_by(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn having(mut self, column: &str, operator: &str, value: Value) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn with(mut self, relations: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn get(self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub async fn first(self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn find_by_id(self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn count(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub async fn exists(self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn paginate(self, page: i64, per_page: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn to_sql(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/orm/query.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Relation` is never used [INFO] [stdout] --> src/orm/relations/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Relation [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CreatableRelation` is never used [INFO] [stdout] --> src/orm/relations/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait CreatableRelation: Relation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AttachableRelation` is never used [INFO] [stdout] --> src/orm/relations/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait AttachableRelation: Relation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelongsTo` is never constructed [INFO] [stdout] --> src/orm/relations/belongs_to.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsTo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `associate`, `dissociate`, `get_foreign_key_value`, and `is_loaded` are never used [INFO] [stdout] --> src/orm/relations/belongs_to.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BelongsTo [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 20 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn new(child: T, foreign_key: Option, owner_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn associate(&mut self, parent: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn dissociate(&mut self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_foreign_key_value(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn is_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasMany` is never constructed [INFO] [stdout] --> src/orm/relations/has_many.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMany { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/relations/has_many.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HasMany [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 20 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn new(parent: T, foreign_key: Option, local_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn order_by(self, column: &str, direction: &str) -> Query { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn limit(self, limit: i64) -> Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasOne` is never constructed [INFO] [stdout] --> src/orm/relations/has_one.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasOne { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `where_clause`, `exists`, `delete`, and `update` are never used [INFO] [stdout] --> src/orm/relations/has_one.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HasOne [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 20 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn new(parent: T, foreign_key: Option, local_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelongsToMany` is never constructed [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsToMany { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl BelongsToMany [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 24 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 25 | { [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_pivot(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_timestamps(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn toggle(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn sync_with_pivot_data(&self, data: HashMap>) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasMorphOne` is never constructed [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphOne { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_morph_type`, `where_clause`, `exists`, `delete`, and `update` are never used [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl HasMorphOne [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 21 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_morph_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasMorphMany` is never constructed [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphMany { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl HasMorphMany [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 21 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_morph_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn order_by(self, column: &str, direction: &str) -> Query { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn limit(self, limit: i64) -> Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn paginate(&self, page: i64, per_page: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DatabaseConnection` is never used [INFO] [stdout] --> src/db/connection.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait DatabaseConnection: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/db/connection.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_connection`, `get_connection`, and `set_default` are never used [INFO] [stdout] --> src/db/connection.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn add_connection(&self, name: &str, connection: T) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_connection(&self, name: Option<&str>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_default(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MySqlConnection` is never constructed [INFO] [stdout] --> src/db/connection.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MySqlConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db/connection.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl MySqlConnection { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 57 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresConnection` is never constructed [INFO] [stdout] --> src/db/connection.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct PostgresConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db/connection.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 112 | impl PostgresConnection { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 113 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteConnection` is never constructed [INFO] [stdout] --> src/db/connection.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct SqliteConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db/connection.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 168 | impl SqliteConnection { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 169 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Eloquent` is never used [INFO] [stdout] --> src/orm/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Eloquent: model::Model + Clone + Sized + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Model` is never used [INFO] [stdout] --> src/orm/model.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Model: Serialize + for<'de> Deserialize<'de> + Send + Sync + Clone + 'static { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasTimestamps` is never used [INFO] [stdout] --> src/orm/model.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait HasTimestamps: Model { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SoftDeletes` is never used [INFO] [stdout] --> src/orm/model.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait SoftDeletes: Model { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Attributable` is never used [INFO] [stdout] --> src/orm/model.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Attributable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelInstance` is never constructed [INFO] [stdout] --> src/orm/model.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ModelInstance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_attributes` are never used [INFO] [stdout] --> src/orm/model.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl ModelInstance { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 78 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn from_attributes(attributes: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Query` is never constructed [INFO] [stdout] --> src/orm/query.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhereCondition` is never constructed [INFO] [stdout] --> src/orm/query.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WhereCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join` is never constructed [INFO] [stdout] --> src/orm/query.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Join { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderBy` is never constructed [INFO] [stdout] --> src/orm/query.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct OrderBy { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/query.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 43 | / impl Query [INFO] [stdout] 44 | | where [INFO] [stdout] 45 | | T: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 46 | { [INFO] [stdout] 47 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn select(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn select_raw(mut self, sql: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn where_clause(mut self, column: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn where_op(mut self, column: &str, operator: &str, value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn where_in(mut self, column: &str, values: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn where_not_in(mut self, column: &str, values: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn where_null(mut self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn where_not_null(mut self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn or_where(mut self, column: &str, operator: &str, value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn join(mut self, table: &str, first: &str, operator: &str, second: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn left_join(mut self, table: &str, first: &str, operator: &str, second: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn right_join(mut self, table: &str, first: &str, operator: &str, second: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn order_by(mut self, column: &str, direction: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn order_by_asc(self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn order_by_desc(self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn latest(self, column: Option<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn oldest(self, column: Option<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn limit(mut self, limit: i64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn offset(mut self, offset: i64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn skip(self, skip: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn take(self, take: i64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn group_by(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn having(mut self, column: &str, operator: &str, value: Value) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn with(mut self, relations: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn get(self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub async fn first(self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub async fn find_by_id(self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub async fn count(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub async fn exists(self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn paginate(self, page: i64, per_page: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn to_sql(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/orm/query.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Relation` is never used [INFO] [stdout] --> src/orm/relations/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Relation [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CreatableRelation` is never used [INFO] [stdout] --> src/orm/relations/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait CreatableRelation: Relation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AttachableRelation` is never used [INFO] [stdout] --> src/orm/relations/mod.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait AttachableRelation: Relation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelongsTo` is never constructed [INFO] [stdout] --> src/orm/relations/belongs_to.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsTo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `associate`, `dissociate`, `get_foreign_key_value`, and `is_loaded` are never used [INFO] [stdout] --> src/orm/relations/belongs_to.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl BelongsTo [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 20 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn new(child: T, foreign_key: Option, owner_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn associate(&mut self, parent: &R) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn dissociate(&mut self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_foreign_key_value(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn is_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasMany` is never constructed [INFO] [stdout] --> src/orm/relations/has_many.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMany { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/relations/has_many.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HasMany [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 20 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn new(parent: T, foreign_key: Option, local_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn order_by(self, column: &str, direction: &str) -> Query { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn limit(self, limit: i64) -> Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasOne` is never constructed [INFO] [stdout] --> src/orm/relations/has_one.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasOne { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `where_clause`, `exists`, `delete`, and `update` are never used [INFO] [stdout] --> src/orm/relations/has_one.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HasOne [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 20 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub fn new(parent: T, foreign_key: Option, local_key: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelongsToMany` is never constructed [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BelongsToMany { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/relations/belongs_to_many.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl BelongsToMany [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 24 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 25 | { [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_pivot(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_timestamps(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn toggle(&self, ids: Vec) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn sync_with_pivot_data(&self, data: HashMap>) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn update_existing_pivot(&self, id: i64, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasMorphOne` is never constructed [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphOne { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_morph_type`, `where_clause`, `exists`, `delete`, and `update` are never used [INFO] [stdout] --> src/orm/relations/has_morph_one.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl HasMorphOne [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 21 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_morph_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn update(&self, attributes: HashMap) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HasMorphMany` is never constructed [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HasMorphMany { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/orm/relations/has_morph_many.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl HasMorphMany [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | T: Model + Send + Sync + 'static, [INFO] [stdout] 21 | | R: Model + Send + Sync + 'static, [INFO] [stdout] | |_____________________________________- associated items in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_morph_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn where_clause(self, column: &str, value: &str) -> Query { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn order_by(self, column: &str, direction: &str) -> Query { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn limit(self, limit: i64) -> Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub async fn count(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn exists(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn delete(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn update(&self, attributes: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn paginate(&self, page: i64, per_page: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DatabaseConnection` is never used [INFO] [stdout] --> src/db/connection.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait DatabaseConnection: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/db/connection.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_connection`, `get_connection`, and `set_default` are never used [INFO] [stdout] --> src/db/connection.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn add_connection(&self, name: &str, connection: T) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_connection(&self, name: Option<&str>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_default(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MySqlConnection` is never constructed [INFO] [stdout] --> src/db/connection.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct MySqlConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db/connection.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl MySqlConnection { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 57 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresConnection` is never constructed [INFO] [stdout] --> src/db/connection.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct PostgresConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db/connection.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 112 | impl PostgresConnection { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 113 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteConnection` is never constructed [INFO] [stdout] --> src/db/connection.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct SqliteConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/db/connection.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 168 | impl SqliteConnection { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 169 | pub async fn new(url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2207a67dd9696a1b23169abe815850e80674aa4e14b0bfbd794676feb439ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2207a67dd9696a1b23169abe815850e80674aa4e14b0bfbd794676feb439ac6", kill_on_drop: false }` [INFO] [stdout] b2207a67dd9696a1b23169abe815850e80674aa4e14b0bfbd794676feb439ac6