[INFO] cloning repository https://github.com/Modulus/scraper-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Modulus/scraper-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Fscraper-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Fscraper-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62bc9a5a58b57b3aa1dd2952a8c5ea63f0a2056c [INFO] checking Modulus/scraper-test against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModulus%2Fscraper-test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Modulus/scraper-test [INFO] finished tweaking git repo https://github.com/Modulus/scraper-test [INFO] tweaked toml for git repo https://github.com/Modulus/scraper-test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Modulus/scraper-test on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Modulus/scraper-test 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded ego-tree v0.10.0 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded scraper v0.23.1 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded string_cache_codegen v0.5.4 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded ring v0.17.11 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61ab48b59a425efbee40185940885f436700df7209aa606baa72297808041070 [INFO] running `Command { std: "docker" "start" "-a" "61ab48b59a425efbee40185940885f436700df7209aa606baa72297808041070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61ab48b59a425efbee40185940885f436700df7209aa606baa72297808041070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ab48b59a425efbee40185940885f436700df7209aa606baa72297808041070", kill_on_drop: false }` [INFO] [stdout] 61ab48b59a425efbee40185940885f436700df7209aa606baa72297808041070 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3fbf9f0d5135885fd5d865731f75aa8ac828bf358d97118917d08d4c006982e [INFO] running `Command { std: "docker" "start" "-a" "c3fbf9f0d5135885fd5d865731f75aa8ac828bf358d97118917d08d4c006982e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking servo_arc v0.4.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking ego-tree v0.10.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking cssparser v0.34.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking string_cache v0.8.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Checking html5ever v0.29.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking scraper v0.23.1 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking scraper-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db/managers.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | INSERT INTO company (org_nr, name) [INFO] [stdout] 61 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 66 | | ).execute(&self.pool).await?; [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 `sqlx::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/db/managers.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | SELECT org_nr, name FROM company WHERE org_nr = ? [INFO] [stdout] 81 | | "#, [INFO] [stdout] 82 | | id [INFO] [stdout] 83 | | ).fetch_one(&self.pool).await?; [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 `sqlx::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/db/managers.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 95 | | r#" [INFO] [stdout] 96 | | DELETE FROM company [INFO] [stdout] 97 | | WHERE org_nr = ? [INFO] [stdout] 98 | | "#, [INFO] [stdout] 99 | | id [INFO] [stdout] 100 | | ) [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 `sqlx::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/db/managers.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | INSERT INTO forvalter (id, name) [INFO] [stdout] 128 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 131 | | forvalter.name, [INFO] [stdout] 132 | | ).execute(&self.pool).await?; [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 `sqlx::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/db/managers.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 144 | | r#" [INFO] [stdout] 145 | | SELECT id, name FROM forvalter WHERE id = ? [INFO] [stdout] 146 | | "#, [INFO] [stdout] 147 | | id [INFO] [stdout] 148 | | ).fetch_one(&self.pool).await?; [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/managers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/db/managers.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::chrono::{Utc, DateTime}; [INFO] [stdout] | ^^^^^^^^ [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/db/managers.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | INSERT INTO company (org_nr, name) [INFO] [stdout] 61 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 66 | | ).execute(&self.pool).await?; [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 `sqlx::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/db/managers.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 79 | | r#" [INFO] [stdout] 80 | | SELECT org_nr, name FROM company WHERE org_nr = ? [INFO] [stdout] 81 | | "#, [INFO] [stdout] 82 | | id [INFO] [stdout] 83 | | ).fetch_one(&self.pool).await?; [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 `sqlx::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/db/managers.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 95 | | r#" [INFO] [stdout] 96 | | DELETE FROM company [INFO] [stdout] 97 | | WHERE org_nr = ? [INFO] [stdout] 98 | | "#, [INFO] [stdout] 99 | | id [INFO] [stdout] 100 | | ) [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 `sqlx::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/db/managers.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let record = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | INSERT INTO forvalter (id, name) [INFO] [stdout] 128 | | VALUES (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 131 | | forvalter.name, [INFO] [stdout] 132 | | ).execute(&self.pool).await?; [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 `sqlx::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/db/managers.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 144 | | r#" [INFO] [stdout] 145 | | SELECT id, name FROM forvalter WHERE id = ? [INFO] [stdout] 146 | | "#, [INFO] [stdout] 147 | | id [INFO] [stdout] 148 | | ).fetch_one(&self.pool).await?; [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/managers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/db/managers.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::chrono::{Utc, DateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scraper-test` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `scraper-test` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3fbf9f0d5135885fd5d865731f75aa8ac828bf358d97118917d08d4c006982e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fbf9f0d5135885fd5d865731f75aa8ac828bf358d97118917d08d4c006982e", kill_on_drop: false }` [INFO] [stdout] c3fbf9f0d5135885fd5d865731f75aa8ac828bf358d97118917d08d4c006982e