[INFO] cloning repository https://github.com/AlexFera/ranked-voting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexFera/ranked-voting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexFera%2Franked-voting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexFera%2Franked-voting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78957414eb0039b49b7069791e3aa8795a208897 [INFO] checking AlexFera/ranked-voting against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexFera%2Franked-voting" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlexFera/ranked-voting on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlexFera/ranked-voting [INFO] finished tweaking git repo https://github.com/AlexFera/ranked-voting [INFO] tweaked toml for git repo https://github.com/AlexFera/ranked-voting written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/AlexFera/ranked-voting already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v1.1.5 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded sqlx-macros v0.5.9 [INFO] [stderr] Downloaded sqlx v0.5.9 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded loom v0.5.2 [INFO] [stderr] Downloaded sqlx-core v0.5.9 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded sqlx-rt v0.5.9 [INFO] [stderr] Downloaded futures-intrusive v0.4.0 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded rcir v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c8be89cb546c3f22359339bcdf19cd62d32640a528c42c68ffeba884b64d55e [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" "8c8be89cb546c3f22359339bcdf19cd62d32640a528c42c68ffeba884b64d55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c8be89cb546c3f22359339bcdf19cd62d32640a528c42c68ffeba884b64d55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8be89cb546c3f22359339bcdf19cd62d32640a528c42c68ffeba884b64d55e", kill_on_drop: false }` [INFO] [stdout] 8c8be89cb546c3f22359339bcdf19cd62d32640a528c42c68ffeba884b64d55e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b0cd7355ac939cfb6e5a71dec3fe793eadf3fafb50243864be5831672658dd2 [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" "7b0cd7355ac939cfb6e5a71dec3fe793eadf3fafb50243864be5831672658dd2", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking rcir v0.3.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking encoding_rs v0.8.29 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.2 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking sqlx v0.5.9 [INFO] [stderr] Checking ranked-voting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/voting.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | INSERT INTO users ( username ) [INFO] [stdout] 45 | | VALUES ( ?1 ) [INFO] [stdout] 46 | | "#, [INFO] [stdout] 47 | | username [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | User, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | SELECT id as "id!", username [INFO] [stdout] ... | [INFO] [stdout] 68 | | username [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 83 | | User, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | SELECT id as "id!", username [INFO] [stdout] ... | [INFO] [stdout] 89 | | user_id [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let selected_items = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 104 | | Item, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | select items.id, items.title, items.body, items.done from votes [INFO] [stdout] ... | [INFO] [stdout] 111 | | user_id [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query_as!( [INFO] [stdout] 136 | | User, [INFO] [stdout] 137 | | r#" [INFO] [stdout] 138 | | DELETE [INFO] [stdout] ... | [INFO] [stdout] 142 | | user_id [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | / sqlx::query!( [INFO] [stdout] 152 | | r#" [INFO] [stdout] 153 | | INSERT INTO votes (user_id, item_id, ordinal) [INFO] [stdout] 154 | | VALUES ( ?1, ?2, ?3 ) [INFO] [stdout] ... | [INFO] [stdout] 158 | | ordinal [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let items = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 174 | | Item, [INFO] [stdout] 175 | | r#" [INFO] [stdout] 176 | | SELECT id as "id!", title, body, done [INFO] [stdout] ... | [INFO] [stdout] 179 | | "#, [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let item = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 194 | | Item, [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | SELECT id as "id!", title, body, done [INFO] [stdout] ... | [INFO] [stdout] 200 | | id [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let votes = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 217 | | Vote, [INFO] [stdout] 218 | | r#" [INFO] [stdout] 219 | | SELECT user_id, item_id, ordinal [INFO] [stdout] 220 | | FROM votes [INFO] [stdout] 221 | | "#, [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 43 | | r#" [INFO] [stdout] 44 | | INSERT INTO users ( username ) [INFO] [stdout] 45 | | VALUES ( ?1 ) [INFO] [stdout] 46 | | "#, [INFO] [stdout] 47 | | username [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | User, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | SELECT id as "id!", username [INFO] [stdout] ... | [INFO] [stdout] 68 | | username [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 83 | | User, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | SELECT id as "id!", username [INFO] [stdout] ... | [INFO] [stdout] 89 | | user_id [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let selected_items = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 104 | | Item, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | select items.id, items.title, items.body, items.done from votes [INFO] [stdout] ... | [INFO] [stdout] 111 | | user_id [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query_as!( [INFO] [stdout] 136 | | User, [INFO] [stdout] 137 | | r#" [INFO] [stdout] 138 | | DELETE [INFO] [stdout] ... | [INFO] [stdout] 142 | | user_id [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | / sqlx::query!( [INFO] [stdout] 152 | | r#" [INFO] [stdout] 153 | | INSERT INTO votes (user_id, item_id, ordinal) [INFO] [stdout] 154 | | VALUES ( ?1, ?2, ?3 ) [INFO] [stdout] ... | [INFO] [stdout] 158 | | ordinal [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let items = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 174 | | Item, [INFO] [stdout] 175 | | r#" [INFO] [stdout] 176 | | SELECT id as "id!", title, body, done [INFO] [stdout] ... | [INFO] [stdout] 179 | | "#, [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let item = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 194 | | Item, [INFO] [stdout] 195 | | r#" [INFO] [stdout] 196 | | SELECT id as "id!", title, body, done [INFO] [stdout] ... | [INFO] [stdout] 200 | | id [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (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] --> src/voting.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let votes = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 217 | | Vote, [INFO] [stdout] 218 | | r#" [INFO] [stdout] 219 | | SELECT user_id, item_id, ordinal [INFO] [stdout] 220 | | FROM votes [INFO] [stdout] 221 | | "#, [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/voting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ranked-voting` due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/voting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7b0cd7355ac939cfb6e5a71dec3fe793eadf3fafb50243864be5831672658dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0cd7355ac939cfb6e5a71dec3fe793eadf3fafb50243864be5831672658dd2", kill_on_drop: false }` [INFO] [stdout] 7b0cd7355ac939cfb6e5a71dec3fe793eadf3fafb50243864be5831672658dd2