[INFO] cloning repository https://github.com/leobelen/antares_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leobelen/antares_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobelen%2Fantares_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobelen%2Fantares_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f2f66f47620c1c509761ed464509de579ab5624
[INFO] testing leobelen/antares_test against 1.60.0 for beta-1.61-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobelen%2Fantares_test" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/leobelen/antares_test on toolchain 1.60.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/leobelen/antares_test
[INFO] finished tweaking git repo https://github.com/leobelen/antares_test
[INFO] tweaked toml for git repo https://github.com/leobelen/antares_test written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/leobelen/antares_test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ca54abf050dc7730e0073da43b0551f6d49d2bdc0f699b17524ae9514de4a0de
[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" "ca54abf050dc7730e0073da43b0551f6d49d2bdc0f699b17524ae9514de4a0de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca54abf050dc7730e0073da43b0551f6d49d2bdc0f699b17524ae9514de4a0de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca54abf050dc7730e0073da43b0551f6d49d2bdc0f699b17524ae9514de4a0de", kill_on_drop: false }`
[INFO] [stdout] ca54abf050dc7730e0073da43b0551f6d49d2bdc0f699b17524ae9514de4a0de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd4748464fb14ce780652e757ae8d649dc5b9df06690c39192a2556e732d5b6d
[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" "bd4748464fb14ce780652e757ae8d649dc5b9df06690c39192a2556e732d5b6d", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling proc-macro2 v1.0.29
[INFO] [stderr] Compiling syn v1.0.75
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling cc v1.0.70
[INFO] [stderr] Compiling serde v1.0.130
[INFO] [stderr] Compiling gimli v0.25.0
[INFO] [stderr] Compiling anyhow v1.0.43
[INFO] [stderr] Compiling uuid v0.8.2
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr] Compiling r2d2 v0.8.9
[INFO] [stderr] Compiling object v0.26.2
[INFO] [stderr] Compiling backtrace v0.3.61
[INFO] [stderr] Compiling num-bigint v0.2.6
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling bigdecimal v0.1.2
[INFO] [stderr] Compiling addr2line v0.16.0
[INFO] [stderr] Compiling serde_json v1.0.67
[INFO] [stderr] Compiling thiserror-impl v1.0.28
[INFO] [stderr] Compiling diesel_derives v1.4.1
[INFO] [stderr] Compiling thiserror v1.0.28
[INFO] [stderr] Compiling diesel v1.4.7
[INFO] [stderr] Compiling antares-testbed v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0252]: the name `BaseUpdateRepositoryTrait` is defined multiple times
[INFO] [stdout] --> src/traits/mod.rs:2:60
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use base_repository_trait::{BaseUpdateRepositoryTrait, BaseUpdateRepositoryTrait};
[INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ `BaseUpdateRepositoryTrait` reimported here
[INFO] [stdout] | |
[INFO] [stdout] | previous import of the trait `BaseUpdateRepositoryTrait` here
[INFO] [stdout] |
[INFO] [stdout] = note: `BaseUpdateRepositoryTrait` must be defined only once in the type namespace of this module
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::schema::core_log::dsl::*`
[INFO] [stdout] --> src/models/log_model.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::schema::core_log::dsl::*;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Identifiable`, `Insertable`
[INFO] [stdout] --> src/models/log_model.rs:3:28
[INFO] [stdout] |
[INFO] [stdout] 3 | use diesel::{Associations, Identifiable, Insertable, Queryable};
[INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `UpdateStatement`
[INFO] [stdout] --> src/traits/base_repository_trait.rs:7:30
[INFO] [stdout] |
[INFO] [stdout] 7 | UndecoratedInsertRecord, UpdateStatement,
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0271]: type mismatch resolving `<
::PrimaryKey as diesel::Column>::Table == TABLE`
[INFO] [stdout] --> src/traits/base_repository_trait.rs:119:14
[INFO] [stdout] |
[INFO] [stdout] 96 | pub trait BaseUpdateRepositoryTrait
[INFO] [stdout] | ----- this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 119 | .on_conflict(TABLE::table().primary_key())
[INFO] [stdout] | ^^^^^^^^^^^ expected type parameter `TABLE`, found associated type
[INFO] [stdout] |
[INFO] [stdout] = note: expected type parameter `TABLE`
[INFO] [stdout] found associated type `<::PrimaryKey as diesel::Column>::Table`
[INFO] [stdout] = note: you might be missing a type parameter or trait bound
[INFO] [stdout] note: required by a bound in `upsert::on_conflict_extension::>::on_conflict`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/pg/upsert/on_conflict_extension.rs:173:33
[INFO] [stdout] |
[INFO] [stdout] 173 | ConflictTarget: OnConflictTarget,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `upsert::on_conflict_extension::>::on_conflict`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0271]: type mismatch resolving `<&MODEL as AsChangeset>::Target == TABLE`
[INFO] [stdout] --> src/traits/base_repository_trait.rs:121:14
[INFO] [stdout] |
[INFO] [stdout] 96 | pub trait BaseUpdateRepositoryTrait
[INFO] [stdout] | ----- this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 121 | .set(object)
[INFO] [stdout] | ^^^ expected type parameter `TABLE`, found associated type
[INFO] [stdout] |
[INFO] [stdout] = note: expected type parameter `TABLE`
[INFO] [stdout] found associated type `<&MODEL as AsChangeset>::Target`
[INFO] [stdout] = note: you might be missing a type parameter or trait bound
[INFO] [stdout] note: required by a bound in `IncompleteDoUpdate::, Target>::set`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/pg/upsert/on_conflict_extension.rs:328:30
[INFO] [stdout] |
[INFO] [stdout] 328 | Changes: AsChangeset,
[INFO] [stdout] | ^^^^^^^^^^ required by this bound in `IncompleteDoUpdate::, Target>::set`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `<&MODEL as diesel::Insertable>::Values: QueryFragment` is not satisfied
[INFO] [stdout] --> src/traits/base_repository_trait.rs:122:14
[INFO] [stdout] |
[INFO] [stdout] 122 | .execute(connection)
[INFO] [stdout] | ^^^^^^^ the trait `QueryFragment` is not implemented for `<&MODEL as diesel::Insertable>::Values`
[INFO] [stdout] |
[INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment` for `upsert::on_conflict_clause::OnConflictValues<<&MODEL as diesel::Insertable>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>`
[INFO] [stdout] = note: 1 redundant requirement hidden
[INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment` for `InsertStatement>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>>`
[INFO] [stdout] = note: required because of the requirements on the impl of `ExecuteDsl<_, Pg>` for `InsertStatement>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `<&MODEL as diesel::Insertable>::Values: CanInsertInSingleQuery` is not satisfied
[INFO] [stdout] --> src/traits/base_repository_trait.rs:122:14
[INFO] [stdout] |
[INFO] [stdout] 122 | .execute(connection)
[INFO] [stdout] | ^^^^^^^ the trait `CanInsertInSingleQuery` is not implemented for `<&MODEL as diesel::Insertable>::Values`
[INFO] [stdout] |
[INFO] [stdout] = note: required because of the requirements on the impl of `CanInsertInSingleQuery` for `upsert::on_conflict_clause::OnConflictValues<<&MODEL as diesel::Insertable>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>`
[INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment` for `InsertStatement>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>>`
[INFO] [stdout] = note: required because of the requirements on the impl of `ExecuteDsl<_, Pg>` for `InsertStatement>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `<&MODEL as AsChangeset>::Changeset: QueryFragment` is not satisfied
[INFO] [stdout] --> src/traits/base_repository_trait.rs:122:14
[INFO] [stdout] |
[INFO] [stdout] 122 | .execute(connection)
[INFO] [stdout] | ^^^^^^^ the trait `QueryFragment` is not implemented for `<&MODEL as AsChangeset>::Changeset`
[INFO] [stdout] |
[INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment` for `upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>`
[INFO] [stdout] = note: 2 redundant requirements hidden
[INFO] [stdout] = note: required because of the requirements on the impl of `QueryFragment` for `InsertStatement>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>>`
[INFO] [stdout] = note: required because of the requirements on the impl of `ExecuteDsl<_, Pg>` for `InsertStatement>::Values, upsert::on_conflict_target::ConflictTarget<::PrimaryKey>, upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>>>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> src/traits/base_repository_trait.rs:117:9
[INFO] [stdout] |
[INFO] [stdout] 107 | fn update<'a>(connection: &DbConnection, object: &'a MODEL) -> Result<(), diesel::result::Error>
[INFO] [stdout] | --------------------------------- expected `Result<(), diesel::result::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 117 | / diesel::insert_into(TABLE::table())
[INFO] [stdout] 118 | | .values(object)
[INFO] [stdout] 119 | | .on_conflict(TABLE::table().primary_key())
[INFO] [stdout] 120 | | .do_update()
[INFO] [stdout] 121 | | .set(object)
[INFO] [stdout] 122 | | .execute(connection)
[INFO] [stdout] | |________________________________^ expected `()`, found `usize`
[INFO] [stdout] |
[INFO] [stdout] = note: expected enum `Result<(), _>`
[INFO] [stdout] found enum `Result`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `FindDsl`
[INFO] [stdout] --> src/traits/base_repository_trait.rs:9:34
[INFO] [stdout] |
[INFO] [stdout] 9 | use diesel::query_dsl::methods::{FindDsl, LimitDsl, LoadQuery};
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0252, E0271, E0277, E0308.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `antares-testbed` due to 8 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bd4748464fb14ce780652e757ae8d649dc5b9df06690c39192a2556e732d5b6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd4748464fb14ce780652e757ae8d649dc5b9df06690c39192a2556e732d5b6d", kill_on_drop: false }`
[INFO] [stdout] bd4748464fb14ce780652e757ae8d649dc5b9df06690c39192a2556e732d5b6d