[INFO] cloning repository https://github.com/cyamas/todo-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyamas/todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyamas%2Ftodo-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyamas%2Ftodo-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8618b61cb6d2eeedc430c5a29cc00a91dc201aac [INFO] testing cyamas/todo-app against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyamas%2Ftodo-app" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cyamas/todo-app [INFO] finished tweaking git repo https://github.com/cyamas/todo-app [INFO] tweaked toml for git repo https://github.com/cyamas/todo-app written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cyamas/todo-app on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cyamas/todo-app 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] [stderr] Downloaded http-body-util v0.1.0 [INFO] [stderr] Downloaded askama_axum v0.4.0 [INFO] [stderr] Downloaded atomic-write-file v0.1.2 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.3 [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded windows-targets v0.52.0 [INFO] [stderr] Downloaded sqlx-core v0.7.3 [INFO] [stderr] Downloaded askama_parser v0.2.1 [INFO] [stderr] Downloaded basic-toml v0.1.8 [INFO] [stderr] Downloaded askama v0.12.1 [INFO] [stderr] Downloaded sqlx-postgres v0.7.3 [INFO] [stderr] Downloaded futures-intrusive v0.5.0 [INFO] [stderr] Downloaded indexmap v2.2.3 [INFO] [stderr] Downloaded sqlx v0.7.3 [INFO] [stderr] Downloaded rsa v0.9.6 [INFO] [stderr] Downloaded tempfile v3.10.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.0 [INFO] [stderr] Downloaded pkcs1 v0.7.5 [INFO] [stderr] Downloaded hyper v1.1.0 [INFO] [stderr] Downloaded sqlx-mysql v0.7.3 [INFO] [stderr] Downloaded http v1.0.0 [INFO] [stderr] Downloaded h2 v0.4.2 [INFO] [stderr] Downloaded askama_derive v0.12.5 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.3 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded etcetera v0.8.0 [INFO] [stderr] Downloaded ahash v0.8.8 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded axum-macros v0.4.1 [INFO] [stderr] Downloaded whoami v1.4.1 [INFO] [stderr] Downloaded atoi v2.0.0 [INFO] [stderr] Downloaded tower-http v0.5.1 [INFO] [stderr] Downloaded sqlx-macros v0.7.3 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.0 [INFO] [stderr] Downloaded hermit-abi v0.3.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 596415d8630ed378086545e743d8e52cf7d745da6f48307339d02f4400af775b [INFO] running `Command { std: "docker" "start" "-a" "596415d8630ed378086545e743d8e52cf7d745da6f48307339d02f4400af775b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596415d8630ed378086545e743d8e52cf7d745da6f48307339d02f4400af775b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596415d8630ed378086545e743d8e52cf7d745da6f48307339d02f4400af775b", kill_on_drop: false }` [INFO] [stdout] 596415d8630ed378086545e743d8e52cf7d745da6f48307339d02f4400af775b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f9d6c6bb82cdb04e87b784acbefce728ca748c9ac9cf826e7b153e2671b8a204 [INFO] running `Command { std: "docker" "start" "-a" "f9d6c6bb82cdb04e87b784acbefce728ca748c9ac9cf826e7b153e2671b8a204", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tempfile v3.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling basic-toml v0.1.8 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling askama_axum v0.4.0 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Compiling sqlx v0.7.3 [INFO] [stderr] Compiling todo-app 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:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | let pending_todos: Vec = sqlx::query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 14 | | PendingTodo, [INFO] [stdout] 15 | | " [INFO] [stdout] 16 | | SELECT todo_id, project, task, task_priority, created_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 19 | | " [INFO] [stdout] 20 | | ) [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:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let completed_todos = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 32 | | CompletedTodo, [INFO] [stdout] 33 | | " [INFO] [stdout] 34 | | SELECT todo_id, project, task, task_priority, completed_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 37 | | " [INFO] [stdout] 38 | | ) [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:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | sqlx::query!(r#"INSERT INTO todo (project, task, task_priority) VALUES ($1, $2, $3);"#, &project, &task, &task_priority) [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:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | let todo = query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | PendingTodo, [INFO] [stdout] 68 | | " [INFO] [stdout] 69 | | SELECT todo_id, project, task, task_priority, created_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 72 | | " [INFO] [stdout] 73 | | ) [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 `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:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / sqlx::query!(r#" [INFO] [stdout] 89 | | UPDATE todo SET [INFO] [stdout] 90 | | completed = true, [INFO] [stdout] 91 | | completed_at = NOW() AT TIME ZONE 'America/Los_Angeles' [INFO] [stdout] 92 | | WHERE todo_id = $1"#, todo_id) [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:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let completed = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 98 | | CompletedTodo, [INFO] [stdout] 99 | | " [INFO] [stdout] 100 | | SELECT todo_id, project, task, task_priority, completed_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 104 | | todo_id [INFO] [stdout] 105 | | ) [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:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let todo_data = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 122 | | EditFormTemplate, [INFO] [stdout] 123 | | " [INFO] [stdout] 124 | | SELECT todo_id, project, task, task_priority FROM todo [INFO] [stdout] ... | [INFO] [stdout] 127 | | todo_id [INFO] [stdout] 128 | | ) [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:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | / sqlx::query!(r#" [INFO] [stdout] 142 | | UPDATE todo SET project = $1, task = $2, task_priority = $3 [INFO] [stdout] 143 | | WHERE todo_id = $4 [INFO] [stdout] 144 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 147 | | task_priority, [INFO] [stdout] 148 | | todo_id) [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:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | let todo = query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 154 | | PendingTodo, [INFO] [stdout] 155 | | " [INFO] [stdout] 156 | | SELECT todo_id, project, task, task_priority, created_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 160 | | todo_id [INFO] [stdout] 161 | | ) [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 `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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | sqlx::query!(r#"DELETE FROM todo WHERE todo_id = $1"#, todo_id) [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:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | let todo = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 186 | | PendingTodo, [INFO] [stdout] 187 | | " [INFO] [stdout] 188 | | SELECT todo_id, project, task, task_priority, created_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 191 | | todo_id [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/handlers.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | sqlx::query!("UPDATE todo SET completed = false, completed_at = to_timestamp(0) WHERE todo_id = $1", todo_id) [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:5 [INFO] [stdout] | [INFO] [stdout] 214 | sqlx::query!(r#"UPDATE todo SET is_active = true WHERE todo_id = $1"#, todo_id) [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:219:23 [INFO] [stdout] | [INFO] [stdout] 219 | let active_todo = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 220 | | ActiveTodoTemplate, [INFO] [stdout] 221 | | " [INFO] [stdout] 222 | | SELECT todo_id, project, task, task_priority FROM todo [INFO] [stdout] ... | [INFO] [stdout] 225 | | todo_id [INFO] [stdout] 226 | | ) [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:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | sqlx::query!(r#" INSERT INTO progress (todo_id, note, time_spent) VALUES ($1, $2, $3)"#, todo_id, note, time_spent) [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:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let progress = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 245 | | Progress, [INFO] [stdout] 246 | | " [INFO] [stdout] 247 | | SELECT * FROM progress [INFO] [stdout] 248 | | " [INFO] [stdout] 249 | | ) [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:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | sqlx::query!(r#"UPDATE todo SET is_active = false, total_time = total_time + $2 WHERE todo_id = $1"#, todo_id, time_spent) [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:261:16 [INFO] [stdout] | [INFO] [stdout] 261 | let todo = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 262 | | PendingTodo, [INFO] [stdout] 263 | | " [INFO] [stdout] 264 | | SELECT todo_id, project, task, task_priority, created_at, total_time FROM todo [INFO] [stdout] ... | [INFO] [stdout] 267 | | todo_id [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/handlers.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let notes = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 283 | | ProgressNote, [INFO] [stdout] 284 | | " [INFO] [stdout] 285 | | SELECT progress_id, note, time_spent, made_at FROM progress [INFO] [stdout] ... | [INFO] [stdout] 288 | | todo_id [INFO] [stdout] 289 | | ) [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:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | sqlx::query!(r#"DELETE FROM progress WHERE progress_id = $1"#, progress_id) [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:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | sqlx::query!(r#"UPDATE todo SET total_time = total_time - $1 WHERE todo_id = $2"#, time_spent, todo_id) [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:332:22 [INFO] [stdout] | [INFO] [stdout] 332 | let total_time = sqlx::query_as!(TotalTime, "SELECT total_time FROM todo WHERE todo_id = $1", todo_id) [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 imports: `CompletedTodo`, `ProgressNote`, `Progress`, and `TotalTime` [INFO] [stdout] --> src/handlers.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | ...AppError, CompletedTodo, Date, EditTodo, PendingTodo, TodoId, ActiveTodo, Progress, ProgressNote, DeletedProgress, TotalTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-app` (lib) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f9d6c6bb82cdb04e87b784acbefce728ca748c9ac9cf826e7b153e2671b8a204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d6c6bb82cdb04e87b784acbefce728ca748c9ac9cf826e7b153e2671b8a204", kill_on_drop: false }` [INFO] [stdout] f9d6c6bb82cdb04e87b784acbefce728ca748c9ac9cf826e7b153e2671b8a204