[INFO] updating cached repository https://github.com/shepmaster/diesel-join-to-subquery [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] dce05790d152afd5a8d01528524ccaa74006f915 [INFO] checking shepmaster/diesel-join-to-subquery against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshepmaster%2Fdiesel-join-to-subquery" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shepmaster/diesel-join-to-subquery on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/shepmaster/diesel-join-to-subquery [INFO] finished tweaking git repo https://github.com/shepmaster/diesel-join-to-subquery [INFO] tweaked toml for git repo https://github.com/shepmaster/diesel-join-to-subquery written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/shepmaster/diesel-join-to-subquery already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 070359865ad72de14db0307ac42e40954b00a003cd20f3432cdd73cc285cac0c [INFO] running `"docker" "start" "-a" "070359865ad72de14db0307ac42e40954b00a003cd20f3432cdd73cc285cac0c"` [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking diesel v0.14.0 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling diesel_codegen v0.14.0 [INFO] [stderr] Checking join-to-subquery v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/main.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | infer_schema!("dotenv:DATABASE_URL"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: Could not load table names from database `database`: "Failed to establish a database connection at database. Error: BadConnection(\"Unable to open the database file\")" [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 imports `super::schema::users`, `super::schema::posts`, `super::schema::votes` [INFO] [stderr] --> src/main.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | use super::schema::{users, posts, votes, total_votes}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ no `votes` in `schema` [INFO] [stderr] | | | [INFO] [stderr] | | no `posts` in `schema` [INFO] [stderr] | no `users` in `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `schema::users`, `schema::posts`, `schema::votes` [INFO] [stderr] --> src/main.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | use schema::{users, posts, votes, total_votes}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ no `votes` in `schema` [INFO] [stderr] | | | [INFO] [stderr] | | no `posts` in `schema` [INFO] [stderr] | no `users` in `schema` [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> src/main.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | infer_schema!("dotenv:DATABASE_URL"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: Could not load table names from database `database`: "Failed to establish a database connection at database. Error: BadConnection(\"Unable to open the database file\")" [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 imports `super::schema::users`, `super::schema::posts`, `super::schema::votes` [INFO] [stderr] --> src/main.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | use super::schema::{users, posts, votes, total_votes}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ no `votes` in `schema` [INFO] [stderr] | | | [INFO] [stderr] | | no `posts` in `schema` [INFO] [stderr] | no `users` in `schema` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `schema::users`, `schema::posts`, `schema::votes` [INFO] [stderr] --> src/main.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | use schema::{users, posts, votes, total_votes}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ no `votes` in `schema` [INFO] [stderr] | | | [INFO] [stderr] | | no `posts` in `schema` [INFO] [stderr] | no `users` in `schema` [INFO] [stderr] [INFO] [stderr] error[E0119]: conflicting implementations of trait `diesel::JoinTo<[type error]>` for type `schema::total_votes::table`: [INFO] [stderr] --> src/main.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Identifiable, Queryable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | first implementation here [INFO] [stderr] | conflicting implementation for `schema::total_votes::table` [INFO] [stderr] | [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[E0119]: conflicting implementations of trait `diesel::JoinTo<[type error]>` for type `schema::total_votes::table`: [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Identifiable, Queryable, Associations)] [INFO] [stderr] | ------------ first implementation here [INFO] [stderr] ... [INFO] [stderr] 63 | / table! { [INFO] [stderr] 64 | | total_votes (user_id) { [INFO] [stderr] 65 | | user_id -> Integer, [INFO] [stderr] 66 | | total -> Integer, [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | |_____^ conflicting implementation for `schema::total_votes::table` [INFO] [stderr] | [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[E0119]: conflicting implementations of trait `diesel::JoinTo<[type error]>` for type `schema::total_votes::table`: [INFO] [stderr] --> src/main.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Identifiable, Queryable, Associations)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | first implementation here [INFO] [stderr] | conflicting implementation for `schema::total_votes::table` [INFO] [stderr] | [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[E0119]: conflicting implementations of trait `diesel::query_source::AppearsInFromClause` for type `schema::total_votes::table`: [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | / table! { [INFO] [stderr] 64 | | total_votes (user_id) { [INFO] [stderr] 65 | | user_id -> Integer, [INFO] [stderr] 66 | | total -> Integer, [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____first implementation here [INFO] [stderr] | conflicting implementation for `schema::total_votes::table` [INFO] [stderr] | [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: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0119, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0119`. [INFO] [stderr] error[E0119]: conflicting implementations of trait `diesel::JoinTo<[type error]>` for type `schema::total_votes::table`: [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug, Identifiable, Queryable, Associations)] [INFO] [stderr] | ------------ first implementation here [INFO] [stderr] ... [INFO] [stderr] 63 | / table! { [INFO] [stderr] 64 | | total_votes (user_id) { [INFO] [stderr] 65 | | user_id -> Integer, [INFO] [stderr] 66 | | total -> Integer, [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | |_____^ conflicting implementation for `schema::total_votes::table` [INFO] [stderr] | [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: could not compile `join-to-subquery`. [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[E0119]: conflicting implementations of trait `diesel::query_source::AppearsInFromClause` for type `schema::total_votes::table`: [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | / table! { [INFO] [stderr] 64 | | total_votes (user_id) { [INFO] [stderr] 65 | | user_id -> Integer, [INFO] [stderr] 66 | | total -> Integer, [INFO] [stderr] 67 | | } [INFO] [stderr] 68 | | } [INFO] [stderr] | | ^ [INFO] [stderr] | | | [INFO] [stderr] | |_____first implementation here [INFO] [stderr] | conflicting implementation for `schema::total_votes::table` [INFO] [stderr] | [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: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0119, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0119`. [INFO] [stderr] error: could not compile `join-to-subquery`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "070359865ad72de14db0307ac42e40954b00a003cd20f3432cdd73cc285cac0c"` [INFO] running `"docker" "rm" "-f" "070359865ad72de14db0307ac42e40954b00a003cd20f3432cdd73cc285cac0c"` [INFO] [stdout] 070359865ad72de14db0307ac42e40954b00a003cd20f3432cdd73cc285cac0c