[INFO] fetching crate sqlx-template 0.2.1... [INFO] testing sqlx-template-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sqlx-template 0.2.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-template 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded tinyvec v1.7.0 [INFO] [stderr] Downloaded rust-format v0.3.4 [INFO] [stderr] Downloaded sqlparser v0.47.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c1ba98f3866910679df9bdc3e88a1c5b38a5418cd99e41a009580fda0af60f7 [INFO] running `Command { std: "docker" "start" "-a" "2c1ba98f3866910679df9bdc3e88a1c5b38a5418cd99e41a009580fda0af60f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c1ba98f3866910679df9bdc3e88a1c5b38a5418cd99e41a009580fda0af60f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1ba98f3866910679df9bdc3e88a1c5b38a5418cd99e41a009580fda0af60f7", kill_on_drop: false }` [INFO] [stdout] 2c1ba98f3866910679df9bdc3e88a1c5b38a5418cd99e41a009580fda0af60f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13765b156aa6bafd4e4acea5027eae613d6a360a32aa00d983d78285e89ce51f [INFO] running `Command { std: "docker" "start" "-a" "13765b156aa6bafd4e4acea5027eae613d6a360a32aa00d983d78285e89ce51f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [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 proc-macro2 v1.0.86 [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 syn v1.0.109 [INFO] [stderr] Compiling nom v7.1.3 [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 26.80s [INFO] running `Command { std: "docker" "inspect" "13765b156aa6bafd4e4acea5027eae613d6a360a32aa00d983d78285e89ce51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13765b156aa6bafd4e4acea5027eae613d6a360a32aa00d983d78285e89ce51f", kill_on_drop: false }` [INFO] [stdout] 13765b156aa6bafd4e4acea5027eae613d6a360a32aa00d983d78285e89ce51f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6621411b46646351d9a26a573b645963daafddaac734e94f76368600a4c2f0f5 [INFO] running `Command { std: "docker" "start" "-a" "6621411b46646351d9a26a573b645963daafddaac734e94f76368600a4c2f0f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec v1.7.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [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 url v2.5.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [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 whoami v1.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.86 [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 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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling sqlx-template v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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_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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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] [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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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] warning: build failed, waiting for other jobs to finish... [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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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_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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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: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 `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_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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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: 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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_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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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_column_mapping") due to 6 previous errors [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[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_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 `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 `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[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 `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 `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_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[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 `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] 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: 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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: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 `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] [stderr] error: could not compile `sqlx-template` (test "test_documentation") due to 7 previous errors [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/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 `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] [stderr] error: could not compile `sqlx-template` (test "test_all_builders") due to 9 previous errors [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/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] [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/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: 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 'cdb45c87e2cd43495379f7e867e3cc15dcee9f93'.\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] [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 `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" "6621411b46646351d9a26a573b645963daafddaac734e94f76368600a4c2f0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6621411b46646351d9a26a573b645963daafddaac734e94f76368600a4c2f0f5", kill_on_drop: false }` [INFO] [stdout] 6621411b46646351d9a26a573b645963daafddaac734e94f76368600a4c2f0f5