[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 beta-2022-07-10 for beta-1.63-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscan%2Ftodos-api" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/scan/todos-api on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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-6/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" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e965474dafe9e744644a6e2e1342dedd788910812483ccee9a2b82dc988cd2c
[INFO] running `Command { std: "docker" "start" "-a" "0e965474dafe9e744644a6e2e1342dedd788910812483ccee9a2b82dc988cd2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e965474dafe9e744644a6e2e1342dedd788910812483ccee9a2b82dc988cd2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e965474dafe9e744644a6e2e1342dedd788910812483ccee9a2b82dc988cd2c", kill_on_drop: false }`
[INFO] [stdout] 0e965474dafe9e744644a6e2e1342dedd788910812483ccee9a2b82dc988cd2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df660508abd7139029e2c927ba0778ceedc9ebbca95ba72ea9dec803c554ed68
[INFO] running `Command { std: "docker" "start" "-a" "df660508abd7139029e2c927ba0778ceedc9ebbca95ba72ea9dec803c554ed68", 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 v1.0.137
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking ucd-trie v0.1.3
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]     Checking ascii_utils v0.9.3
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]     Checking zeroize v1.5.5
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.24.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking pest v2.1.3
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking fast_chemail v0.9.6
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking spin v0.9.3
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking atoi v0.4.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking multipart v0.18.0
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[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 darling_macro v0.13.4
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]    Compiling flume v0.10.12
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking serde_json v1.0.81
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking async-graphql-value v3.0.38
[INFO] [stderr]     Checking async-graphql-parser v3.0.38
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking tungstenite v0.14.0
[INFO] [stderr]     Checking headers v0.3.7
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-tungstenite v0.15.0
[INFO] [stderr]    Compiling async-graphql-derive v3.0.38
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking sqlx-rt v0.5.13
[INFO] [stderr]     Checking sqlx-core v0.5.13
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking warp v0.3.2
[INFO] [stderr]    Compiling sqlx-macros v0.5.13
[INFO] [stderr]     Checking async-graphql v3.0.38
[INFO] [stderr]     Checking async-graphql-warp v3.0.38
[INFO] [stderr]     Checking sqlx v0.5.13
[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` (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` (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` (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` (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` (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=92e07ec2fd0dbea9 -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-0657bc08aa8032ee.rmeta --extern async_graphql=/opt/rustwide/target/debug/deps/libasync_graphql-8875a3fdbd5cad5f.rmeta --extern async_graphql_warp=/opt/rustwide/target/debug/deps/libasync_graphql_warp-190391ea4573b097.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-2709d0a2e43139e5.so --extern chrono=/opt/rustwide/target/debug/deps/libchrono-4f41decfdb49a289.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-c2966570978c8032.rmeta --extern pretty_env_logger=/opt/rustwide/target/debug/deps/libpretty_env_logger-665159128535c6f5.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-acf763a06cc5c144.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-7181908c351edd25.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-3a66be4a321e58bb.rmeta --extern warp=/opt/rustwide/target/debug/deps/libwarp-a8683ae92c4d6b07.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "df660508abd7139029e2c927ba0778ceedc9ebbca95ba72ea9dec803c554ed68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df660508abd7139029e2c927ba0778ceedc9ebbca95ba72ea9dec803c554ed68", kill_on_drop: false }`
[INFO] [stdout] df660508abd7139029e2c927ba0778ceedc9ebbca95ba72ea9dec803c554ed68
