[INFO] cloning repository https://github.com/mylifenp/cheque_erp_back [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mylifenp/cheque_erp_back" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmylifenp%2Fcheque_erp_back", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmylifenp%2Fcheque_erp_back'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b6bb2cf675158f5540dc6d86b7c24c7a65f1d08 [INFO] documenting mylifenp/cheque_erp_back against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmylifenp%2Fcheque_erp_back" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mylifenp/cheque_erp_back on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mylifenp/cheque_erp_back [INFO] finished tweaking git repo https://github.com/mylifenp/cheque_erp_back [INFO] tweaked toml for git repo https://github.com/mylifenp/cheque_erp_back written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mylifenp/cheque_erp_back already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb4cef35b2e267e2f96df8b4b4983699040fd155ba045f9a7c6c11ca4dfc0b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecb4cef35b2e267e2f96df8b4b4983699040fd155ba045f9a7c6c11ca4dfc0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb4cef35b2e267e2f96df8b4b4983699040fd155ba045f9a7c6c11ca4dfc0b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb4cef35b2e267e2f96df8b4b4983699040fd155ba045f9a7c6c11ca4dfc0b6", kill_on_drop: false }` [INFO] [stdout] ecb4cef35b2e267e2f96df8b4b4983699040fd155ba045f9a7c6c11ca4dfc0b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39228aa8017b8ccbe85dacaa5cac566d1fc5cfc3251b282c90083268ef62eb59 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "39228aa8017b8ccbe85dacaa5cac566d1fc5cfc3251b282c90083268ef62eb59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking encoding_rs v0.8.31 [INFO] [stderr] Checking crc32fast v1.3.2 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking indexmap v1.8.1 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking alcoholic_jwt v1.0.1 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking actix-server v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking actix-http v3.0.4 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking actix-web-httpauth v0.6.0 [INFO] [stderr] Documenting cheque_erp_back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `"DATABASE_URL"` [INFO] [stdout] --> src/main.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | let database_url = std::env::("DATABASE_URL").expect("DATABASE_URL must nbe set"); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `errors` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod errors; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `errors`, create file "src/errors.rs" or "src/errors/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `models` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod models; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `models`, create file "src/models.rs" or "src/models/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `schema` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod schema; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `schema`, create file "src/schema.rs" or "src/schema/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` [INFO] [stdout] --> src/main.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let database_url = std::env::("DATABASE_URL").expect("DATABASE_URL must nbe set"); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `diesel::r2d2`, `diesel::r2d2` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use diesel::r2d2::{self, ConnectionManager}; [INFO] [stdout] | ^^^^ ^^^^ no `r2d2` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `r2d2` in `diesel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PgConnection` in this scope [INFO] [stdout] --> src/main.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.8/src/connection/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Connection: SimpleConnection + Sized + Send { [INFO] [stdout] | ----------------------------------------------------- similarly named trait `Connection` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 14 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | pub type Pool = r2d2::Pool>; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `cheque_erp_back` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name cheque_erp_back 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=208c3be9ee5ed461 -L dependency=/opt/rustwide/target/debug/deps --extern actix_rt=/opt/rustwide/target/debug/deps/libactix_rt-69eedd255a8210d7.rmeta --extern actix_service=/opt/rustwide/target/debug/deps/libactix_service-c10ae9159a1a6f75.rmeta --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-664e450d2813e6a6.rmeta --extern actix_web_httpauth=/opt/rustwide/target/debug/deps/libactix_web_httpauth-6979d0e742ece626.rmeta --extern alcoholic_jwt=/opt/rustwide/target/debug/deps/libalcoholic_jwt-9aef3da3b8e9e437.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-a0a25ea5ea815c54.rmeta --extern derive_more=/opt/rustwide/target/debug/deps/libderive_more-a6f3cb6435e2416e.so --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-6e24a27d388389a0.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-750f15e4e54001a7.rmeta --extern r2d2=/opt/rustwide/target/debug/deps/libr2d2-59f7545fa4bef4ab.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-ef5811f8de0f1944.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-32af45dc54de6918.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-33cb396bb3aed7b8.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-b3a7db852b786105.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "39228aa8017b8ccbe85dacaa5cac566d1fc5cfc3251b282c90083268ef62eb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39228aa8017b8ccbe85dacaa5cac566d1fc5cfc3251b282c90083268ef62eb59", kill_on_drop: false }` [INFO] [stdout] 39228aa8017b8ccbe85dacaa5cac566d1fc5cfc3251b282c90083268ef62eb59