[INFO] fetching crate sqlx-template 0.2.1... [INFO] testing sqlx-template-0.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate sqlx-template 0.2.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-template 0.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08b30ea75beba97c01f8bc9ff246d1a1f5f208edea2bd671e0b14890bfa4c8a6 [INFO] running `Command { std: "docker" "start" "-a" "08b30ea75beba97c01f8bc9ff246d1a1f5f208edea2bd671e0b14890bfa4c8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08b30ea75beba97c01f8bc9ff246d1a1f5f208edea2bd671e0b14890bfa4c8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b30ea75beba97c01f8bc9ff246d1a1f5f208edea2bd671e0b14890bfa4c8a6", kill_on_drop: false }` [INFO] [stdout] 08b30ea75beba97c01f8bc9ff246d1a1f5f208edea2bd671e0b14890bfa4c8a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b0b387d0cd357fe3025a7b90187b90ad037e785195c0ca238fbc81409747f3b [INFO] running `Command { std: "docker" "start" "-a" "3b0b387d0cd357fe3025a7b90187b90ad037e785195c0ca238fbc81409747f3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [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 quote v1.0.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v1.0.109 [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 17.04s [INFO] running `Command { std: "docker" "inspect" "3b0b387d0cd357fe3025a7b90187b90ad037e785195c0ca238fbc81409747f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0b387d0cd357fe3025a7b90187b90ad037e785195c0ca238fbc81409747f3b", kill_on_drop: false }` [INFO] [stdout] 3b0b387d0cd357fe3025a7b90187b90ad037e785195c0ca238fbc81409747f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d1a15555bd8555ae6adedd750eaf6b88b07e2f01202052f3262d753ce46898 [INFO] running `Command { std: "docker" "start" "-a" "d6d1a15555bd8555ae6adedd750eaf6b88b07e2f01202052f3262d753ce46898", 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 typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [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 log v0.4.22 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cpufeatures v0.2.12 [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 hashbrown v0.15.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling atoi v2.0.0 [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 block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [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 heck v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [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 url v2.5.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [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 v0.3.26 [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 futures-executor v0.3.30 [INFO] [stderr] Compiling sqlx-template v0.2.1 (/opt/rustwide/workdir) [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_core v0.9.10 [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-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-postgres 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_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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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/debug_custom_condition.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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_custom_conditions_placeholder.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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_placeholder_mapping.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PostgresTemplate, FromRow, Debug)] [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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/performance_comparison.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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_placeholder_generation.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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_custom_conditions_placeholder.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PostgresTemplate, 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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_delete_builder") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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/debug_custom_condition.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] 25 | | "# [INFO] [stdout] 26 | | )] [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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: proc-macro derive panicked [INFO] [stdout] --> tests/test_placeholder_mapping.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PostgresTemplate, FromRow, Debug)] [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 `UserSqlite` in the current scope [INFO] [stdout] --> tests/test_custom_conditions_placeholder.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UserSqlite { [INFO] [stdout] | --------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let sqlite_builder = UserSqlite::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserSqlite` [INFO] [stdout] [INFO] [stdout] [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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: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[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/debug_custom_condition.rs:61: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] 61 | 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 `UserPostgres` in the current scope [INFO] [stdout] --> tests/test_custom_conditions_placeholder.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserPostgres { [INFO] [stdout] | ----------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | let postgres_builder = UserPostgres::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserPostgres` [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[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/debug_custom_condition.rs:72: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] 72 | 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 `UserPostgres` in the current scope [INFO] [stdout] --> tests/test_custom_conditions_placeholder.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserPostgres { [INFO] [stdout] | ----------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 56 | let postgres_builder = UserPostgres::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserPostgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_valid_types") due to 6 previous errors [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] For more information about this error, try `rustc --explain E0599`. [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_custom_conditions_placeholder") due to 5 previous errors [INFO] [stderr] error: could not compile `sqlx-template` (test "test_unsupported_type") due to 3 previous errors [INFO] [stderr] error: could not compile `sqlx-template` (test "debug_custom_condition") due to 4 previous errors [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 `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: custom attribute panicked [INFO] [stdout] --> tests/performance_comparison.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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 `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[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_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[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_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[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: 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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_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[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] [stderr] error: could not compile `sqlx-template` (test "test_update_builder") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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] [stderr] error: could not compile `sqlx-template` (test "test_column_mapping") due to 6 previous errors [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 `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] 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] [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[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_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[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/performance_comparison.rs:75:26 [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] 75 | let _sql = User::builder_select() [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_placeholder_generation.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PostgresTemplate, 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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 `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] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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/performance_comparison.rs:90:30 [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] 90 | 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 `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[E0599]: no function or associated item named `builder_select` found for struct `User` in the current scope [INFO] [stdout] --> tests/performance_comparison.rs:104:28 [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] 104 | 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/performance_comparison.rs:116:22 [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] 116 | let sql1 = User::builder_select().build_sql(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_complex_expressions") due to 7 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/performance_comparison.rs:117:22 [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] 117 | let sql2 = 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/performance_comparison.rs:121:22 [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] 121 | let sql3 = 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/performance_comparison.rs:139:28 [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] 139 | let sample_sql = User::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `User` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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] [stderr] error: could not compile `sqlx-template` (test "performance_comparison") due to 9 previous errors [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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 `UserSqlite` in the current scope [INFO] [stdout] --> tests/test_placeholder_generation.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UserSqlite { [INFO] [stdout] | --------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | let sqlite_builder = UserSqlite::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserSqlite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder_select` found for struct `UserPostgres` in the current scope [INFO] [stdout] --> tests/test_placeholder_generation.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct UserPostgres { [INFO] [stdout] | ----------------------- function or associated item `builder_select` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | let postgres_builder = UserPostgres::builder_select() [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `UserPostgres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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[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] [stderr] error: could not compile `sqlx-template` (test "test_placeholder_generation") due to 4 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/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 `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: 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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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_placeholder_mapping.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PostgresTemplate, FromRow, Debug)] [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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] For more information about this error, try `rustc --explain E0599`. [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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_custom_conditions") due to 6 previous errors [INFO] [stderr] error: could not compile `sqlx-template` (test "placeholder_operations_sqlite") due to 18 previous errors [INFO] [stderr] error: could not compile `sqlx-template` (test "test_placeholder_mapping") due to 3 previous errors [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[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[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[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] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_all_builders") due to 9 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 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'.\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[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[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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlx-template` (test "test_all_templates_docs") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d6d1a15555bd8555ae6adedd750eaf6b88b07e2f01202052f3262d753ce46898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d1a15555bd8555ae6adedd750eaf6b88b07e2f01202052f3262d753ce46898", kill_on_drop: false }` [INFO] [stdout] d6d1a15555bd8555ae6adedd750eaf6b88b07e2f01202052f3262d753ce46898