[INFO] cloning repository https://github.com/trybefore/file_host [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trybefore/file_host" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrybefore%2Ffile_host", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrybefore%2Ffile_host'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e245790ec73e79c6f08e49ba3a47abcc3a98c516 [INFO] documenting trybefore/file_host 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%2Ftrybefore%2Ffile_host" "/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/trybefore/file_host 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/trybefore/file_host [INFO] finished tweaking git repo https://github.com/trybefore/file_host [INFO] tweaked toml for git repo https://github.com/trybefore/file_host written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/trybefore/file_host 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] 32e252f6c49be6eceaaeb6cc20a46ea7a7a0ef55d26a4feb1a34fd425126a4be [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" "32e252f6c49be6eceaaeb6cc20a46ea7a7a0ef55d26a4feb1a34fd425126a4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32e252f6c49be6eceaaeb6cc20a46ea7a7a0ef55d26a4feb1a34fd425126a4be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e252f6c49be6eceaaeb6cc20a46ea7a7a0ef55d26a4feb1a34fd425126a4be", kill_on_drop: false }` [INFO] [stdout] 32e252f6c49be6eceaaeb6cc20a46ea7a7a0ef55d26a4feb1a34fd425126a4be [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] 54d3d074c24a03442ef1e8e7ece2c7847a81077d73eeb1abb8a4985dbe75cc94 [INFO] running `Command { std: "docker" "start" "-a" "54d3d074c24a03442ef1e8e7ece2c7847a81077d73eeb1abb8a4985dbe75cc94", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling file_host v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling blake3 v1.2.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Checking sqlx-rt v0.5.10 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking cfb v0.4.0 [INFO] [stderr] Checking sqlx-core v0.5.10 [INFO] [stderr] Checking infer v0.5.0 [INFO] [stderr] Checking okapi v0.7.0-rc.1 (https://github.com/GREsau/okapi#b21a1184) [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_okapi_codegen v0.8.0-rc.1 (https://github.com/GREsau/okapi#b21a1184) [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Checking sqlx v0.5.10 [INFO] [stderr] Checking rocket_okapi v0.8.0-rc.1 (https://github.com/GREsau/okapi#b21a1184) [INFO] [stderr] Documenting file_host v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/db/models.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let result = sqlx::query_as!(ApiKey, "SELECT * FROM apikeys WHERE apikey = $1", key) [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/db/models.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | ... let result= sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 53 | | ... "INSERT INTO files(id, file_name, file_hash, file_type, file_size, uploader, upload_date) VALUES ($1, $2, $3, $4, $5, $6, $7) R... [INFO] [stdout] 54 | | ... self.id, [INFO] [stdout] 55 | | ... self.file_name, [INFO] [stdout] ... | [INFO] [stdout] 60 | | ... self.upload_date, [INFO] [stdout] 61 | | ... ).fetch_one(pool).await?; [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/db/models.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | sqlx::query_as!(File, "SELECT * FROM files WHERE id = $1", 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/db/models.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let row = sqlx::query!("SELECT id FROM files WHERE file_hash = $1", hash) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `file_host` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name file_host 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=4a85d174401b2261 -L dependency=/opt/rustwide/target/debug/deps --extern blake3=/opt/rustwide/target/debug/deps/libblake3-89c06459411f15f8.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-7ad9be6f61a04591.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern infer=/opt/rustwide/target/debug/deps/libinfer-906b528968c03015.rmeta --extern rocket=/opt/rustwide/target/debug/deps/librocket-7ac2110443360552.rmeta --extern rocket_okapi=/opt/rustwide/target/debug/deps/librocket_okapi-22ee9e8dfe371d82.rmeta --extern schemars=/opt/rustwide/target/debug/deps/libschemars-3834eca2f0be3d5c.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-3f3ed86c08825fbb.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-a706b644fe70f0d3.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-1dcfd06ced308a4a.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "54d3d074c24a03442ef1e8e7ece2c7847a81077d73eeb1abb8a4985dbe75cc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d3d074c24a03442ef1e8e7ece2c7847a81077d73eeb1abb8a4985dbe75cc94", kill_on_drop: false }` [INFO] [stdout] 54d3d074c24a03442ef1e8e7ece2c7847a81077d73eeb1abb8a4985dbe75cc94