[INFO] fetching crate yadms-storage 0.2.0... [INFO] checking yadms-storage-0.2.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate yadms-storage 0.2.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate yadms-storage 0.2.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate yadms-storage 0.2.0 [INFO] finished tweaking crates.io crate yadms-storage 0.2.0 [INFO] tweaked toml for crates.io crate yadms-storage 0.2.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec97039ea74c394d9b97af277e9820e623ef62d1666cdc66142862b8a6bd0390 [INFO] running `Command { std: "docker" "start" "-a" "ec97039ea74c394d9b97af277e9820e623ef62d1666cdc66142862b8a6bd0390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec97039ea74c394d9b97af277e9820e623ef62d1666cdc66142862b8a6bd0390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec97039ea74c394d9b97af277e9820e623ef62d1666cdc66142862b8a6bd0390", kill_on_drop: false }` [INFO] [stdout] ec97039ea74c394d9b97af277e9820e623ef62d1666cdc66142862b8a6bd0390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54997cfd31c4e4df335a727f975dad2f6537acacd4d9226bb378d815632d3894 [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" "54997cfd31c4e4df335a727f975dad2f6537acacd4d9226bb378d815632d3894", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking sqlformat v0.1.1 [INFO] [stderr] Checking stfu8 v0.2.4 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling pin-project v0.4.26 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking path_abs v0.5.0 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking yadms-storage v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | sqlx::query!("INSERT INTO documents (path, hash, size, ctime) VALUES (?, ?, ?, ?)", path.to_str(), hash[..], size, ctime).execute(&self... [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let row = sqlx::query!("SELECT LAST_INSERT_ID() AS id").fetch_one(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let row = sqlx::query!("SELECT * FROM documents WHERE id = ?", id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let row = sqlx::query!(" [INFO] [stdout] | ___________________^ [INFO] [stdout] 230 | | SELECT [INFO] [stdout] 231 | | documents.* [INFO] [stdout] 232 | | FROM [INFO] [stdout] ... | [INFO] [stdout] 237 | | documents_tags.tag_id = ? [INFO] [stdout] 238 | | ", format!("%/{}", name.as_ref()), tag_id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let row = sqlx::query!("SELECT * FROM documents WHERE path = ?", &path.as_ref().to_str()).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | let row = sqlx::query!("SELECT COUNT(*) AS count FROM documents WHERE path = ?", doc.path.to_str()).fetch_one(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:299:3 [INFO] [stdout] | [INFO] [stdout] 299 | ...x::query!("UPDATE documents SET path = ?, size = ?, ctime = ? WHERE id = ?", doc.path.to_str(), doc.size, doc.ctime, doc.id).execute(&... [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:308:3 [INFO] [stdout] | [INFO] [stdout] 308 | sqlx::query!("DELETE FROM documents_tags WHERE document_id = ?", id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:311:3 [INFO] [stdout] | [INFO] [stdout] 311 | sqlx::query!("DELETE FROM documents WHERE id = ?", id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:324:3 [INFO] [stdout] | [INFO] [stdout] 324 | sqlx::query!("INSERT INTO documents_tags VALUES (?, ?)", document_id, tag_id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:335:3 [INFO] [stdout] | [INFO] [stdout] 335 | sqlx::query!("DELETE FROM documents_tags WHERE document_id = ? AND tag_id = ?", document_id, tag_id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:351:32 [INFO] [stdout] | [INFO] [stdout] 351 | let (depth, right) = match sqlx::query!("SELECT depth, rgt FROM tags WHERE id = ?", parent_id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | sqlx::query!("UPDATE tags SET rgt = rgt + 2 WHERE rgt >= ?", right).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | sqlx::query!("UPDATE tags SET lft = lft + 2 WHERE lft > ?", right).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | None => match sqlx::query!("SELECT MAX(rgt) AS rgt FROM tags").fetch_one(&self.pool).await?.rgt { [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:364:3 [INFO] [stdout] | [INFO] [stdout] 364 | sqlx::query!("INSERT INTO tags VALUES (DEFAULT, ?, ?, ?, ?)", depth, left, left + 1, name).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | let id = sqlx::query!("SELECT LAST_INSERT_ID() AS id").fetch_one(&self.pool).await?.id as u32; [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | let row = match sqlx::query!("SELECT * FROM tags WHERE id = ?", id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | match sqlx::query!(" [INFO] [stdout] | _______________^ [INFO] [stdout] 500 | | SELECT [INFO] [stdout] 501 | | child.id [INFO] [stdout] 502 | | FROM [INFO] [stdout] ... | [INFO] [stdout] 507 | | GROUP_CONCAT('/', parent.name ORDER BY parent.lft SEPARATOR '') = ? [INFO] [stdout] 508 | | ", path.as_ref().to_str().expect("path unicode fail")).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:520:15 [INFO] [stdout] | [INFO] [stdout] 520 | let count = sqlx::query!("UPDATE tags SET name = ? WHERE id = ?", name, id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:528:19 [INFO] [stdout] | [INFO] [stdout] 528 | let row = match sqlx::query!("SELECT lft, rgt FROM tags WHERE id = ?", id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:533:3 [INFO] [stdout] | [INFO] [stdout] 533 | sqlx::query!(" [INFO] [stdout] | _________^ [INFO] [stdout] 534 | | DELETE FROM [INFO] [stdout] 535 | | tags, [INFO] [stdout] 536 | | documents_tags [INFO] [stdout] ... | [INFO] [stdout] 542 | | tags.rgt <= ? [INFO] [stdout] 543 | | ", row.lft, row.rgt).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:544:3 [INFO] [stdout] | [INFO] [stdout] 544 | sqlx::query!("UPDATE tags SET lft = lft - ? WHERE lft > ?", width, row.rgt).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:545:3 [INFO] [stdout] | [INFO] [stdout] 545 | sqlx::query!("UPDATE tags SET rgt = rgt - ? WHERE rgt > ?", width, row.rgt).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | sqlx::query!("INSERT INTO documents (path, hash, size, ctime) VALUES (?, ?, ?, ?)", path.to_str(), hash[..], size, ctime).execute(&self... [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let row = sqlx::query!("SELECT LAST_INSERT_ID() AS id").fetch_one(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let row = sqlx::query!("SELECT * FROM documents WHERE id = ?", id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let row = sqlx::query!(" [INFO] [stdout] | ___________________^ [INFO] [stdout] 230 | | SELECT [INFO] [stdout] 231 | | documents.* [INFO] [stdout] 232 | | FROM [INFO] [stdout] ... | [INFO] [stdout] 237 | | documents_tags.tag_id = ? [INFO] [stdout] 238 | | ", format!("%/{}", name.as_ref()), tag_id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let row = sqlx::query!("SELECT * FROM documents WHERE path = ?", &path.as_ref().to_str()).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | let row = sqlx::query!("SELECT COUNT(*) AS count FROM documents WHERE path = ?", doc.path.to_str()).fetch_one(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:299:3 [INFO] [stdout] | [INFO] [stdout] 299 | ...x::query!("UPDATE documents SET path = ?, size = ?, ctime = ? WHERE id = ?", doc.path.to_str(), doc.size, doc.ctime, doc.id).execute(&... [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:308:3 [INFO] [stdout] | [INFO] [stdout] 308 | sqlx::query!("DELETE FROM documents_tags WHERE document_id = ?", id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:311:3 [INFO] [stdout] | [INFO] [stdout] 311 | sqlx::query!("DELETE FROM documents WHERE id = ?", id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:324:3 [INFO] [stdout] | [INFO] [stdout] 324 | sqlx::query!("INSERT INTO documents_tags VALUES (?, ?)", document_id, tag_id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:335:3 [INFO] [stdout] | [INFO] [stdout] 335 | sqlx::query!("DELETE FROM documents_tags WHERE document_id = ? AND tag_id = ?", document_id, tag_id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:351:32 [INFO] [stdout] | [INFO] [stdout] 351 | let (depth, right) = match sqlx::query!("SELECT depth, rgt FROM tags WHERE id = ?", parent_id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | sqlx::query!("UPDATE tags SET rgt = rgt + 2 WHERE rgt >= ?", right).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | sqlx::query!("UPDATE tags SET lft = lft + 2 WHERE lft > ?", right).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | None => match sqlx::query!("SELECT MAX(rgt) AS rgt FROM tags").fetch_one(&self.pool).await?.rgt { [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:364:3 [INFO] [stdout] | [INFO] [stdout] 364 | sqlx::query!("INSERT INTO tags VALUES (DEFAULT, ?, ?, ?, ?)", depth, left, left + 1, name).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | let id = sqlx::query!("SELECT LAST_INSERT_ID() AS id").fetch_one(&self.pool).await?.id as u32; [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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | let row = match sqlx::query!("SELECT * FROM tags WHERE id = ?", id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | match sqlx::query!(" [INFO] [stdout] | _______________^ [INFO] [stdout] 500 | | SELECT [INFO] [stdout] 501 | | child.id [INFO] [stdout] 502 | | FROM [INFO] [stdout] ... | [INFO] [stdout] 507 | | GROUP_CONCAT('/', parent.name ORDER BY parent.lft SEPARATOR '') = ? [INFO] [stdout] 508 | | ", path.as_ref().to_str().expect("path unicode fail")).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:520:15 [INFO] [stdout] | [INFO] [stdout] 520 | let count = sqlx::query!("UPDATE tags SET name = ? WHERE id = ?", name, id).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:528:19 [INFO] [stdout] | [INFO] [stdout] 528 | let row = match sqlx::query!("SELECT lft, rgt FROM tags WHERE id = ?", id).fetch_optional(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:533:3 [INFO] [stdout] | [INFO] [stdout] 533 | sqlx::query!(" [INFO] [stdout] | _________^ [INFO] [stdout] 534 | | DELETE FROM [INFO] [stdout] 535 | | tags, [INFO] [stdout] 536 | | documents_tags [INFO] [stdout] ... | [INFO] [stdout] 542 | | tags.rgt <= ? [INFO] [stdout] 543 | | ", row.lft, row.rgt).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:544:3 [INFO] [stdout] | [INFO] [stdout] 544 | sqlx::query!("UPDATE tags SET lft = lft - ? WHERE lft > ?", width, row.rgt).execute(&self.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: DATABASE_URL not set [INFO] [stdout] --> src/lib.rs:545:3 [INFO] [stdout] | [INFO] [stdout] 545 | sqlx::query!("UPDATE tags SET rgt = rgt - ? WHERE rgt > ?", width, row.rgt).execute(&self.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: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yadms-storage` [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 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "54997cfd31c4e4df335a727f975dad2f6537acacd4d9226bb378d815632d3894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54997cfd31c4e4df335a727f975dad2f6537acacd4d9226bb378d815632d3894", kill_on_drop: false }` [INFO] [stdout] 54997cfd31c4e4df335a727f975dad2f6537acacd4d9226bb378d815632d3894