[INFO] cloning repository https://github.com/igorgcardoso/rastreabilidade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igorgcardoso/rastreabilidade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorgcardoso%2Frastreabilidade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorgcardoso%2Frastreabilidade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 983009d3e5215e3feee3146d1f5ad6342ac5eb5e [INFO] checking igorgcardoso/rastreabilidade against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorgcardoso%2Frastreabilidade" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/igorgcardoso/rastreabilidade on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/igorgcardoso/rastreabilidade [INFO] finished tweaking git repo https://github.com/igorgcardoso/rastreabilidade [INFO] tweaked toml for git repo https://github.com/igorgcardoso/rastreabilidade written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/igorgcardoso/rastreabilidade 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.8.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.0 [INFO] [stderr] Downloaded axum-macros v0.4.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.0 [INFO] [stderr] Downloaded hyper-util v0.1.6 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.0 [INFO] [stderr] Downloaded sqlx v0.8.0 [INFO] [stderr] Downloaded sqlx-core v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90f12f30c29d8631bfacacf464110a86a530812790ddf4c0f4a6bd994e67f182 [INFO] running `Command { std: "docker" "start" "-a" "90f12f30c29d8631bfacacf464110a86a530812790ddf4c0f4a6bd994e67f182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90f12f30c29d8631bfacacf464110a86a530812790ddf4c0f4a6bd994e67f182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f12f30c29d8631bfacacf464110a86a530812790ddf4c0f4a6bd994e67f182", kill_on_drop: false }` [INFO] [stdout] 90f12f30c29d8631bfacacf464110a86a530812790ddf4c0f4a6bd994e67f182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9098eae8ebb978b8f8cd7a8035cddf6abeac4fef20529660953ff38093535b40 [INFO] running `Command { std: "docker" "start" "-a" "9098eae8ebb978b8f8cd7a8035cddf6abeac4fef20529660953ff38093535b40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tokio v1.39.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling rastreabilidade v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking sqlx-core v0.8.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | ... let batches = query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 19 | | ... r#" [INFO] [stdout] 20 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 21 | | ... FROM batches b [INFO] [stdout] 22 | | ... INNER JOIN crops c ON b.crop_id = c.id; [INFO] [stdout] 23 | | ... "#, [INFO] [stdout] 24 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ... let batch = query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 58 | | ... r#" [INFO] [stdout] 59 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 60 | | ... FROM batches b [INFO] [stdout] ... | [INFO] [stdout] 64 | | ... id [INFO] [stdout] 65 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | ... let batches = query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 96 | | ... r#" [INFO] [stdout] 97 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 98 | | ... FROM batches b [INFO] [stdout] ... | [INFO] [stdout] 102 | | ... code, [INFO] [stdout] 103 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | ... let batches = query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 137 | | ... r#" [INFO] [stdout] 138 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 139 | | ... FROM batches b [INFO] [stdout] ... | [INFO] [stdout] 143 | | ... crop_id [INFO] [stdout] 144 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let id = query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 186 | | r#" [INFO] [stdout] 187 | | INSERT INTO batches (crop_id, classification, processing, packing, quantity, tracking_code, date) [INFO] [stdout] 188 | | VALUES (?, ?, ?, ?, ?, ?, ?); [INFO] [stdout] ... | [INFO] [stdout] 196 | | date [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / query!( [INFO] [stdout] 217 | | r#" [INFO] [stdout] 218 | | UPDATE batches [INFO] [stdout] 219 | | SET crop_id = ?, classification = ?, processing = ?, packing = ?, quantity = ?, tracking_code = ?, date = ? [INFO] [stdout] ... | [INFO] [stdout] 229 | | id [INFO] [stdout] 230 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | ... let batches = query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 19 | | ... r#" [INFO] [stdout] 20 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 21 | | ... FROM batches b [INFO] [stdout] 22 | | ... INNER JOIN crops c ON b.crop_id = c.id; [INFO] [stdout] 23 | | ... "#, [INFO] [stdout] 24 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | / query!( [INFO] [stdout] 239 | | r#" [INFO] [stdout] 240 | | DELETE FROM batches [INFO] [stdout] 241 | | WHERE id = ?; [INFO] [stdout] 242 | | "#, [INFO] [stdout] 243 | | id [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ... let batch = query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 58 | | ... r#" [INFO] [stdout] 59 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 60 | | ... FROM batches b [INFO] [stdout] ... | [INFO] [stdout] 64 | | ... id [INFO] [stdout] 65 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let crops = query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 54 | | CropDb, [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | SELECT id, name, area, cultivation, planted_at, harvested_at [INFO] [stdout] 57 | | FROM crops [INFO] [stdout] 58 | | "#, [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | ... let batches = query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 96 | | ... r#" [INFO] [stdout] 97 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 98 | | ... FROM batches b [INFO] [stdout] ... | [INFO] [stdout] 102 | | ... code, [INFO] [stdout] 103 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let crop = query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 70 | | CropDb, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT id, name, area, cultivation, planted_at, harvested_at [INFO] [stdout] ... | [INFO] [stdout] 76 | | id [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | ... let batches = query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 137 | | ... r#" [INFO] [stdout] 138 | | ... SELECT b.id, b.crop_id, b.classification, b.processing, b.packing, b.quantity, b.tracking_code, b.date, c.name as crop_name, c.... [INFO] [stdout] 139 | | ... FROM batches b [INFO] [stdout] ... | [INFO] [stdout] 143 | | ... crop_id [INFO] [stdout] 144 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let crop_id = query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 98 | | r#" [INFO] [stdout] 99 | | INSERT INTO crops (name, area, cultivation, planted_at, harvested_at) [INFO] [stdout] 100 | | VALUES (?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 107 | | crop_harvested_at, [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let id = query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 186 | | r#" [INFO] [stdout] 187 | | INSERT INTO batches (crop_id, classification, processing, packing, quantity, tracking_code, date) [INFO] [stdout] 188 | | VALUES (?, ?, ?, ?, ?, ?, ?); [INFO] [stdout] ... | [INFO] [stdout] 196 | | date [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / query!( [INFO] [stdout] 125 | | r#" [INFO] [stdout] 126 | | UPDATE crops [INFO] [stdout] 127 | | SET name = ?, area = ?, cultivation = ?, planted_at = ?, harvested_at = ? [INFO] [stdout] ... | [INFO] [stdout] 135 | | id, [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / query!( [INFO] [stdout] 145 | | r#" [INFO] [stdout] 146 | | DELETE FROM crops [INFO] [stdout] 147 | | WHERE id = ? [INFO] [stdout] 148 | | "#, [INFO] [stdout] 149 | | id, [INFO] [stdout] 150 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / query!( [INFO] [stdout] 217 | | r#" [INFO] [stdout] 218 | | UPDATE batches [INFO] [stdout] 219 | | SET crop_id = ?, classification = ?, processing = ?, packing = ?, quantity = ?, tracking_code = ?, date = ? [INFO] [stdout] ... | [INFO] [stdout] 229 | | id [INFO] [stdout] 230 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/batch_repository.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | / query!( [INFO] [stdout] 239 | | r#" [INFO] [stdout] 240 | | DELETE FROM batches [INFO] [stdout] 241 | | WHERE id = ?; [INFO] [stdout] 242 | | "#, [INFO] [stdout] 243 | | id [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let crops = query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 54 | | CropDb, [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | SELECT id, name, area, cultivation, planted_at, harvested_at [INFO] [stdout] 57 | | FROM crops [INFO] [stdout] 58 | | "#, [INFO] [stdout] 59 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | let crop = query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 70 | | CropDb, [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT id, name, area, cultivation, planted_at, harvested_at [INFO] [stdout] ... | [INFO] [stdout] 76 | | id [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let crop_id = query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 98 | | r#" [INFO] [stdout] 99 | | INSERT INTO crops (name, area, cultivation, planted_at, harvested_at) [INFO] [stdout] 100 | | VALUES (?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 107 | | crop_harvested_at, [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / query!( [INFO] [stdout] 125 | | r#" [INFO] [stdout] 126 | | UPDATE crops [INFO] [stdout] 127 | | SET name = ?, area = ?, cultivation = ?, planted_at = ?, harvested_at = ? [INFO] [stdout] ... | [INFO] [stdout] 135 | | id, [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/repositories/crop_repository.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / query!( [INFO] [stdout] 145 | | r#" [INFO] [stdout] 146 | | DELETE FROM crops [INFO] [stdout] 147 | | WHERE id = ? [INFO] [stdout] 148 | | "#, [INFO] [stdout] 149 | | id, [INFO] [stdout] 150 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rastreabilidade` (bin "rastreabilidade") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rastreabilidade` (bin "rastreabilidade" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "9098eae8ebb978b8f8cd7a8035cddf6abeac4fef20529660953ff38093535b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9098eae8ebb978b8f8cd7a8035cddf6abeac4fef20529660953ff38093535b40", kill_on_drop: false }` [INFO] [stdout] 9098eae8ebb978b8f8cd7a8035cddf6abeac4fef20529660953ff38093535b40