[INFO] cloning 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" "clone" "--bare" "https://github.com/r-bar/diesel_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fdiesel_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fdiesel_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30386003bfe7885d0bf8756e1b2ee7afb49462fc [INFO] testing r-bar/diesel_demo against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fdiesel_demo" "/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/r-bar/diesel_demo on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c2b4c1cf750cb5d750137dbf291c651f6bea5b7bd5e1eb10aca3155b164c54d [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" "5c2b4c1cf750cb5d750137dbf291c651f6bea5b7bd5e1eb10aca3155b164c54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2b4c1cf750cb5d750137dbf291c651f6bea5b7bd5e1eb10aca3155b164c54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2b4c1cf750cb5d750137dbf291c651f6bea5b7bd5e1eb10aca3155b164c54d", kill_on_drop: false }` [INFO] [stdout] 5c2b4c1cf750cb5d750137dbf291c651f6bea5b7bd5e1eb10aca3155b164c54d [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" "RUSTFLAGS=--cap-lints=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 910d7c739c75f795244505c21bce1be707b2f9062c6f76755ed8aad9091cf327 [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" "910d7c739c75f795244505c21bce1be707b2f9062c6f76755ed8aad9091cf327", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [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 the macro `infer_schema` (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` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "910d7c739c75f795244505c21bce1be707b2f9062c6f76755ed8aad9091cf327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910d7c739c75f795244505c21bce1be707b2f9062c6f76755ed8aad9091cf327", kill_on_drop: false }` [INFO] [stdout] 910d7c739c75f795244505c21bce1be707b2f9062c6f76755ed8aad9091cf327