[INFO] cloning repository https://github.com/luca-rand/diesel_minmal_repro_left_join_count
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luca-rand/diesel_minmal_repro_left_join_count" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluca-rand%2Fdiesel_minmal_repro_left_join_count", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluca-rand%2Fdiesel_minmal_repro_left_join_count'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1cb017446bc917edea499d5f2d37fc527183fad9
[INFO] checking luca-rand/diesel_minmal_repro_left_join_count against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluca-rand%2Fdiesel_minmal_repro_left_join_count" "/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/luca-rand/diesel_minmal_repro_left_join_count on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/luca-rand/diesel_minmal_repro_left_join_count
[INFO] finished tweaking git repo https://github.com/luca-rand/diesel_minmal_repro_left_join_count
[INFO] tweaked toml for git repo https://github.com/luca-rand/diesel_minmal_repro_left_join_count written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/luca-rand/diesel_minmal_repro_left_join_count already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", 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] 672dcdef97fac615aca226d23010b9a3ece28789c831d7d601a49d4b86b5397c
[INFO] running `Command { std: "docker" "start" "-a" "672dcdef97fac615aca226d23010b9a3ece28789c831d7d601a49d4b86b5397c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "672dcdef97fac615aca226d23010b9a3ece28789c831d7d601a49d4b86b5397c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "672dcdef97fac615aca226d23010b9a3ece28789c831d7d601a49d4b86b5397c", kill_on_drop: false }`
[INFO] [stdout] 672dcdef97fac615aca226d23010b9a3ece28789c831d7d601a49d4b86b5397c
[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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--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] 52832c7c51c5d6cf3b6b4bb73c3417fa4ccb2ac988de82715cc80ff69d1a8831
[INFO] running `Command { std: "docker" "start" "-a" "52832c7c51c5d6cf3b6b4bb73c3417fa4ccb2ac988de82715cc80ff69d1a8831", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking diesel v1.4.5
[INFO] [stderr]     Checking diesel_minmal_repro_left_join_count v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>: diesel::Expression` is not satisfied
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     .select((users::id, users::name, count(posts::user_id)))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected an implementor of trait `diesel::Expression`
[INFO] [stdout]    |             help: consider borrowing here: `&(users::id, users::name, count(posts::user_id))`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `diesel::Expression` for `(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectDsl<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>` for `schema::users::table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>: diesel::Expression` is not satisfied
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     .select((users::id, users::name, count(posts::user_id)))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             expected an implementor of trait `diesel::Expression`
[INFO] [stdout]    |             help: consider borrowing here: `&(users::id, users::name, count(posts::user_id))`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required because of the requirements on the impl of `diesel::Expression` for `(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectDsl<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>` for `schema::users::table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `schema::posts::columns::user_id: SelectableExpression<schema::users::table>` is not satisfied
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     .select((users::id, users::name, count(posts::user_id)))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SelectableExpression<schema::users::table>` is not implemented for `schema::posts::columns::user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<JoinOn<Join, On>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<diesel::query_builder::SelectStatement<From>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<diesel::query_source::joins::Join<Left, Right, Inner>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<diesel::query_source::joins::Join<Left, Right, LeftOuter>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<schema::posts::table>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>`
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectDsl<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>` for `diesel::query_builder::SelectStatement<schema::users::table>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<schema::users::table as AppearsInFromClause<schema::posts::table>>::Count == diesel::query_source::Once`
[INFO] [stdout]   --> src/main.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 |     .select((users::id, users::name, count(posts::user_id)))
[INFO] [stdout]    |      ^^^^^^ expected struct `Never`, found struct `diesel::query_source::Once`
[INFO] [stdout]    |
[INFO] [stdout] note: required because of the requirements on the impl of `AppearsOnTable<schema::users::table>` for `schema::posts::columns::user_id`
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     posts (id) {
[INFO] [stdout] 3  | |         id -> Text,
[INFO] [stdout] 4  | |         title -> Text,
[INFO] [stdout] 5  | |         user_id -> Text,
[INFO] [stdout] 6  | |     }
[INFO] [stdout] 7  | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `AppearsOnTable<schema::users::table>` for `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>`
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectDsl<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>` for `diesel::query_builder::SelectStatement<schema::users::table>`
[INFO] [stdout]    = note: this error originates in the macro `__diesel_column` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `diesel::query_builder::SelectStatement<schema::users::table, query_builder::select_clause::SelectClause<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>>: InternalJoinDsl<_, LeftOuter, _>` is not satisfied
[INFO] [stdout]   --> src/main.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     .left_join(posts::table.on(users::id.eq(posts::user_id)))
[INFO] [stdout]    |      ^^^^^^^^^ the trait `InternalJoinDsl<_, LeftOuter, _>` is not implemented for `diesel::query_builder::SelectStatement<schema::users::table, query_builder::select_clause::SelectClause<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <diesel::query_builder::SelectStatement<F, S, D, W, O, L, Of, G, LC> as InternalJoinDsl<Rhs, Kind, On>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `JoinWithImplicitOnClause<_, LeftOuter>` for `diesel::query_builder::SelectStatement<schema::users::table, query_builder::select_clause::SelectClause<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `diesel_minmal_repro_left_join_count` due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `schema::posts::columns::user_id: SelectableExpression<schema::users::table>` is not satisfied
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     .select((users::id, users::name, count(posts::user_id)))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SelectableExpression<schema::users::table>` is not implemented for `schema::posts::columns::user_id`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<JoinOn<Join, On>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<diesel::query_builder::SelectStatement<From>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<diesel::query_source::joins::Join<Left, Right, Inner>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<diesel::query_source::joins::Join<Left, Right, LeftOuter>>>
[INFO] [stdout]              <schema::posts::columns::user_id as SelectableExpression<schema::posts::table>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>`
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectDsl<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>` for `diesel::query_builder::SelectStatement<schema::users::table>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<schema::users::table as AppearsInFromClause<schema::posts::table>>::Count == diesel::query_source::Once`
[INFO] [stdout]   --> src/main.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 |     .select((users::id, users::name, count(posts::user_id)))
[INFO] [stdout]    |      ^^^^^^ expected struct `Never`, found struct `diesel::query_source::Once`
[INFO] [stdout]    |
[INFO] [stdout] note: required because of the requirements on the impl of `AppearsOnTable<schema::users::table>` for `schema::posts::columns::user_id`
[INFO] [stdout]   --> src/schema.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / table! {
[INFO] [stdout] 2  | |     posts (id) {
[INFO] [stdout] 3  | |         id -> Text,
[INFO] [stdout] 4  | |         title -> Text,
[INFO] [stdout] 5  | |         user_id -> Text,
[INFO] [stdout] 6  | |     }
[INFO] [stdout] 7  | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `AppearsOnTable<schema::users::table>` for `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>`
[INFO] [stdout]    = note: 1 redundant requirements hidden
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectableExpression<schema::users::table>` for `(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)`
[INFO] [stdout]    = note: required because of the requirements on the impl of `SelectDsl<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>` for `diesel::query_builder::SelectStatement<schema::users::table>`
[INFO] [stdout]    = note: this error originates in the macro `__diesel_column` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `diesel::query_builder::SelectStatement<schema::users::table, query_builder::select_clause::SelectClause<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>>: InternalJoinDsl<_, LeftOuter, _>` is not satisfied
[INFO] [stdout]   --> src/main.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     .left_join(posts::table.on(users::id.eq(posts::user_id)))
[INFO] [stdout]    |      ^^^^^^^^^ the trait `InternalJoinDsl<_, LeftOuter, _>` is not implemented for `diesel::query_builder::SelectStatement<schema::users::table, query_builder::select_clause::SelectClause<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <diesel::query_builder::SelectStatement<F, S, D, W, O, L, Of, G, LC> as InternalJoinDsl<Rhs, Kind, On>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `JoinWithImplicitOnClause<_, LeftOuter>` for `diesel::query_builder::SelectStatement<schema::users::table, query_builder::select_clause::SelectClause<(schema::users::columns::id, schema::users::columns::name, count::count::count<diesel::sql_types::Text, schema::posts::columns::user_id>)>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "52832c7c51c5d6cf3b6b4bb73c3417fa4ccb2ac988de82715cc80ff69d1a8831", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52832c7c51c5d6cf3b6b4bb73c3417fa4ccb2ac988de82715cc80ff69d1a8831", kill_on_drop: false }`
[INFO] [stdout] 52832c7c51c5d6cf3b6b4bb73c3417fa4ccb2ac988de82715cc80ff69d1a8831
