[INFO] updating cached repository https://github.com/r-bar/diesel_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30386003bfe7885d0bf8756e1b2ee7afb49462fc [INFO] testing r-bar/diesel_demo against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fdiesel_demo" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r-bar/diesel_demo on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r-bar/diesel_demo [INFO] finished tweaking git repo https://github.com/r-bar/diesel_demo [INFO] tweaked toml for git repo https://github.com/r-bar/diesel_demo written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/r-bar/diesel_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88d5d9ab9a7d2bb07fd96104570bbc58c720124a43f7efce2723fc1537278acc [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" "88d5d9ab9a7d2bb07fd96104570bbc58c720124a43f7efce2723fc1537278acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88d5d9ab9a7d2bb07fd96104570bbc58c720124a43f7efce2723fc1537278acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d5d9ab9a7d2bb07fd96104570bbc58c720124a43f7efce2723fc1537278acc", kill_on_drop: false }` [INFO] [stdout] 88d5d9ab9a7d2bb07fd96104570bbc58c720124a43f7efce2723fc1537278acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--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] d3a4536e0daa3b1b3abf187e512bcd6deaa75b03d742b7a9fd6c30cc5a187e57 [INFO] running `Command { std: "docker" "start" "-a" "d3a4536e0daa3b1b3abf187e512bcd6deaa75b03d742b7a9fd6c30cc5a187e57", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling backtrace v0.3.3 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_codegen v0.16.0 [INFO] [stderr] Compiling diesel_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/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://diesel_demo:diesel_demo@localhost/diesel_demo`: "Failed to establish a database connection at postgres://diesel_demo:diesel_demo@localhost/diesel_demo. 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[E0432]: unresolved import `super::schema::posts` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::schema::posts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `schema::posts` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use schema::posts; [INFO] [stdout] | ^^^^^^^^^^^^^ no `posts` in `schema` [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 E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d3a4536e0daa3b1b3abf187e512bcd6deaa75b03d742b7a9fd6c30cc5a187e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a4536e0daa3b1b3abf187e512bcd6deaa75b03d742b7a9fd6c30cc5a187e57", kill_on_drop: false }` [INFO] [stdout] d3a4536e0daa3b1b3abf187e512bcd6deaa75b03d742b7a9fd6c30cc5a187e57