[INFO] cloning repository https://github.com/sidju/drim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sidju/drim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidju%2Fdrim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidju%2Fdrim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1721e772951867b24737fa924bfa9004630f22dd [INFO] documenting sidju/drim against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidju%2Fdrim" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sidju/drim on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sidju/drim [INFO] finished tweaking git repo https://github.com/sidju/drim [INFO] tweaked toml for git repo https://github.com/sidju/drim written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/sidju/drim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b587a1424483a34a47bde0e4c83581c7e57334e41b103b1618c681f2194595c5 [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" "b587a1424483a34a47bde0e4c83581c7e57334e41b103b1618c681f2194595c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b587a1424483a34a47bde0e4c83581c7e57334e41b103b1618c681f2194595c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b587a1424483a34a47bde0e4c83581c7e57334e41b103b1618c681f2194595c5", kill_on_drop: false }` [INFO] [stdout] b587a1424483a34a47bde0e4c83581c7e57334e41b103b1618c681f2194595c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1ebd8f540cc628e6a421be8102b9cb1396682baa0e1ee23ab7ebccd1658e150 [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" "f1ebd8f540cc628e6a421be8102b9cb1396682baa0e1ee23ab7ebccd1658e150", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling askama_escape v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking mio v0.6.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rust-argon2 v0.8.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking headers v0.3.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking async-native-tls v0.3.2 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking validator v0.10.0 [INFO] [stderr] Checking warp v0.2.1 (https://github.com/cjbassi/warp.git?branch=error#6175e949) [INFO] [stderr] Checking askama_shared v0.9.1 [INFO] [stderr] Compiling validator_derive v0.10.0 [INFO] [stderr] Compiling askama_derive v0.9.0 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking askama v0.9.0 [INFO] [stderr] Documenting drim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db/users.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query_as!(User, [INFO] [stdout] 8 | | "INSERT INTO users (id, nick, email, pass, role) VALUES (DEFAULT, $1, $2, $3, $4) RETURNING id, nick, email, pass, role", [INFO] [stdout] 9 | | &user.nick, [INFO] [stdout] 10 | | &user.email, [INFO] [stdout] 11 | | &user.pass, [INFO] [stdout] 12 | | &user.role [INFO] [stdout] 13 | | ) [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/db/users.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / sqlx::query_as!(User, [INFO] [stdout] 23 | | "SELECT id, nick, email, pass, role FROM users WHERE id = $1", [INFO] [stdout] 24 | | id [INFO] [stdout] 25 | | ) [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/db/users.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!(User, [INFO] [stdout] 35 | | "SELECT id, nick, email, pass, role FROM users WHERE email = $1", [INFO] [stdout] 36 | | email [INFO] [stdout] 37 | | ) [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/db/users.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query_as!(User, [INFO] [stdout] 47 | | "UPDATE users SET nick = $1, email = $2, pass = $3, role = $4 WHERE id = $5 RETURNING id, nick, email, pass, role", [INFO] [stdout] 48 | | &user.nick, [INFO] [stdout] 49 | | &user.email, [INFO] [stdout] ... | [INFO] [stdout] 52 | | user.id [INFO] [stdout] 53 | | ) [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/db/users.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | "INSERT INTO users(id, nick, email, pass, role) VALUES(0, 'admin', $1, $2, 'admin') [INFO] [stdout] 63 | | ON CONFLICT (id) DO [INFO] [stdout] 64 | | UPDATE SET nick = 'admin', email = $1, pass = $2, role = 'admin' WHERE users.id = 0", [INFO] [stdout] 65 | | &username, [INFO] [stdout] 66 | | &passhash [INFO] [stdout] 67 | | ) [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/db/sessions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / sqlx::query_as!(User, [INFO] [stdout] 10 | | "SELECT users.id, users.nick, users.email, users.pass, users.role FROM sessions JOIN users ON sessions.userid = users.id WHERE sess... [INFO] [stdout] 11 | | parsed [INFO] [stdout] 12 | | ) [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/db/sessions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!(Session, [INFO] [stdout] 22 | | "INSERT INTO sessions (id, uuid, userid, until) VALUES (DEFAULT, $1, $2, $3) RETURNING id, uuid, userid, until", [INFO] [stdout] 23 | | session.uuid, [INFO] [stdout] 24 | | session.userid, [INFO] [stdout] 25 | | session.until [INFO] [stdout] 26 | | ) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `drim`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name drim src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern argonautica=/opt/rustwide/target/debug/deps/libargonautica-e3201b66462ea813.rmeta --extern askama=/opt/rustwide/target/debug/deps/libaskama-c0e9bd5a171aacff.rmeta --extern async_native_tls=/opt/rustwide/target/debug/deps/libasync_native_tls-c7fb5418887946a9.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-2e4211f0b09dfec7.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-a4795ae3c0216b3b.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-1c1d02a6c9463162.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-3619c34a30fbfe4c.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-6f8553cfbaba41c7.rmeta --extern argon2=/opt/rustwide/target/debug/deps/libargon2-326cfde5ec8ed4d5.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-6bac4fcea89fe230.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-3567be510689ab5b.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-4779c4b8fe0c0a3e.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-f67cb883814041c0.rmeta --extern validator=/opt/rustwide/target/debug/deps/libvalidator-68af46faa9ef3729.rmeta --extern validator_derive=/opt/rustwide/target/debug/deps/libvalidator_derive-ce531497551aa91a.so --extern warp=/opt/rustwide/target/debug/deps/libwarp-c41e9c18ad8c58e3.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "f1ebd8f540cc628e6a421be8102b9cb1396682baa0e1ee23ab7ebccd1658e150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ebd8f540cc628e6a421be8102b9cb1396682baa0e1ee23ab7ebccd1658e150", kill_on_drop: false }` [INFO] [stdout] f1ebd8f540cc628e6a421be8102b9cb1396682baa0e1ee23ab7ebccd1658e150