[INFO] crate yadms-storage 0.2.0 is already in cache [INFO] testing yadms-storage-0.2.0 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate yadms-storage 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate yadms-storage 0.2.0 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e573adc5f6cfa988cc4d4c1f7570c45ddb358a8ccdb405e5ad8f2935ab9dc5ec [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" "e573adc5f6cfa988cc4d4c1f7570c45ddb358a8ccdb405e5ad8f2935ab9dc5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e573adc5f6cfa988cc4d4c1f7570c45ddb358a8ccdb405e5ad8f2935ab9dc5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e573adc5f6cfa988cc4d4c1f7570c45ddb358a8ccdb405e5ad8f2935ab9dc5ec", kill_on_drop: false }` [INFO] [stdout] e573adc5f6cfa988cc4d4c1f7570c45ddb358a8ccdb405e5ad8f2935ab9dc5ec [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3a6a8f2614212a574813aa082b00a89469d5aea98d7c162690a524c2d672533 [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" "d3a6a8f2614212a574813aa082b00a89469d5aea98d7c162690a524c2d672533", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling stfu8 v0.2.4 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling path_abs v0.5.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling 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: 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] running `Command { std: "docker" "inspect" "d3a6a8f2614212a574813aa082b00a89469d5aea98d7c162690a524c2d672533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a6a8f2614212a574813aa082b00a89469d5aea98d7c162690a524c2d672533", kill_on_drop: false }` [INFO] [stdout] d3a6a8f2614212a574813aa082b00a89469d5aea98d7c162690a524c2d672533