[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] 794301662c9ad8b1dd69f8b1712417708ba4c18d [INFO] documenting mw10013/ahub against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmw10013%2Fahub" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mw10013/ahub on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-3/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" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9697c2dd691aaa4b13c68abe5ce9ee436cba73de2c4c3650263535e042e1a9 [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" "6b9697c2dd691aaa4b13c68abe5ce9ee436cba73de2c4c3650263535e042e1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9697c2dd691aaa4b13c68abe5ce9ee436cba73de2c4c3650263535e042e1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9697c2dd691aaa4b13c68abe5ce9ee436cba73de2c4c3650263535e042e1a9", kill_on_drop: false }` [INFO] [stdout] 6b9697c2dd691aaa4b13c68abe5ce9ee436cba73de2c4c3650263535e042e1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] 69c4b5fae845fb83dafe61f761f0f40f3772cec32faaa6c1f9f018c961920efb [INFO] running `Command { std: "docker" "start" "-a" "69c4b5fae845fb83dafe61f761f0f40f3772cec32faaa6c1f9f018c961920efb", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.30 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking parking_lot_core v0.9.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking signal-hook v0.3.13 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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 thiserror v1.0.30 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Checking mio v0.8.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Compiling async-global-executor v2.0.3 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking sqlx v0.5.11 [INFO] [stderr] Documenting ahub v0.1.0 (/opt/rustwide/workdir) [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] 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `ahub` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name ahub src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=caf6351dee33200a -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-f1182eb1ea07fabc.rmeta --extern async_std=/opt/rustwide/target/debug/deps/libasync_std-84515c00090f1e4a.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-aaa22e739949d227.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-f91f50271d4688d8.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-3edab56c344ec175.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-7364feac68954923.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-d1d3cdf76fbaba70.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-97bb3432d48c9389.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-d6fa2ff0fe20d1e0.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-4116cab07efae5e8.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "69c4b5fae845fb83dafe61f761f0f40f3772cec32faaa6c1f9f018c961920efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c4b5fae845fb83dafe61f761f0f40f3772cec32faaa6c1f9f018c961920efb", kill_on_drop: false }` [INFO] [stdout] 69c4b5fae845fb83dafe61f761f0f40f3772cec32faaa6c1f9f018c961920efb