[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] checking leobelen/antares_test against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleobelen%2Fantares_test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leobelen/antares_test on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leobelen/antares_test 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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "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] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded thiserror v1.0.28
[INFO] [stderr] Downloaded scheduled-thread-pool v0.2.5
[INFO] [stderr] Downloaded thiserror-impl v1.0.28
[INFO] [stderr] Downloaded r2d2 v0.8.9
[INFO] [stderr] Downloaded diesel v1.4.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 28bbd8c7943f77b72fa6ef4926624e55b9de6644be987523fd9f847bc0d0fe7d
[INFO] running `Command { std: "docker" "start" "-a" "28bbd8c7943f77b72fa6ef4926624e55b9de6644be987523fd9f847bc0d0fe7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28bbd8c7943f77b72fa6ef4926624e55b9de6644be987523fd9f847bc0d0fe7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28bbd8c7943f77b72fa6ef4926624e55b9de6644be987523fd9f847bc0d0fe7d", kill_on_drop: false }`
[INFO] [stdout] 28bbd8c7943f77b72fa6ef4926624e55b9de6644be987523fd9f847bc0d0fe7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 681e46b319e65f64b6f150f33a1e61c1972098b8dd80a02c5e00e20a736fbc68
[INFO] running `Command { std: "docker" "start" "-a" "681e46b319e65f64b6f150f33a1e61c1972098b8dd80a02c5e00e20a736fbc68", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.101
[INFO] [stderr] Compiling proc-macro2 v1.0.29
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling syn v1.0.75
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling num-bigint v0.2.6
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling cc v1.0.70
[INFO] [stderr] Compiling serde v1.0.130
[INFO] [stderr] Checking gimli v0.25.0
[INFO] [stderr] Compiling serde_json v1.0.67
[INFO] [stderr] Compiling pq-sys v0.4.6
[INFO] [stderr] Compiling anyhow v1.0.43
[INFO] [stderr] Checking itoa v0.4.8
[INFO] [stderr] Checking uuid v0.8.2
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Compiling backtrace v0.3.61
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Checking parking_lot_core v0.8.5
[INFO] [stderr] Checking time v0.1.44
[INFO] [stderr] Checking object v0.26.2
[INFO] [stderr] Checking chrono v0.4.19
[INFO] [stderr] Checking parking_lot v0.11.2
[INFO] [stderr] Checking bigdecimal v0.1.2
[INFO] [stderr] Checking scheduled-thread-pool v0.2.5
[INFO] [stderr] Checking r2d2 v0.8.9
[INFO] [stderr] Checking addr2line v0.16.0
[INFO] [stderr] Compiling thiserror-impl v1.0.28
[INFO] [stderr] Compiling diesel_derives v1.4.1
[INFO] [stderr] Checking thiserror v1.0.28
[INFO] [stderr] Checking diesel v1.4.7
[INFO] [stderr] Checking 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] 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 imports: `ConnManager` and `DatabasePool`
[INFO] [stdout] --> src/db/mod.rs:2:25
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use database_pool::{ConnManager, DatabasePool, DbConnection};
[INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ConnManager` and `DatabasePool`
[INFO] [stdout] --> src/db/mod.rs:2:25
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use database_pool::{ConnManager, DatabasePool, DbConnection};
[INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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]
[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]
[INFO] [stdout] warning: unused import: `Insertable`
[INFO] [stdout] --> src/models/log_model.rs:3:42
[INFO] [stdout] |
[INFO] [stdout] 3 | use diesel::{Associations, Identifiable, Insertable, Queryable};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Insertable`
[INFO] [stdout] --> src/models/log_model.rs:3:42
[INFO] [stdout] |
[INFO] [stdout] 3 | use diesel::{Associations, Identifiable, Insertable, Queryable};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log_model::Log`
[INFO] [stdout] --> src/models/mod.rs:2:9
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use log_model::Log;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `log_model::Log`
[INFO] [stdout] --> src/models/mod.rs:2:9
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use log_model::Log;
[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] 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] warning: unused imports: `BaseUpdateRepositoryTrait` and `BaseUpdateRepositoryTrait`
[INFO] [stdout] --> src/traits/mod.rs:2:33
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use base_repository_trait::{BaseUpdateRepositoryTrait, BaseUpdateRepositoryTrait};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BaseUpdateRepositoryTrait` and `BaseUpdateRepositoryTrait`
[INFO] [stdout] --> src/traits/mod.rs:2:33
[INFO] [stdout] |
[INFO] [stdout] 2 | pub use base_repository_trait::{BaseUpdateRepositoryTrait, BaseUpdateRepositoryTrait};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0271]: type mismatch resolving `<
::PrimaryKey as Column>::Table == TABLE`
[INFO] [stdout] --> src/traits/base_repository_trait.rs:119:26
[INFO] [stdout] |
[INFO] [stdout] 96 | pub trait BaseUpdateRepositoryTrait
[INFO] [stdout] | ----- expected 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] | required by a bound introduced by this call
[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/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/pg/upsert/on_conflict_extension.rs:173:33
[INFO] [stdout] |
[INFO] [stdout] 168 | pub fn on_conflict(
[INFO] [stdout] | ----------- required by a bound in this associated function
[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 `<::PrimaryKey as Column>::Table == TABLE`
[INFO] [stdout] --> src/traits/base_repository_trait.rs:119:26
[INFO] [stdout] |
[INFO] [stdout] 96 | pub trait BaseUpdateRepositoryTrait
[INFO] [stdout] | ----- expected 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] | required by a bound introduced by this call
[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/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/pg/upsert/on_conflict_extension.rs:173:33
[INFO] [stdout] |
[INFO] [stdout] 168 | pub fn on_conflict(
[INFO] [stdout] | ----------- required by a bound in this associated function
[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:18
[INFO] [stdout] |
[INFO] [stdout] 96 | pub trait BaseUpdateRepositoryTrait
[INFO] [stdout] | ----- expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 121 | .set(object)
[INFO] [stdout] | --- ^^^^^^ expected type parameter `TABLE`, found associated type
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[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/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/pg/upsert/on_conflict_extension.rs:328:30
[INFO] [stdout] |
[INFO] [stdout] 322 | pub fn set(
[INFO] [stdout] | --- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 328 | Changes: AsChangeset,
[INFO] [stdout] | ^^^^^^^^^^ required by this bound in `IncompleteDoUpdate::, Target>::set`
[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:18
[INFO] [stdout] |
[INFO] [stdout] 96 | pub trait BaseUpdateRepositoryTrait
[INFO] [stdout] | ----- expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 121 | .set(object)
[INFO] [stdout] | --- ^^^^^^ expected type parameter `TABLE`, found associated type
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[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/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/pg/upsert/on_conflict_extension.rs:328:30
[INFO] [stdout] |
[INFO] [stdout] 322 | pub fn set(
[INFO] [stdout] | --- required by a bound in this associated function
[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:22
[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] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `QueryFragment`:
[INFO] [stdout] `&'a T` implements `QueryFragment`
[INFO] [stdout] `()` implements `QueryFragment`
[INFO] [stdout] `(A, B)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G)` implements `QueryFragment<__DB>`
[INFO] [stdout] and 154 others
[INFO] [stdout] = note: required for `OnConflictValues<<&MODEL as Insertable>::Values, ..., ...>` to implement `QueryFragment`
[INFO] [stdout] = note: 1 redundant requirement hidden
[INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, Pg>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult
[INFO] [stdout] | ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/antares_testbed-020df05827ce5de0.long-type-12820913780013756841.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[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:22
[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] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `CanInsertInSingleQuery`:
[INFO] [stdout] `&'a T` implements `CanInsertInSingleQuery`
[INFO] [stdout] `(A, B)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G, H)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] and 32 others
[INFO] [stdout] = note: required for `OnConflictValues<<&MODEL as Insertable>::Values, ..., ...>` to implement `CanInsertInSingleQuery`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, Pg>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult
[INFO] [stdout] | ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/antares_testbed-020df05827ce5de0.long-type-12820913780013756841.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[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:22
[INFO] [stdout] |
[INFO] [stdout] 122 | .execute(connection)
[INFO] [stdout] | ------- ^^^^^^^^^^ the trait `QueryFragment` is not implemented for `<&MODEL as AsChangeset>::Changeset`
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `QueryFragment`:
[INFO] [stdout] `&'a T` implements `QueryFragment`
[INFO] [stdout] `()` implements `QueryFragment`
[INFO] [stdout] `(A, B)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G)` implements `QueryFragment<__DB>`
[INFO] [stdout] and 154 others
[INFO] [stdout] = note: required for `upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>` to implement `QueryFragment`
[INFO] [stdout] = note: 2 redundant requirements hidden
[INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, Pg>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult
[INFO] [stdout] | ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/antares_testbed-020df05827ce5de0.long-type-12820913780013756841.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[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 `Result<(), Error>`, found `Result`
[INFO] [stdout] |
[INFO] [stdout] = note: expected enum `Result<(), _>`
[INFO] [stdout] found enum `Result`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Identifiable`
[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: `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] 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` (lib test) due to 7 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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:22
[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] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `QueryFragment`:
[INFO] [stdout] `&'a T` implements `QueryFragment`
[INFO] [stdout] `()` implements `QueryFragment`
[INFO] [stdout] `(A, B)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G)` implements `QueryFragment<__DB>`
[INFO] [stdout] and 154 others
[INFO] [stdout] = note: required for `OnConflictValues<<&MODEL as Insertable>::Values, ..., ...>` to implement `QueryFragment`
[INFO] [stdout] = note: 1 redundant requirement hidden
[INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, Pg>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult
[INFO] [stdout] | ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/antares_testbed-33f7c7e5b7391278.long-type-12800026368040680582.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[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:22
[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] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `CanInsertInSingleQuery`:
[INFO] [stdout] `&'a T` implements `CanInsertInSingleQuery`
[INFO] [stdout] `(A, B)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G, H)` implements `CanInsertInSingleQuery<__DB>`
[INFO] [stdout] and 32 others
[INFO] [stdout] = note: required for `OnConflictValues<<&MODEL as Insertable>::Values, ..., ...>` to implement `CanInsertInSingleQuery`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, Pg>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult
[INFO] [stdout] | ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/antares_testbed-33f7c7e5b7391278.long-type-12800026368040680582.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[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:22
[INFO] [stdout] |
[INFO] [stdout] 122 | .execute(connection)
[INFO] [stdout] | ------- ^^^^^^^^^^ the trait `QueryFragment` is not implemented for `<&MODEL as AsChangeset>::Changeset`
[INFO] [stdout] | |
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `QueryFragment`:
[INFO] [stdout] `&'a T` implements `QueryFragment`
[INFO] [stdout] `()` implements `QueryFragment`
[INFO] [stdout] `(A, B)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F)` implements `QueryFragment<__DB>`
[INFO] [stdout] `(A, B, C, D, E, F, G)` implements `QueryFragment<__DB>`
[INFO] [stdout] and 154 others
[INFO] [stdout] = note: required for `upsert::on_conflict_actions::DoUpdate<<&MODEL as AsChangeset>::Changeset>` to implement `QueryFragment`
[INFO] [stdout] = note: 2 redundant requirements hidden
[INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment`
[INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, Pg>`
[INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-1.4.7/src/query_dsl/mod.rs:1135:15
[INFO] [stdout] |
[INFO] [stdout] 1132 | fn execute(self, conn: &Conn) -> QueryResult
[INFO] [stdout] | ------- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 1135 | Self: methods::ExecuteDsl,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/antares_testbed-33f7c7e5b7391278.long-type-12800026368040680582.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[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 `Result<(), Error>`, found `Result`
[INFO] [stdout] |
[INFO] [stdout] = note: expected enum `Result<(), _>`
[INFO] [stdout] found enum `Result`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Identifiable`
[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: `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] 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` (lib) due to 7 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "681e46b319e65f64b6f150f33a1e61c1972098b8dd80a02c5e00e20a736fbc68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "681e46b319e65f64b6f150f33a1e61c1972098b8dd80a02c5e00e20a736fbc68", kill_on_drop: false }`
[INFO] [stdout] 681e46b319e65f64b6f150f33a1e61c1972098b8dd80a02c5e00e20a736fbc68