[INFO] fetching crate sqlx-template 0.2.1... [INFO] testing sqlx-template-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate sqlx-template 0.2.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate sqlx-template 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sqlx-template 0.2.1 [INFO] tweaked toml for crates.io crate sqlx-template 0.2.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-template 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sqlx-template 0.2.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.86 [INFO] [stderr] Downloaded unicode-ident v1.0.12 [INFO] [stderr] Downloaded tokio-macros v2.3.0 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.92 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded android-tzdata v0.1.1 [INFO] [stderr] Downloaded autocfg v1.3.0 [INFO] [stderr] Downloaded vec_map v0.8.2 [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded heck v0.3.3 [INFO] [stderr] Downloaded home v0.5.9 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded futures-executor v0.3.30 [INFO] [stderr] Downloaded futures-task v0.3.30 [INFO] [stderr] Downloaded rust-format v0.3.4 [INFO] [stderr] Downloaded windows-core v0.52.0 [INFO] [stderr] Downloaded futures v0.3.30 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded libm v0.2.8 [INFO] [stderr] Downloaded unicode-normalization v0.1.23 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.92 [INFO] [stderr] Downloaded sqlparser v0.47.0 [INFO] [stderr] Downloaded futures-util v0.3.30 [INFO] [stderr] Downloaded chrono v0.4.38 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded idna v0.5.0 [INFO] [stderr] Downloaded syn v2.0.87 [INFO] [stderr] Downloaded object v0.36.1 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded serde_json v1.0.120 [INFO] [stderr] Downloaded unicode-segmentation v1.11.0 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded rsa v0.9.6 [INFO] [stderr] Downloaded flume v0.11.0 [INFO] [stderr] Downloaded js-sys v0.3.69 [INFO] [stderr] Downloaded bumpalo v3.16.0 [INFO] [stderr] Downloaded indexmap v2.2.6 [INFO] [stderr] Downloaded tokio v1.38.0 [INFO] [stderr] Downloaded serde v1.0.204 [INFO] [stderr] Downloaded tracing-core v0.1.32 [INFO] [stderr] Downloaded tracing v0.1.40 [INFO] [stderr] Downloaded unicode-bidi v0.3.15 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded url v2.5.2 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded crossbeam-utils v0.8.20 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded serde_derive v1.0.204 [INFO] [stderr] Downloaded log v0.4.22 [INFO] [stderr] Downloaded tinyvec v1.7.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.4 [INFO] [stderr] Downloaded socket2 v0.5.9 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Downloaded bitflags v2.6.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded futures-channel v0.3.30 [INFO] [stderr] Downloaded ryu v1.0.18 [INFO] [stderr] Downloaded smallvec v1.13.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.27 [INFO] [stderr] Downloaded uuid v1.9.1 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded base64ct v1.6.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.17 [INFO] [stderr] Downloaded getrandom v0.2.15 [INFO] [stderr] Downloaded unicode-properties v0.1.1 [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded event-listener v5.4.0 [INFO] [stderr] Downloaded redox_syscall v0.5.2 [INFO] [stderr] Downloaded futures-macro v0.3.30 [INFO] [stderr] Downloaded futures-sink v0.3.30 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded typenum v1.17.0 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded tokio-stream v0.1.15 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded zeroize v1.8.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded futures-io v0.3.30 [INFO] [stderr] Downloaded itoa v1.0.11 [INFO] [stderr] Downloaded futures-core v0.3.30 [INFO] [stderr] Downloaded percent-encoding v2.3.1 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.60 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.92 [INFO] [stderr] Downloaded once_cell v1.19.0 [INFO] [stderr] Downloaded adler v1.0.2 [INFO] [stderr] Downloaded quote v1.0.36 [INFO] [stderr] Downloaded form_urlencoded v1.2.1 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded pin-project-lite v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7071bef11ef05c9f8a1be66de127a8f443bb62f2df173832bb199ce022e52d54 [INFO] running `Command { std: "docker" "start" "-a" "7071bef11ef05c9f8a1be66de127a8f443bb62f2df173832bb199ce022e52d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7071bef11ef05c9f8a1be66de127a8f443bb62f2df173832bb199ce022e52d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7071bef11ef05c9f8a1be66de127a8f443bb62f2df173832bb199ce022e52d54", kill_on_drop: false }` [INFO] [stdout] 7071bef11ef05c9f8a1be66de127a8f443bb62f2df173832bb199ce022e52d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 645b7a0dfb44c4f877da2ff3d0b54f0dbac6c0cd7c2d8ae17fcb0023c7aec3ef [INFO] running `Command { std: "docker" "start" "-a" "645b7a0dfb44c4f877da2ff3d0b54f0dbac6c0cd7c2d8ae17fcb0023c7aec3ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rust-format v0.3.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling sqlparser v0.47.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling sqlx-template v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.53s [INFO] running `Command { std: "docker" "inspect" "645b7a0dfb44c4f877da2ff3d0b54f0dbac6c0cd7c2d8ae17fcb0023c7aec3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645b7a0dfb44c4f877da2ff3d0b54f0dbac6c0cd7c2d8ae17fcb0023c7aec3ef", kill_on_drop: false }` [INFO] [stdout] 645b7a0dfb44c4f877da2ff3d0b54f0dbac6c0cd7c2d8ae17fcb0023c7aec3ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 074bb78f1daff5709186085d4929e63299dfed25a2f15cc62f30d25eb14c153d [INFO] running `Command { std: "docker" "start" "-a" "074bb78f1daff5709186085d4929e63299dfed25a2f15cc62f30d25eb14c153d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tinyvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling sqlparser v0.47.0 [INFO] [stderr] Compiling rust-format v0.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling sqlx-template v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [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] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_complex_expressions.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_valid_types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_update_builder.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / #[sqlite_query( [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | CREATE TABLE users ( [INFO] [stdout] 22 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 27 | | "# [INFO] [stdout] 28 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_all_templates_docs.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SelectTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_unsupported_type.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/simple_builder_test.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_delete_builder.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[sqlite_query( [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | CREATE TABLE users ( [INFO] [stdout] 24 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 30 | | "# [INFO] [stdout] 31 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_all_builders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_type_validation.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/comprehensive_builder_test.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SqlitePool` [INFO] [stdout] --> tests/test_type_validation.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_one_condition.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_update_builder") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `SqlitePool` [INFO] [stdout] --> tests/test_one_condition.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{FromRow, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_delete_builder") due to 1 previous error [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_documentation.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_column_mapping.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_type_validation") due to 1 previous error; 1 warning emitted [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_valid_types.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / #[sqlite_query( [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | CREATE TABLE users ( [INFO] [stdout] 26 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_all_templates_docs.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_unsupported_type.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[sqlite_query( [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | CREATE TABLE users ( [INFO] [stdout] 21 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 24 | | "# [INFO] [stdout] 25 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_one_condition") due to 1 previous error; 1 warning emitted [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_custom_conditions.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(SqliteTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_all_builders.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[sqlite_query( [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | CREATE TABLE users ( [INFO] [stdout] 24 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserValidTypes` in the current scope [INFO] [stdout] --> tests/test_valid_types.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserValidTypes { [INFO] [stdout] | ------------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserValidTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_valid_types.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 66 | let users: /* Type */ = UserValidTypes::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / #[sqlite_query( [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | CREATE TABLE users ( [INFO] [stdout] 43 | | id INTEGER PRIMARY KEY AUTOINCREMENT, [INFO] [stdout] ... | [INFO] [stdout] 53 | | "# [INFO] [stdout] 54 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_complex_expressions.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[sqlite_query( [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | CREATE TABLE users ( [INFO] [stdout] 24 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 29 | | "# [INFO] [stdout] 30 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserValidTypes` in the current scope [INFO] [stdout] --> tests/test_valid_types.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserValidTypes { [INFO] [stdout] | ------------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserValidTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserCustomType` in the current scope [INFO] [stdout] --> tests/test_unsupported_type.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UserCustomType { [INFO] [stdout] | ------------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | let users = UserCustomType::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserCustomType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_unsupported_type.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let users = UserCustomType::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | let users: /* Type */ = UserCustomType::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_valid_types.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | let users: /* Type */ = UserValidTypes::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_users_table` in this scope [INFO] [stdout] --> tests/test_all_builders.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | create_users_table(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_all_builders.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 54 | User::insert(&alice, &pool).await?; [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 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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_all_builders.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | User::insert(&bob, &pool).await?; [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 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] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/simple_builder_test.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[sqlite_query( [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | CREATE TABLE users ( [INFO] [stdout] 21 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 27 | | "# [INFO] [stdout] 28 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_all_builders.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 69 | println!("SQL: {}", User::builder_select().build_sql()); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_all_builders.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_all_builders.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | println!("Users with company email: {} found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_all_builders.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_all_builders.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | println!("Users with score 60-90: {} found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserValidTypes` in the current scope [INFO] [stdout] --> tests/test_valid_types.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserValidTypes { [INFO] [stdout] | ------------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 80 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserValidTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_valid_types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 80 | let users: /* Type */ = UserValidTypes::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_all_builders.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let sql = User::builder_select().active(&true).unwrap().build_sql(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserValidTypes` in the current scope [INFO] [stdout] --> tests/test_valid_types.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserValidTypes { [INFO] [stdout] | ------------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserValidTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_valid_types.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let users = UserValidTypes::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 87 | let users: /* Type */ = UserValidTypes::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_unsupported_type") due to 4 previous errors [INFO] [stderr] error: could not compile `sqlx-template` (test "test_all_builders") due to 11 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/comprehensive_builder_test.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / #[sqlite_query( [INFO] [stdout] 52 | | r#" [INFO] [stdout] 53 | | CREATE TABLE users ( [INFO] [stdout] 54 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 60 | | "# [INFO] [stdout] 61 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_valid_types") due to 10 previous errors [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_column_mapping.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / #[sqlite_query( [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | CREATE TABLE users ( [INFO] [stdout] 27 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 33 | | "# [INFO] [stdout] 34 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/simple_builder_test.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/simple_builder_test.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 66 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_users_table` in this scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | create_users_table(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_users_table` in this scope [INFO] [stdout] --> tests/test_complex_expressions.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | create_users_table(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | User::insert(&user, &pool).await?; [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 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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_one_by_id` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_one_by_id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 113 | let user = User::find_one_by_id(&1, "Alice", &20, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_complex_expressions.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | User::insert(&user, &pool).await?; [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 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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_status_and_score` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_status_and_score` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 121 | let users = User::find_by_status_and_score("active", &80.0, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let users = User::find_by_status_and_score("active", &80.0, &pool).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 122 | println!(" Found {} active users with score > 80.0", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | let users: /* Type */ = User::find_by_status_and_score("active", &80.0, &pool).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_active_by_age_range` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_active_by_age_range` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 133 | let users = User::find_active_by_age_range(&true, &20, &40, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let users = User::find_active_by_age_range(&true, &20, &40, &pool).await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | println!(" Found {} active users aged 20-40", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | let users: /* Type */ = User::find_active_by_age_range(&true, &20, &40, &pool).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_complex_expressions.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 71 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_complex_expressions.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | println!("Found {} users with name Alice and score > 10", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 71 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_by_email_and_status` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_by_email_and_status` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | let user = User::find_by_email_and_status("alice@example.com", &true, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_complex_expressions.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 78 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_complex_expressions.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | println!("Found {} users with score^2 > 100 and active = true", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `count_high_scorers` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `count_high_scorers` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | let count = User::count_high_scorers(&85.0, "active", &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_complex_expressions.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 85 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_complex_expressions.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | println!("Found {} users with name starting with 'A'", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_by_id_on_name` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_by_id_on_name` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 162 | let rows_affected = User::update_by_id_on_name(&1, "Alice Updated", &true, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_stale_users` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_stale_users` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 171 | let rows_affected = User::update_stale_users("alice@example.com", &90.0, "premium", &"2023-01-01".to_string(), &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "simple_builder_test") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `update_young_users_status` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `update_young_users_status` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 179 | let rows_affected = User::update_young_users_status("junior", &30, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_column_mapping.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 70 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_column_mapping.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 70 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_column_mapping.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_column_mapping.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_column_mapping.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_column_mapping.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `delete` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `delete` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 187 | let rows_affected = User::delete("Bob", &"2023-06-01".to_string(), &pool).await?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_column_mapping.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_column_mapping.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | println!("Found {} users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 91 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_complex_expressions") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_column_mapping") due to 10 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `delete_inactive_low_scorers` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:195:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `delete_inactive_low_scorers` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 195 | let rows_affected = User::delete_inactive_low_scorers(&2, &false, &70.0, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `cleanup_stale_records` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `cleanup_stale_records` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 202 | let rows_affected = User::cleanup_stale_records("inactive", &"2023-01-01".to_string(), &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> tests/test_all_templates_docs.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(SqlxTemplate, FromRow, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `upsert_by_email` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `upsert_by_email` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 222 | let rows_affected = User::upsert_by_email(&new_user, &"2023-01-01".to_string(), &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_custom_conditions.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / #[sqlite_query( [INFO] [stdout] 23 | | r#" [INFO] [stdout] 24 | | CREATE TABLE users ( [INFO] [stdout] 25 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 31 | | "# [INFO] [stdout] 32 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_documentation.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / #[sqlite_query( [INFO] [stdout] 26 | | r#" [INFO] [stdout] 27 | | CREATE TABLE users ( [INFO] [stdout] 28 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 35 | | "# [INFO] [stdout] 36 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `upsert_if_score_below` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:242:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `upsert_if_score_below` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 242 | let rows_affected = User::upsert_if_score_below(&update_user, &100.0, &pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_custom_conditions.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_custom_conditions.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | println!("Found {} users with email user1@example.com", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_users_table` in this scope [INFO] [stdout] --> tests/test_documentation.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | create_users_table(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_documentation.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | User::insert(&alice, &pool).await?; [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 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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_documentation.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | let _builder = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_documentation.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 75 | let _builder = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_custom_conditions.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_custom_conditions.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | println!("Found {} active users", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 99 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_custom_conditions.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 110 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_documentation.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 84 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_documentation.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | println!(" Found {} users matching conditions", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_custom_conditions.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | println!("Found {} users with score^2 > 100", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 110 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `find_all` found for struct `User` in the current scope [INFO] [stdout] --> tests/placeholder_operations_sqlite.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct User { [INFO] [stdout] | --------------- function or associated item `find_all` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 247 | let all_users = User::find_all(&pool).await?; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/test_custom_conditions.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 122 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_custom_conditions.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | println!("Found {} active users with score^2 > 100", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 122 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_users_table` in this scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | create_users_table(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_custom_conditions") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_documentation") due to 8 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `insert` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 115 | User::insert(user, &pool).await?; [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 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] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 122 | let sql = User::builder_select().build_sql(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 130 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/comprehensive_builder_test.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | println!("Active users: {} found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 130 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/comprehensive_builder_test.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | println!("Company email users: {} found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 139 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/comprehensive_builder_test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | println!("Users with score 50-90: {} found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 146 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "placeholder_operations_sqlite") due to 20 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 155 | let users = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/comprehensive_builder_test.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let users = User::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | println!("Active company users with high scores: {} found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 155 | let users: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/comprehensive_builder_test.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct User { [INFO] [stdout] | --------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 185 | let remaining = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/comprehensive_builder_test.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let remaining = User::builder_select() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | println!("Remaining users: {}", remaining.len()); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `remaining` an explicit type [INFO] [stdout] | [INFO] [stdout] 185 | let remaining: /* Type */ = User::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "comprehensive_builder_test") due to 15 previous errors [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test_all_templates_docs.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / #[sqlite_query( [INFO] [stdout] 73 | | r#" [INFO] [stdout] 74 | | CREATE TABLE users ( [INFO] [stdout] 75 | | id INTEGER PRIMARY KEY, [INFO] [stdout] ... | [INFO] [stdout] 81 | | "# [INFO] [stdout] 82 | | )] [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: BadSourceCode("error: 'rustfmt' is not installed for the custom toolchain 'c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38'.\nnote: this is a custom toolchain, which cannot use `rustup component add`\nhelp: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`\n") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserSelect` in the current scope [INFO] [stdout] --> tests/test_all_templates_docs.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UserSelect { [INFO] [stdout] | --------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 121 | let users = UserSelect::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserSelect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_all_templates_docs.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let users = UserSelect::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | println!(" ✅ SelectTemplate builder works: {} users found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | let users: /* Type */ = UserSelect::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserSqlite` in the current scope [INFO] [stdout] --> tests/test_all_templates_docs.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct UserSqlite { [INFO] [stdout] | --------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | let users = UserSqlite::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserSqlite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_all_templates_docs.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let users = UserSqlite::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | println!(" ✅ SqliteTemplate builder works: {} users found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 154 | let users: /* Type */ = UserSqlite::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserSqlx` in the current scope [INFO] [stdout] --> tests/test_all_templates_docs.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct UserSqlx { [INFO] [stdout] | ------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 162 | let users = UserSqlx::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserSqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_all_templates_docs.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let users = UserSqlx::builder_select() [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | println!(" ✅ SqlxTemplate builder works: {} users found", users.len()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `users` an explicit type [INFO] [stdout] | [INFO] [stdout] 162 | let users: /* Type */ = UserSqlx::builder_select() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_all_templates_docs") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "074bb78f1daff5709186085d4929e63299dfed25a2f15cc62f30d25eb14c153d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074bb78f1daff5709186085d4929e63299dfed25a2f15cc62f30d25eb14c153d", kill_on_drop: false }` [INFO] [stdout] 074bb78f1daff5709186085d4929e63299dfed25a2f15cc62f30d25eb14c153d