[INFO] cloning repository https://github.com/ArthurMattos95/projeto-academia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArthurMattos95/projeto-academia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurMattos95%2Fprojeto-academia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurMattos95%2Fprojeto-academia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 379006e1df5d80f7ea70a99142f2cc4166607cc1
[INFO] checking ArthurMattos95/projeto-academia against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurMattos95%2Fprojeto-academia" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ArthurMattos95/projeto-academia
[INFO] finished tweaking git repo https://github.com/ArthurMattos95/projeto-academia
[INFO] tweaked toml for git repo https://github.com/ArthurMattos95/projeto-academia written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ArthurMattos95/projeto-academia on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ArthurMattos95/projeto-academia 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "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 unic-ucd-version v0.9.0
[INFO] [stderr]   Downloaded unic-char-range v0.9.0
[INFO] [stderr]   Downloaded unic-common v0.9.0
[INFO] [stderr]   Downloaded chrono-tz-build v0.3.0
[INFO] [stderr]   Downloaded sqlx-macros v0.7.4
[INFO] [stderr]   Downloaded http-range v0.1.5
[INFO] [stderr]   Downloaded humansize v2.1.3
[INFO] [stderr]   Downloaded unic-char-property v0.9.0
[INFO] [stderr]   Downloaded slug v0.1.6
[INFO] [stderr]   Downloaded globwalk v0.9.1
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded v_htmlescape v0.15.8
[INFO] [stderr]   Downloaded actix-identity v0.4.0
[INFO] [stderr]   Downloaded bcrypt v0.14.0
[INFO] [stderr]   Downloaded globset v0.4.16
[INFO] [stderr]   Downloaded whoami v1.6.0
[INFO] [stderr]   Downloaded unic-ucd-segment v0.9.0
[INFO] [stderr]   Downloaded unic-segment v0.9.0
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded base64ct v1.7.3
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.4
[INFO] [stderr]   Downloaded actix-session v0.7.2
[INFO] [stderr]   Downloaded derive_more v0.99.20
[INFO] [stderr]   Downloaded actix-files v0.6.6
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.4
[INFO] [stderr]   Downloaded openssl-sys v0.9.108
[INFO] [stderr]   Downloaded icu_properties v2.0.0
[INFO] [stderr]   Downloaded tera v1.20.0
[INFO] [stderr]   Downloaded ignore v0.4.23
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.4
[INFO] [stderr]   Downloaded sqlx-core v0.7.4
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.4
[INFO] [stderr]   Downloaded icu_properties_data v2.0.0
[INFO] [stderr]   Downloaded sqlx v0.7.4
[INFO] [stderr]   Downloaded deunicode v1.6.2
[INFO] [stderr]   Downloaded chrono-tz v0.9.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fbdf7f3e4d243c0b8567e5a71df618a7b947acc619642e2f040f6684f20944b3
[INFO] running `Command { std: "docker" "start" "-a" "fbdf7f3e4d243c0b8567e5a71df618a7b947acc619642e2f040f6684f20944b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fbdf7f3e4d243c0b8567e5a71df618a7b947acc619642e2f040f6684f20944b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbdf7f3e4d243c0b8567e5a71df618a7b947acc619642e2f040f6684f20944b3", kill_on_drop: false }`
[INFO] [stdout] fbdf7f3e4d243c0b8567e5a71df618a7b947acc619642e2f040f6684f20944b3
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81f6d803767e516be2a9ff1b3a72b4a724d7bebb399d941ce487a4296b0ad144
[INFO] running `Command { std: "docker" "start" "-a" "81f6d803767e516be2a9ff1b3a72b4a724d7bebb399d941ce487a4296b0ad144", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[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 serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]    Compiling chrono-tz-build v0.3.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking unic-char-range v0.9.0
[INFO] [stderr]     Checking unic-common v0.9.0
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]     Checking globset v0.4.16
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking unic-ucd-version v0.9.0
[INFO] [stderr]     Checking unic-char-property v0.9.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling pest_meta v2.8.0
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling chrono-tz v0.9.0
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling pest_generator v2.8.0
[INFO] [stderr]     Checking ignore v0.4.23
[INFO] [stderr]     Checking unic-ucd-segment v0.9.0
[INFO] [stderr]     Checking deunicode v1.6.2
[INFO] [stderr]     Checking slug v0.1.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking humansize v2.1.3
[INFO] [stderr]     Checking unic-segment v0.9.0
[INFO] [stderr]     Checking globwalk v0.9.1
[INFO] [stderr]    Compiling pest_derive v2.8.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking actix-files v0.6.6
[INFO] [stderr]     Checking bcrypt v0.14.0
[INFO] [stderr]     Checking actix-identity v0.4.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking actix-session v0.7.2
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking tera v1.20.0
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking projeto_academia 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/handlers.rs:92:18
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let treino = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 93 | |         "INSERT INTO treino (nome, usuario_id) VALUES ($1, $2) RETURNING id",
[INFO] [stdout] 94 | |         form.nome_treino,
[INFO] [stdout] 95 | |         usuario_id
[INFO] [stdout] 96 | |     )
[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/handlers.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         sqlx::query!(
[INFO] [stdout] 107 | |             "INSERT INTO treino_exercicio (treino_id, exercicio_id, series, repeticoes) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 108 | |             treino.id,
[INFO] [stdout] 109 | |             ex.id,
[INFO] [stdout] 110 | |             ex.series,
[INFO] [stdout] 111 | |             ex.repeticoes
[INFO] [stdout] 112 | |         )
[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/handlers.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |       let treinos = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 134 | |         "SELECT id, nome FROM treino WHERE usuario_id = $1",
[INFO] [stdout] 135 | |         usuario_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 `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/handlers.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 149 | |             ExercicioDetalhado,
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             SELECT e.id, e.nome, e.gif_url, te.series, te.repeticoes
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             treino.id
[INFO] [stdout] 157 | |         )
[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/handlers.rs:197:22
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let treino_row = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 198 | |         "SELECT id, nome FROM treino WHERE id = $1 AND usuario_id=$2",
[INFO] [stdout] 199 | |         treino_id,usuario_id
[INFO] [stdout] 200 | |     )
[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/handlers.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |       let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 215 | |         ExercicioDetalhado,
[INFO] [stdout] 216 | |         r#"
[INFO] [stdout] 217 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |         treino_id
[INFO] [stdout] 229 | |     )
[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/handlers.rs:270:18
[INFO] [stdout]     |
[INFO] [stdout] 270 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 271 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 272 | |         form.treino_id,
[INFO] [stdout] 273 | |         usuario_id
[INFO] [stdout] 274 | |     )
[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/handlers.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 287 | /     sqlx::query!(
[INFO] [stdout] 288 | |         "DELETE FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 289 | |         form.treino_id,
[INFO] [stdout] 290 | |         usuario_id
[INFO] [stdout] 291 | |     )
[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/handlers.rs:320:18
[INFO] [stdout]     |
[INFO] [stdout] 320 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 321 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 322 | |         form.treino_id,
[INFO] [stdout] 323 | |         usuario_id
[INFO] [stdout] 324 | |     )
[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/handlers.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 | /             sqlx::query!(
[INFO] [stdout] 340 | |                 "UPDATE treino_exercicio SET series = $1, repeticoes = $2 WHERE treino_id = $3 AND exercicio_id = $4",
[INFO] [stdout] 341 | |                 series,
[INFO] [stdout] 342 | |                 repeticoes,
[INFO] [stdout] 343 | |                 form.treino_id,
[INFO] [stdout] 344 | |                 exercicio_id
[INFO] [stdout] 345 | |             )
[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/handlers.rs:373:18
[INFO] [stdout]     |
[INFO] [stdout] 373 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 374 | |         "DELETE FROM treino_exercicio WHERE treino_id = $1 AND exercicio_id = $2",
[INFO] [stdout] 375 | |         form.treino_id,
[INFO] [stdout] 376 | |         form.exercicio_id
[INFO] [stdout] 377 | |     )
[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: `ExercicioDetalhado`
[INFO] [stdout]  --> src/handlers.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{Usuario, Exercicio, ExercicioDetalhado, TreinoDetalhado};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers.rs:92:18
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let treino = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 93 | |         "INSERT INTO treino (nome, usuario_id) VALUES ($1, $2) RETURNING id",
[INFO] [stdout] 94 | |         form.nome_treino,
[INFO] [stdout] 95 | |         usuario_id
[INFO] [stdout] 96 | |     )
[INFO] [stdout] 97 | |     .fetch_one(db_pool.get_ref())
[INFO] [stdout] 98 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         sqlx::query!(
[INFO] [stdout] 107 | |             "INSERT INTO treino_exercicio (treino_id, exercicio_id, series, repeticoes) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 108 | |             treino.id,
[INFO] [stdout] 109 | |             ex.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |         .execute(db_pool.get_ref())
[INFO] [stdout] 114 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |       let treinos = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 134 | |         "SELECT id, nome FROM treino WHERE usuario_id = $1",
[INFO] [stdout] 135 | |         usuario_id
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 149 | |             ExercicioDetalhado,
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             SELECT e.id, e.nome, e.gif_url, te.series, te.repeticoes
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |         .fetch_all(db_pool.get_ref())
[INFO] [stdout] 159 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:197:22
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let treino_row = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 198 | |         "SELECT id, nome FROM treino WHERE id = $1 AND usuario_id=$2",
[INFO] [stdout] 199 | |         treino_id,usuario_id
[INFO] [stdout] ...   |
[INFO] [stdout] 202 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |       let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 215 | |         ExercicioDetalhado,
[INFO] [stdout] 216 | |         r#"
[INFO] [stdout] 217 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | |     .fetch_all(db_pool.get_ref())
[INFO] [stdout] 231 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:270:18
[INFO] [stdout]     |
[INFO] [stdout] 270 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 271 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 272 | |         form.treino_id,
[INFO] [stdout] 273 | |         usuario_id
[INFO] [stdout] 274 | |     )
[INFO] [stdout] 275 | |     .fetch_optional(db_pool.get_ref())
[INFO] [stdout] 276 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 287 | /     sqlx::query!(
[INFO] [stdout] 288 | |         "DELETE FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 289 | |         form.treino_id,
[INFO] [stdout] 290 | |         usuario_id
[INFO] [stdout] 291 | |     )
[INFO] [stdout] 292 | |     .execute(db_pool.get_ref())
[INFO] [stdout] 293 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5.
[INFO] [stdout]    --> src/handlers.rs:301:10
[INFO] [stdout]     |
[INFO] [stdout] 301 |         .header("Location", "/meus_treinos")
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:320:18
[INFO] [stdout]     |
[INFO] [stdout] 320 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 321 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 322 | |         form.treino_id,
[INFO] [stdout] 323 | |         usuario_id
[INFO] [stdout] 324 | |     )
[INFO] [stdout] 325 | |     .fetch_optional(db_pool.get_ref())
[INFO] [stdout] 326 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 | /             sqlx::query!(
[INFO] [stdout] 340 | |                 "UPDATE treino_exercicio SET series = $1, repeticoes = $2 WHERE treino_id = $3 AND exercicio_id = $4",
[INFO] [stdout] 341 | |                 series,
[INFO] [stdout] 342 | |                 repeticoes,
[INFO] [stdout] ...   |
[INFO] [stdout] 346 | |             .execute(db_pool.get_ref())
[INFO] [stdout] 347 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[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/handlers.rs:92:18
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let treino = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 93 | |         "INSERT INTO treino (nome, usuario_id) VALUES ($1, $2) RETURNING id",
[INFO] [stdout] 94 | |         form.nome_treino,
[INFO] [stdout] 95 | |         usuario_id
[INFO] [stdout] 96 | |     )
[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/handlers.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         sqlx::query!(
[INFO] [stdout] 107 | |             "INSERT INTO treino_exercicio (treino_id, exercicio_id, series, repeticoes) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 108 | |             treino.id,
[INFO] [stdout] 109 | |             ex.id,
[INFO] [stdout] 110 | |             ex.series,
[INFO] [stdout] 111 | |             ex.repeticoes
[INFO] [stdout] 112 | |         )
[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/handlers.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |       let treinos = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 134 | |         "SELECT id, nome FROM treino WHERE usuario_id = $1",
[INFO] [stdout] 135 | |         usuario_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 `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/handlers.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 149 | |             ExercicioDetalhado,
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             SELECT e.id, e.nome, e.gif_url, te.series, te.repeticoes
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             treino.id
[INFO] [stdout] 157 | |         )
[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/handlers.rs:197:22
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let treino_row = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 198 | |         "SELECT id, nome FROM treino WHERE id = $1 AND usuario_id=$2",
[INFO] [stdout] 199 | |         treino_id,usuario_id
[INFO] [stdout] 200 | |     )
[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/handlers.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |       let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 215 | |         ExercicioDetalhado,
[INFO] [stdout] 216 | |         r#"
[INFO] [stdout] 217 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |         treino_id
[INFO] [stdout] 229 | |     )
[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/handlers.rs:270:18
[INFO] [stdout]     |
[INFO] [stdout] 270 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 271 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 272 | |         form.treino_id,
[INFO] [stdout] 273 | |         usuario_id
[INFO] [stdout] 274 | |     )
[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/handlers.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 287 | /     sqlx::query!(
[INFO] [stdout] 288 | |         "DELETE FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 289 | |         form.treino_id,
[INFO] [stdout] 290 | |         usuario_id
[INFO] [stdout] 291 | |     )
[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/handlers.rs:320:18
[INFO] [stdout]     |
[INFO] [stdout] 320 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 321 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 322 | |         form.treino_id,
[INFO] [stdout] 323 | |         usuario_id
[INFO] [stdout] 324 | |     )
[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/handlers.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 | /             sqlx::query!(
[INFO] [stdout] 340 | |                 "UPDATE treino_exercicio SET series = $1, repeticoes = $2 WHERE treino_id = $3 AND exercicio_id = $4",
[INFO] [stdout] 341 | |                 series,
[INFO] [stdout] 342 | |                 repeticoes,
[INFO] [stdout] 343 | |                 form.treino_id,
[INFO] [stdout] 344 | |                 exercicio_id
[INFO] [stdout] 345 | |             )
[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/handlers.rs:373:18
[INFO] [stdout]     |
[INFO] [stdout] 373 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 374 | |         "DELETE FROM treino_exercicio WHERE treino_id = $1 AND exercicio_id = $2",
[INFO] [stdout] 375 | |         form.treino_id,
[INFO] [stdout] 376 | |         form.exercicio_id
[INFO] [stdout] 377 | |     )
[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: `ExercicioDetalhado`
[INFO] [stdout]  --> src/handlers.rs:3:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{Usuario, Exercicio, ExercicioDetalhado, TreinoDetalhado};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `projeto_academia` (bin "projeto_academia" test) due to 21 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers.rs:92:18
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let treino = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 93 | |         "INSERT INTO treino (nome, usuario_id) VALUES ($1, $2) RETURNING id",
[INFO] [stdout] 94 | |         form.nome_treino,
[INFO] [stdout] 95 | |         usuario_id
[INFO] [stdout] 96 | |     )
[INFO] [stdout] 97 | |     .fetch_one(db_pool.get_ref())
[INFO] [stdout] 98 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         sqlx::query!(
[INFO] [stdout] 107 | |             "INSERT INTO treino_exercicio (treino_id, exercicio_id, series, repeticoes) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 108 | |             treino.id,
[INFO] [stdout] 109 | |             ex.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |         .execute(db_pool.get_ref())
[INFO] [stdout] 114 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |       let treinos = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 134 | |         "SELECT id, nome FROM treino WHERE usuario_id = $1",
[INFO] [stdout] 135 | |         usuario_id
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:148:26
[INFO] [stdout]     |
[INFO] [stdout] 148 |           let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 149 | |             ExercicioDetalhado,
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             SELECT e.id, e.nome, e.gif_url, te.series, te.repeticoes
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |         .fetch_all(db_pool.get_ref())
[INFO] [stdout] 159 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:197:22
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let treino_row = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 198 | |         "SELECT id, nome FROM treino WHERE id = $1 AND usuario_id=$2",
[INFO] [stdout] 199 | |         treino_id,usuario_id
[INFO] [stdout] ...   |
[INFO] [stdout] 202 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:214:22
[INFO] [stdout]     |
[INFO] [stdout] 214 |       let exercicios = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 215 | |         ExercicioDetalhado,
[INFO] [stdout] 216 | |         r#"
[INFO] [stdout] 217 | |         SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | |     .fetch_all(db_pool.get_ref())
[INFO] [stdout] 231 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:270:18
[INFO] [stdout]     |
[INFO] [stdout] 270 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 271 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 272 | |         form.treino_id,
[INFO] [stdout] 273 | |         usuario_id
[INFO] [stdout] 274 | |     )
[INFO] [stdout] 275 | |     .fetch_optional(db_pool.get_ref())
[INFO] [stdout] 276 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 287 | /     sqlx::query!(
[INFO] [stdout] 288 | |         "DELETE FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 289 | |         form.treino_id,
[INFO] [stdout] 290 | |         usuario_id
[INFO] [stdout] 291 | |     )
[INFO] [stdout] 292 | |     .execute(db_pool.get_ref())
[INFO] [stdout] 293 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5.
[INFO] [stdout]    --> src/handlers.rs:301:10
[INFO] [stdout]     |
[INFO] [stdout] 301 |         .header("Location", "/meus_treinos")
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:320:18
[INFO] [stdout]     |
[INFO] [stdout] 320 |       let treino = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 321 | |         "SELECT id FROM treino WHERE id = $1 AND usuario_id = $2",
[INFO] [stdout] 322 | |         form.treino_id,
[INFO] [stdout] 323 | |         usuario_id
[INFO] [stdout] 324 | |     )
[INFO] [stdout] 325 | |     .fetch_optional(db_pool.get_ref())
[INFO] [stdout] 326 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers.rs:339:13
[INFO] [stdout]     |
[INFO] [stdout] 339 | /             sqlx::query!(
[INFO] [stdout] 340 | |                 "UPDATE treino_exercicio SET series = $1, repeticoes = $2 WHERE treino_id = $3 AND exercicio_id = $4",
[INFO] [stdout] 341 | |                 series,
[INFO] [stdout] 342 | |                 repeticoes,
[INFO] [stdout] ...   |
[INFO] [stdout] 346 | |             .execute(db_pool.get_ref())
[INFO] [stdout] 347 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `projeto_academia` (bin "projeto_academia") due to 21 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "81f6d803767e516be2a9ff1b3a72b4a724d7bebb399d941ce487a4296b0ad144", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81f6d803767e516be2a9ff1b3a72b4a724d7bebb399d941ce487a4296b0ad144", kill_on_drop: false }`
[INFO] [stdout] 81f6d803767e516be2a9ff1b3a72b4a724d7bebb399d941ce487a4296b0ad144
