[INFO] cloning repository https://github.com/mw10013/ahub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mw10013/ahub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96f3f7f1e0885981a9c61b0d1c93583c3b33c51c [INFO] testing mw10013/ahub against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mw10013/ahub on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mw10013/ahub [INFO] finished tweaking git repo https://github.com/mw10013/ahub [INFO] tweaked toml for git repo https://github.com/mw10013/ahub written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/mw10013/ahub already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-global-executor v2.0.3 [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 100b437167819195ffc52fe58edcf8d028661ad498cbcccc0d2bec7972bca263 [INFO] running `Command { std: "docker" "start" "-a" "100b437167819195ffc52fe58edcf8d028661ad498cbcccc0d2bec7972bca263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "100b437167819195ffc52fe58edcf8d028661ad498cbcccc0d2bec7972bca263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100b437167819195ffc52fe58edcf8d028661ad498cbcccc0d2bec7972bca263", kill_on_drop: false }` [INFO] [stdout] 100b437167819195ffc52fe58edcf8d028661ad498cbcccc0d2bec7972bca263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe44480a1f67a57772c9a8b46194e5548fc6242c80a42dbf8bacd2fb03c3e2e8 [INFO] running `Command { std: "docker" "start" "-a" "fe44480a1f67a57772c9a8b46194e5548fc6242c80a42dbf8bacd2fb03c3e2e8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.3 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling ahub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/mock.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let id = sqlx::query!( [INFO] [stdout] | ______________^ [INFO] [stdout] 16 | | r#" [INFO] [stdout] 17 | | INSERT INTO AccessEvent (at, access, code, access_user_id, access_point_id) VALUES (CURRENT_TIMESTAMP,'grant', ?, ?, ?) [INFO] [stdout] 18 | | "#, [INFO] [stdout] 19 | | user.code, user_id, point_id [INFO] [stdout] 20 | | ) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/mock.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | let id = sqlx::query!( [INFO] [stdout] | ______________^ [INFO] [stdout] 29 | | r#" [INFO] [stdout] 30 | | INSERT INTO AccessEvent (at, access, code, access_point_id) VALUES (CURRENT_TIMESTAMP,'deny', ?, ?) [INFO] [stdout] 31 | | "#, [INFO] [stdout] 32 | | code, point_id [INFO] [stdout] 33 | | ) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/access.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let active_code = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 13 | | ActiveCode, [INFO] [stdout] 14 | | r#"select access_point_id, position, code, access_user_id, activate_code_at, expire_code_at [INFO] [stdout] 15 | | from ActiveCode where code = ? and position = ?"#, [INFO] [stdout] 16 | | code, [INFO] [stdout] 17 | | position [INFO] [stdout] 18 | | ) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/access.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let _id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | INSERT INTO AccessEvent (at, access, code, access_user_id, access_point_id) VALUES (CURRENT_TIMESTAMP,'grant', ?, ?, ?) [INFO] [stdout] 27 | | "#, [INFO] [stdout] 28 | | active_code.code, active_code.access_user_id, active_code.access_point_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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/access.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let point = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 36 | | Point, [INFO] [stdout] 37 | | r#"select id, position from AccessPoint where position = ?"#, [INFO] [stdout] 38 | | position [INFO] [stdout] 39 | | ) [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: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/access.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let _id = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 45 | | r#" [INFO] [stdout] 46 | | INSERT INTO AccessEvent (at, access, code, access_point_id) VALUES (CURRENT_TIMESTAMP,'deny', ?, ?) [INFO] [stdout] 47 | | "#, [INFO] [stdout] 48 | | code, point.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] warning: unused imports: `ActiveCode`, `Point` [INFO] [stdout] --> src/access.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::{ActiveCode, Point}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ahub` due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fe44480a1f67a57772c9a8b46194e5548fc6242c80a42dbf8bacd2fb03c3e2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe44480a1f67a57772c9a8b46194e5548fc6242c80a42dbf8bacd2fb03c3e2e8", kill_on_drop: false }` [INFO] [stdout] fe44480a1f67a57772c9a8b46194e5548fc6242c80a42dbf8bacd2fb03c3e2e8