[INFO] cloning repository https://github.com/scan/todos-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scan/todos-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscan%2Ftodos-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscan%2Ftodos-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 839a93bc97b03bcae746e29f365ad01521333205
[INFO] documenting scan/todos-api against nightly for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscan%2Ftodos-api" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/scan/todos-api on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/scan/todos-api
[INFO] finished tweaking git repo https://github.com/scan/todos-api
[INFO] tweaked toml for git repo https://github.com/scan/todos-api written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/scan/todos-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-graphql-value v3.0.38
[INFO] [stderr]   Downloaded async-graphql-derive v3.0.38
[INFO] [stderr]   Downloaded async-graphql-parser v3.0.38
[INFO] [stderr]   Downloaded async-graphql v3.0.38
[INFO] [stderr]   Downloaded async-graphql-warp v3.0.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6674a82347896987a7e850b636eabaef91bc9e33376df6efaf5efbce1a9b9e68
[INFO] running `Command { std: "docker" "start" "-a" "6674a82347896987a7e850b636eabaef91bc9e33376df6efaf5efbce1a9b9e68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6674a82347896987a7e850b636eabaef91bc9e33376df6efaf5efbce1a9b9e68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6674a82347896987a7e850b636eabaef91bc9e33376df6efaf5efbce1a9b9e68", kill_on_drop: false }`
[INFO] [stdout] 6674a82347896987a7e850b636eabaef91bc9e33376df6efaf5efbce1a9b9e68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c82f46facf10fa5e8556edb61322b03b141b86eb58282a44bf46075d4f05f171
[INFO] running `Command { std: "docker" "start" "-a" "c82f46facf10fa5e8556edb61322b03b141b86eb58282a44bf46075d4f05f171", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling proc-macro2 v1.0.38
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling syn v1.0.93
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]     Checking ascii_utils v0.9.3
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]     Checking zeroize v1.5.5
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]     Checking fast_chemail v0.9.6
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking spin v0.9.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.24.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking atoi v0.4.0
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sqlformat v0.1.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking futures-intrusive v0.4.0
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking hashlink v0.7.0
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]     Checking multipart v0.18.0
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking rustls v0.19.1
[INFO] [stderr]     Checking webpki-roots v0.21.1
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking flume v0.10.12
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]     Checking async-graphql-value v3.0.38
[INFO] [stderr]     Checking tungstenite v0.14.0
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking headers v0.3.7
[INFO] [stderr]     Checking async-graphql-parser v3.0.38
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-rustls v0.22.0
[INFO] [stderr]     Checking tokio-tungstenite v0.15.0
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]    Compiling async-graphql-derive v3.0.38
[INFO] [stderr]     Checking sqlx-rt v0.5.13
[INFO] [stderr]     Checking sqlx-core v0.5.13
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]    Compiling sqlx-macros v0.5.13
[INFO] [stderr]     Checking async-graphql v3.0.38
[INFO] [stderr]     Checking warp v0.3.2
[INFO] [stderr]     Checking sqlx v0.5.13
[INFO] [stderr]     Checking async-graphql-warp v3.0.38
[INFO] [stderr]  Documenting todos-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/repository/note.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | /         sqlx::query!(
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | | INSERT INTO notes ( id, title, created_at ) VALUES ( ?, ?, ? )
[INFO] [stdout] 27 | |             "#,
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |             note.created_at
[INFO] [stdout] 31 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::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/repository/note.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |           let notes = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 40 | |             Note,
[INFO] [stdout] 41 | |             r#"
[INFO] [stdout] 42 | | SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             offset,
[INFO] [stdout] 55 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (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/repository/note.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |           let res = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 64 | |             Note,
[INFO] [stdout] 65 | |             r#"
[INFO] [stdout] 66 | | SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             id,
[INFO] [stdout] 76 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (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/repository/note.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 | /         sqlx::query!(
[INFO] [stdout] 89 | |             r#"
[INFO] [stdout] 90 | | DELETE FROM notes WHERE id = ?
[INFO] [stdout] 91 | |             "#,
[INFO] [stdout] 92 | |             id
[INFO] [stdout] 93 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::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/repository/note.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | /         sqlx::query!(
[INFO] [stdout] 107 | |             r#"
[INFO] [stdout] 108 | | UPDATE notes SET title = ?, contents = ? WHERE id = ?
[INFO] [stdout] 109 | |             "#,
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             id
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::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 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `todos-api`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name todos_api 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=bdae515c60809bcb -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-0d130518d8a3e086.rmeta --extern async_graphql=/opt/rustwide/target/debug/deps/libasync_graphql-2e17855f6397a41b.rmeta --extern async_graphql_warp=/opt/rustwide/target/debug/deps/libasync_graphql_warp-b8a7c2d58f5895b4.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-31f5270d3955f2b5.so --extern chrono=/opt/rustwide/target/debug/deps/libchrono-6cd1f764889218c0.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-9bc5e01eabfc6340.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-79050d46c61221cc.rmeta --extern pretty_env_logger=/opt/rustwide/target/debug/deps/libpretty_env_logger-2464e96676023618.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-b41c398103fcc2e8.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-f3005a2c0f8d5b31.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-148fcd214c6c556f.rmeta --extern warp=/opt/rustwide/target/debug/deps/libwarp-bec601d6d0db52a9.rmeta --cap-lints=allow --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "c82f46facf10fa5e8556edb61322b03b141b86eb58282a44bf46075d4f05f171", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c82f46facf10fa5e8556edb61322b03b141b86eb58282a44bf46075d4f05f171", kill_on_drop: false }`
[INFO] [stdout] c82f46facf10fa5e8556edb61322b03b141b86eb58282a44bf46075d4f05f171
