[INFO] cloning repository https://github.com/DavidBM/templic-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DavidBM/templic-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidBM%2Ftemplic-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidBM%2Ftemplic-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 804a965d10a0c13fc29e9c8eecd76e4002dd6341 [INFO] documenting DavidBM/templic-backend against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidBM%2Ftemplic-backend" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DavidBM/templic-backend on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DavidBM/templic-backend [INFO] removed path dependency iron-cors from git repo https://github.com/DavidBM/templic-backend [INFO] finished tweaking git repo https://github.com/DavidBM/templic-backend [INFO] tweaked toml for git repo https://github.com/DavidBM/templic-backend written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/DavidBM/templic-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (iron-cors) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/iron/body-parser.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/iron/body-parser.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] [stderr] Updating git repository `https://github.com/iron/iron` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (iron-cors) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_infer_schema v0.12.0 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded iron-cors v0.8.0 [INFO] [stderr] Downloaded r2d2-diesel v0.12.0 [INFO] [stderr] Downloaded r2d2 v0.7.4 [INFO] [stderr] Downloaded diesel_codegen v0.12.0 [INFO] [stderr] Downloaded slog-term v2.0.4 [INFO] [stderr] Downloaded jsonwebtoken v1.1.3 [INFO] [stderr] Downloaded diesel v0.12.1 [INFO] [stderr] Downloaded slog-json v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb84215f50234d92dbe3e39fdf17b5ebd5977ef7d252cce71d038c60e39c6975 [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" "fb84215f50234d92dbe3e39fdf17b5ebd5977ef7d252cce71d038c60e39c6975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb84215f50234d92dbe3e39fdf17b5ebd5977ef7d252cce71d038c60e39c6975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb84215f50234d92dbe3e39fdf17b5ebd5977ef7d252cce71d038c60e39c6975", kill_on_drop: false }` [INFO] [stdout] fb84215f50234d92dbe3e39fdf17b5ebd5977ef7d252cce71d038c60e39c6975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b13d289bd725527474c1e196b3ca594eec7789aab671efde1cb593b4163b698 [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" "7b13d289bd725527474c1e196b3ca594eec7789aab671efde1cb593b4163b698", kill_on_drop: false }` [INFO] [stderr] warning: dependency (iron-cors) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking slog v2.0.12 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking sequence_trie v0.3.6 [INFO] [stderr] Checking scheduled-thread-pool v0.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking base64 v0.4.2 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Checking r2d2 v0.7.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking dotenv v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking slog-term v2.0.4 [INFO] [stderr] Checking slog-json v2.0.2 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling diesel v0.12.1 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking iron-cors v0.8.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking bodyparser v0.8.0 (https://github.com/iron/body-parser.git#49ae53cd) [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking jsonwebtoken v1.1.3 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking iron v0.6.0 (https://github.com/iron/iron?branch=master#e38695bf) [INFO] [stderr] Checking mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881) [INFO] [stderr] Compiling diesel_infer_schema v0.12.0 [INFO] [stderr] Compiling diesel_codegen v0.12.0 [INFO] [stderr] Checking r2d2-diesel v0.12.0 [INFO] [stderr] Documenting templic-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/dal/db_schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | infer_schema!("dotenv:DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Could not load table names from database `postgres://postgres:postgres@localhost/test`: "Failed to establish a database connection at postgres://postgres:postgres@localhost/test. Error: BadConnection(\"could not connect to server: Connection refused\\n\\tIs the server running on host \\\"localhost\\\" (127.0.0.1) and accepting\\n\\tTCP/IP connections on port 5432?\\ncould not connect to server: Cannot assign requested address\\n\\tIs the server running on host \\\"localhost\\\" (::1) and accepting\\n\\tTCP/IP connections on port 5432?\\n\")" [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stdout] --> src/dal/models/user.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Insertable, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `users` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stdout] --> src/dal/models/user.rs:27:46 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable)] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `users` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `users` [INFO] [stdout] --> src/dal/models/user.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `users` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stdout] --> src/dal/models/post.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Insertable, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stdout] --> src/dal/models/post.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stdout] --> src/dal/models/post.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `posts` [INFO] [stdout] --> src/dal/models/post.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Queryable, Serialize, Identifiable, Associations)] [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `posts` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: Could not document `templic-backend`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name templic_backend src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern argon2rs=/opt/rustwide/target/debug/deps/libargon2rs-587534737714abf3.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-f19320d0e7afe39e.rmeta --extern bodyparser=/opt/rustwide/target/debug/deps/libbodyparser-b8620232b25da9f9.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-019921f15bcfe500.rmeta --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-3ed29275830ddc32.rmeta --extern diesel_codegen=/opt/rustwide/target/debug/deps/libdiesel_codegen-42770b379268ed4a.so --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-481e61e948e6f0ec.rmeta --extern iron=/opt/rustwide/target/debug/deps/libiron-6bdaae89ab904e56.rmeta --extern iron_cors=/opt/rustwide/target/debug/deps/libiron_cors-cbbaabb49d126fd6.rmeta --extern jsonwebtoken=/opt/rustwide/target/debug/deps/libjsonwebtoken-89a15ac4bee1086d.rmeta --extern mount=/opt/rustwide/target/debug/deps/libmount-183ac990db0b487e.rmeta --extern r2d2=/opt/rustwide/target/debug/deps/libr2d2-d58a8ee1bb69fb57.rmeta --extern r2d2_diesel=/opt/rustwide/target/debug/deps/libr2d2_diesel-a38c2cdc5b6d954a.rmeta --extern router=/opt/rustwide/target/debug/deps/librouter-cb308d8b666e9ef5.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-eddfb9427ca0b1f2.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-f09f5fd56fb361e9.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-60187c3f2253507b.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-adb7a7376f8a14e5.rmeta --extern slog=/opt/rustwide/target/debug/deps/libslog-aeb4cf6b3afddbf0.rmeta --extern slog_json=/opt/rustwide/target/debug/deps/libslog_json-1fdaab368685b9b8.rmeta --extern slog_term=/opt/rustwide/target/debug/deps/libslog_term-94c86a899d2bd9bd.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "7b13d289bd725527474c1e196b3ca594eec7789aab671efde1cb593b4163b698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b13d289bd725527474c1e196b3ca594eec7789aab671efde1cb593b4163b698", kill_on_drop: false }` [INFO] [stdout] 7b13d289bd725527474c1e196b3ca594eec7789aab671efde1cb593b4163b698