[INFO] fetching crate sqlx-adapter 0.2.6... [INFO] documenting sqlx-adapter-0.2.6 against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] extracting crate sqlx-adapter 0.2.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sqlx-adapter 0.2.6 on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sqlx-adapter 0.2.6 [INFO] finished tweaking crates.io crate sqlx-adapter 0.2.6 [INFO] tweaked toml for crates.io crate sqlx-adapter 0.2.6 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8bc9c4928c805be3cf82802fe0424d5e0d696fe9d7eb414c2a3fd71fabd6e0a [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" "e8bc9c4928c805be3cf82802fe0424d5e0d696fe9d7eb414c2a3fd71fabd6e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8bc9c4928c805be3cf82802fe0424d5e0d696fe9d7eb414c2a3fd71fabd6e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8bc9c4928c805be3cf82802fe0424d5e0d696fe9d7eb414c2a3fd71fabd6e0a", kill_on_drop: false }` [INFO] [stdout] e8bc9c4928c805be3cf82802fe0424d5e0d696fe9d7eb414c2a3fd71fabd6e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c30dd74010593ed5ea39d7a8602fa68a1ed0e07ce1b545a0fb7f73d75a1558e2 [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" "c30dd74010593ed5ea39d7a8602fa68a1ed0e07ce1b545a0fb7f73d75a1558e2", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fastrand v1.3.5 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling event-listener v2.4.0 [INFO] [stderr] Compiling vec-arena v0.5.2 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling async-mutex v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling polling v0.1.7 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling async-channel v1.4.1 [INFO] [stderr] Compiling multitask v0.2.0 [INFO] [stderr] Checking rhai v0.17.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling async-io v0.1.11 [INFO] [stderr] Compiling blocking v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking wasm-bindgen v0.2.67 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling async-executor v0.1.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Checking js-sys v0.3.44 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking web-sys v0.3.44 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.3 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking casbin v1.1.3 [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] Documenting sqlx-adapter v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/actions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query!( [INFO] [stdout] 17 | | "CREATE TABLE IF NOT EXISTS casbin_rules ( [INFO] [stdout] 18 | | id SERIAL PRIMARY KEY, [INFO] [stdout] 19 | | ptype VARCHAR NOT NULL, [INFO] [stdout] ... | [INFO] [stdout] 28 | | " [INFO] [stdout] 29 | | ) [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/actions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / sqlx::query!( [INFO] [stdout] 60 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 61 | | ptype = $1 AND [INFO] [stdout] 62 | | v0 = $2 AND [INFO] [stdout] ... | [INFO] [stdout] 74 | | rule[5] [INFO] [stdout] 75 | | ) [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/actions.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / sqlx::query!( [INFO] [stdout] 121 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 122 | | ptype = $1 AND [INFO] [stdout] 123 | | v0 = $2 AND [INFO] [stdout] ... | [INFO] [stdout] 135 | | rule[5] [INFO] [stdout] 136 | | ) [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/actions.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 212 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 213 | | ptype = $1 AND [INFO] [stdout] 214 | | (v5 is NULL OR v5 = $2)", [INFO] [stdout] 215 | | pt.to_string(), [INFO] [stdout] 216 | | field_values[5] [INFO] [stdout] 217 | | )) [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/actions.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 220 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 221 | | ptype = $1 AND [INFO] [stdout] 222 | | (v4 is NULL OR v4 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 226 | | field_values[5] [INFO] [stdout] 227 | | )) [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/actions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 231 | | ptype = $1 AND [INFO] [stdout] 232 | | (v3 is NULL OR v3 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 238 | | field_values[5] [INFO] [stdout] 239 | | )) [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/actions.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 242 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 243 | | ptype = $1 AND [INFO] [stdout] 244 | | (v2 is NULL OR v2 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 252 | | field_values[5] [INFO] [stdout] 253 | | )) [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/actions.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 256 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 257 | | ptype = $1 AND [INFO] [stdout] 258 | | (v1 is NULL OR v1 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 268 | | field_values[5] [INFO] [stdout] 269 | | )) [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/actions.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | Box::new(sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 272 | | "DELETE FROM casbin_rules WHERE [INFO] [stdout] 273 | | ptype = $1 AND [INFO] [stdout] 274 | | (v0 is NULL OR v0 = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 286 | | field_values[5] [INFO] [stdout] 287 | | )) [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/actions.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | let casbin_rules: Vec = sqlx::query_as!(CasbinRule, "SELECT * from casbin_rules") [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/actions.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | sqlx::query!("DELETE FROM casbin_rules") [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/actions.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | / sqlx::query!( [INFO] [stdout] 427 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 428 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 429 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 435 | | rule.v5 [INFO] [stdout] 436 | | ) [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/actions.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | / sqlx::query!( [INFO] [stdout] 501 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 502 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 503 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 509 | | rule.v5 [INFO] [stdout] 510 | | ) [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/actions.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | / sqlx::query!( [INFO] [stdout] 551 | | "INSERT INTO casbin_rules ( ptype, v0, v1, v2, v3, v4, v5 ) [INFO] [stdout] 552 | | VALUES ( $1, $2, $3, $4, $5, $6, $7 )", [INFO] [stdout] 553 | | rule.ptype, [INFO] [stdout] ... | [INFO] [stdout] 559 | | rule.v5 [INFO] [stdout] 560 | | ) [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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `sqlx-adapter`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name sqlx_adapter src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="postgres"' --cfg 'feature="runtime-async-std"' --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-a329ddad9d6e2816.so --extern casbin=/opt/rustwide/target/debug/deps/libcasbin-e10787f04d24f95e.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-ea65719f88f1c8b4.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-8e2dc5b4a3aad404.rmeta --cap-lints=warn --crate-version 0.2.6` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "c30dd74010593ed5ea39d7a8602fa68a1ed0e07ce1b545a0fb7f73d75a1558e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30dd74010593ed5ea39d7a8602fa68a1ed0e07ce1b545a0fb7f73d75a1558e2", kill_on_drop: false }` [INFO] [stdout] c30dd74010593ed5ea39d7a8602fa68a1ed0e07ce1b545a0fb7f73d75a1558e2