[INFO] cloning repository https://github.com/Jovons/diesel_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jovons/diesel_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1088b3ae1ae521debdd1bfe93870a5b0e63e34df [INFO] testing Jovons/diesel_demo against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jovons/diesel_demo on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jovons/diesel_demo [INFO] finished tweaking git repo https://github.com/Jovons/diesel_demo [INFO] tweaked toml for git repo https://github.com/Jovons/diesel_demo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jovons/diesel_demo 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing Jovons/diesel_demo against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jovons/diesel_demo on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jovons/diesel_demo [INFO] finished tweaking git repo https://github.com/Jovons/diesel_demo [INFO] tweaked toml for git repo https://github.com/Jovons/diesel_demo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jovons/diesel_demo 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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 mysqlclient-sys v0.2.4 [INFO] [stderr] Downloaded diesel v1.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8b6a16399643133fcc38f5464552ee902c8c54e1594812ce32115dfc9a8fab8 [INFO] running `Command { std: "docker" "start" "-a" "b8b6a16399643133fcc38f5464552ee902c8c54e1594812ce32115dfc9a8fab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8b6a16399643133fcc38f5464552ee902c8c54e1594812ce32115dfc9a8fab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8b6a16399643133fcc38f5464552ee902c8c54e1594812ce32115dfc9a8fab8", kill_on_drop: false }` [INFO] [stdout] b8b6a16399643133fcc38f5464552ee902c8c54e1594812ce32115dfc9a8fab8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d22c8ef631237868b31f925f4f3fa7e018e7ba6e2ec2a4be30a0f9e0f0dc5e77 [INFO] running `Command { std: "docker" "start" "-a" "d22c8ef631237868b31f925f4f3fa7e018e7ba6e2ec2a4be30a0f9e0f0dc5e77", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Compiling diesel_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bigdecimal` is imported redundantly [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bigdecimal; [INFO] [stdout] | ^^^^^^^^^^ the item `bigdecimal` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin/write_post.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_right(); // Remove the trailing newline [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_end(); // Remove the trailing newline [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.97s [INFO] running `Command { std: "docker" "inspect" "d22c8ef631237868b31f925f4f3fa7e018e7ba6e2ec2a4be30a0f9e0f0dc5e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22c8ef631237868b31f925f4f3fa7e018e7ba6e2ec2a4be30a0f9e0f0dc5e77", kill_on_drop: false }` [INFO] [stdout] d22c8ef631237868b31f925f4f3fa7e018e7ba6e2ec2a4be30a0f9e0f0dc5e77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cdf6313ab3091a4f9aa81ffa22470a6f435e281640b4a95b1f0e76aa460f8e0 [INFO] running `Command { std: "docker" "start" "-a" "6cdf6313ab3091a4f9aa81ffa22470a6f435e281640b4a95b1f0e76aa460f8e0", kill_on_drop: false }` [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bigdecimal` is imported redundantly [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bigdecimal; [INFO] [stdout] | ^^^^^^^^^^ the item `bigdecimal` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diesel_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin/write_post.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_right(); // Remove the trailing newline [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_end(); // Remove the trailing newline [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connection_without_transaction` is never used [INFO] [stdout] --> tests/testschema.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn connection_without_transaction() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TestConnection` is never used [INFO] [stdout] --> tests/testschema.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type TestConnection = MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connection` is never used [INFO] [stdout] --> tests/testschema.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn connection() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `chrono` is imported redundantly [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono; [INFO] [stdout] | ^^^^^^ the item `chrono` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bigdecimal` is imported redundantly [INFO] [stdout] --> src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bigdecimal; [INFO] [stdout] | ^^^^^^^^^^ the item `bigdecimal` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin/write_post.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_right(); // Remove the trailing newline [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_end(); // Remove the trailing newline [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `deserialize` is imported redundantly [INFO] [stdout] --> tests/custom_types.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::deserialize::{self, FromSql}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use diesel::*; [INFO] [stdout] | --------- the item `deserialize` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialize` is imported redundantly [INFO] [stdout] --> tests/custom_types.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::serialize::{self, IsNull, Output, ToSql}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | use diesel::*; [INFO] [stdout] | --------- the item `serialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: diesel::Expression` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Insertable, Queryable, Identifiable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ the trait `diesel::Expression` is not implemented for `MyEnum`, which is required by `MyEnum: diesel::expression::AsExpression` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `diesel::Expression`: [INFO] [stdout] columns::star [INFO] [stdout] columns::id [INFO] [stdout] columns::custom_enum [INFO] [stdout] Box [INFO] [stdout] diesel::expression::ops::Add [INFO] [stdout] diesel::expression::ops::Sub [INFO] [stdout] diesel::expression::ops::Mul [INFO] [stdout] diesel::expression::ops::Div [INFO] [stdout] and 71 others [INFO] [stdout] = note: required for `MyEnum` to implement `diesel::expression::AsExpression` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: diesel::Expression` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Insertable, Queryable, Identifiable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ the trait `diesel::Expression` is not implemented for `MyEnum`, which is required by `&'insert MyEnum: diesel::expression::AsExpression` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `diesel::Expression`: [INFO] [stdout] columns::star [INFO] [stdout] columns::id [INFO] [stdout] columns::custom_enum [INFO] [stdout] Box [INFO] [stdout] diesel::expression::ops::Add [INFO] [stdout] diesel::expression::ops::Sub [INFO] [stdout] diesel::expression::ops::Mul [INFO] [stdout] diesel::expression::ops::Div [INFO] [stdout] and 71 others [INFO] [stdout] = note: required for `&'insert MyEnum` to implement `diesel::Expression` [INFO] [stdout] = note: required for `&'insert MyEnum` to implement `diesel::expression::AsExpression` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `eq` exists for struct `custom_enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/custom_types.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 15 | / table! { [INFO] [stdout] 16 | | use diesel::sql_types::*; [INFO] [stdout] 17 | | custom_types { [INFO] [stdout] 18 | | id -> Integer, [INFO] [stdout] 19 | | custom_enum -> crate::MyEnum, [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- method `eq` not found for this struct because it doesn't satisfy `columns::custom_enum: Iterator` or `columns::custom_enum: diesel::ExpressionMethods` [INFO] [stdout] ... [INFO] [stdout] 25 | pub enum MyEnum { [INFO] [stdout] | --------------- doesn't satisfy `MyEnum: SingleValue` [INFO] [stdout] ... [INFO] [stdout] 50 | #[derive(Insertable, Queryable, Identifiable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `custom_enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyEnum: SingleValue` [INFO] [stdout] which is required by `columns::custom_enum: diesel::ExpressionMethods` [INFO] [stdout] `MyEnum: SingleValue` [INFO] [stdout] which is required by `&columns::custom_enum: diesel::ExpressionMethods` [INFO] [stdout] `&mut columns::custom_enum: diesel::Expression` [INFO] [stdout] which is required by `&mut columns::custom_enum: diesel::ExpressionMethods` [INFO] [stdout] `columns::custom_enum: Iterator` [INFO] [stdout] which is required by `&mut columns::custom_enum: Iterator` [INFO] [stdout] note: the traits `SingleValue` and `Iterator` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.6/src/sql_types/mod.rs:497:1 [INFO] [stdout] | [INFO] [stdout] 497 | pub trait SingleValue {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/iter/traits/iterator.rs:75:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `eq`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `PartialEq` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `diesel::ExpressionMethods` [INFO] [stdout] = note: this error originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: QueryFragment<_>` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .execute(&connection) [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `QueryFragment<_>` is not implemented for `MyEnum`, which is required by `InsertStatement>: ExecuteDsl<_, _>` [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] as QueryFragment> [INFO] [stdout] as QueryFragment> [INFO] [stdout] as QueryFragment> [INFO] [stdout] as QueryFragment> [INFO] [stdout] as QueryFragment> [INFO] [stdout] and 119 others [INFO] [stdout] = note: required for `&MyEnum` to implement `QueryFragment<_>` [INFO] [stdout] = note: 4 redundant requirements hidden [INFO] [stdout] = note: required for `InsertStatement>` to implement `QueryFragment<_>` [INFO] [stdout] = note: required for `InsertStatement>` to implement `ExecuteDsl<_, _>` [INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.6/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: AppearsOnTable<()>` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .execute(&connection) [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `AppearsOnTable<()>` is not implemented for `MyEnum`, which is required by `InsertStatement>: ExecuteDsl<_, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AppearsOnTable`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] as AppearsOnTable> [INFO] [stdout] as AppearsOnTable> [INFO] [stdout] as AppearsOnTable> [INFO] [stdout] as AppearsOnTable> [INFO] [stdout] as AppearsOnTable> [INFO] [stdout] and 71 others [INFO] [stdout] = note: required for `&MyEnum` to implement `AppearsOnTable<()>` [INFO] [stdout] = note: required for `ColumnInsertValue` to implement `InsertValues` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `(ColumnInsertValue>, ColumnInsertValue)` to implement `InsertValues` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/custom_types-0a51510c41d23933.long-type-8095417742216387897.txt' [INFO] [stdout] = note: required for `ValuesClause<(ColumnInsertValue>, ColumnInsertValue), table>` to implement `QueryFragment<_>` [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/custom_types-0a51510c41d23933.long-type-7551363196667986612.txt' [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<_, _>` [INFO] [stdout] note: required by a bound in `diesel::RunQueryDsl::execute` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/diesel-1.4.6/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] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec` with `usize` [INFO] [stdout] --> tests/custom_types.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(data, inserted); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec == usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `Vec` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] as PartialEq<[U; N]>> [INFO] [stdout] as PartialEq<[U]>> [INFO] [stdout] as PartialEq>> [INFO] [stdout] as PartialEq<&[U]>> [INFO] [stdout] as PartialEq<&mut [U]>> [INFO] [stdout] as PartialEq<&[U; N]>> [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_demo` (test "custom_types") due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6cdf6313ab3091a4f9aa81ffa22470a6f435e281640b4a95b1f0e76aa460f8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdf6313ab3091a4f9aa81ffa22470a6f435e281640b4a95b1f0e76aa460f8e0", kill_on_drop: false }` [INFO] [stdout] 6cdf6313ab3091a4f9aa81ffa22470a6f435e281640b4a95b1f0e76aa460f8e0