[INFO] cloning repository https://github.com/ctiedt/thoughtkeeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctiedt/thoughtkeeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctiedt%2Fthoughtkeeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctiedt%2Fthoughtkeeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0afa80acee5714b371bc33ebda458fa3dfb2084f [INFO] checking ctiedt/thoughtkeeper/0afa80acee5714b371bc33ebda458fa3dfb2084f against master#ab1d2444533d829e2d5cff6634cd3c70de6d7103 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctiedt%2Fthoughtkeeper" "/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/ctiedt/thoughtkeeper [INFO] finished tweaking git repo https://github.com/ctiedt/thoughtkeeper [INFO] tweaked toml for git repo https://github.com/ctiedt/thoughtkeeper written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ctiedt/thoughtkeeper on toolchain ab1d2444533d829e2d5cff6634cd3c70de6d7103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ctiedt/thoughtkeeper 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" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atom_syndication v0.12.2 [INFO] [stderr] Downloaded never v0.1.0 [INFO] [stderr] Downloaded askama_web_derive v0.1.0 [INFO] [stderr] Downloaded owo-colors v4.0.0 [INFO] [stderr] Downloaded miette-derive v7.1.0 [INFO] [stderr] Downloaded bon v3.6.3 [INFO] [stderr] Downloaded askama_web v0.13.1 [INFO] [stderr] Downloaded caseless v0.2.2 [INFO] [stderr] Downloaded bon-macros v3.6.3 [INFO] [stderr] Downloaded figment v0.10.14 [INFO] [stderr] Downloaded toml_edit v0.22.6 [INFO] [stderr] Downloaded comrak v0.38.0 [INFO] [stderr] Downloaded winnow v0.6.1 [INFO] [stderr] Downloaded supports-hyperlinks v3.0.0 [INFO] [stderr] Downloaded plist v1.6.0 [INFO] [stderr] Downloaded rss v2.0.7 [INFO] [stderr] Downloaded toml v0.8.10 [INFO] [stderr] Downloaded supports-color v3.0.0 [INFO] [stderr] Downloaded diligent-date-parser v0.1.4 [INFO] [stderr] Downloaded miette v7.1.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3aeb79ac51930c3f489a2ab5436c816f6a18c128f4e3bd38676c305fe0ec8c3 [INFO] running `Command { std: "docker" "start" "-a" "d3aeb79ac51930c3f489a2ab5436c816f6a18c128f4e3bd38676c305fe0ec8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3aeb79ac51930c3f489a2ab5436c816f6a18c128f4e3bd38676c305fe0ec8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3aeb79ac51930c3f489a2ab5436c816f6a18c128f4e3bd38676c305fe0ec8c3", kill_on_drop: false }` [INFO] [stdout] d3aeb79ac51930c3f489a2ab5436c816f6a18c128f4e3bd38676c305fe0ec8c3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8c26a620d94029eae68c51c7577ed65cfa70a7c3170e51ded2c0ceb346f7fe9 [INFO] running `Command { std: "docker" "start" "-a" "d8c26a620d94029eae68c51c7577ed65cfa70a7c3170e51ded2c0ceb346f7fe9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustix v1.0.5 [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 v2.0.12 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking winnow v0.6.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling bon-macros v3.6.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling basic-toml v0.1.8 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.6 [INFO] [stderr] Checking sqlx-core v0.8.5 [INFO] [stderr] Checking diligent-date-parser v0.1.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling figment v0.10.14 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking bon v3.6.3 [INFO] [stderr] Checking sqlx-sqlite v0.8.5 [INFO] [stderr] Checking atom_syndication v0.12.2 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking toml v0.8.10 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Compiling miette-derive v7.1.0 [INFO] [stderr] Compiling askama_web_derive v0.1.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking caseless v0.2.2 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking comrak v0.38.0 [INFO] [stderr] Checking comfy-table v7.1.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking miette v7.1.0 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rss v2.0.7 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Checking askama v0.13.1 [INFO] [stderr] Checking askama_web v0.13.1 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Checking sqlx v0.8.5 [INFO] [stderr] Checking thoughtkeeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | "INSERT INTO articles ( id, title, content, published ) VALUES (?1, ?2, ?3, ?4)", [INFO] [stdout] 66 | | article.id, [INFO] [stdout] 67 | | article.title, [INFO] [stdout] 68 | | article.content, [INFO] [stdout] 69 | | article.published [INFO] [stdout] 70 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let titles = sqlx::query!("SELECT id, title FROM articles") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", 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] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | sqlx::query!("DELETE FROM articles WHERE id = ?", 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let articles = sqlx::query!("SELECT id, title, published FROM articles") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | / sqlx::query!( [INFO] [stdout] 130 | | "UPDATE articles SET title = ?, content = ? WHERE id = ?", [INFO] [stdout] 131 | | title, [INFO] [stdout] 132 | | content, [INFO] [stdout] 133 | | id [INFO] [stdout] 134 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | sqlx::query!("UPDATE articles SET content = ? WHERE id = ?", content, 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | sqlx::query!("UPDATE articles SET title = ? WHERE id = ?", title, 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | let titles = sqlx::query!("SELECT id, title FROM articles") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", 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] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | let comments = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 193 | | Comment, [INFO] [stdout] 194 | | "SELECT * FROM comments WHERE article = ? ORDER BY published DESC", [INFO] [stdout] 195 | | id [INFO] [stdout] 196 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / sqlx::query!("INSERT INTO comments ( id, article, author, content, published ) VALUES (?1, ?2, ?3, ?4, ?5)", [INFO] [stdout] 224 | | comment.id, comment.article, comment.author, comment.content, comment.published).execute(&mut *conn).await.into_diagnostic()?; [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | / sqlx::query!( [INFO] [stdout] 314 | | "INSERT INTO secrets (secret, description) VALUES (?1, ?2)", [INFO] [stdout] 315 | | secret, [INFO] [stdout] 316 | | description [INFO] [stdout] 317 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | let secrets = sqlx::query!("SELECT id, description FROM secrets",) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | sqlx::query!("DELETE FROM secrets where id = ?", 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | sqlx::query!("SELECT id FROM secrets WHERE secret = ?", secret) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | "INSERT INTO articles ( id, title, content, published ) VALUES (?1, ?2, ?3, ?4)", [INFO] [stdout] 66 | | article.id, [INFO] [stdout] 67 | | article.title, [INFO] [stdout] 68 | | article.content, [INFO] [stdout] 69 | | article.published [INFO] [stdout] 70 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let titles = sqlx::query!("SELECT id, title FROM articles") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", 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] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | sqlx::query!("DELETE FROM articles WHERE id = ?", 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let articles = sqlx::query!("SELECT id, title, published FROM articles") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | / sqlx::query!( [INFO] [stdout] 130 | | "UPDATE articles SET title = ?, content = ? WHERE id = ?", [INFO] [stdout] 131 | | title, [INFO] [stdout] 132 | | content, [INFO] [stdout] 133 | | id [INFO] [stdout] 134 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | sqlx::query!("UPDATE articles SET content = ? WHERE id = ?", content, 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | sqlx::query!("UPDATE articles SET title = ? WHERE id = ?", title, 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | let titles = sqlx::query!("SELECT id, title FROM articles") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", 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] error: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | let comments = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 193 | | Comment, [INFO] [stdout] 194 | | "SELECT * FROM comments WHERE article = ? ORDER BY published DESC", [INFO] [stdout] 195 | | id [INFO] [stdout] 196 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / sqlx::query!("INSERT INTO comments ( id, article, author, content, published ) VALUES (?1, ?2, ?3, ?4, ?5)", [INFO] [stdout] 224 | | comment.id, comment.article, comment.author, comment.content, comment.published).execute(&mut *conn).await.into_diagnostic()?; [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | / sqlx::query!( [INFO] [stdout] 314 | | "INSERT INTO secrets (secret, description) VALUES (?1, ?2)", [INFO] [stdout] 315 | | secret, [INFO] [stdout] 316 | | description [INFO] [stdout] 317 | | ) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | let secrets = sqlx::query!("SELECT id, description FROM secrets",) [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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | sqlx::query!("DELETE FROM secrets where id = ?", 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: error returned from database: (code: 14) unable to open database file [INFO] [stdout] --> src/server.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | sqlx::query!("SELECT id FROM secrets WHERE secret = ?", secret) [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[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | "INSERT INTO articles ( id, title, content, published ) VALUES (?1, ?2, ?3, ?4)", [INFO] [stdout] 66 | | article.id, [INFO] [stdout] 67 | | article.title, [INFO] [stdout] ... | [INFO] [stdout] 71 | | .execute(&mut *conn) [INFO] [stdout] 72 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let titles = sqlx::query!("SELECT id, title FROM articles") [INFO] [stdout] | __________________________^ [INFO] [stdout] 79 | | .fetch_all(&mut *conn) [INFO] [stdout] 80 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", id) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 94 | | .fetch_one(&mut *conn) [INFO] [stdout] 95 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / sqlx::query!("DELETE FROM articles WHERE id = ?", id) [INFO] [stdout] 102 | | .execute(&mut *conn) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let articles = sqlx::query!("SELECT id, title, published FROM articles") [INFO] [stdout] | ____________________________^ [INFO] [stdout] 110 | | .fetch_all(&mut *conn) [INFO] [stdout] 111 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | / sqlx::query!( [INFO] [stdout] 130 | | "UPDATE articles SET title = ?, content = ? WHERE id = ?", [INFO] [stdout] 131 | | title, [INFO] [stdout] 132 | | content, [INFO] [stdout] ... | [INFO] [stdout] 135 | | .execute(&mut *conn) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | / sqlx::query!("UPDATE articles SET content = ? WHERE id = ?", content, id) [INFO] [stdout] 141 | | .execute(&mut *conn) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!("UPDATE articles SET title = ? WHERE id = ?", title, id) [INFO] [stdout] 147 | | .execute(&mut *conn) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | let titles = sqlx::query!("SELECT id, title FROM articles") [INFO] [stdout] | __________________^ [INFO] [stdout] 166 | | .fetch_all(&mut *conn) [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", id) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 179 | | .fetch_one(&mut *conn) [INFO] [stdout] 180 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | let comments = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 193 | | Comment, [INFO] [stdout] 194 | | "SELECT * FROM comments WHERE article = ? ORDER BY published DESC", [INFO] [stdout] 195 | | id [INFO] [stdout] 196 | | ) [INFO] [stdout] 197 | | .fetch_all(&mut *conn) [INFO] [stdout] 198 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / sqlx::query!("INSERT INTO comments ( id, article, author, content, published ) VALUES (?1, ?2, ?3, ?4, ?5)", [INFO] [stdout] 224 | | comment.id, comment.article, comment.author, comment.content, comment.published).execute(&mut *conn).await.into_diagnostic()?; [INFO] [stdout] | |__________________________________________________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [INFO] [stdout] | ____________________^ [INFO] [stdout] 239 | | .fetch_all(&mut *conn) [INFO] [stdout] 240 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [INFO] [stdout] | ____________________^ [INFO] [stdout] 259 | | .fetch_all(&mut *conn) [INFO] [stdout] 260 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | / sqlx::query!( [INFO] [stdout] 314 | | "INSERT INTO secrets (secret, description) VALUES (?1, ?2)", [INFO] [stdout] 315 | | secret, [INFO] [stdout] 316 | | description [INFO] [stdout] 317 | | ) [INFO] [stdout] 318 | | .execute(&mut conn) [INFO] [stdout] 319 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | let secrets = sqlx::query!("SELECT id, description FROM secrets",) [INFO] [stdout] | ___________________^ [INFO] [stdout] 336 | | .fetch_all(&mut conn) [INFO] [stdout] 337 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | / sqlx::query!("DELETE FROM secrets where id = ?", id) [INFO] [stdout] 361 | | .execute(&mut conn) [INFO] [stdout] 362 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | / sqlx::query!("SELECT id FROM secrets WHERE secret = ?", secret) [INFO] [stdout] 371 | | .fetch_optional(conn) [INFO] [stdout] 372 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | "INSERT INTO articles ( id, title, content, published ) VALUES (?1, ?2, ?3, ?4)", [INFO] [stdout] 66 | | article.id, [INFO] [stdout] 67 | | article.title, [INFO] [stdout] ... | [INFO] [stdout] 71 | | .execute(&mut *conn) [INFO] [stdout] 72 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let titles = sqlx::query!("SELECT id, title FROM articles") [INFO] [stdout] | __________________________^ [INFO] [stdout] 79 | | .fetch_all(&mut *conn) [INFO] [stdout] 80 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", id) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 94 | | .fetch_one(&mut *conn) [INFO] [stdout] 95 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / sqlx::query!("DELETE FROM articles WHERE id = ?", id) [INFO] [stdout] 102 | | .execute(&mut *conn) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | let articles = sqlx::query!("SELECT id, title, published FROM articles") [INFO] [stdout] | ____________________________^ [INFO] [stdout] 110 | | .fetch_all(&mut *conn) [INFO] [stdout] 111 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | / sqlx::query!( [INFO] [stdout] 130 | | "UPDATE articles SET title = ?, content = ? WHERE id = ?", [INFO] [stdout] 131 | | title, [INFO] [stdout] 132 | | content, [INFO] [stdout] ... | [INFO] [stdout] 135 | | .execute(&mut *conn) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | / sqlx::query!("UPDATE articles SET content = ? WHERE id = ?", content, id) [INFO] [stdout] 141 | | .execute(&mut *conn) [INFO] [stdout] 142 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!("UPDATE articles SET title = ? WHERE id = ?", title, id) [INFO] [stdout] 147 | | .execute(&mut *conn) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | let titles = sqlx::query!("SELECT id, title FROM articles") [INFO] [stdout] | __________________^ [INFO] [stdout] 166 | | .fetch_all(&mut *conn) [INFO] [stdout] 167 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let article = sqlx::query_as!(Article, "SELECT * FROM articles WHERE id = ?", id) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 179 | | .fetch_one(&mut *conn) [INFO] [stdout] 180 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | let comments = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 193 | | Comment, [INFO] [stdout] 194 | | "SELECT * FROM comments WHERE article = ? ORDER BY published DESC", [INFO] [stdout] 195 | | id [INFO] [stdout] 196 | | ) [INFO] [stdout] 197 | | .fetch_all(&mut *conn) [INFO] [stdout] 198 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / sqlx::query!("INSERT INTO comments ( id, article, author, content, published ) VALUES (?1, ?2, ?3, ?4, ?5)", [INFO] [stdout] 224 | | comment.id, comment.article, comment.author, comment.content, comment.published).execute(&mut *conn).await.into_diagnostic()?; [INFO] [stdout] | |__________________________________________________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [INFO] [stdout] | ____________________^ [INFO] [stdout] 239 | | .fetch_all(&mut *conn) [INFO] [stdout] 240 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let articles = sqlx::query_as!(Article, "SELECT * FROM articles ORDER BY published DESC") [INFO] [stdout] | ____________________^ [INFO] [stdout] 259 | | .fetch_all(&mut *conn) [INFO] [stdout] 260 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | / sqlx::query!( [INFO] [stdout] 314 | | "INSERT INTO secrets (secret, description) VALUES (?1, ?2)", [INFO] [stdout] 315 | | secret, [INFO] [stdout] 316 | | description [INFO] [stdout] 317 | | ) [INFO] [stdout] 318 | | .execute(&mut conn) [INFO] [stdout] 319 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 335 | let secrets = sqlx::query!("SELECT id, description FROM secrets",) [INFO] [stdout] | ___________________^ [INFO] [stdout] 336 | | .fetch_all(&mut conn) [INFO] [stdout] 337 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | / sqlx::query!("DELETE FROM secrets where id = ?", id) [INFO] [stdout] 361 | | .execute(&mut conn) [INFO] [stdout] 362 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/server.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | / sqlx::query!("SELECT id FROM secrets WHERE secret = ?", secret) [INFO] [stdout] 371 | | .fetch_optional(conn) [INFO] [stdout] 372 | | .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 `thoughtkeeper` (bin "thoughtkeeper") due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thoughtkeeper` (bin "thoughtkeeper" test) due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "d8c26a620d94029eae68c51c7577ed65cfa70a7c3170e51ded2c0ceb346f7fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c26a620d94029eae68c51c7577ed65cfa70a7c3170e51ded2c0ceb346f7fe9", kill_on_drop: false }` [INFO] [stdout] d8c26a620d94029eae68c51c7577ed65cfa70a7c3170e51ded2c0ceb346f7fe9