[INFO] cloning repository https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2024-Kosen-programming-contest-Ube%2Fecowatch_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2024-Kosen-programming-contest-Ube%2Fecowatch_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7bf671b59b6213f871bbe65318e871b8205936e9
[INFO] building 2024-Kosen-programming-contest-Ube/ecowatch_backend against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2024-Kosen-programming-contest-Ube%2Fecowatch_backend" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend
[INFO] finished tweaking git repo https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend
[INFO] tweaked toml for git repo https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/2024-Kosen-programming-contest-Ube/ecowatch_backend 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "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 rustls-pemfile v2.1.3
[INFO] [stderr]   Downloaded rustls-pki-types v1.9.0
[INFO] [stderr]   Downloaded sqlx-macros v0.8.2
[INFO] [stderr]   Downloaded ulid v1.1.3
[INFO] [stderr]   Downloaded ordered-multimap v0.6.0
[INFO] [stderr]   Downloaded dlv-list v0.5.2
[INFO] [stderr]   Downloaded password-hash v0.5.0
[INFO] [stderr]   Downloaded config v0.14.0
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.2
[INFO] [stderr]   Downloaded cc v1.1.22
[INFO] [stderr]   Downloaded sqlx-core v0.8.2
[INFO] [stderr]   Downloaded pest v2.7.13
[INFO] [stderr]   Downloaded hyper v1.4.1
[INFO] [stderr]   Downloaded sqlx v0.8.2
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.2
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.2
[INFO] [stderr]   Downloaded argon2 v0.5.3
[INFO] [stderr]   Downloaded pest_meta v2.7.13
[INFO] [stderr]   Downloaded pest_generator v2.7.13
[INFO] [stderr]   Downloaded pest_derive v2.7.13
[INFO] [stderr]   Downloaded cookie v0.18.1
[INFO] [stderr]   Downloaded rustls v0.23.13
[INFO] [stderr]   Downloaded whoami v1.5.2
[INFO] [stderr]   Downloaded redox_syscall v0.5.6
[INFO] [stderr]   Downloaded rust-ini v0.19.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.2
[INFO] [stderr]   Downloaded libsqlite3-sys v0.30.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0da330ac24cb0f666feb8d75f1125aefc90e00e54539db1ced91b9a5b68ce88c
[INFO] running `Command { std: "docker" "start" "-a" "0da330ac24cb0f666feb8d75f1125aefc90e00e54539db1ced91b9a5b68ce88c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0da330ac24cb0f666feb8d75f1125aefc90e00e54539db1ced91b9a5b68ce88c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0da330ac24cb0f666feb8d75f1125aefc90e00e54539db1ced91b9a5b68ce88c", kill_on_drop: false }`
[INFO] [stdout] 0da330ac24cb0f666feb8d75f1125aefc90e00e54539db1ced91b9a5b68ce88c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3a301da24e5a82036b65c40d3639014bd9732face12c73525271a14c2c0ee54
[INFO] running `Command { std: "docker" "start" "-a" "d3a301da24e5a82036b65c40d3639014bd9732face12c73525271a14c2c0ee54", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling cc v1.1.22
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling rustls-pki-types v1.9.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling rustls v0.23.13
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling pest v2.7.13
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling pest_meta v2.7.13
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling pest_generator v2.7.13
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling ordered-multimap v0.6.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]    Compiling pest_derive v2.7.13
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.2
[INFO] [stderr]    Compiling rust-ini v0.19.0
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling config v0.14.0
[INFO] [stderr]    Compiling ulid v1.1.3
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]    Compiling sqlx v0.8.2
[INFO] [stderr]    Compiling ecowatch_backend v0.9.1 (/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/classroom.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |       let result = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 44 | |         "SELECT EXISTS(SELECT 1 FROM school WHERE id=$1)",
[INFO] [stdout] 45 | |         create_data.school_id
[INFO] [stdout] 46 | |     )
[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_scalar` (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/classroom.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 66 | |         "INSERT INTO classroom VALUES($1, $2, $3, $4, $5)",
[INFO] [stdout] 67 | |         id,
[INFO] [stdout] 68 | |         create_data.school_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |         hash
[INFO] [stdout] 72 | |     )
[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/classroom.rs:114:18
[INFO] [stdout]     |
[INFO] [stdout] 114 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 115 | |         "SELECT password_hash FROM classroom WHERE id=$1",
[INFO] [stdout] 116 | |         login_data.class_id
[INFO] [stdout] 117 | |     )
[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_scalar` (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/classroom.rs:155:18
[INFO] [stdout]     |
[INFO] [stdout] 155 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 156 | |         "INSERT INTO class_token VALUES($1, $2)",
[INFO] [stdout] 157 | |         token,
[INFO] [stdout] 158 | |         login_data.class_id
[INFO] [stdout] 159 | |     )
[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/classroom.rs:197:18
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 198 | |         DayStatus,
[INFO] [stdout] 199 | |         "SELECT * FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 200 | |         class_id
[INFO] [stdout] 201 | |     )
[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/classroom.rs:232:18
[INFO] [stdout]     |
[INFO] [stdout] 232 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 233 | |         DayStatus,
[INFO] [stdout] 234 | |         "SELECT * FROM day_status WHERE class_id=$1 AND date >= date('now', 'localtime', '-30 days')",
[INFO] [stdout] 235 | |         class_id
[INFO] [stdout] 236 | |     )
[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/classroom.rs:284:18
[INFO] [stdout]     |
[INFO] [stdout] 284 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 285 | |         DayStatus,
[INFO] [stdout] 286 | |         "SELECT * FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 287 | |         class_id
[INFO] [stdout] 288 | |     )
[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/classroom.rs:309:18
[INFO] [stdout]     |
[INFO] [stdout] 309 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 310 | |         "INSERT INTO day_status values ($1, 0, $2, date('now', 'localtime'), NULL) ON CONFLICT(class_id, date) DO UPDATE SET attend = $2",
[INFO] [stdout] 311 | |         class_id,
[INFO] [stdout] 312 | |         req_data.attendees
[INFO] [stdout] 313 | |     )
[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/classroom.rs:322:18
[INFO] [stdout]     |
[INFO] [stdout] 322 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 323 | |         DayStatus,
[INFO] [stdout] 324 | |         "SELECT * FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 325 | |         class_id
[INFO] [stdout] 326 | |     )
[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/classroom.rs:346:18
[INFO] [stdout]     |
[INFO] [stdout] 346 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 347 | |         "UPDATE day_status SET point = $1 WHERE class_id=$2 AND date=date('now', 'localtime')",
[INFO] [stdout] 348 | |         point,
[INFO] [stdout] 349 | |         class_id
[INFO] [stdout] 350 | |     )
[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/classroom.rs:393:18
[INFO] [stdout]     |
[INFO] [stdout] 393 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 394 | |         DayStatus,
[INFO] [stdout] 395 | |         "SELECT * FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 396 | |         class_id
[INFO] [stdout] 397 | |     )
[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/classroom.rs:418:18
[INFO] [stdout]     |
[INFO] [stdout] 418 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 419 | |         "INSERT INTO day_status values ($1, 0, NULL, date('now', 'localtime'), $2) ON CONFLICT(class_id, date) DO UPDATE SET leftovers = ...
[INFO] [stdout] 420 | |         class_id,
[INFO] [stdout] 421 | |         req_data.leftovers
[INFO] [stdout] 422 | |     )
[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/classroom.rs:431:18
[INFO] [stdout]     |
[INFO] [stdout] 431 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 432 | |         DayStatus,
[INFO] [stdout] 433 | |         "SELECT * FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 434 | |         class_id
[INFO] [stdout] 435 | |     )
[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/classroom.rs:455:18
[INFO] [stdout]     |
[INFO] [stdout] 455 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 456 | |         "UPDATE day_status SET point = $1 WHERE class_id=$2 AND date=date('now', 'localtime')",
[INFO] [stdout] 457 | |         point,
[INFO] [stdout] 458 | |         class_id
[INFO] [stdout] 459 | |     )
[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/classroom.rs:493:18
[INFO] [stdout]     |
[INFO] [stdout] 493 |     let result = sqlx::query_as!(School, "SELECT * FROM school")
[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/classroom.rs:505:18
[INFO] [stdout]     |
[INFO] [stdout] 505 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 506 | |         Classroom,
[INFO] [stdout] 507 | |         "SELECT id, school_id, grade, name FROM classroom"
[INFO] [stdout] 508 | |     )
[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/classroom.rs:558:18
[INFO] [stdout]     |
[INFO] [stdout] 558 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 559 | |         "SELECT time FROM latest_sensor_time WHERE class_id=$1",
[INFO] [stdout] 560 | |         class_id
[INFO] [stdout] 561 | |     )
[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_scalar` (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/classroom.rs:590:18
[INFO] [stdout]     |
[INFO] [stdout] 590 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 591 | |         "REPLACE INTO latest_sensor_time values($1, datetime('now', 'localtime'))",
[INFO] [stdout] 592 | |         class_id
[INFO] [stdout] 593 | |     )
[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/classroom.rs:609:18
[INFO] [stdout]     |
[INFO] [stdout] 609 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 610 | |         "SELECT point FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 611 | |         class_id
[INFO] [stdout] 612 | |     )
[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_scalar` (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/classroom.rs:632:18
[INFO] [stdout]     |
[INFO] [stdout] 632 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 633 | |         "INSERT INTO day_status values ($1, $2, NULL, date('now', 'localtime'), NULL) ON CONFLICT(class_id, date) DO UPDATE SET point = $2",
[INFO] [stdout] 634 | |         class_id,
[INFO] [stdout] 635 | |         result_point
[INFO] [stdout] 636 | |     )
[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/classroom.rs:676:18
[INFO] [stdout]     |
[INFO] [stdout] 676 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 677 | |         "SELECT COUNT(*) FROM classroom WHERE classroom.school_id = (SELECT school_id FROM classroom WHERE id=$1)"
[INFO] [stdout] 678 | |     , class_id).fetch_one(pool).await;
[INFO] [stdout]     | |_______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (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/classroom.rs:688:18
[INFO] [stdout]     |
[INFO] [stdout] 688 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 689 | |         ClassroomPoint,
[INFO] [stdout] 690 | |         "SELECT class_id, point FROM day_status
[INFO] [stdout] 691 | |         JOIN classroom ON classroom.id = day_status.class_id
[INFO] [stdout] 692 | |         WHERE date=date('now', 'localtime') AND classroom.school_id = (SELECT school_id FROM classroom WHERE id=$1)
[INFO] [stdout] 693 | |         ORDER BY point DESC"
[INFO] [stdout] 694 | |     , class_id).fetch_all(pool).await;
[INFO] [stdout]     | |_______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/classroom.rs:753:18
[INFO] [stdout]     |
[INFO] [stdout] 753 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 754 | |         "UPDATE day_status SET point=$1 WHERE class_id=$2 AND date=date('now', 'localtime')",
[INFO] [stdout] 755 | |         req_data.point,
[INFO] [stdout] 756 | |         class_id
[INFO] [stdout] 757 | |     )
[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/school.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let result = sqlx::query!("INSERT INTO school VALUES($1, $2)", id, req_data.name)
[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/student.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 36 | |         "INSERT INTO student_token VALUES($1, $2, $3)",
[INFO] [stdout] 37 | |         token,
[INFO] [stdout] 38 | |         login_data.student_id,
[INFO] [stdout] 39 | |         login_data.class_id
[INFO] [stdout] 40 | |     )
[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/student.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let result = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 77 | |         "SELECT EXISTS(SELECT * FROM checklist WHERE class_id=$1 AND student_id=$2 AND date=date('now', 'localtime'))",
[INFO] [stdout] 78 | |         student_info.class_id, student_info.student_id
[INFO] [stdout] 79 | |     )
[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_scalar` (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/student.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 124 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 125 | |         "INSERT INTO checklist VALUES($1, $2, $3, date('now', 'localtime'))",
[INFO] [stdout] 126 | |         student_info.class_id,
[INFO] [stdout] 127 | |         student_info.student_id,
[INFO] [stdout] 128 | |         checklist
[INFO] [stdout] 129 | |     )
[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/student.rs:157:18
[INFO] [stdout]     |
[INFO] [stdout] 157 |       let result = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 158 | |         "SELECT point FROM day_status WHERE class_id=$1 AND date=date('now', 'localtime')",
[INFO] [stdout] 159 | |         student_info.class_id
[INFO] [stdout] 160 | |     )
[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_scalar` (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/utils.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let result = sqlx::query_scalar!("SELECT class_id FROM class_token WHERE token=$1", token)
[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_scalar` (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/utils.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 185 | |         StudentInfo,
[INFO] [stdout] 186 | |         "SELECT class_id, student_id FROM student_token WHERE token=$1",
[INFO] [stdout] 187 | |         token
[INFO] [stdout] 188 | |     )
[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: `std::env`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ecowatch_backend` (bin "ecowatch_backend") due to 30 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d3a301da24e5a82036b65c40d3639014bd9732face12c73525271a14c2c0ee54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3a301da24e5a82036b65c40d3639014bd9732face12c73525271a14c2c0ee54", kill_on_drop: false }`
[INFO] [stdout] d3a301da24e5a82036b65c40d3639014bd9732face12c73525271a14c2c0ee54
