[INFO] cloning repository https://github.com/Jerrody/todos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jerrody/todos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerrody%2Ftodos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerrody%2Ftodos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fb5c61e4d15269107ebad5ca722a2b5d7f61ac9 [INFO] documenting Jerrody/todos against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerrody%2Ftodos" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jerrody/todos on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jerrody/todos [INFO] finished tweaking git repo https://github.com/Jerrody/todos [INFO] tweaked toml for git repo https://github.com/Jerrody/todos written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Jerrody/todos already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded tower-cookies v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", 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] 5daf38e79d0ad10ecf4f42598c2a4bbb5611a6752239bf0882c605272568a2a7 [INFO] running `Command { std: "docker" "start" "-a" "5daf38e79d0ad10ecf4f42598c2a4bbb5611a6752239bf0882c605272568a2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5daf38e79d0ad10ecf4f42598c2a4bbb5611a6752239bf0882c605272568a2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5daf38e79d0ad10ecf4f42598c2a4bbb5611a6752239bf0882c605272568a2a7", kill_on_drop: false }` [INFO] [stdout] 5daf38e79d0ad10ecf4f42598c2a4bbb5611a6752239bf0882c605272568a2a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.61.0" "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] 13bf4e8ffa1bddf04437cc1f5908730b182d66529e30cd2d34b099d02728f61f [INFO] running `Command { std: "docker" "start" "-a" "13bf4e8ffa1bddf04437cc1f5908730b182d66529e30cd2d34b099d02728f61f", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking num_threads v0.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.9.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking time v0.3.7 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking cookie v0.16.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking indexmap v1.8.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking tower-cookies v0.5.1 [INFO] [stderr] Checking tower-http v0.2.3 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sqlx-core v0.5.11 [INFO] [stderr] Checking tera v1.15.0 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Checking sqlx v0.5.11 [INFO] [stderr] Documenting todos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/login.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let is_exists = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 22 | | "SELECT * FROM accounts WHERE login = $1 AND password = $2", [INFO] [stdout] 23 | | account.login, [INFO] [stdout] 24 | | account.password [INFO] [stdout] 25 | | ) [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/login.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | let is_already_exists_login = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 51 | | "SELECT COUNT(1) FROM accounts WHERE login = $1", [INFO] [stdout] 52 | | new_account.login [INFO] [stdout] 53 | | ) [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/login.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / sqlx::query!( [INFO] [stdout] 61 | | "INSERT INTO accounts(login, password) VALUES($1, $2)", [INFO] [stdout] 62 | | new_account.login, [INFO] [stdout] 63 | | new_account.password [INFO] [stdout] 64 | | ) [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/todos.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | let is_doesnt_exist = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 25 | | "SELECT COUNT(1) FROM accounts WHERE login = $1", [INFO] [stdout] 26 | | login.value().to_string() [INFO] [stdout] 27 | | ) [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/todos.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let todos = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE login = $1", username) [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/todos.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | let todo = sqlx::query!("SELECT * FROM todos WHERE id = $1", id as i32) [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/todos.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query!( [INFO] [stdout] 84 | | "DELETE FROM todos WHERE checked = true AND login = $1", [INFO] [stdout] 85 | | cookies.get("login").unwrap().value().to_string() [INFO] [stdout] 86 | | ) [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/todos.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query!( [INFO] [stdout] 99 | | "DELETE FROM todos WHERE login = $1", [INFO] [stdout] 100 | | cookies.get("login").unwrap().value().to_string() [INFO] [stdout] 101 | | ) [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/todos.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | sqlx::query!("DELETE FROM todos WHERE id = $1", id as i32) [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/todos.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / sqlx::query!( [INFO] [stdout] 137 | | "INSERT INTO todos(title, description, login) VALUES($1, $2, $3)", [INFO] [stdout] 138 | | todo.title, [INFO] [stdout] 139 | | todo.description, [INFO] [stdout] 140 | | cookies.get("login").unwrap().value().to_string() [INFO] [stdout] 141 | | ) [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/todos.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | let todo = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE id = $1", id as i32) [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/todos.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / sqlx::query!( [INFO] [stdout] 178 | | "UPDATE todos SET title = $1, description = $2, checked = $3 WHERE id = $4", [INFO] [stdout] 179 | | new_content.title, [INFO] [stdout] 180 | | new_content.description, [INFO] [stdout] 181 | | new_content.checked.is_some(), [INFO] [stdout] 182 | | id as i32, [INFO] [stdout] 183 | | ) [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `todos` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name todos src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=c77eaa824ba74fbe -L dependency=/opt/rustwide/target/debug/deps --extern axum=/opt/rustwide/target/debug/deps/libaxum-8d36cede055e5f24.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-ea49c55674c63602.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-bf93b09516a70b33.rmeta --extern tera=/opt/rustwide/target/debug/deps/libtera-9d3825baec7184f6.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-081fee141b28f5e6.rmeta --extern tower_cookies=/opt/rustwide/target/debug/deps/libtower_cookies-b53c882e1de62a43.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "13bf4e8ffa1bddf04437cc1f5908730b182d66529e30cd2d34b099d02728f61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13bf4e8ffa1bddf04437cc1f5908730b182d66529e30cd2d34b099d02728f61f", kill_on_drop: false }` [INFO] [stdout] 13bf4e8ffa1bddf04437cc1f5908730b182d66529e30cd2d34b099d02728f61f