[INFO] cloning repository https://github.com/Follpvosten/swiki [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Follpvosten/swiki" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFollpvosten%2Fswiki", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFollpvosten%2Fswiki'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a5d216cd9776fa2958531bc8d357f0e695d3635 [INFO] testing Follpvosten/swiki against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFollpvosten%2Fswiki" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Follpvosten/swiki on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Follpvosten/swiki [INFO] finished tweaking git repo https://github.com/Follpvosten/swiki [INFO] tweaked toml for git repo https://github.com/Follpvosten/swiki written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Follpvosten/swiki already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e35f480e3a150fc283520dc2b871e0625041e3ebb8c67eb8ea4828cb9a716f6 [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" "4e35f480e3a150fc283520dc2b871e0625041e3ebb8c67eb8ea4828cb9a716f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e35f480e3a150fc283520dc2b871e0625041e3ebb8c67eb8ea4828cb9a716f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e35f480e3a150fc283520dc2b871e0625041e3ebb8c67eb8ea4828cb9a716f6", kill_on_drop: false }` [INFO] [stdout] 4e35f480e3a150fc283520dc2b871e0625041e3ebb8c67eb8ea4828cb9a716f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83fe46e27f4e322a2ac0e83b8425ae960cca000dcbaa92970716be6d28b8ebd8 [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" "83fe46e27f4e322a2ac0e83b8425ae960cca000dcbaa92970716be6d28b8ebd8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling tantivy-bitpacker v0.1.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling fastdivide v0.3.0 [INFO] [stderr] Compiling normpath v0.3.0 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling tantivy-common v0.1.0 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling ownedbytes v0.1.0 [INFO] [stderr] Compiling rgb v0.8.27 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling fastfield_codecs v0.1.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling combine v4.6.1 [INFO] [stderr] Compiling measure_time v0.7.0 [INFO] [stderr] Compiling tantivy-fst v0.3.0 [INFO] [stderr] Compiling lz4_flex v0.8.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bitpacking v0.8.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling fallible_collections v0.4.3 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling lodepng v3.4.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling fail v0.4.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tantivy-query-grammar v0.15.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [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.29 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tantivy v0.16.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling sqlx-core v0.5.7 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tera v1.12.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling captcha v0.0.8 [INFO] [stderr] Compiling sqlx-macros v0.5.7 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling sqlx v0.5.7 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.1 [INFO] [stderr] Compiling swiki v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | sqlx::query_scalar!("SELECT id FROM article WHERE name = $1", name) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 55 | | ArticleWithRevision, [INFO] [stdout] 56 | | r#"SELECT a.id AS "id!", a.name AS "name!", r.content AS "content!", [INFO] [stdout] 57 | | r.created AS "rev_created!" [INFO] [stdout] ... | [INFO] [stdout] 60 | | WHERE r.num = (SELECT MAX(num) FROM revision WHERE article_id = a.id)"# [INFO] [stdout] 61 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | ListRevision, [INFO] [stdout] 79 | | r#"SELECT r.num, u.name AS author_name, r.created AS date [INFO] [stdout] 80 | | FROM revision r [INFO] [stdout] ... | [INFO] [stdout] 84 | | article_name [INFO] [stdout] 85 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 94 | | DisplayRevision, [INFO] [stdout] 95 | | r#"SELECT r.num AS rev_id, u.name AS author_name, r.content, r.created [INFO] [stdout] 96 | | FROM article a [INFO] [stdout] ... | [INFO] [stdout] 101 | | article_name, [INFO] [stdout] 102 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 113 | | DisplayRevision, [INFO] [stdout] 114 | | r#"SELECT r.num AS rev_id, r.content, u.name AS author_name, r.created [INFO] [stdout] 115 | | FROM revision r [INFO] [stdout] ... | [INFO] [stdout] 120 | | num, [INFO] [stdout] 121 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | "INSERT INTO article(id, name, creator_id) [INFO] [stdout] 135 | | VALUES($1, $2, $3)", [INFO] [stdout] 136 | | id, [INFO] [stdout] 137 | | name, [INFO] [stdout] 138 | | author_id, [INFO] [stdout] 139 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | let date = sqlx::query_scalar!( [INFO] [stdout] | ________________^ [INFO] [stdout] 144 | | "INSERT INTO revision(article_id, num, content, author_id) [INFO] [stdout] 145 | | VALUES($1, $2, $3, $4) [INFO] [stdout] 146 | | RETURNING created", [INFO] [stdout] ... | [INFO] [stdout] 150 | | author_id [INFO] [stdout] 151 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / sqlx::query!( [INFO] [stdout] 167 | | "UPDATE article SET name = $1 WHERE id = $2", [INFO] [stdout] 168 | | new_name, [INFO] [stdout] 169 | | article_id, [INFO] [stdout] 170 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/articles.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | let (rev_num, date) = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 184 | | "INSERT INTO revision(article_id, num, content, author_id) [INFO] [stdout] 185 | | VALUES ($1, (SELECT MAX(num) + 1 FROM revision WHERE article_id = $1), $2, $3) [INFO] [stdout] 186 | | RETURNING num, created", [INFO] [stdout] ... | [INFO] [stdout] 189 | | author_id, [INFO] [stdout] 190 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | sqlx::query!(r#"SELECT name, is_admin FROM "user" WHERE id = $1"#, id) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(sqlx::query_scalar!( [INFO] [stdout] | ________^ [INFO] [stdout] 139 | | r#"SELECT EXISTS(SELECT 1 FROM "user" WHERE name = $1) AS "a!""#, [INFO] [stdout] 140 | | username [INFO] [stdout] 141 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#"INSERT INTO "user"(id, name, pw_hash, is_admin) [INFO] [stdout] 164 | | VALUES($1, $2, $3, (SELECT COUNT(*) FROM "user") = 0)"#, [INFO] [stdout] 165 | | id, [INFO] [stdout] 166 | | username, [INFO] [stdout] 167 | | pw_hash [INFO] [stdout] 168 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let (user_id, hash) = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 179 | | r#"SELECT id, pw_hash FROM "user" WHERE name = $1"#, [INFO] [stdout] 180 | | username [INFO] [stdout] 181 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / sqlx::query!( [INFO] [stdout] 205 | | "INSERT INTO session(session_id, user_id) VALUES($1, $2)", [INFO] [stdout] 206 | | session_id, [INFO] [stdout] 207 | | user_id [INFO] [stdout] 208 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | sqlx::query!("DELETE FROM session WHERE session_id = $1", session_id) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | Ok(sqlx::query_scalar!( [INFO] [stdout] | ________^ [INFO] [stdout] 225 | | "SELECT user_id FROM session WHERE session_id = $1", [INFO] [stdout] 226 | | session_id [INFO] [stdout] 227 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/users.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | sqlx::query_scalar!(r#"SELECT is_admin FROM "user" WHERE id = $1"#, user_id) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/mod.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | sqlx::query_scalar!(r#"SELECT id FROM "user" WHERE name = $1"#, username) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query!( [INFO] [stdout] 96 | | "INSERT INTO flags(name, value) [INFO] [stdout] 97 | | VALUES($1, $2) [INFO] [stdout] 98 | | ON CONFLICT(name) DO UPDATE SET value = $2", [INFO] [stdout] 99 | | flag, [INFO] [stdout] 100 | | value [INFO] [stdout] 101 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/db/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(sqlx::query_scalar!( [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | "SELECT value FROM flags WHERE name = $1", [INFO] [stdout] 109 | | flags::REGISTRATION_ENABLED [INFO] [stdout] 110 | | ) [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 communicating with the server: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/articles.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | let (old_content, new_article) = sqlx::query_scalar!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 196 | | "SELECT content FROM revision r [INFO] [stdout] 197 | | INNER JOIN article a ON a.id = r.article_id [INFO] [stdout] 198 | | WHERE a.name = $1 [INFO] [stdout] 199 | | AND num = (SELECT MAX(num) FROM revision WHERE article_id = a.id)", [INFO] [stdout] 200 | | article_name [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/db/users.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let (user_id, hash) = sqlx::query!( [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/db/users.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let (user_id, hash) = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 179 | | r#"SELECT id, pw_hash FROM "user" WHERE name = $1"#, [INFO] [stdout] 180 | | username [INFO] [stdout] 181 | | ) [INFO] [stdout] ... | [INFO] [stdout] 184 | | .map(|r| (r.id, r.pw_hash)) [INFO] [stdout] 185 | | .ok_or_else(|| Error::UserNotFound(username.to_string()))?; [INFO] [stdout] | |______________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swiki` due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "83fe46e27f4e322a2ac0e83b8425ae960cca000dcbaa92970716be6d28b8ebd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83fe46e27f4e322a2ac0e83b8425ae960cca000dcbaa92970716be6d28b8ebd8", kill_on_drop: false }` [INFO] [stdout] 83fe46e27f4e322a2ac0e83b8425ae960cca000dcbaa92970716be6d28b8ebd8