[INFO] fetching crate sqlorm 0.4.20... [INFO] building sqlorm-0.4.20 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sqlorm 0.4.20 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate sqlorm 0.4.20 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sqlorm 0.4.20 [INFO] tweaked toml for crates.io crate sqlorm 0.4.20 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlorm 0.4.20 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sqlorm 0.4.20 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded tokio-macros v2.5.0 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded fastrand v2.3.0 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded webpki-roots v0.26.11 [INFO] [stderr] Downloaded icu_properties_data v2.0.1 [INFO] [stderr] Downloaded wasite v0.1.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.26 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded concurrent-queue v2.5.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded dotenvy v0.15.7 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded lazy_static v1.5.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded flume v0.11.1 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded clap v4.5.47 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded async-trait v0.1.89 [INFO] [stderr] Downloaded crossbeam-deque v0.8.6 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded rand_core v0.9.3 [INFO] [stderr] Downloaded sqlorm-core v0.4.20 [INFO] [stderr] Downloaded same-file v1.0.6 [INFO] [stderr] Downloaded rand_chacha v0.9.0 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded der v0.7.10 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded hkdf v0.12.4 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded regex-automata v0.4.10 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.0 [INFO] [stderr] Downloaded hashbrown v0.16.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.6 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.6 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.0 [INFO] [stderr] Downloaded tokio v1.47.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.6 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded itertools v0.13.0 [INFO] [stderr] Downloaded foldhash v0.2.0 [INFO] [stderr] Downloaded ring v0.17.14 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded bumpalo v3.19.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded regex-syntax v0.8.6 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.1 [INFO] [stderr] Downloaded base64ct v1.8.0 [INFO] [stderr] Downloaded hmac v0.12.1 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded num-iter v0.1.45 [INFO] [stderr] Downloaded pem-rfc7468 v0.7.0 [INFO] [stderr] Downloaded web-sys v0.3.78 [INFO] [stderr] Downloaded spki v0.7.3 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded clap_builder v4.5.47 [INFO] [stderr] Downloaded etcetera v0.8.0 [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded rustls v0.23.31 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded icu_normalizer v2.0.0 [INFO] [stderr] Downloaded icu_collections v2.0.0 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded js-sys v0.3.78 [INFO] [stderr] Downloaded zerocopy v0.8.26 [INFO] [stderr] Downloaded icu_provider v2.0.0 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded synstructure v0.13.2 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded windows-targets v0.52.6 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded rand v0.9.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.24 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded tinystr v0.8.1 [INFO] [stderr] Downloaded zerotrie v0.2.2 [INFO] [stderr] Downloaded smallvec v1.15.1 [INFO] [stderr] Downloaded errno v0.3.13 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.18 [INFO] [stderr] Downloaded walkdir v2.5.0 [INFO] [stderr] Downloaded sqlorm-macros v0.4.20 [INFO] [stderr] Downloaded pkcs8 v0.10.2 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded zerocopy-derive v0.8.26 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded num-traits v0.2.19 [INFO] [stderr] Downloaded event-listener v5.4.1 [INFO] [stderr] Downloaded hashlink v0.10.0 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded typenum v1.18.0 [INFO] [stderr] Downloaded windows-sys v0.59.0 [INFO] [stderr] Downloaded icu_locale_core v2.0.0 [INFO] [stderr] Downloaded yoke v0.8.0 [INFO] [stderr] Downloaded log v0.4.28 [INFO] [stderr] Downloaded signature v2.2.0 [INFO] [stderr] Downloaded writeable v0.6.1 [INFO] [stderr] Downloaded displaydoc v0.2.5 [INFO] [stderr] Downloaded yoke-derive v0.8.0 [INFO] [stderr] Downloaded zerofrom-derive v0.1.6 [INFO] [stderr] Downloaded idna_adapter v1.2.1 [INFO] [stderr] Downloaded utf8_iter v1.0.4 [INFO] [stderr] Downloaded linux-raw-sys v0.9.4 [INFO] [stderr] Downloaded percent-encoding v2.3.2 [INFO] [stderr] Downloaded windows-link v0.1.3 [INFO] [stderr] Downloaded serde_urlencoded v0.7.1 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.21 [INFO] [stderr] Downloaded shlex v1.3.0 [INFO] [stderr] Downloaded untrusted v0.9.0 [INFO] [stderr] Downloaded zerofrom v0.1.6 [INFO] [stderr] Downloaded zerovec-derive v0.11.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded futures-intrusive v0.5.0 [INFO] [stderr] Downloaded futures-task v0.3.31 [INFO] [stderr] Downloaded litemap v0.8.0 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded futures-core v0.3.31 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.6 [INFO] [stderr] Downloaded parking_lot_core v0.9.11 [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded cpufeatures v0.2.17 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.52.6 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded rand_core v0.6.4 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded android-tzdata v0.1.1 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.2 [INFO] [stderr] Downloaded windows-sys v0.48.0 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded parking v2.2.1 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded version_check v0.9.5 [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded miniz_oxide v0.8.9 [INFO] [stderr] Downloaded backtrace v0.3.75 [INFO] [stderr] Downloaded io-uring v0.7.10 [INFO] [stderr] Downloaded tinyvec_macros v0.1.1 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded pkg-config v0.3.32 [INFO] [stderr] Downloaded vcpkg v0.2.15 [INFO] [stderr] Downloaded android_system_properties v0.1.5 [INFO] [stderr] Downloaded windows-result v0.3.4 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded libm v0.2.15 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] [stderr] Downloaded futures-util v0.3.31 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded getrandom v0.2.16 [INFO] [stderr] Downloaded const-oid v0.9.6 [INFO] [stderr] Downloaded sha2 v0.10.9 [INFO] [stderr] Downloaded webpki-roots v1.0.2 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded gimli v0.31.1 [INFO] [stderr] Downloaded addr2line v0.24.2 [INFO] [stderr] Downloaded adler2 v2.0.1 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded bytes v1.10.1 [INFO] [stderr] Downloaded wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded pin-project-lite v0.2.16 [INFO] [stderr] Downloaded slab v0.4.11 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.6 [INFO] [stderr] Downloaded cfg-if v1.0.3 [INFO] [stderr] Downloaded pkcs1 v0.7.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded rand v0.8.5 [INFO] [stderr] Downloaded futures-executor v0.3.31 [INFO] [stderr] Downloaded base64 v0.22.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded parking_lot v0.12.4 [INFO] [stderr] Downloaded futures-io v0.3.31 [INFO] [stderr] Downloaded pin-utils v0.1.0 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded itoa v1.0.15 [INFO] [stderr] Downloaded ryu v1.0.20 [INFO] [stderr] Downloaded crypto-common v0.1.6 [INFO] [stderr] Downloaded digest v0.10.7 [INFO] [stderr] Downloaded rustls-pki-types v1.12.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.16 [INFO] [stderr] Downloaded tracing-attributes v0.1.30 [INFO] [stderr] Downloaded tracing-core v0.1.34 [INFO] [stderr] Downloaded tracing v0.1.41 [INFO] [stderr] Downloaded form_urlencoded v1.2.2 [INFO] [stderr] Downloaded icu_normalizer_data v2.0.0 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Downloaded getrandom v0.3.3 [INFO] [stderr] Downloaded md-5 v0.10.6 [INFO] [stderr] Downloaded ppv-lite86 v0.2.21 [INFO] [stderr] Downloaded tinyvec v1.10.0 [INFO] [stderr] Downloaded unicode-properties v0.1.3 [INFO] [stderr] Downloaded atoi v2.0.0 [INFO] [stderr] Downloaded futures-channel v0.3.31 [INFO] [stderr] Downloaded core-foundation-sys v0.8.7 [INFO] [stderr] Downloaded windows-strings v0.4.2 [INFO] [stderr] Downloaded crossbeam-queue v0.3.12 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded futures-sink v0.3.31 [INFO] [stderr] Downloaded equivalent v1.0.2 [INFO] [stderr] Downloaded block-buffer v0.10.4 [INFO] [stderr] Downloaded zeroize v1.8.1 [INFO] [stderr] Downloaded thiserror v2.0.16 [INFO] [stderr] Downloaded once_cell v1.21.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.101 [INFO] [stderr] Downloaded generic-array v0.14.7 [INFO] [stderr] Downloaded mio v1.0.4 [INFO] [stderr] Downloaded r-efi v5.3.0 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded subtle v2.6.1 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] [stderr] Downloaded socket2 v0.6.0 [INFO] [stderr] Downloaded syn v2.0.106 [INFO] [stderr] Downloaded rustix v1.0.8 [INFO] [stderr] Downloaded icu_properties v2.0.1 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded wasm-bindgen v0.2.101 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.101 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.101 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c570f6e5449b7428bfa19fc9136f2e34c1d82851af229db5f38c0457f370bf2 [INFO] running `Command { std: "docker" "start" "-a" "7c570f6e5449b7428bfa19fc9136f2e34c1d82851af229db5f38c0457f370bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c570f6e5449b7428bfa19fc9136f2e34c1d82851af229db5f38c0457f370bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c570f6e5449b7428bfa19fc9136f2e34c1d82851af229db5f38c0457f370bf2", kill_on_drop: false }` [INFO] [stdout] 7c570f6e5449b7428bfa19fc9136f2e34c1d82851af229db5f38c0457f370bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8e6ad23157d9177b1929b6307dc0dd51385df8526ebfb62380924fa05f8bde3 [INFO] running `Command { std: "docker" "start" "-a" "e8e6ad23157d9177b1929b6307dc0dd51385df8526ebfb62380924fa05f8bde3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sqlorm-core v0.4.20 [INFO] [stderr] Compiling sqlorm-macros v0.4.20 [INFO] [stderr] Compiling sqlorm v0.4.20 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.95s [INFO] running `Command { std: "docker" "inspect" "e8e6ad23157d9177b1929b6307dc0dd51385df8526ebfb62380924fa05f8bde3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e6ad23157d9177b1929b6307dc0dd51385df8526ebfb62380924fa05f8bde3", kill_on_drop: false }` [INFO] [stdout] e8e6ad23157d9177b1929b6307dc0dd51385df8526ebfb62380924fa05f8bde3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d50fc84dac2e99f6a5c3eee0790b34dc9a11a649775c790eb8fc3edbcc50a06 [INFO] running `Command { std: "docker" "start" "-a" "4d50fc84dac2e99f6a5c3eee0790b34dc9a11a649775c790eb8fc3edbcc50a06", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sqlorm-core v0.4.20 [INFO] [stderr] Compiling sqlorm-macros v0.4.20 [INFO] [stderr] Compiling sqlorm v0.4.20 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> examples/relations/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::sqlx` [INFO] [stdout] --> examples/relations/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlorm::sqlx::Executor; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> examples/basic/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> examples/relations/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[table(name = "users")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/relations/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 17 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/relations/main.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[sql(relation(has_many -> Post, relation = "posts", on = user_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 18 | #[sqlx(relation(has_many -> Post, relation = "posts", on = user_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/relations/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 20 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table` in this scope [INFO] [stdout] --> examples/relations/main.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[table(name = "posts")] [INFO] [stdout] | ^^^^^ help: a built-in attribute with a similar name exists: `stable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/relations/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 36 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/relations/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(belongs_to -> User, relation = "user", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(belongs_to -> User, relation = "user", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::sqlx` [INFO] [stdout] --> examples/basic/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlorm::sqlx::Executor; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> examples/basic/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> tests/common/entities.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/common/entities.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `sqlorm` [INFO] [stdout] --> tests/common/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::sqlx::migrate::MigrateError; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/basic/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/basic/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 40 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/basic/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/basic/main.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 47 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::GenericExecutor` [INFO] [stdout] --> examples/crud/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlorm::GenericExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `GenericExecutor` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> examples/crud/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::sqlx` [INFO] [stdout] --> examples/crud/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlorm::sqlx::Executor as SqlxExecutor; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> examples/crud/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::GenericExecutor` [INFO] [stdout] --> tests/limit_offset.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlorm::GenericExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `GenericExecutor` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> tests/common/entities.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/common/entities.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `sqlorm` [INFO] [stdout] --> tests/common/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::sqlx::migrate::MigrateError; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::Pool` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::Pool; [INFO] [stdout] | ^^^^^^^^^^^^ no `Pool` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 - use sqlorm::Pool; [INFO] [stdout] 3 + use sqlx::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::create_clean_db` [INFO] [stdout] --> tests/limit_offset.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use common::create_clean_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `create_clean_db` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 66 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 75 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 17 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 10 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> tests/common/entities.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sql(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 12 | #[sqlx(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/common/entities.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `sqlorm` [INFO] [stdout] --> tests/common/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::sqlx::migrate::MigrateError; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 14 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::Pool` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::Pool; [INFO] [stdout] | ^^^^^^^^^^^^ no `Pool` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 - use sqlorm::Pool; [INFO] [stdout] 3 + use sqlx::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 25 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 26 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> tests/common/entities.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 27 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 30 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::create_clean_db` [INFO] [stdout] --> tests/timestamps.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use common::create_clean_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `create_clean_db` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 66 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 75 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/timestamps.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/common/entities.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `sqlorm` [INFO] [stdout] --> tests/common/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::sqlx::migrate::MigrateError; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 37 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 34 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::Pool` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::Pool; [INFO] [stdout] | ^^^^^^^^^^^^ no `Pool` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 - use sqlorm::Pool; [INFO] [stdout] 3 + use sqlx::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 39 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 10 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 51 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sql(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 12 | #[sqlx(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 53 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 55 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::create_clean_db` [INFO] [stdout] --> tests/relations.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use common::create_clean_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `create_clean_db` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 66 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 75 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `common::entities::JarExecutor`, `common::entities::UserExecutor` [INFO] [stdout] --> tests/relations.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use common::entities::{JarExecutor, UserExecutor}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ no `UserExecutor` in `common::entities` [INFO] [stdout] | | [INFO] [stdout] | no `JarExecutor` in `common::entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 41 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 14 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `common::entities::JarRelations`, `common::entities::UserRelations` [INFO] [stdout] --> tests/relations.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use common::entities::{JarRelations, UserRelations}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `UserRelations` in `common::entities` [INFO] [stdout] | | [INFO] [stdout] | no `JarRelations` in `common::entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 62 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 43 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 66 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 10 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 26 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[sql(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 68 | #[sqlx(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sql(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 12 | #[sqlx(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 75 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 30 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 77 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 14 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 37 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 50 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 79 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 26 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 30 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 37 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 51 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 53 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 55 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 54 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 51 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 62 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 53 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[sql(relation(belongs_to -> User, relation = "donor", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 56 | #[sqlx(relation(belongs_to -> User, relation = "donor", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 66 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 55 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[sql(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 68 | #[sqlx(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 62 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 75 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 66 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[sql(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 68 | #[sqlx(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 77 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 75 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 58 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 79 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 77 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> examples/crud/main.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 60 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 79 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 15 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 18 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 21 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[sql(timestamp(created_at, chrono::Utc::now().naive_utc()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 32 | #[sqlx(timestamp(created_at, chrono::Utc::now().naive_utc()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::Pool` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::Pool; [INFO] [stdout] | ^^^^^^^^^^^^ no `Pool` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 - use sqlorm::Pool; [INFO] [stdout] 3 + use sqlx::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[sql(timestamp(updated_at, chrono::Utc::now().naive_utc()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 35 | #[sqlx(timestamp(updated_at, chrono::Utc::now().naive_utc()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> tests/common/entities.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 42 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[sql(timestamp(created_at, get_custom_timestamp()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 46 | #[sqlx(timestamp(created_at, get_custom_timestamp()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/common/entities.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `sqlorm` [INFO] [stdout] --> tests/common/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::sqlx::migrate::MigrateError; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/timestamps.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(timestamp(updated_at, get_custom_timestamp()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(timestamp(updated_at, get_custom_timestamp()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::Pool` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::Pool; [INFO] [stdout] | ^^^^^^^^^^^^ no `Pool` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 - use sqlorm::Pool; [INFO] [stdout] 3 + use sqlx::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::create_clean_db` [INFO] [stdout] --> tests/select.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use common::create_clean_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `create_clean_db` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 66 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 75 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::GenericExecutor` [INFO] [stdout] --> tests/select.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlorm::GenericExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `GenericExecutor` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 10 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::StatementExecutor` [INFO] [stdout] --> tests/crud.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::StatementExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatementExecutor` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sql(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 12 | #[sqlx(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 14 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::create_clean_db` [INFO] [stdout] --> tests/crud.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use common::create_clean_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `create_clean_db` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 66 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 75 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::entities::UserExecutor` [INFO] [stdout] --> tests/crud.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::entities::UserExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `UserExecutor` in `common::entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 26 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 10 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 30 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 37 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sql(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 12 | #[sqlx(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 14 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 51 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 26 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 53 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 55 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 62 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 30 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 37 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 66 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[sql(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 68 | #[sqlx(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 75 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 77 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 51 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 79 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 53 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 55 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 62 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 66 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[sql(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 68 | #[sqlx(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 75 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 77 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 79 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> examples/basic/main.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let user = User::new("alice@example.com", "alice", "Alice", "Smith") [INFO] [stdout] | ________________- [INFO] [stdout] 88 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> examples/relations/main.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | let user = User::new("john_doe").save(&pool).await?; [INFO] [stdout] | ^^^^ method not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let user = user.save(pool).await.expect("Failed to save user"); [INFO] [stdout] | ^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `User` in the current scope [INFO] [stdout] --> examples/basic/main.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 94 | let found_user = User::find_by_id(&pool, user.id) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::new` which returns `User` [INFO] [stdout] --> examples/basic/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(email: &str, username: &str, first_name: &str, last_name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | let user1 = User::test_user("owner1@example.com", "owner1") [INFO] [stdout] | _________________- [INFO] [stdout] 10 | | .save(pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> examples/basic/main.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 108 | let users_named_alice = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::new` which returns `User` [INFO] [stdout] --> examples/basic/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(email: &str, username: &str, first_name: &str, last_name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::prelude` [INFO] [stdout] --> tests/common/entities.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIRST_NAME` found for struct `User` in the current scope [INFO] [stdout] --> examples/basic/main.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct User { [INFO] [stdout] | --------------- associated item `FIRST_NAME` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 109 | .filter(User::FIRST_NAME.eq("Alice".to_string())) [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::table` [INFO] [stdout] --> tests/common/entities.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::table; [INFO] [stdout] | ^^^^^^^^^^^^^ no `table` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sqlx` in `sqlorm` [INFO] [stdout] --> tests/common/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlorm::sqlx::migrate::MigrateError; [INFO] [stdout] | ^^^^ could not find `sqlx` in `sqlorm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlorm::Pool` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlorm::Pool; [INFO] [stdout] | ^^^^^^^^^^^^ no `Pool` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 - use sqlorm::Pool; [INFO] [stdout] 3 + use sqlx::Pool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 14 | / User::test_user(&email, &username) [INFO] [stdout] 15 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common::create_clean_db` [INFO] [stdout] --> tests/filters.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use common::create_clean_db; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `create_clean_db` in `common` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(feature = "postgres")] [INFO] [stdout] | -------------------- the item is gated behind the `postgres` feature [INFO] [stdout] 66 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> tests/common/mod.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 75 | pub async fn create_clean_db() -> Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Post` in the current scope [INFO] [stdout] --> examples/relations/main.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Post { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 98 | let post1 = Post::new(user.id, "First Post").save(&pool).await?; [INFO] [stdout] | ^^^^ method not found in `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `common::entities::JarExecutor`, `common::entities::UserExecutor` [INFO] [stdout] --> tests/filters.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use common::entities::{JarExecutor, UserExecutor}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ no `UserExecutor` in `common::entities` [INFO] [stdout] | | [INFO] [stdout] | no `JarExecutor` in `common::entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | let user2 = User::test_user("owner2@example.com", "owner2") [INFO] [stdout] | _________________- [INFO] [stdout] 15 | | .save(pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 10 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let jar = jar.save(pool).await.expect("Failed to save jar"); [INFO] [stdout] | ^^^^ method not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[sql(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 11 | #[sqlx(relation(has_many -> Jar, relation = "jars", on = owner_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | let results: Vec<(String, String)> = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | let alice = User { [INFO] [stdout] | _________________- [INFO] [stdout] 148 | | email: "alice@example.com".to_string(), [INFO] [stdout] 149 | | username: "alice".to_string(), [INFO] [stdout] 150 | | first_name: "Alice".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 155 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[sql(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 12 | #[sqlx(relation(has_many -> Donation, relation = "payed_donations", on = payer_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 14 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 19 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 26 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Post` in the current scope [INFO] [stdout] --> examples/relations/main.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Post { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | let post2 = Post::new(user.id, "Second Post").save(&pool).await?; [INFO] [stdout] | ^^^^ method not found in `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 28 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let donation = donation.save(pool).await.expect("Failed to save donation"); [INFO] [stdout] | ^^^^ method not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 30 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 37 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[sql(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 38 | #[sqlx(relation(has_many -> Donation, relation = "donations", on = jar_id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[sql(unique)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 45 | #[sqlx(unique)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:166:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 159 | let bob = User { [INFO] [stdout] | _______________- [INFO] [stdout] 160 | | email: "bob@example.com".to_string(), [INFO] [stdout] 161 | | username: "bob".to_string(), [INFO] [stdout] 162 | | first_name: "Bob".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 166 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[sql(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 49 | #[sqlx(relation(belongs_to -> User, relation = "owner", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 51 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 53 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 55 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[sql(pk)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 62 | #[sqlx(pk)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[sql(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 66 | #[sqlx(relation(belongs_to -> Jar, relation = "jar", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (example "basic") due to 11 previous errors [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[sql(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 68 | #[sqlx(relation(belongs_to -> User, relation = "payer", on = id))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[sql(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 75 | #[sqlx(timestamp(deleted_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[sql(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 77 | #[sqlx(timestamp(created_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `sql` in this scope [INFO] [stdout] --> tests/common/entities.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[sql(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macros `Decode`, `Encode`, `FromRow` and `Type` accept the similarly named `sqlx` attribute [INFO] [stdout] | [INFO] [stdout] 79 | #[sqlx(timestamp(updated_at, chrono::Utc::now()))] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> examples/crud/main.rs:178:6 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 171 | let alice_jar = Jar { [INFO] [stdout] | _____________________- [INFO] [stdout] 172 | | title: "Alice's Coffee Fund".to_string(), [INFO] [stdout] 173 | | description: Some("Help Alice buy better coffee for coding sessions".to_string()), [INFO] [stdout] 174 | | goal: Some(100.0), [INFO] [stdout] ... | [INFO] [stdout] 178 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `Jar` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let jar1 = jar1.save(pool).await.expect("Failed to save jar1"); [INFO] [stdout] | ^^^^ method not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Donation` in the current scope [INFO] [stdout] --> examples/crud/main.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Donation { [INFO] [stdout] | ------------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 183 | let donation1 = Donation { [INFO] [stdout] | _____________________- [INFO] [stdout] 184 | | amount: 25.0, [INFO] [stdout] 185 | | message: Some("Great initiative Alice!".to_string()), [INFO] [stdout] 186 | | jar_id: alice_jar.id, [INFO] [stdout] ... | [INFO] [stdout] 190 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `Donation` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> examples/relations/main.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 131 | let loaded_user = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::new` which returns `User` [INFO] [stdout] --> examples/relations/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:197:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 197 | let found_alice = User::find_by_id(&pool, alice.id) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> examples/relations/main.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | .filter(User::ID.eq(user.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let jar2 = jar2.save(pool).await.expect("Failed to save jar2"); [INFO] [stdout] | ^^^^ method not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_email` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_email` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 203 | let found_by_email = User::find_by_email(&pool, "bob@example.com".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | let (id, email): (i64, String) = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Post` in the current scope [INFO] [stdout] --> examples/relations/main.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Post { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 141 | let loaded_post = Post::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Post` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Post`, consider using `Post::new` which returns `Post` [INFO] [stdout] --> examples/relations/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(user_id: i64, title: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 37 | / User::test_user(&email, &username) [INFO] [stdout] 38 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | .filter(User::ID.eq(user.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `ChronoEntity` in the current scope [INFO] [stdout] --> tests/timestamps.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChronoEntity { [INFO] [stdout] | ----------------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | let saved_entity = entity [INFO] [stdout] | ________________________- [INFO] [stdout] 72 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `ChronoEntity` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | let results: Vec<(String, String)> = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | .select((User::ID, User::EMAIL)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/relations.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | let donation1 = Donation::test_donation(jar1.id, user2.id, 25.0) [INFO] [stdout] | _____________________- [INFO] [stdout] 28 | | .save(pool) [INFO] [stdout] | | -^^^^ method not found in `Donation` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | let users_with_bio = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | .select((User::ID, User::EMAIL)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BIO` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- associated item `BIO` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 210 | .filter(User::BIO.is_not_null()) [INFO] [stdout] | ^^^ associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/relations.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 32 | let donation2 = Donation::test_donation(jar2.id, user1.id, 50.0) [INFO] [stdout] | _____________________- [INFO] [stdout] 33 | | .save(pool) [INFO] [stdout] | | -^^^^ method not found in `Donation` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:46:82 [INFO] [stdout] | [INFO] [stdout] 46 | let (id, email, username, first_name): (i64, String, String, String) = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:227:71 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 227 | let user_summaries: Vec<(String, String, Option)> = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `NaiveDateTimeEntity` in the current scope [INFO] [stdout] --> tests/timestamps.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct NaiveDateTimeEntity { [INFO] [stdout] | ------------------------------ method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 123 | let saved_entity = entity [INFO] [stdout] | ________________________- [INFO] [stdout] 124 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `NaiveDateTimeEntity` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | let user = User::test_user("test@example.com", "testuser") [INFO] [stdout] | ________________- [INFO] [stdout] 13 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Post` in the current scope [INFO] [stdout] --> examples/relations/main.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Post { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 142 | .filter(Post::ID.eq(post1.id)) [INFO] [stdout] | ^^ associated item not found in `Post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .filter(User::ID.eq(user.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 228 | .select((User::USERNAME, User::EMAIL, User::BIO)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:228:40 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 228 | .select((User::USERNAME, User::EMAIL, User::BIO)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let mut found_user = User::find_by_id(&pool, user.id) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_id` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BIO` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:228:53 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- associated item `BIO` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 228 | .select((User::USERNAME, User::EMAIL, User::BIO)) [INFO] [stdout] | ^^^ associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 64 | / User::test_user(&email, &username) [INFO] [stdout] 65 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `CustomTimestampEntity` in the current scope [INFO] [stdout] --> tests/timestamps.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CustomTimestampEntity { [INFO] [stdout] | -------------------------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | let saved_entity = entity [INFO] [stdout] | ________________________- [INFO] [stdout] 166 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `CustomTimestampEntity` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:70:48 [INFO] [stdout] | [INFO] [stdout] 70 | let results: Vec<(String, String)> = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> examples/crud/main.rs:242:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 242 | let total_users = User::query().fetch_all(&pool).await?.len(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | .select((User::ID, User::EMAIL, User::USERNAME, User::FIRST_NAME)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_email` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let found_by_email = User::find_by_email(&pool, "test@example.com".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_email` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | .select((User::ID, User::EMAIL, User::USERNAME, User::FIRST_NAME)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Donation` in the current scope [INFO] [stdout] --> examples/crud/main.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Donation { [INFO] [stdout] | ------------------- function or associated item `query` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 243 | let total_donations = Donation::query().fetch_all(&pool).await?.len(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | .columns(User::USERNAME) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/limit_offset.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (example "relations") due to 16 previous errors [INFO] [stdout] error[E0599]: no method named `save` found for struct `ChronoEntity` in the current scope [INFO] [stdout] --> tests/timestamps.rs:208:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChronoEntity { [INFO] [stdout] | ----------------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 208 | let saved_entity = entity.save(&pool).await.expect("Failed to save entity"); [INFO] [stdout] | ^^^^ method not found in `ChronoEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | .select((User::ID, User::EMAIL, User::USERNAME, User::FIRST_NAME)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let verified_user = User::find_by_id(&pool, user.id) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_id` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `FIRST_NAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | .select((User::ID, User::EMAIL, User::USERNAME, User::FIRST_NAME)) [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `FIRST_NAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let all_users = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `ChronoEntity` in the current scope [INFO] [stdout] --> tests/timestamps.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChronoEntity { [INFO] [stdout] | ----------------------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 233 | let saved_entity = entity.save(&pool).await.expect("Failed to save entity"); [INFO] [stdout] | ^^^^ method not found in `ChronoEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 64 | let (alias, owner_id, title): (String, i64, String) = Jar::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | .filter(Jar::ID.eq(jar.id)) [INFO] [stdout] | ^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ALIAS` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | .select((Jar::ALIAS, Jar::OWNER_ID, Jar::TITLE)) [INFO] [stdout] | ^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `ALIAS` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 61 | let new_user = User { [INFO] [stdout] | ____________________- [INFO] [stdout] 62 | | email: "insert@example.com".to_string(), [INFO] [stdout] 63 | | username: "insert_user".to_string(), [INFO] [stdout] 64 | | password: "secret".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 69 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | saved_users.push(user.save(pool).await.expect("Failed to save user")); [INFO] [stdout] | ^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `OWNER_ID` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | .select((Jar::ALIAS, Jar::OWNER_ID, Jar::TITLE)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `OWNER_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let all_users = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `TITLE` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | .select((Jar::ALIAS, Jar::OWNER_ID, Jar::TITLE)) [INFO] [stdout] | ^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `TITLE` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | let (id, jar_id, amount): (Uuid, i64, f64) = Donation::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Donation`, consider using `Donation::test_donation` which returns `Donation` [INFO] [stdout] --> tests/common/entities.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn test_donation(jar_id: i64, payer_id: i64, amount: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | .filter(Donation::ID.eq(donation.id.clone())) [INFO] [stdout] | ^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (example "crud") due to 31 previous errors [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | .select((Donation::ID, Donation::JAR_ID, Donation::AMOUNT)) [INFO] [stdout] | ^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `JAR_ID` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | .select((Donation::ID, Donation::JAR_ID, Donation::AMOUNT)) [INFO] [stdout] | ^^^^^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `JAR_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `AMOUNT` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:82:60 [INFO] [stdout] | [INFO] [stdout] 82 | .select((Donation::ID, Donation::JAR_ID, Donation::AMOUNT)) [INFO] [stdout] | ^^^^^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `AMOUNT` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `owner` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 45 | let owner = jar1 [INFO] [stdout] | _________________- [INFO] [stdout] 46 | | .owner(&pool) [INFO] [stdout] | | -^^^^^ method not found in `Jar` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `owner` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 96 | let user = User::test_user("force@example.com", "forceuser") [INFO] [stdout] | ________________- [INFO] [stdout] 97 | | .insert(&pool) [INFO] [stdout] | | -^^^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #3: `ppv_lite86::types::Vec4` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 97 | .avatar_url.insert(&pool) [INFO] [stdout] | +++++++++++ [INFO] [stdout] 97 | .bio.insert(&pool) [INFO] [stdout] | ++++ [INFO] [stdout] 97 | .deleted_at.insert(&pool) [INFO] [stdout] | +++++++++++ [INFO] [stdout] 97 | .email.insert(&pool) [INFO] [stdout] | ++++++ [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:97:77 [INFO] [stdout] | [INFO] [stdout] 97 | let (id, bio, wallpaper): (i64, Option, Option) = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | .filter(User::ID.eq(user.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (test "limit_offset") due to 39 previous errors [INFO] [stdout] error[E0599]: no method named `jar` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/relations.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 53 | let jar = donation1 [INFO] [stdout] | _______________- [INFO] [stdout] 54 | | .jar(&pool) [INFO] [stdout] | | -^^^ method not found in `Donation` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- method `jar` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | let found = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | .select((User::ID, User::BIO, User::WALLPAPER_URL)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `payer` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/relations.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 61 | let payer = donation1 [INFO] [stdout] | _________________- [INFO] [stdout] 62 | | .payer(&pool) [INFO] [stdout] | | -^^^^^ method not found in `Donation` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- method `payer` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | .filter(User::EMAIL.eq("eq1@example.com".to_string())) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 116 | let user = User::test_user("jarowner@example.com", "jarowner") [INFO] [stdout] | ________________- [INFO] [stdout] 117 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (test "timestamps") due to 42 previous errors [INFO] [stdout] error[E0599]: no associated item named `BIO` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | .select((User::ID, User::BIO, User::WALLPAPER_URL)) [INFO] [stdout] | ^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `BIO` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `WALLPAPER_URL` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | .select((User::ID, User::BIO, User::WALLPAPER_URL)) [INFO] [stdout] | ^^^^^^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `WALLPAPER_URL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/crud.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 121 | let jar = Jar::test_jar(user.id, "testjar") [INFO] [stdout] | _______________- [INFO] [stdout] 122 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `Jar` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | .filter(User::EMAIL.ne("eq1@example.com".to_string())) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | let jar_with_owner = Jar::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | let gt_results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_alias` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/crud.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let found_jar = Jar::find_by_alias(&pool, "testjar".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `find_by_alias` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | let jars_with_owners = Jar::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(User::ID.gt(u1.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 113 | let _user1 = User::test_user("select1@example.com", "select1") [INFO] [stdout] | __________________- [INFO] [stdout] 114 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | let ge_results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 141 | let user = User::test_user("donor@example.com", "donor") [INFO] [stdout] | ________________- [INFO] [stdout] 142 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 118 | let _user2 = User::test_user("select2@example.com", "select2") [INFO] [stdout] | __________________- [INFO] [stdout] 119 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | .filter(User::ID.ge(u1.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:123:53 [INFO] [stdout] | [INFO] [stdout] 123 | let (email, username): (String, String) = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/crud.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 146 | let jar = Jar::test_jar(user.id, "donationjar") [INFO] [stdout] | _______________- [INFO] [stdout] 147 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `Jar` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | let lt_results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | .filter(User::USERNAME.eq("select1".to_string())) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `jars` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | let user1_jars = user1.jars(&pool).await.expect("Failed to load user1 jars"); [INFO] [stdout] | ^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `jars` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | .filter(User::ID.lt(u2.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let le_results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/crud.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 151 | let donation = Donation::test_donation(jar.id, user.id, 50.0) [INFO] [stdout] | ____________________- [INFO] [stdout] 152 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `Donation` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | .filter(User::ID.le(u2.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `jars` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let user2_jars = user2.jars(&pool).await.expect("Failed to load user2 jars"); [INFO] [stdout] | ^^^^ method not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `jars` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:133:48 [INFO] [stdout] | [INFO] [stdout] 133 | let results: Vec<(String, String)> = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | .filter(User::EMAIL.like("%select%".to_string())) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | .filter(User::EMAIL.like("%like_me%".to_string())) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_id` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/crud.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | let found_donation = Donation::find_by_id(&pool, donation.id.clone()) [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- function or associated item `find_by_id` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Donation`, consider using `Donation::test_donation` which returns `Donation` [INFO] [stdout] --> tests/common/entities.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn test_donation(jar_id: i64, payer_id: i64, amount: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | .select((User::EMAIL, User::USERNAME)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `payed_donations` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 111 | let user1_donations = user1 [INFO] [stdout] | ___________________________- [INFO] [stdout] 112 | | .payed_donations(&pool) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `payed_donations` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | .filter(User::ID.in_(vec![u1.id, u2.id])) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 176 | let user = User::test_user("test@example.com", "testuser") [INFO] [stdout] | ________________- [INFO] [stdout] 177 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:158:83 [INFO] [stdout] | [INFO] [stdout] 158 | let (minimal_donation, total_amount, total_donations): (f64, f64, i32) = Jar::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | .filter(Jar::ID.eq(jar.id)) [INFO] [stdout] | ^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let users = User::query().fetch_all(&pool).await.unwrap(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | .filter(User::ID.not_in(vec![u1.id, u2.id])) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `payed_donations` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 119 | let user2_donations = user2 [INFO] [stdout] | ___________________________- [INFO] [stdout] 120 | | .payed_donations(&pool) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `payed_donations` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/crud.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | let user = User::query().fetch_one(&pool).await.unwrap(); [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let _ = User::ID.in_(vec![]); [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `MINIMAL_DONATION` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | Jar::MINIMAL_DONATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `MINIMAL_DONATION` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | let user_with_jars = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `TOTAL_AMOUNT` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | Jar::TOTAL_AMOUNT, [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `TOTAL_AMOUNT` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is an associated constant `LAYOUT` with a similar name [INFO] [stdout] | [INFO] [stdout] 162 - Jar::TOTAL_AMOUNT, [INFO] [stdout] 162 + Jar::LAYOUT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | let jar_with_donations = Jar::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | let null_results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BIO` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | .filter(User::BIO.is_null()) [INFO] [stdout] | ^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `BIO` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/relations.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | .filter(Jar::ID.eq(jar1.id)) [INFO] [stdout] | ^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `TOTAL_DONATIONS` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/select.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | Jar::TOTAL_DONATIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `TOTAL_DONATIONS` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let not_null_results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:173:59 [INFO] [stdout] | [INFO] [stdout] 173 | let (is_payed, is_refunded): (bool, bool) = Donation::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Donation`, consider using `Donation::test_donation` which returns `Donation` [INFO] [stdout] --> tests/common/entities.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn test_donation(jar_id: i64, payer_id: i64, amount: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BIO` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | .filter(User::BIO.is_not_null()) [INFO] [stdout] | ^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `BIO` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 162 | let user = User::test_user("lonely@example.com", "lonely") [INFO] [stdout] | ________________- [INFO] [stdout] 163 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | .filter(Donation::ID.eq(donation.id)) [INFO] [stdout] | ^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `IS_PAYED` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | .select((Donation::IS_PAYED, Donation::IS_REFUNDED)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `IS_PAYED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | let user_with_jars = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | .filter(User::ID.between(u1.id, u3.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `IS_REFUNDED` found for struct `Donation` in the current scope [INFO] [stdout] --> tests/select.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | .select((Donation::IS_PAYED, Donation::IS_REFUNDED)) [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `Donation` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Donation { [INFO] [stdout] | ------------------- associated item `IS_REFUNDED` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/relations.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | .filter(User::ID.eq(user.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | .filter(User::ID.not_between(u1.id, u2.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | .filter(User::ID.eq(user.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ID` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | .filter(User::ID.between(u3.id, u1.id)) [INFO] [stdout] | ^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `CREATED_AT` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | .select((User::CREATED_AT, User::UPDATED_AT)) [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `CREATED_AT` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `UPDATED_AT` found for struct `User` in the current scope [INFO] [stdout] --> tests/select.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | .select((User::CREATED_AT, User::UPDATED_AT)) [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `UPDATED_AT` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 199 | let user = User::test_user("owner@example.com", "owner") [INFO] [stdout] | ________________- [INFO] [stdout] 200 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `User` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/filters.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 204 | let _jar = Jar::test_jar(user.id, "jar_eq") [INFO] [stdout] | ________________- [INFO] [stdout] 205 | | .save(&pool) [INFO] [stdout] | | -^^^^ method not found in `Jar` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- method `save` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (test "crud") due to 47 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/filters.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | let results = Jar::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Jar`, consider using `Jar::test_jar` which returns `Jar` [INFO] [stdout] --> tests/common/entities.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn test_jar(owner_id: i64, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `ALIAS` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/filters.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | .filter(Jar::ALIAS.eq("jar_eq".to_string())) [INFO] [stdout] | ^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `ALIAS` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `OWNER_ID` found for struct `Jar` in the current scope [INFO] [stdout] --> tests/filters.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | .filter(Jar::OWNER_ID.eq(user.id)) [INFO] [stdout] | ^^^^^^^^ associated item not found in `Jar` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Jar { [INFO] [stdout] | -------------- associated item `OWNER_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | User::EMAIL [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 233 | .and(User::USERNAME.eq("eq1".to_string())), [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (test "relations") due to 49 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | User::EMAIL [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `USERNAME` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | .and(User::USERNAME.eq("wrong".to_string())), [INFO] [stdout] | ^^^^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `USERNAME` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | User::EMAIL [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | .or(User::EMAIL.eq("eq2@example.com".to_string())), [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (test "select") due to 78 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `query` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | let results = User::query() [INFO] [stdout] | ^^^^^ function or associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- function or associated item `query` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `User`, consider using `User::test_user` which returns `User` [INFO] [stdout] --> tests/common/entities.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn test_user(email: &str, username: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `query`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `sqlx_core::statement::Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | User::EMAIL [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `EMAIL` found for struct `User` in the current scope [INFO] [stdout] --> tests/filters.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | .or(User::EMAIL.eq("like_me@example.com".to_string())), [INFO] [stdout] | ^^^^^ associated item not found in `User` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/entities.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | --------------- associated item `EMAIL` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlorm` (test "filters") due to 74 previous errors [INFO] running `Command { std: "docker" "inspect" "4d50fc84dac2e99f6a5c3eee0790b34dc9a11a649775c790eb8fc3edbcc50a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d50fc84dac2e99f6a5c3eee0790b34dc9a11a649775c790eb8fc3edbcc50a06", kill_on_drop: false }` [INFO] [stdout] 4d50fc84dac2e99f6a5c3eee0790b34dc9a11a649775c790eb8fc3edbcc50a06