[INFO] cloning repository https://github.com/icewind1991/log-archiver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icewind1991/log-archiver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-archiver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-archiver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6689a4c56d669387294654626a8625a03466474 [INFO] checking icewind1991/log-archiver against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-archiver" "/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/icewind1991/log-archiver on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/icewind1991/log-archiver [INFO] finished tweaking git repo https://github.com/icewind1991/log-archiver [INFO] tweaked toml for git repo https://github.com/icewind1991/log-archiver written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/icewind1991/log-archiver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f58fcaa1b9d90527e623d6b4286d0fdefad4cc3ba797452a2fd3273b47690fc6 [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" "f58fcaa1b9d90527e623d6b4286d0fdefad4cc3ba797452a2fd3273b47690fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f58fcaa1b9d90527e623d6b4286d0fdefad4cc3ba797452a2fd3273b47690fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f58fcaa1b9d90527e623d6b4286d0fdefad4cc3ba797452a2fd3273b47690fc6", kill_on_drop: false }` [INFO] [stdout] f58fcaa1b9d90527e623d6b4286d0fdefad4cc3ba797452a2fd3273b47690fc6 [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7baebf774bb69470ea5ab06d436264aeddbe37a019a2a01dcdd86e0c98d8de28 [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" "7baebf774bb69470ea5ab06d436264aeddbe37a019a2a01dcdd86e0c98d8de28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking main_error v0.1.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking sqlx-core v0.3.2 [INFO] [stderr] Compiling sqlx-macros v0.3.2 [INFO] [stderr] Checking sqlx v0.3.2 [INFO] [stderr] Checking log-archiver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let row = sqlx::query!("SELECT MAX(id) AS last_archived FROM logs_raw") [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/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!( [INFO] [stdout] 74 | | "INSERT INTO logs_raw(id, json) VALUES($1, $2)", [INFO] [stdout] 75 | | last_archived, [INFO] [stdout] 76 | | body [INFO] [stdout] 77 | | ) [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/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let row = sqlx::query!("SELECT MAX(id) AS last_archived FROM logs_raw") [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/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!( [INFO] [stdout] 74 | | "INSERT INTO logs_raw(id, json) VALUES($1, $2)", [INFO] [stdout] 75 | | last_archived, [INFO] [stdout] 76 | | body [INFO] [stdout] 77 | | ) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `log-archiver` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7baebf774bb69470ea5ab06d436264aeddbe37a019a2a01dcdd86e0c98d8de28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7baebf774bb69470ea5ab06d436264aeddbe37a019a2a01dcdd86e0c98d8de28", kill_on_drop: false }` [INFO] [stdout] 7baebf774bb69470ea5ab06d436264aeddbe37a019a2a01dcdd86e0c98d8de28