[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.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobelen%2Fantares_test" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leobelen/antares_test on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-38/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.59.0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53c96cb75fae1b7df26a36ef15e71fbe4dd115e50ca687fbb958f1430ee400c9 [INFO] running `Command { std: "docker" "start" "-a" "53c96cb75fae1b7df26a36ef15e71fbe4dd115e50ca687fbb958f1430ee400c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53c96cb75fae1b7df26a36ef15e71fbe4dd115e50ca687fbb958f1430ee400c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c96cb75fae1b7df26a36ef15e71fbe4dd115e50ca687fbb958f1430ee400c9", kill_on_drop: false }` [INFO] [stdout] 53c96cb75fae1b7df26a36ef15e71fbe4dd115e50ca687fbb958f1430ee400c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3076a9750ff79c7167cef7bf6bc921dcfad7fa6b33ac406f8ac2dcf642156051 [INFO] running `Command { std: "docker" "start" "-a" "3076a9750ff79c7167cef7bf6bc921dcfad7fa6b33ac406f8ac2dcf642156051", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [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] = help: the following implementations were found: [INFO] [stdout] <&'a T as QueryFragment> [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] = help: the following implementations were found: [INFO] [stdout] <&'a T as CanInsertInSingleQuery> [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] = help: the following implementations were found: [INFO] [stdout] <&'a T as QueryFragment> [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" "3076a9750ff79c7167cef7bf6bc921dcfad7fa6b33ac406f8ac2dcf642156051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3076a9750ff79c7167cef7bf6bc921dcfad7fa6b33ac406f8ac2dcf642156051", kill_on_drop: false }` [INFO] [stdout] 3076a9750ff79c7167cef7bf6bc921dcfad7fa6b33ac406f8ac2dcf642156051