[INFO] cloning repository https://github.com/RemiliaForever/koumakan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RemiliaForever/koumakan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRemiliaForever%2Fkoumakan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRemiliaForever%2Fkoumakan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f800b79a8d2c1b15e7dcf240e12594cef3dd92cf [INFO] checking RemiliaForever/koumakan against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRemiliaForever%2Fkoumakan" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RemiliaForever/koumakan on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RemiliaForever/koumakan [INFO] finished tweaking git repo https://github.com/RemiliaForever/koumakan [INFO] tweaked toml for git repo https://github.com/RemiliaForever/koumakan written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/RemiliaForever/koumakan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web-codegen v0.5.0-beta.1 [INFO] [stderr] Downloaded awc v3.0.0-beta.2 [INFO] [stderr] Downloaded actix-tls v3.0.0-beta.3 [INFO] [stderr] Downloaded actix-web v4.0.0-beta.3 [INFO] [stderr] Downloaded actix-http v3.0.0-beta.3 [INFO] [stderr] Downloaded ahash v0.7.0 [INFO] [stderr] Downloaded lettre v0.10.0-alpha.5 [INFO] [stderr] Downloaded actix-service v2.0.0-beta.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eeb3f01ef29c1ea3dd0b36f836879028e39bed1750aeb8c7818c24cb10fa9f66 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eeb3f01ef29c1ea3dd0b36f836879028e39bed1750aeb8c7818c24cb10fa9f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeb3f01ef29c1ea3dd0b36f836879028e39bed1750aeb8c7818c24cb10fa9f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb3f01ef29c1ea3dd0b36f836879028e39bed1750aeb8c7818c24cb10fa9f66", kill_on_drop: false }` [INFO] [stdout] eeb3f01ef29c1ea3dd0b36f836879028e39bed1750aeb8c7818c24cb10fa9f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7ea5652aa952b2d633b43a90eff859b46c75de046513bef00dc3181d65f4df9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e7ea5652aa952b2d633b43a90eff859b46c75de046513bef00dc3181d65f4df9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.70 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.70 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling yew v0.17.4 [INFO] [stderr] Compiling hyperx v1.3.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking quoted_printable v0.4.2 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling ahash v0.7.0 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking actix-service v2.0.0-beta.4 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking lettre v0.10.0-alpha.5 [INFO] [stderr] Checking yew-router-route-parser v0.14.0 [INFO] [stderr] Checking sqlformat v0.1.5 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-stream v0.1.3 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.70 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.70 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling yew-router-macro v0.14.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.70 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking actix-rt v2.0.2 [INFO] [stderr] Checking sqlx-rt v0.3.0 [INFO] [stderr] Checking actix-utils v3.0.0-beta.2 [INFO] [stderr] Checking actix-server v2.0.0-beta.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking js-sys v0.3.47 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking actix-tls v3.0.0-beta.3 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Checking web-sys v0.3.47 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.20 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking actix-http v3.0.0-beta.3 [INFO] [stderr] Checking sqlx-core v0.5.1 [INFO] [stderr] Checking diligent-date-parser v0.1.2 [INFO] [stderr] Checking atom_syndication v0.9.1 [INFO] [stderr] Checking rss v1.10.0 [INFO] [stderr] Checking awc v3.0.0-beta.2 [INFO] [stderr] Checking actix-web v4.0.0-beta.3 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking console_log v0.2.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Checking yew-router v0.14.0 [INFO] [stderr] Checking sqlx v0.5.1 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking koumakan-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stderr] Checking koumakan-frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> frontend/src/lib.rs:85:79 [INFO] [stdout] | [INFO] [stdout] 85 | console_log::init_with_level(log::Level::Info).map_err(|e| e.to_string())?; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> frontend/src/lib.rs:85:79 [INFO] [stdout] | [INFO] [stdout] 85 | console_log::init_with_level(log::Level::Info).map_err(|e| e.to_string())?; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> frontend/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | title: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> frontend/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | title: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let article = match sqlx::query_as!(Article, "SELECT * FROM article WHERE id = ?", *param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let article = match sqlx::query_as!(Article, "SELECT * FROM article WHERE id = ?", *param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let art_pre = sqlx::query_as!(Article, "SELECT * FROM article WHERE id = ?", pre) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let art_next = sqlx::query_as!(Article, "SELECT * FROM article WHERE id = ?", next) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let art_pre = sqlx::query_as!(Article, "SELECT * FROM article WHERE id = ?", pre) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | "category" => sqlx::query_as!(Article, [INFO] [stdout] | _______________________^ [INFO] [stdout] 79 | | "SELECT * FROM article WHERE id > 20000 AND category = ? ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 80 | | value, [INFO] [stdout] 81 | | pagesize, [INFO] [stdout] 82 | | offset, [INFO] [stdout] 83 | | ).fetch_all(&**pool).await?, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let art_next = sqlx::query_as!(Article, "SELECT * FROM article WHERE id = ?", next) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query_as!(Article, [INFO] [stdout] 87 | | "SELECT * FROM article WHERE id > 20000 AND category||','||labels||',' LIKE ? ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 88 | | search_value, [INFO] [stdout] 89 | | pagesize, [INFO] [stdout] 90 | | offset, [INFO] [stdout] 91 | | ).fetch_all(&**pool).await?}, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query_as!(Article, [INFO] [stdout] 99 | | "SELECT * FROM article WHERE id > 20000 AND date >= ? AND date < ? ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 100 | | start_date, [INFO] [stdout] 101 | | end_date, [INFO] [stdout] 102 | | pagesize, [INFO] [stdout] 103 | | offset, [INFO] [stdout] 104 | | ).fetch_all(&**pool).await? [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | / ... sqlx::query_as!(Article, [INFO] [stdout] 110 | | ... "SELECT * FROM article WHERE id > 20000 AND ( title LIKE ? OR brief LIKE ? OR category LIKE ? OR labels LIKE ? ) ORDER BY date ... [INFO] [stdout] 111 | | ... search_value, [INFO] [stdout] 112 | | ... search_value, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ... offset, [INFO] [stdout] 117 | | ... ).fetch_all(&**pool).await? [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | "" => sqlx::query_as!(Article, [INFO] [stdout] | _______________^ [INFO] [stdout] 120 | | "SELECT * FROM article WHERE id > 20000 ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 121 | | pagesize, [INFO] [stdout] 122 | | offset, [INFO] [stdout] 123 | | ).fetch_all(&**pool).await?, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 149 | | "INSERT INTO article VALUES (0, ?, ?, ?, ?, ?, ?)", [INFO] [stdout] 150 | | article.title, [INFO] [stdout] 151 | | article.brief, [INFO] [stdout] ... | [INFO] [stdout] 155 | | article.date, [INFO] [stdout] 156 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | "category" => sqlx::query_as!(Article, [INFO] [stdout] | _______________________^ [INFO] [stdout] 79 | | "SELECT * FROM article WHERE id > 20000 AND category = ? ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 80 | | value, [INFO] [stdout] 81 | | pagesize, [INFO] [stdout] 82 | | offset, [INFO] [stdout] 83 | | ).fetch_all(&**pool).await?, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query_as!(Article, [INFO] [stdout] 87 | | "SELECT * FROM article WHERE id > 20000 AND category||','||labels||',' LIKE ? ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 88 | | search_value, [INFO] [stdout] 89 | | pagesize, [INFO] [stdout] 90 | | offset, [INFO] [stdout] 91 | | ).fetch_all(&**pool).await?}, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 179 | | "UPDATE article SET title = ?, brief = ?, content = ?, category = ?, labels = ?, date = ? WHERE id = ?", [INFO] [stdout] 180 | | article.title, [INFO] [stdout] 181 | | article.brief, [INFO] [stdout] ... | [INFO] [stdout] 186 | | *param [INFO] [stdout] 187 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query_as!(Article, [INFO] [stdout] 99 | | "SELECT * FROM article WHERE id > 20000 AND date >= ? AND date < ? ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 100 | | start_date, [INFO] [stdout] 101 | | end_date, [INFO] [stdout] 102 | | pagesize, [INFO] [stdout] 103 | | offset, [INFO] [stdout] 104 | | ).fetch_all(&**pool).await? [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | / ... sqlx::query_as!(Article, [INFO] [stdout] 110 | | ... "SELECT * FROM article WHERE id > 20000 AND ( title LIKE ? OR brief LIKE ? OR category LIKE ? OR labels LIKE ? ) ORDER BY date ... [INFO] [stdout] 111 | | ... search_value, [INFO] [stdout] 112 | | ... search_value, [INFO] [stdout] ... | [INFO] [stdout] 116 | | ... offset, [INFO] [stdout] 117 | | ... ).fetch_all(&**pool).await? [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | "" => sqlx::query_as!(Article, [INFO] [stdout] | _______________^ [INFO] [stdout] 120 | | "SELECT * FROM article WHERE id > 20000 ORDER BY date DESC LIMIT ? OFFSET ?", [INFO] [stdout] 121 | | pagesize, [INFO] [stdout] 122 | | offset, [INFO] [stdout] 123 | | ).fetch_all(&**pool).await?, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | let result = sqlx::query!("DELETE FROM article WHERE id = ?", *param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 149 | | "INSERT INTO article VALUES (0, ?, ?, ?, ?, ?, ?)", [INFO] [stdout] 150 | | article.title, [INFO] [stdout] 151 | | article.brief, [INFO] [stdout] ... | [INFO] [stdout] 155 | | article.date, [INFO] [stdout] 156 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/comment.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut comments = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 14 | | Comment, [INFO] [stdout] 15 | | "SELECT * FROM comment WHERE article_id = ? ORDER BY comment.date DESC", [INFO] [stdout] 16 | | *param [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/comment.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 42 | | "INSERT INTO comment VALUES (NULL, ?, ?, ?, ?, ?, ?, ?)", [INFO] [stdout] 43 | | comment.article_id, [INFO] [stdout] 44 | | comment.name, [INFO] [stdout] ... | [INFO] [stdout] 49 | | comment.date [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 179 | | "UPDATE article SET title = ?, brief = ?, content = ?, category = ?, labels = ?, date = ? WHERE id = ?", [INFO] [stdout] 180 | | article.title, [INFO] [stdout] 181 | | article.brief, [INFO] [stdout] ... | [INFO] [stdout] 186 | | *param [INFO] [stdout] 187 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/label_archive.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 64 | | Article, [INFO] [stdout] 65 | | "SELECT * FROM article WHERE id > 20000 ORDER BY date DESC" [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/article.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | let result = sqlx::query!("DELETE FROM article WHERE id = ?", *param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/comment.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | let mut comments = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 14 | | Comment, [INFO] [stdout] 15 | | "SELECT * FROM comment WHERE article_id = ? ORDER BY comment.date DESC", [INFO] [stdout] 16 | | *param [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/comment.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 42 | | "INSERT INTO comment VALUES (NULL, ?, ?, ?, ?, ?, ?, ?)", [INFO] [stdout] 43 | | comment.article_id, [INFO] [stdout] 44 | | comment.name, [INFO] [stdout] ... | [INFO] [stdout] 49 | | comment.date [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> backend/src/controller/label_archive.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 64 | | Article, [INFO] [stdout] 65 | | "SELECT * FROM article WHERE id > 20000 ORDER BY date DESC" [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::Article` [INFO] [stdout] --> backend/src/controller/label_archive.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use common::Article; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::Article` [INFO] [stdout] --> backend/src/controller/label_archive.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use common::Article; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `koumakan-backend` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e7ea5652aa952b2d633b43a90eff859b46c75de046513bef00dc3181d65f4df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7ea5652aa952b2d633b43a90eff859b46c75de046513bef00dc3181d65f4df9", kill_on_drop: false }` [INFO] [stdout] e7ea5652aa952b2d633b43a90eff859b46c75de046513bef00dc3181d65f4df9