[INFO] cloning repository https://github.com/shepmaster/diesel-join-to-subquery
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shepmaster/diesel-join-to-subquery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshepmaster%2Fdiesel-join-to-subquery", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshepmaster%2Fdiesel-join-to-subquery'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dce05790d152afd5a8d01528524ccaa74006f915
[INFO] checking shepmaster/diesel-join-to-subquery/dce05790d152afd5a8d01528524ccaa74006f915 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshepmaster%2Fdiesel-join-to-subquery" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shepmaster/diesel-join-to-subquery on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shepmaster/diesel-join-to-subquery already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dotenv v0.9.0
[INFO] [stderr]   Downloaded thread_local v0.3.4
[INFO] [stderr]   Downloaded diesel_codegen v0.14.0
[INFO] [stderr]   Downloaded memchr v1.0.1
[INFO] [stderr]   Downloaded dotenv v0.10.1
[INFO] [stderr]   Downloaded diesel_infer_schema v0.14.0
[INFO] [stderr]   Downloaded derive-error-chain v0.10.1
[INFO] [stderr]   Downloaded cfg-if v0.1.2
[INFO] [stderr]   Downloaded lazy_static v0.2.8
[INFO] [stderr]   Downloaded gcc v0.3.51
[INFO] [stderr]   Downloaded byteorder v1.0.0
[INFO] [stderr]   Downloaded backtrace v0.3.2
[INFO] [stderr]   Downloaded dbghelp-sys v0.2.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.4
[INFO] [stderr]   Downloaded diesel v0.14.0
[INFO] [stderr]   Downloaded regex-syntax v0.4.1
[INFO] [stderr]   Downloaded regex v0.2.2
[INFO] [stderr]   Downloaded backtrace-sys v0.1.11
[INFO] [stderr]   Downloaded error-chain v0.10.0
[INFO] [stderr]   Downloaded aho-corasick v0.6.3
[INFO] [stderr]   Downloaded libsqlite3-sys v0.8.1
[INFO] [stderr]   Downloaded libc v0.2.24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 516ef2be84347597bfcbb7021a90be71b88f0a6c0d0034532a4f129d2886b29a
[INFO] running `Command { std: "docker" "start" "-a" "516ef2be84347597bfcbb7021a90be71b88f0a6c0d0034532a4f129d2886b29a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "516ef2be84347597bfcbb7021a90be71b88f0a6c0d0034532a4f129d2886b29a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "516ef2be84347597bfcbb7021a90be71b88f0a6c0d0034532a4f129d2886b29a", kill_on_drop: false }`
[INFO] [stdout] 516ef2be84347597bfcbb7021a90be71b88f0a6c0d0034532a4f129d2886b29a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b262082fdf4ab597a08e19537ae2d3e7fcaf6afe233d902863b0eacb5bcbc51b
[INFO] running `Command { std: "docker" "start" "-a" "b262082fdf4ab597a08e19537ae2d3e7fcaf6afe233d902863b0eacb5bcbc51b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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 quote v0.3.15
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling lazy_static v0.2.8
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.4
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling thread_local v0.3.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.8.1
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling memchr v1.0.1
[INFO] [stderr]    Compiling byteorder v1.0.0
[INFO] [stderr]    Compiling aho-corasick v0.6.3
[INFO] [stderr]    Compiling regex-syntax v0.4.1
[INFO] [stderr]    Compiling diesel v0.14.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.11
[INFO] [stderr]     Checking regex v0.2.2
[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] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     infer_schema!("dotenv:DATABASE_URL");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = 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] [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 imports `super::schema::users`, `super::schema::posts`, `super::schema::votes`
[INFO] [stdout]   --> src/main.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use super::schema::{users, posts, votes, total_votes};
[INFO] [stdout]    |                         ^^^^^  ^^^^^  ^^^^^ no `votes` in `schema`
[INFO] [stdout]    |                         |      |
[INFO] [stdout]    |                         |      no `posts` in `schema`
[INFO] [stdout]    |                         no `users` in `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `schema::users`, `schema::posts`, `schema::votes`
[INFO] [stdout]   --> src/main.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use schema::{users, posts, votes, total_votes};
[INFO] [stdout]    |                  ^^^^^  ^^^^^  ^^^^^ no `votes` in `schema`
[INFO] [stdout]    |                  |      |
[INFO] [stdout]    |                  |      no `posts` in `schema`
[INFO] [stdout]    |                  no `users` in `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0119]: conflicting implementations of trait `AppearsInFromClause<total_votes::table>` for type `total_votes::table`
[INFO] [stdout]   --> src/main.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | /     table! {
[INFO] [stdout] 64 | |         total_votes (user_id) {
[INFO] [stdout] 65 | |             user_id -> Integer,
[INFO] [stdout] 66 | |             total -> Integer,
[INFO] [stdout] 67 | |         }
[INFO] [stdout] 68 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____first implementation here
[INFO] [stdout]    |       conflicting implementation for `total_votes::table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: upstream crates may add a new impl of trait `diesel::JoinTo<diesel::query_source::joins::PleaseGenerateInverseJoinImpls<schema::total_votes::table>>` for type `diesel::query_source::joins::PleaseGenerateInverseJoinImpls<schema::total_votes::table>` in future versions
[INFO] [stdout]    = note: this error originates in the macro `table_body` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:49:46
[INFO] [stdout]    |
[INFO] [stdout] 49 |     #[derive(Debug, Identifiable, Queryable, Associations)]
[INFO] [stdout]    |                                              ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:49:46
[INFO] [stdout]    |
[INFO] [stdout] 49 |     #[derive(Debug, Identifiable, Queryable, Associations)]
[INFO] [stdout]    |                                              ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: proc-macro derive panicked
[INFO] [stdout]   --> src/main.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     infer_schema!("dotenv:DATABASE_URL");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = 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] [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] Some errors have detailed explanations: E0119, E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0119`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `join-to-subquery` (bin "join-to-subquery" test) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `super::schema::users`, `super::schema::posts`, `super::schema::votes`
[INFO] [stdout]   --> src/main.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use super::schema::{users, posts, votes, total_votes};
[INFO] [stdout]    |                         ^^^^^  ^^^^^  ^^^^^ no `votes` in `schema`
[INFO] [stdout]    |                         |      |
[INFO] [stdout]    |                         |      no `posts` in `schema`
[INFO] [stdout]    |                         no `users` in `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `schema::users`, `schema::posts`, `schema::votes`
[INFO] [stdout]   --> src/main.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     use schema::{users, posts, votes, total_votes};
[INFO] [stdout]    |                  ^^^^^  ^^^^^  ^^^^^ no `votes` in `schema`
[INFO] [stdout]    |                  |      |
[INFO] [stdout]    |                  |      no `posts` in `schema`
[INFO] [stdout]    |                  no `users` in `schema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0119]: conflicting implementations of trait `AppearsInFromClause<total_votes::table>` for type `total_votes::table`
[INFO] [stdout]   --> src/main.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | /     table! {
[INFO] [stdout] 64 | |         total_votes (user_id) {
[INFO] [stdout] 65 | |             user_id -> Integer,
[INFO] [stdout] 66 | |             total -> Integer,
[INFO] [stdout] 67 | |         }
[INFO] [stdout] 68 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____first implementation here
[INFO] [stdout]    |       conflicting implementation for `total_votes::table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: upstream crates may add a new impl of trait `diesel::JoinTo<diesel::query_source::joins::PleaseGenerateInverseJoinImpls<schema::total_votes::table>>` for type `diesel::query_source::joins::PleaseGenerateInverseJoinImpls<schema::total_votes::table>` in future versions
[INFO] [stdout]    = note: this error originates in the macro `table_body` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:49:46
[INFO] [stdout]    |
[INFO] [stdout] 49 |     #[derive(Debug, Identifiable, Queryable, Associations)]
[INFO] [stdout]    |                                              ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:49:46
[INFO] [stdout]    |
[INFO] [stdout] 49 |     #[derive(Debug, Identifiable, Queryable, Associations)]
[INFO] [stdout]    |                                              ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `__static_cond` which comes from the expansion of the derive macro `Associations` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0119, E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0119`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `join-to-subquery` (bin "join-to-subquery") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "b262082fdf4ab597a08e19537ae2d3e7fcaf6afe233d902863b0eacb5bcbc51b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b262082fdf4ab597a08e19537ae2d3e7fcaf6afe233d902863b0eacb5bcbc51b", kill_on_drop: false }`
[INFO] [stdout] b262082fdf4ab597a08e19537ae2d3e7fcaf6afe233d902863b0eacb5bcbc51b
