[INFO] fetching crate sqlx-mapping 0.1.4...
[INFO] testing sqlx-mapping-0.1.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate sqlx-mapping 0.1.4 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate sqlx-mapping 0.1.4
[INFO] finished tweaking crates.io crate sqlx-mapping 0.1.4
[INFO] tweaked toml for crates.io crate sqlx-mapping 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sqlx-mapping 0.1.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate sqlx-mapping 0.1.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.6
[INFO] [stderr]   Downloaded phf_shared v0.12.1
[INFO] [stderr]   Downloaded toml_parser v1.0.2
[INFO] [stderr]   Downloaded phf v0.12.1
[INFO] [stderr]   Downloaded sqlx-macros v0.8.6
[INFO] [stderr]   Downloaded dotenvy v0.15.7
[INFO] [stderr]   Downloaded document-features v0.2.11
[INFO] [stderr]   Downloaded derive_more-impl v2.0.1
[INFO] [stderr]   Downloaded convert_case v0.7.1
[INFO] [stderr]   Downloaded anstream v0.6.20
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.4
[INFO] [stderr]   Downloaded sqlx-core v0.8.6
[INFO] [stderr]   Downloaded sqlx v0.8.6
[INFO] [stderr]   Downloaded etcetera v0.8.0
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded bigdecimal v0.4.8
[INFO] [stderr]   Downloaded toml_edit v0.23.3
[INFO] [stderr]   Downloaded crc-catalog v2.4.0
[INFO] [stderr]   Downloaded rsa v0.9.8
[INFO] [stderr]   Downloaded md-5 v0.10.6
[INFO] [stderr]   Downloaded webpki-roots v0.26.11
[INFO] [stderr]   Downloaded chrono-tz v0.10.4
[INFO] [stderr]   Downloaded bitflags v2.9.2
[INFO] [stderr]   Downloaded derive_more v2.0.1
[INFO] [stderr]   Downloaded litrs v0.4.2
[INFO] [stderr]   Downloaded pkcs1 v0.7.5
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.6
[INFO] [stderr]   Downloaded stringprep v0.1.5
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.6
[INFO] [stderr]   Downloaded atoi v2.0.0
[INFO] [stderr]   Downloaded toml v0.9.5
[INFO] [stderr]   Downloaded crc v3.3.0
[INFO] [stderr]   Downloaded futures-intrusive v0.5.0
[INFO] [stderr]   Downloaded crossterm v0.29.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.6
[INFO] [stderr]   Downloaded unicode-normalization v0.1.24
[INFO] [stderr]   Downloaded unicode-properties v0.1.3
[INFO] [stderr]   Downloaded libsqlite3-sys v0.30.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46b6ee3f7fdc3ce9b88039f59284b01eeb0bdfa1c87467037c115d7f58fe2cba
[INFO] running `Command { std: "docker" "start" "-a" "46b6ee3f7fdc3ce9b88039f59284b01eeb0bdfa1c87467037c115d7f58fe2cba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46b6ee3f7fdc3ce9b88039f59284b01eeb0bdfa1c87467037c115d7f58fe2cba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46b6ee3f7fdc3ce9b88039f59284b01eeb0bdfa1c87467037c115d7f58fe2cba", kill_on_drop: false }`
[INFO] [stdout] 46b6ee3f7fdc3ce9b88039f59284b01eeb0bdfa1c87467037c115d7f58fe2cba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1868207284eb28b6a1b4649aee36f187c11552e2fb89a7630ab405f848c2d4ba
[INFO] running `Command { std: "docker" "start" "-a" "1868207284eb28b6a1b4649aee36f187c11552e2fb89a7630ab405f848c2d4ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling rustls v0.23.31
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling bitflags v2.9.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling webpki-roots v1.0.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling bigdecimal v0.4.8
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling phf_shared v0.12.1
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling prettyplease v0.2.36
[INFO] [stderr]    Compiling chrono-tz v0.10.4
[INFO] [stderr]    Compiling toml_writer v1.0.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling phf v0.12.1
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling terminal_size v0.4.2
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling clap_builder v4.5.43
[INFO] [stderr]    Compiling toml_parser v1.0.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling clap v4.5.43
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling toml_datetime v0.7.0
[INFO] [stderr]    Compiling serde_spanned v1.0.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling toml_edit v0.23.3
[INFO] [stderr]    Compiling toml v0.9.5
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling sqlx-mapping v0.1.4 (/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/codegen.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let columns = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 129 | |         ColumnRow,
[INFO] [stdout] 130 | |         r#"
[INFO] [stdout] 131 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |         table_name
[INFO] [stdout] 145 | |     )
[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_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/codegen.rs:176:15
[INFO] [stdout]     |
[INFO] [stdout] 176 |       let pks = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 177 | |         PkRow,
[INFO] [stdout] 178 | |         r#"
[INFO] [stdout] 179 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 191 | |         schema_name
[INFO] [stdout] 192 | |     )
[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_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/codegen.rs:209:23
[INFO] [stdout]     |
[INFO] [stdout] 209 |       let constraints = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 210 | |         ConstraintRow,
[INFO] [stdout] 211 | |         r#"
[INFO] [stdout] 212 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 231 | |         table_name
[INFO] [stdout] 232 | |     )
[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_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/codegen.rs:248:19
[INFO] [stdout]     |
[INFO] [stdout] 248 |       let indexes = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 249 | |         IndexRow,
[INFO] [stdout] 250 | |         r#"
[INFO] [stdout] 251 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |         table_name
[INFO] [stdout] 268 | |     )
[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_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/codegen.rs:2307:22
[INFO] [stdout]      |
[INFO] [stdout] 2307 |       let pg_classes = sqlx::query_as!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 2308 | |         PgClass,
[INFO] [stdout] 2309 | |         r#"SELECT oid, relname FROM pg_catalog.pg_class WHERE relname = ANY($1)"#,
[INFO] [stdout] 2310 | |         &t_names
[INFO] [stdout] 2311 | |     )
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModItemAttr`
[INFO] [stdout]  --> src/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     ModItemAttr, Options, create_mod_rs_if_not_exists, process_ast, process_ast_update,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TimeZone` and `Utc`
[INFO] [stdout]  --> src/cli.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::{TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ToTokens` and `format_ident`
[INFO] [stdout]   --> src/cli.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use quote::{ToTokens, format_ident};
[INFO] [stdout]    |             ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/cli.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use sqlx::{Error, Pool, Postgres};
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ItemStruct` and `parse_quote`
[INFO] [stdout]   --> src/cli.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | use syn::{ItemStruct, parse_quote};
[INFO] [stdout]    |           ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono_tz::Asia::Shanghai`
[INFO] [stdout]   --> src/cli.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | use chrono_tz::Asia::Shanghai;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono_tz::Tz`
[INFO] [stdout]  --> src/codegen.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono_tz::Tz;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/codegen.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]   --> src/codegen.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::ops::Deref;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/codegen.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FnArg` and `ItemType`
[INFO] [stdout]   --> src/codegen.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Attribute, Expr, ExprLit, File, FnArg, Item, ItemEnum, ItemFn, ItemImpl, ItemMod, ItemStruct,
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 20 |     ItemType, ItemUse, Lit, LitStr, Meta, MetaNameValue, Type, parse_file, parse_quote,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cursor`, `execute`, `style`, and `terminal`
[INFO] [stdout]  --> src/executor.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crossterm::{cursor, execute, style, terminal};
[INFO] [stdout]   |                 ^^^^^^  ^^^^^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write`
[INFO] [stdout]  --> src/executor.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, BufRead, BufReader, ErrorKind, Read, Write};
[INFO] [stdout]   |                     ^^^^^^^  ^^^^^^^^^                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/executor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicBool` and `Ordering`
[INFO] [stdout]  --> src/executor.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::atomic::{AtomicBool, Ordering};
[INFO] [stdout]   |                         ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgNotification`
[INFO] [stdout]  --> src/watch.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::postgres::{PgListener, PgNotification};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/watch.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Error, PgPool};
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Command`
[INFO] [stdout]    --> src/watch.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     Command, cursor,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]    --> src/watch.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 178 | use std::ops::Deref;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtomicI32` and `AtomicUsize`
[INFO] [stdout]    --> src/watch.rs:179:37
[INFO] [stdout]     |
[INFO] [stdout] 179 | use std::sync::atomic::{AtomicBool, AtomicI32, AtomicU8, AtomicUsize, Ordering};
[INFO] [stdout]     |                                     ^^^^^^^^^            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]    --> src/watch.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 | use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/codegen.rs:128:19
[INFO] [stdout]     |
[INFO] [stdout] 128 |       let columns = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 129 | |         ColumnRow,
[INFO] [stdout] 130 | |         r#"
[INFO] [stdout] 131 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | |     .fetch_all(pool)
[INFO] [stdout] 147 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/codegen.rs:176:15
[INFO] [stdout]     |
[INFO] [stdout] 176 |       let pks = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 177 | |         PkRow,
[INFO] [stdout] 178 | |         r#"
[INFO] [stdout] 179 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 193 | |     .fetch_all(pool)
[INFO] [stdout] 194 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/codegen.rs:209:23
[INFO] [stdout]     |
[INFO] [stdout] 209 |       let constraints = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 210 | |         ConstraintRow,
[INFO] [stdout] 211 | |         r#"
[INFO] [stdout] 212 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 233 | |     .fetch_all(pool)
[INFO] [stdout] 234 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/codegen.rs:248:19
[INFO] [stdout]     |
[INFO] [stdout] 248 |       let indexes = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 249 | |         IndexRow,
[INFO] [stdout] 250 | |         r#"
[INFO] [stdout] 251 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |     .fetch_all(pool)
[INFO] [stdout] 270 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/codegen.rs:1822:9
[INFO] [stdout]      |
[INFO] [stdout] 1822 |     let mut use_items: Vec<_> = generate_use_deps(options, &table);
[INFO] [stdout]      |         ----^^^^^^^^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/codegen.rs:2183:9
[INFO] [stdout]      |
[INFO] [stdout] 2183 |     let mut foreign_info = sqlx::query_as::<_, ForeignKey>(
[INFO] [stdout]      |         ----^^^^^^^^^^^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/codegen.rs:2307:22
[INFO] [stdout]      |
[INFO] [stdout] 2307 |       let pg_classes = sqlx::query_as!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 2308 | |         PgClass,
[INFO] [stdout] 2309 | |         r#"SELECT oid, relname FROM pg_catalog.pg_class WHERE relname = ANY($1)"#,
[INFO] [stdout] 2310 | |         &t_names
[INFO] [stdout] 2311 | |     )
[INFO] [stdout] 2312 | |     .fetch_all(pool)
[INFO] [stdout] 2313 | |     .await
[INFO] [stdout]      | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/watch.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let mut stdout = io::stdout();
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `syn::parse::Parse`
[INFO] [stdout]   --> src/codegen.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use syn::parse::Parse;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/codegen.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_name`
[INFO] [stdout]    --> src/cli.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |                 for (table_name, table_info) in all_tables {
[INFO] [stdout]     |                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mod_dir`
[INFO] [stdout]    --> src/watch.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         mod_dir,
[INFO] [stdout]     |         ^^^^^^^ help: try ignoring the field: `mod_dir: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mod_file`
[INFO] [stdout]    --> src/watch.rs:249:9
[INFO] [stdout]     |
[INFO] [stdout] 249 |         mod_file,
[INFO] [stdout]     |         ^^^^^^^^ help: try ignoring the field: `mod_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `executor`
[INFO] [stdout]    --> src/watch.rs:355:13
[INFO] [stdout]     |
[INFO] [stdout] 355 |         let executor = CommandExecutor;
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mod_dir`
[INFO] [stdout]    --> src/codegen.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 |         mod_dir,
[INFO] [stdout]     |         ^^^^^^^ help: try ignoring the field: `mod_dir: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/codegen.rs:559:9
[INFO] [stdout]     |
[INFO] [stdout] 559 |     let mut ty = if is_array {
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crud`
[INFO] [stdout]     --> src/codegen.rs:1504:9
[INFO] [stdout]      |
[INFO] [stdout] 1504 |         crud,
[INFO] [stdout]      |         ^^^^ help: try ignoring the field: `crud: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]     --> src/codegen.rs:1375:5
[INFO] [stdout]      |
[INFO] [stdout] 1375 |     pool: &PgPool,
[INFO] [stdout]      |     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/codegen.rs:1649:9
[INFO] [stdout]      |
[INFO] [stdout] 1649 |     let mut op = HashMap::new();
[INFO] [stdout]      |         ----^^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stdout`
[INFO] [stdout]   --> src/watch.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             let mut stdout = io::stdout();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mod_file`
[INFO] [stdout]   --> src/watch.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 mod_file,
[INFO] [stdout]    |                 ^^^^^^^^ help: try ignoring the field: `mod_file: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `create`
[INFO] [stdout]   --> src/watch.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 create,
[INFO] [stdout]    |                 ^^^^^^ help: try ignoring the field: `create: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/watch.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 update,
[INFO] [stdout]    |                 ^^^^^^ help: try ignoring the field: `update: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delete`
[INFO] [stdout]   --> src/watch.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 delete,
[INFO] [stdout]    |                 ^^^^^^ help: try ignoring the field: `delete: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `retrieve`
[INFO] [stdout]   --> src/watch.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 retrieve,
[INFO] [stdout]    |                 ^^^^^^^^ help: try ignoring the field: `retrieve: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crud`
[INFO] [stdout]   --> src/watch.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 crud,
[INFO] [stdout]    |                 ^^^^ help: try ignoring the field: `crud: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `model`
[INFO] [stdout]   --> src/watch.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 model,
[INFO] [stdout]    |                 ^^^^^ help: try ignoring the field: `model: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db_url`
[INFO] [stdout]   --> src/watch.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 db_url,
[INFO] [stdout]    |                 ^^^^^^ help: try ignoring the field: `db_url: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/watch.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     status: Arc<AtomicBool>,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/watch.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let d = Arc::new(AtomicU8::new(0));
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlx-mapping` (bin "sqlx-mapping") due to 10 previous errors; 46 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1868207284eb28b6a1b4649aee36f187c11552e2fb89a7630ab405f848c2d4ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1868207284eb28b6a1b4649aee36f187c11552e2fb89a7630ab405f848c2d4ba", kill_on_drop: false }`
[INFO] [stdout] 1868207284eb28b6a1b4649aee36f187c11552e2fb89a7630ab405f848c2d4ba
