[INFO] cloning repository https://github.com/craigfay/rust_json_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craigfay/rust_json_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Frust_json_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Frust_json_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fbf687b100de05c92d23087cde360e3a3aa2fe24
[INFO] documenting craigfay/rust_json_api against 1.54.0 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraigfay%2Frust_json_api" "/workspace/builds/worker-58/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/craigfay/rust_json_api on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/craigfay/rust_json_api
[INFO] finished tweaking git repo https://github.com/craigfay/rust_json_api
[INFO] tweaked toml for git repo https://github.com/craigfay/rust_json_api written to /workspace/builds/worker-58/source/Cargo.toml
[INFO] crate git repo https://github.com/craigfay/rust_json_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4216288f96ec887a284a10ae279b3e906c1b45a3636bd2ea911a0c4f6ce33e63
[INFO] running `Command { std: "docker" "start" "-a" "4216288f96ec887a284a10ae279b3e906c1b45a3636bd2ea911a0c4f6ce33e63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4216288f96ec887a284a10ae279b3e906c1b45a3636bd2ea911a0c4f6ce33e63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4216288f96ec887a284a10ae279b3e906c1b45a3636bd2ea911a0c4f6ce33e63", kill_on_drop: false }`
[INFO] [stdout] 4216288f96ec887a284a10ae279b3e906c1b45a3636bd2ea911a0c4f6ce33e63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ced33ab9f8188e3b42c6deedd13b33f81861003959e806b9a7d484acf62d23d4
[INFO] running `Command { std: "docker" "start" "-a" "ced33ab9f8188e3b42c6deedd13b33f81861003959e806b9a7d484acf62d23d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.73
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling syn v1.0.34
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking once_cell v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]     Checking smallvec v1.4.1
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]     Checking tinyvec v0.3.3
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling cc v1.0.58
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]     Checking tracing-core v0.1.11
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking bytestring v0.1.5
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling hashbrown v0.8.1
[INFO] [stderr]    Compiling indexmap v1.5.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.18.0
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking tracing v0.1.17
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking socket2 v0.3.12
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking flate2 v1.0.16
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking resolv-conf v0.6.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking chrono v0.4.13
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking actix-codec v0.2.0
[INFO] [stderr]     Checking brotli2 v0.3.2
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.114
[INFO] [stderr]    Compiling async-trait v0.1.36
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-web-codegen v0.2.2
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking actix-threadpool v0.3.3
[INFO] [stderr]     Checking serde v1.0.114
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking actix-service v1.0.5
[INFO] [stderr]     Checking actix-rt v1.1.1
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]     Checking actix-utils v1.0.6
[INFO] [stderr]     Checking actix-server v1.0.3
[INFO] [stderr]     Checking actix-tls v1.0.0
[INFO] [stderr]     Checking actix-testing v1.0.1
[INFO] [stderr]     Checking trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking actix-router v0.2.4
[INFO] [stderr]     Checking actix-connect v1.0.2
[INFO] [stderr]     Checking diesel v1.4.5
[INFO] [stderr]     Checking actix-http v1.0.1
[INFO] [stderr]     Checking awc v1.0.1
[INFO] [stderr]     Checking actix-web v2.0.0
[INFO] [stderr]     Checking rust_json_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting rust_json_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `insertable`
[INFO] [stdout]   --> src/db/mod.rs:19:36
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn create<M: models::Resource>(insertable: M::Insertable) -> bool {
[INFO] [stdout]    |                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_insertable`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]   --> src/db/models.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/db/mod.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     diesel::update(
[INFO] [stdout] 43 | |         schema::posts::table.filter(schema::posts::id.eq(id))
[INFO] [stdout] 44 | |     )
[INFO] [stdout] 45 | |         .set(mutation)
[INFO] [stdout] 46 | |         .execute(&connection);
[INFO] [stdout]    | |______________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/bin/notes.rs:75:1
[INFO] [stdout]    |
[INFO] [stdout] 75 | let rows_inserted = diesel::insert_into(users)
[INFO] [stdout]    | ^^^ expected item
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in `rust_json_api`
[INFO] [stdout]  --> src/bin/delete_post.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use rust_json_api::schema::posts::dsl::*;
[INFO] [stdout]   |                        ^^^^^^ could not find `schema` in `rust_json_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `rust_json_api`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name notes src/bin/notes.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern actix_rt=/opt/rustwide/target/debug/deps/libactix_rt-122fd7cf754e0d9f.rmeta --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-94fe7409200baeb3.rmeta --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-7c8063d0f5c6c43a.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-fac2af56d99fafd7.rmeta --extern rust_json_api=/opt/rustwide/target/debug/deps/librust_json_api-76e2f748cf40376f.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-1f4f1c25aa102cf7.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-60b080a3cbe0e5a9.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-417f3fbf5a2e4ab3.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]  --> src/bin/publish_post.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use self::db::models::Post;
[INFO] [stdout]   |           ^^
[INFO] [stdout]   |           |
[INFO] [stdout]   |           unresolved import
[INFO] [stdout]   |           help: a similar path exists: `rust_json_api::db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `schema` in `rust_json_api`
[INFO] [stdout]   --> src/bin/publish_post.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use rust_json_api::schema::posts::dsl::{posts, published};
[INFO] [stdout]    |                        ^^^^^^ could not find `schema` in `rust_json_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ced33ab9f8188e3b42c6deedd13b33f81861003959e806b9a7d484acf62d23d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ced33ab9f8188e3b42c6deedd13b33f81861003959e806b9a7d484acf62d23d4", kill_on_drop: false }`
[INFO] [stdout] ced33ab9f8188e3b42c6deedd13b33f81861003959e806b9a7d484acf62d23d4
