[INFO] updating cached repository https://github.com/r-bar/diesel_demo [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 30386003bfe7885d0bf8756e1b2ee7afb49462fc [INFO] checking r-bar/diesel_demo against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fdiesel_demo" "/workspace/builds/worker-0/source"` [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 bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 416fb1535b3d7914cdd49f0eec51c932649aa4e56091ece72847116ba5e6fe04 [INFO] running `"docker" "start" "-a" "416fb1535b3d7914cdd49f0eec51c932649aa4e56091ece72847116ba5e6fe04"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Checking diesel v0.16.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [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] Checking diesel_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | infer_schema!("dotenv:DATABASE_URL"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::schema::posts` [INFO] [stderr] --> src/models.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::schema::posts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `schema::posts` [INFO] [stderr] --> src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | use schema::posts; [INFO] [stderr] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/schema.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | infer_schema!("dotenv:DATABASE_URL"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::schema::posts` [INFO] [stderr] --> src/models.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::schema::posts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stderr] [INFO] [stderr] error: could not compile `diesel_demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `schema::posts` [INFO] [stderr] --> src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | use schema::posts; [INFO] [stderr] | ^^^^^^^^^^^^^ no `posts` in `schema` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `diesel_demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "416fb1535b3d7914cdd49f0eec51c932649aa4e56091ece72847116ba5e6fe04"` [INFO] running `"docker" "rm" "-f" "416fb1535b3d7914cdd49f0eec51c932649aa4e56091ece72847116ba5e6fe04"` [INFO] [stdout] 416fb1535b3d7914cdd49f0eec51c932649aa4e56091ece72847116ba5e6fe04