[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 1.46.0 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-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DavidBM/templic-backend on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-7/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" "+1.46.0" "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] error: the lock file /workspace/builds/worker-7/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" "+1.46.0" "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" "+1.46.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0594a76c3733b4047b07b9623a9bb96045f0d4090a890ceeb341d93fe9d2a36b [INFO] running `Command { std: "docker" "start" "-a" "0594a76c3733b4047b07b9623a9bb96045f0d4090a890ceeb341d93fe9d2a36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0594a76c3733b4047b07b9623a9bb96045f0d4090a890ceeb341d93fe9d2a36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0594a76c3733b4047b07b9623a9bb96045f0d4090a890ceeb341d93fe9d2a36b", kill_on_drop: false }` [INFO] [stdout] 0594a76c3733b4047b07b9623a9bb96045f0d4090a890ceeb341d93fe9d2a36b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d36693955f29f44303b62cc87c0277fd8e3cd3096b6919353c5156c5848bd8fb [INFO] running `Command { std: "docker" "start" "-a" "d36693955f29f44303b62cc87c0277fd8e3cd3096b6919353c5156c5848bd8fb", 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] Checking futures v0.1.29 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking slog v2.0.12 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking sequence_trie v0.3.6 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking scheduled-thread-pool v0.1.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking base64 v0.4.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking r2d2 v0.7.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking argon2rs v0.2.5 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking slog-json v2.0.2 [INFO] [stderr] Checking slog-term v2.0.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking dotenv v0.8.0 [INFO] [stderr] Compiling diesel v0.12.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [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] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking jsonwebtoken v1.1.3 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking iron-cors v0.8.0 [INFO] [stderr] Checking bodyparser v0.8.0 (https://github.com/iron/body-parser.git#49ae53cd) [INFO] [stderr] Compiling diesel_infer_schema v0.12.0 [INFO] [stderr] Compiling diesel_codegen v0.12.0 [INFO] [stderr] Checking iron v0.6.0 (https://github.com/iron/iron#e38695bf) [INFO] [stderr] Checking r2d2-diesel v0.12.0 [INFO] [stderr] Checking mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881) [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-1d6d957fd2e11cc1.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-6a0f06c012d3e825.rmeta --extern bodyparser=/opt/rustwide/target/debug/deps/libbodyparser-afd44d11addf0ad1.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-408c09d5343d3878.rmeta --extern diesel=/opt/rustwide/target/debug/deps/libdiesel-69b411e4604df4a8.rmeta --extern diesel_codegen=/opt/rustwide/target/debug/deps/libdiesel_codegen-5c1abad2ea89bcb4.so --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-65a3bbea8a5aa30e.rmeta --extern iron=/opt/rustwide/target/debug/deps/libiron-0479cc37cd80d62f.rmeta --extern iron_cors=/opt/rustwide/target/debug/deps/libiron_cors-514e3a23db82012c.rmeta --extern jsonwebtoken=/opt/rustwide/target/debug/deps/libjsonwebtoken-08e46cb806bb3037.rmeta --extern mount=/opt/rustwide/target/debug/deps/libmount-b8cfd7715e591cdc.rmeta --extern r2d2=/opt/rustwide/target/debug/deps/libr2d2-de3efa231eab8d85.rmeta --extern r2d2_diesel=/opt/rustwide/target/debug/deps/libr2d2_diesel-117af6bc7312a8cd.rmeta --extern router=/opt/rustwide/target/debug/deps/librouter-89181cecaa07ce61.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-0e355727854478f2.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-2c6798add0fad2d7.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-594e9d59cd149288.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-04bf128c614fcc29.rmeta --extern slog=/opt/rustwide/target/debug/deps/libslog-dfb23b53b2c1aeab.rmeta --extern slog_json=/opt/rustwide/target/debug/deps/libslog_json-5e16946a1a0e3204.rmeta --extern slog_term=/opt/rustwide/target/debug/deps/libslog_term-3267c4614e885e45.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "d36693955f29f44303b62cc87c0277fd8e3cd3096b6919353c5156c5848bd8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36693955f29f44303b62cc87c0277fd8e3cd3096b6919353c5156c5848bd8fb", kill_on_drop: false }` [INFO] [stdout] d36693955f29f44303b62cc87c0277fd8e3cd3096b6919353c5156c5848bd8fb