[INFO] cloning repository https://github.com/SohailHaqyar/go-crud-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SohailHaqyar/go-crud-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSohailHaqyar%2Fgo-crud-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSohailHaqyar%2Fgo-crud-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1371aec4ae8c3646e058199b8a4457c14d393c02
[INFO] documenting SohailHaqyar/go-crud-api against 1.59.0 for beta-1.60-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSohailHaqyar%2Fgo-crud-api" "/workspace/builds/worker-36/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SohailHaqyar/go-crud-api on toolchain 1.59.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SohailHaqyar/go-crud-api
[INFO] finished tweaking git repo https://github.com/SohailHaqyar/go-crud-api
[INFO] tweaked toml for git repo https://github.com/SohailHaqyar/go-crud-api written to /workspace/builds/worker-36/source/Cargo.toml
[INFO] crate git repo https://github.com/SohailHaqyar/go-crud-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7787ed1ad0877b445fe6f5b67fc4e3df572054253494b2ee5dd99a5bb8169fd9
[INFO] running `Command { std: "docker" "start" "-a" "7787ed1ad0877b445fe6f5b67fc4e3df572054253494b2ee5dd99a5bb8169fd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7787ed1ad0877b445fe6f5b67fc4e3df572054253494b2ee5dd99a5bb8169fd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7787ed1ad0877b445fe6f5b67fc4e3df572054253494b2ee5dd99a5bb8169fd9", kill_on_drop: false }`
[INFO] [stdout] 7787ed1ad0877b445fe6f5b67fc4e3df572054253494b2ee5dd99a5bb8169fd9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 94f1f8c7376f65ebb214c04d50e24996ca37bd29f4def9905873047ce86f85ea
[INFO] running `Command { std: "docker" "start" "-a" "94f1f8c7376f65ebb214c04d50e24996ca37bd29f4def9905873047ce86f85ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.85
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]     Checking futures-io v0.3.19
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling serde_json v1.0.74
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling state v0.5.2
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling atomic v0.5.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking stable-pattern v0.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tracing v0.1.29
[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 cookie v0.15.1
[INFO] [stderr]    Compiling uncased v0.9.6
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]    Compiling figment v0.10.6
[INFO] [stderr]    Compiling rocket v0.5.0-rc.1
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling h2 v0.3.10
[INFO] [stderr]    Compiling devise_core v0.3.1
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling pear_codegen v0.2.3
[INFO] [stderr]    Compiling ref-cast-impl v1.0.6
[INFO] [stderr]    Compiling devise_codegen v0.3.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.2
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling ref-cast v1.0.6
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling devise v0.3.1
[INFO] [stderr]     Checking async-stream v0.3.2
[INFO] [stderr]     Checking pear v0.2.3
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]     Checking futures-executor v0.3.19
[INFO] [stderr]     Checking futures v0.3.19
[INFO] [stderr]    Compiling rocket_http v0.5.0-rc.1
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking ubyte v0.10.1
[INFO] [stderr]    Compiling rocket_codegen v0.5.0-rc.1
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking pes-book-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting pes-book-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/bin/posts.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate rocket;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `diesel` in the crate root
[INFO] [stdout]  --> src/bin/posts.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::diesel::prelude::*;
[INFO] [stdout]   |            ^^^^^^ could not find `diesel` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rocket_uri_macro_get_posts_8643467731761336958`, `rocket_uri_macro_create_post_15241274785857173897`, `rocket_uri_macro_publish_post_14271510032571403250`
[INFO] [stdout]   --> src/bin/posts.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn get_posts() -> Json<Vec<Post>> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 | pub fn create_post(post: Json<NewPost>) -> Json<Post> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | pub fn publish_post(post_id: i32) -> Json<Post> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0468.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `pes-book-api`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name server src/bin/server.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,future-incompat --document-private-items -C metadata=b1328bd6a4ba193e -L dependency=/opt/rustwide/target/debug/deps --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-7011b70a1ce612c0.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-c7a151d9be0798ee.rmeta --extern pes_book_api=/opt/rustwide/target/debug/deps/libpes_book_api-1fd7f41058b37b21.rmeta --extern rocket=/opt/rustwide/target/debug/deps/librocket-a0ccbce4ccafd607.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-330daa39ec3a3553.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "94f1f8c7376f65ebb214c04d50e24996ca37bd29f4def9905873047ce86f85ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94f1f8c7376f65ebb214c04d50e24996ca37bd29f4def9905873047ce86f85ea", kill_on_drop: false }`
[INFO] [stdout] 94f1f8c7376f65ebb214c04d50e24996ca37bd29f4def9905873047ce86f85ea
