[INFO] fetching crate sqlx-mapping 0.1.4... [INFO] testing sqlx-mapping-0.1.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sqlx-mapping 0.1.4 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sqlx-mapping 0.1.4 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2a3b6d8a7a3a6d73820679be80bf74d4f4754d440df00946a6e18f14c71690f [INFO] running `Command { std: "docker" "start" "-a" "a2a3b6d8a7a3a6d73820679be80bf74d4f4754d440df00946a6e18f14c71690f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2a3b6d8a7a3a6d73820679be80bf74d4f4754d440df00946a6e18f14c71690f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a3b6d8a7a3a6d73820679be80bf74d4f4754d440df00946a6e18f14c71690f", kill_on_drop: false }` [INFO] [stdout] a2a3b6d8a7a3a6d73820679be80bf74d4f4754d440df00946a6e18f14c71690f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e00007b2ce3722585b22834f369d738df99d2f6ff88085db684a5802d4da7f64 [INFO] running `Command { std: "docker" "start" "-a" "e00007b2ce3722585b22834f369d738df99d2f6ff88085db684a5802d4da7f64", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling stringprep v0.1.5 [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 chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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-attributes v0.1.30 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling clap v4.5.43 [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 parking_lot_core v0.9.11 [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 toml v0.9.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling toml_edit v0.23.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling chrono-tz v0.10.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] 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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 144 | for (_table_name, table_info) in all_tables { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `COUNT` [INFO] [stdout] | [INFO] [stdout] 144 - for (table_name, table_info) in all_tables { [INFO] [stdout] 144 + for (codegen::get_composite_foreign_keys::{closure#0}::COUNT, table_info) in all_tables { [INFO] [stdout] | [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: unused variable: `crud` [INFO] [stdout] --> src/codegen.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | crud, [INFO] [stdout] | ^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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] warning: unused variable: `stdout` [INFO] [stdout] --> src/watch.rs:50:21 [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, [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] 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 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 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: `mod_dir` [INFO] [stdout] --> src/codegen.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | mod_dir, [INFO] [stdout] | ^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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: 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] [stderr] error: could not compile `sqlx-mapping` (bin "sqlx-mapping") due to 5 previous errors; 46 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e00007b2ce3722585b22834f369d738df99d2f6ff88085db684a5802d4da7f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00007b2ce3722585b22834f369d738df99d2f6ff88085db684a5802d4da7f64", kill_on_drop: false }` [INFO] [stdout] e00007b2ce3722585b22834f369d738df99d2f6ff88085db684a5802d4da7f64