[INFO] cloning repository https://github.com/SoapyDev/Harmony_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SoapyDev/Harmony_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoapyDev%2FHarmony_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoapyDev%2FHarmony_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93c2f06bcd44f77bf5778fdf21aa8ac9787c39a0 [INFO] checking SoapyDev/Harmony_server against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoapyDev%2FHarmony_server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SoapyDev/Harmony_server on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SoapyDev/Harmony_server [INFO] finished tweaking git repo https://github.com/SoapyDev/Harmony_server [INFO] tweaked toml for git repo https://github.com/SoapyDev/Harmony_server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SoapyDev/Harmony_server 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pki-types v1.1.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.10 [INFO] [stderr] Downloaded http-body v1.0.0 [INFO] [stderr] Downloaded bincode_derive v2.0.0-rc.3 [INFO] [stderr] Downloaded http-body-util v0.1.0 [INFO] [stderr] Downloaded aead v0.5.2 [INFO] [stderr] Downloaded axum-core v0.4.3 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded axum v0.7.4 [INFO] [stderr] Downloaded rustix v0.38.28 [INFO] [stderr] Downloaded arc-swap v1.6.0 [INFO] [stderr] Downloaded h2 v0.4.0 [INFO] [stderr] Downloaded http v1.0.0 [INFO] [stderr] Downloaded hyper v1.1.0 [INFO] [stderr] Downloaded hyper-util v0.1.2 [INFO] [stderr] Downloaded linux-raw-sys v0.4.12 [INFO] [stderr] Downloaded axum-server v0.6.0 [INFO] [stderr] Downloaded virtue v0.0.13 [INFO] [stderr] Downloaded bincode v2.0.0-rc.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded rustls-webpki v0.102.1 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded bcrypt v0.15.0 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded cipher v0.4.4 [INFO] [stderr] Downloaded universal-hash v0.5.1 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded rustls-pemfile v2.0.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.18 [INFO] [stderr] Downloaded ahash v0.8.7 [INFO] [stderr] Downloaded proc-macro2 v1.0.75 [INFO] [stderr] Downloaded inout v0.1.3 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97d27ae908bed1de068c31cf696d17cfd356237abacba85743f3e5a2cdfb106e [INFO] running `Command { std: "docker" "start" "-a" "97d27ae908bed1de068c31cf696d17cfd356237abacba85743f3e5a2cdfb106e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d27ae908bed1de068c31cf696d17cfd356237abacba85743f3e5a2cdfb106e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d27ae908bed1de068c31cf696d17cfd356237abacba85743f3e5a2cdfb106e", kill_on_drop: false }` [INFO] [stdout] 97d27ae908bed1de068c31cf696d17cfd356237abacba85743f3e5a2cdfb106e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b7ccfcde2a43a45572dd525e51b7182fe4fd4688bb4e6a761eac079f9f68358 [INFO] running `Command { std: "docker" "start" "-a" "7b7ccfcde2a43a45572dd525e51b7182fe4fd4688bb4e6a761eac079f9f68358", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking rustls-pki-types v1.1.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Compiling rustls v0.22.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking rustls-webpki v0.102.1 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking bcrypt v0.15.0 [INFO] [stderr] Checking axum-server v0.6.0 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Compiling sqlx-mysql v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking middleman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MySql`, `Row` [INFO] [stdout] --> src/test/user.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{MySql, Row}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool::PoolConnection` [INFO] [stdout] --> src/test/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::pool::PoolConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_db_url` [INFO] [stdout] --> src/test/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::get_db_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserToken`, `User` [INFO] [stdout] --> src/test/user.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::user::{User, UserToken}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySql` [INFO] [stdout] --> src/test/beneficiary.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::MySql; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool::PoolConnection` [INFO] [stdout] --> src/test/beneficiary.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::pool::PoolConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_db_url` [INFO] [stdout] --> src/test/beneficiary.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::get_db_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeneficiaryAction`, `BeneficiaryQueries`, `Beneficiary` [INFO] [stdout] --> src/test/beneficiary.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::beneficiary::{Beneficiary, BeneficiaryAction, BeneficiaryQueries}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserRole` [INFO] [stdout] --> src/test/beneficiary.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::schema::user::{UserRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySql` [INFO] [stdout] --> src/test/details.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::MySql; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool::PoolConnection` [INFO] [stdout] --> src/test/details.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::pool::PoolConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_db_url` [INFO] [stdout] --> src/test/details.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::get_db_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeneficiaryQueries`, `Beneficiary` [INFO] [stdout] --> src/test/details.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::beneficiary::{Beneficiary, BeneficiaryQueries}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeneficiaryAllergy`, `BeneficiaryNotes`, `BeneficiaryPresence`, `Details`, `TokenAllergy`, `TokenNote`, `TokenPresence` [INFO] [stdout] --> src/test/details.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::schema::details::{BeneficiaryAllergy, BeneficiaryNotes, BeneficiaryPresence, Details, TokenAllergy, TokenNote, TokenPresence}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::user::UserRole` [INFO] [stdout] --> src/test/details.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::schema::user::UserRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySql` [INFO] [stdout] --> src/test/stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::MySql; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool::PoolConnection` [INFO] [stdout] --> src/test/stats.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::pool::PoolConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_db_url` [INFO] [stdout] --> src/test/stats.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::get_db_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::stats::Stats` [INFO] [stdout] --> src/test/stats.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::stats::Stats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySql` [INFO] [stdout] --> src/test/category.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::MySql; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::pool::PoolConnection` [INFO] [stdout] --> src/test/category.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::pool::PoolConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::get_db_url` [INFO] [stdout] --> src/test/category.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::get_db_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema::category::Categories` [INFO] [stdout] --> src/test/category.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::category::Categories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.75s [INFO] running `Command { std: "docker" "inspect" "7b7ccfcde2a43a45572dd525e51b7182fe4fd4688bb4e6a761eac079f9f68358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b7ccfcde2a43a45572dd525e51b7182fe4fd4688bb4e6a761eac079f9f68358", kill_on_drop: false }` [INFO] [stdout] 7b7ccfcde2a43a45572dd525e51b7182fe4fd4688bb4e6a761eac079f9f68358 [INFO] checking SoapyDev/Harmony_server against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSoapyDev%2FHarmony_server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SoapyDev/Harmony_server on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SoapyDev/Harmony_server [INFO] finished tweaking git repo https://github.com/SoapyDev/Harmony_server [INFO] tweaked toml for git repo https://github.com/SoapyDev/Harmony_server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SoapyDev/Harmony_server 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c693fcebfe88b64fd32c3445f1922d255392e3ff99a245b71e8e62a3ddaacc21 [INFO] running `Command { std: "docker" "start" "-a" "c693fcebfe88b64fd32c3445f1922d255392e3ff99a245b71e8e62a3ddaacc21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c693fcebfe88b64fd32c3445f1922d255392e3ff99a245b71e8e62a3ddaacc21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c693fcebfe88b64fd32c3445f1922d255392e3ff99a245b71e8e62a3ddaacc21", kill_on_drop: false }` [INFO] [stdout] c693fcebfe88b64fd32c3445f1922d255392e3ff99a245b71e8e62a3ddaacc21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44aa21e1dc2fbe4e87e7591e4f5c6808217d9f6e3b67488192688c28bd2806aa [INFO] running `Command { std: "docker" "start" "-a" "44aa21e1dc2fbe4e87e7591e4f5c6808217d9f6e3b67488192688c28bd2806aa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking slab v0.4.9 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking rustls-pki-types v1.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling rustls v0.22.2 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rustls-webpki v0.102.1 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Checking sqlx-core v0.7.3 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking bcrypt v0.15.0 [INFO] [stderr] Checking axum-server v0.6.0 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking sqlx-mysql v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking middleman v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/test/stats.rs (4 fixes) [INFO] [stderr] Fixed src/test/category.rs (4 fixes) [INFO] [stderr] Fixed src/test/beneficiary.rs (5 fixes) [INFO] [stderr] Fixed src/test/user.rs (4 fixes) [INFO] [stderr] Fixed src/test/details.rs (6 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.70s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking middleman v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0412]: cannot find type `UserToken` in this scope [INFO] [stdout] --> src/test/user.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) async fn make_user_token() -> UserToken { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::user::UserToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserToken` in this scope [INFO] [stdout] --> src/test/user.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | UserToken { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::user::UserToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> src/test/user.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | User: User { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::user::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolConnection` in this scope [INFO] [stdout] --> src/test/user.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use sqlx::pool::PoolConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySql` in this scope [INFO] [stdout] --> src/test/user.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::MySql; [INFO] [stdout] | [INFO] [stdout] 3 + use sqlx::MySql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/test/user.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | let db = get_db_url(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRole` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) async fn make_user_role() -> UserRole{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::user::UserRole; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRole` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | let user: Option = sqlx::query_as("SELECT Username, Role FROM User") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::user::UserRole; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserRole` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | user.unwrap_or_else(|| UserRole { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::user::UserRole; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolConnection` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::pool::PoolConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySql` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MySql; [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::MySql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | let db = get_db_url(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beneficiary` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn make_beneficiary() -> Beneficiary{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beneficiary` in this scope [INFO] [stdout] --> src/test/beneficiary.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let beneficiary: Option = sqlx::query_as(&format!("{} ORDER BY Id DESC LIMIT 1",BeneficiaryQueries::SelectAdminDetails)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BeneficiaryQueries` [INFO] [stdout] --> src/test/beneficiary.rs:23:98 [INFO] [stdout] | [INFO] [stdout] 23 | let beneficiary: Option = sqlx::query_as(&format!("{} ORDER BY Id DESC LIMIT 1",BeneficiaryQueries::SelectAdminDetails)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BeneficiaryQueries` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::BeneficiaryQueries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beneficiary` [INFO] [stdout] --> src/test/beneficiary.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = Beneficiary::create_beneficiary(get_conn().await, make_user_role().await).await; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Beneficiary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BeneficiaryQueries` [INFO] [stdout] --> src/test/beneficiary.rs:32:67 [INFO] [stdout] | [INFO] [stdout] 32 | sqlx::query_as(&format!("{} ORDER BY Id DESC LIMIT 1",BeneficiaryQueries::SelectAdminDetails)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BeneficiaryQueries` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::BeneficiaryQueries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beneficiary` [INFO] [stdout] --> src/test/beneficiary.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let res = Beneficiary::create_beneficiary(conn, user).await; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Beneficiary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beneficiary` [INFO] [stdout] --> src/test/beneficiary.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let res = Beneficiary::update_beneficiary(conn, user, beneficiary).await; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Beneficiary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beneficiary` [INFO] [stdout] --> src/test/beneficiary.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let res = Beneficiary::get_beneficiary(conn, user, beneficiary.Id).await; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Beneficiary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beneficiary` [INFO] [stdout] --> src/test/beneficiary.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let res = Beneficiary::get_beneficiaries(conn, user).await; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Beneficiary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRole` in this scope [INFO] [stdout] --> src/test/details.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) async fn make_user_role() -> UserRole{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::user::UserRole; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRole` in this scope [INFO] [stdout] --> src/test/details.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | let user: Option = sqlx::query_as("SELECT Username, Role FROM User") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::user::UserRole; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserRole` in this scope [INFO] [stdout] --> src/test/details.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | user.unwrap_or_else(|| UserRole { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::user::UserRole; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beneficiary` in this scope [INFO] [stdout] --> src/test/details.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) async fn make_beneficiary() -> Beneficiary{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beneficiary` in this scope [INFO] [stdout] --> src/test/details.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let beneficiary: Option = sqlx::query_as(&format!("{} ORDER BY Id DESC LIMIT 1",BeneficiaryQueries::SelectAdminDetails)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BeneficiaryQueries` [INFO] [stdout] --> src/test/details.rs:17:98 [INFO] [stdout] | [INFO] [stdout] 17 | let beneficiary: Option = sqlx::query_as(&format!("{} ORDER BY Id DESC LIMIT 1",BeneficiaryQueries::SelectAdminDetails)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BeneficiaryQueries` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::beneficiary::BeneficiaryQueries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beneficiary` [INFO] [stdout] --> src/test/details.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | ... let _ = Beneficiary::create_beneficiary(crate::test::beneficiary::get_conn().await, crate::test::beneficiary::make_user_role().awai... [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Beneficiary` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::beneficiary::Beneficiary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BeneficiaryQueries` [INFO] [stdout] --> src/test/details.rs:26:67 [INFO] [stdout] | [INFO] [stdout] 26 | sqlx::query_as(&format!("{} ORDER BY Id DESC LIMIT 1",BeneficiaryQueries::SelectAdminDetails)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BeneficiaryQueries` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::beneficiary::BeneficiaryQueries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TokenAllergy` in this scope [INFO] [stdout] --> src/test/details.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let token_allergy = TokenAllergy{ [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::TokenAllergy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BeneficiaryAllergy` in this scope [INFO] [stdout] --> src/test/details.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | Allergy: BeneficiaryAllergy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::BeneficiaryAllergy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TokenPresence` in this scope [INFO] [stdout] --> src/test/details.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let token_presence = TokenPresence{ [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::TokenPresence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BeneficiaryPresence` in this scope [INFO] [stdout] --> src/test/details.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | Presence: BeneficiaryPresence { BeneficiaryId: beneficiary.Id, Date: "2023-02-10".to_string() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::BeneficiaryPresence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TokenNote` in this scope [INFO] [stdout] --> src/test/details.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let beneficiary_note = TokenNote { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::TokenNote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BeneficiaryNotes` in this scope [INFO] [stdout] --> src/test/details.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | Content: BeneficiaryNotes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::BeneficiaryNotes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TokenNote` in this scope [INFO] [stdout] --> src/test/details.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | let beneficiary_note = TokenNote { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::TokenNote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BeneficiaryNotes` in this scope [INFO] [stdout] --> src/test/details.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | Content: BeneficiaryNotes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::BeneficiaryNotes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Details` [INFO] [stdout] --> src/test/details.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | let res = Details::get_details(conn,user, beneficiary.Id).await; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Details` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::schema::details::Details; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolConnection` in this scope [INFO] [stdout] --> src/test/details.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use sqlx::pool::PoolConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySql` in this scope [INFO] [stdout] --> src/test/details.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use crate::MySql; [INFO] [stdout] | [INFO] [stdout] 3 + use sqlx::MySql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/test/details.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | let db = get_db_url(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use crate::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stats` [INFO] [stdout] --> src/test/stats.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | let stats = Stats::get_stats(conn).await; [INFO] [stdout] | ^^^^^ use of undeclared type `Stats` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::stats::Stats; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolConnection` in this scope [INFO] [stdout] --> src/test/stats.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::pool::PoolConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySql` in this scope [INFO] [stdout] --> src/test/stats.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MySql; [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::MySql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/test/stats.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let db = get_db_url(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Categories` in this scope [INFO] [stdout] --> src/test/category.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | async fn make_category()-> Categories { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::category::Categories; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolConnection` in this scope [INFO] [stdout] --> src/test/category.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::pool::PoolConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MySql` in this scope [INFO] [stdout] --> src/test/category.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn get_conn() -> PoolConnection{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MySql; [INFO] [stdout] | [INFO] [stdout] 2 + use sqlx::MySql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_db_url` in this scope [INFO] [stdout] --> src/test/category.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | let db = get_db_url(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::get_db_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Categories` in this scope [INFO] [stdout] --> src/test/category.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let category = Categories { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::category::Categories; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Categories` [INFO] [stdout] --> src/test/category.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let res = Categories::select_categories(conn).await; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Categories` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::schema::category::Categories; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `middleman` (bin "middleman" test) due to 52 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "44aa21e1dc2fbe4e87e7591e4f5c6808217d9f6e3b67488192688c28bd2806aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44aa21e1dc2fbe4e87e7591e4f5c6808217d9f6e3b67488192688c28bd2806aa", kill_on_drop: false }` [INFO] [stdout] 44aa21e1dc2fbe4e87e7591e4f5c6808217d9f6e3b67488192688c28bd2806aa