[INFO] fetching crate gorm 0.1.4... [INFO] testing gorm-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gorm 0.1.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate gorm 0.1.4 [INFO] finished tweaking crates.io crate gorm 0.1.4 [INFO] tweaked toml for crates.io crate gorm 0.1.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gorm 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gorm 0.1.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-postgres v0.10.2 [INFO] [stderr] Downloaded gorm_macros v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d8afbe6d35cfbc2b5f45e8e248d516c0c4e36baafe6b1ec05a5da91f5573b54 [INFO] running `Command { std: "docker" "start" "-a" "2d8afbe6d35cfbc2b5f45e8e248d516c0c4e36baafe6b1ec05a5da91f5573b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d8afbe6d35cfbc2b5f45e8e248d516c0c4e36baafe6b1ec05a5da91f5573b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d8afbe6d35cfbc2b5f45e8e248d516c0c4e36baafe6b1ec05a5da91f5573b54", kill_on_drop: false }` [INFO] [stdout] 2d8afbe6d35cfbc2b5f45e8e248d516c0c4e36baafe6b1ec05a5da91f5573b54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3ce194daf8398e9dc7723df84090196c5b45be56a5c3604230ad82d698165ee [INFO] running `Command { std: "docker" "start" "-a" "b3ce194daf8398e9dc7723df84090196c5b45be56a5c3604230ad82d698165ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling postgres-protocol v0.6.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.141 [INFO] [stderr] Compiling postgres-types v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling darling_core v0.14.1 [INFO] [stderr] Compiling proc_macro_roids v0.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling darling_macro v0.14.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling darling v0.14.1 [INFO] [stderr] Compiling gorm_macros v0.1.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.6 [INFO] [stderr] Compiling postgres v0.19.3 [INFO] [stderr] Compiling deadpool-postgres v0.10.2 [INFO] [stderr] Compiling gorm v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/execution/connection.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn begin_transaction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn begin_transaction(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/execution/connection_pool/connection.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn begin_transaction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn begin_transaction(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/statements/mod.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn build(&self) -> (String, ParameterBinder) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn build(&self) -> (String, ParameterBinder<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.08s [INFO] running `Command { std: "docker" "inspect" "b3ce194daf8398e9dc7723df84090196c5b45be56a5c3604230ad82d698165ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ce194daf8398e9dc7723df84090196c5b45be56a5c3604230ad82d698165ee", kill_on_drop: false }` [INFO] [stdout] b3ce194daf8398e9dc7723df84090196c5b45be56a5c3604230ad82d698165ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3cc8477a43a80701b2a3085a90d3cfa87af80e94028f62c088475e15624082 [INFO] running `Command { std: "docker" "start" "-a" "4e3cc8477a43a80701b2a3085a90d3cfa87af80e94028f62c088475e15624082", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.60 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling tokio-postgres v0.7.6 [INFO] [stderr] Compiling postgres v0.19.3 [INFO] [stderr] Compiling deadpool-postgres v0.10.2 [INFO] [stderr] Compiling rust_decimal v1.25.0 [INFO] [stderr] Compiling gorm v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/execution/connection.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn begin_transaction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn begin_transaction(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/execution/connection_pool/connection.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn begin_transaction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn begin_transaction(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/statements/mod.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn build(&self) -> (String, ParameterBinder) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn build(&self) -> (String, ParameterBinder<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/execution/connection.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn begin_transaction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn begin_transaction(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/execution/connection_pool/connection.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn begin_transaction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn begin_transaction(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/statements/mod.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn build(&self) -> (String, ParameterBinder) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn build(&self) -> (String, ParameterBinder<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_one` exists for struct `InsertWithReturningClause, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 55 | let inserted_pet = pet::new_with_id { [INFO] [stdout] | ________________________- [INFO] [stdout] 56 | | name: "Kitty", [INFO] [stdout] 57 | | id: &5, [INFO] [stdout] 58 | | ty: &PetType::Dog, [INFO] [stdout] ... | [INFO] [stdout] 61 | | .returning(pet::all) [INFO] [stdout] 62 | | .load_one::(&pool) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/insert.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / pub struct InsertWithReturningClause< [INFO] [stdout] 147 | | S: InsertStatement, [INFO] [stdout] 148 | | R: SelectedValues<::Table>, [INFO] [stdout] 149 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(FieldsConsListCons>, i32, FieldsConsListCons>>>, String, FieldsConsListCons>, tables::PetType, TypedConsListNil>>>, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `InsertWithReturningClause>, tables::pet::all>: LoadSqlStatment` [INFO] [stdout] `&InsertWithReturningClause>, tables::pet::all>: SqlStatement` [INFO] [stdout] which is required by `&InsertWithReturningClause>, tables::pet::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&InsertWithReturningClause>, tables::pet::all>: LoadSqlStatment` [INFO] [stdout] `&mut InsertWithReturningClause>, tables::pet::all>: SqlStatement` [INFO] [stdout] which is required by `&mut InsertWithReturningClause>, tables::pet::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut InsertWithReturningClause>, tables::pet::all>: LoadSqlStatment` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-963460565465031112.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_one` exists for struct `InsertWithReturningClause<..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 100 | let upserted_person = person::new { [INFO] [stdout] | ___________________________- [INFO] [stdout] 101 | | name: "James", [INFO] [stdout] 102 | | age: &44, [INFO] [stdout] 103 | | school_id: &second_school, [INFO] [stdout] ... | [INFO] [stdout] 110 | | .returning(person::all) [INFO] [stdout] 111 | | .load_one::(&pool) [INFO] [stdout] | | -^^^^^^^^ method cannot be called on `InsertWithReturningClause<..., ...>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/insert.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / pub struct InsertWithReturningClause< [INFO] [stdout] 147 | | S: InsertStatement, [INFO] [stdout] 148 | | R: SelectedValues<::Table>, [INFO] [stdout] 149 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(FieldsConsListCons>, i32, FieldsConsListCons>>>, String, FieldsConsListCons>>, i32, FieldsConsListCons>>>>>>>>, i32, FieldsConsListCons>>>>>>>>>>>, Option, FieldsConsListCons>>>>>>>>>>>>, Option, TypedConsListNil>>>>>>, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `&InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: SqlStatement` [INFO] [stdout] which is required by `&InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `&mut InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: SqlStatement` [INFO] [stdout] which is required by `&mut InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut InsertWithReturningClause, Option>>, name_age, main::{closure#0}::CustomUpdateSet>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-9254687681074326845.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_optional` exists for struct `InsertWithReturningClause<..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 115 | let person_if_no_conflict_occured = person::new { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 116 | | name: "James", [INFO] [stdout] 117 | | age: &44, [INFO] [stdout] 118 | | school_id: &second_school, [INFO] [stdout] ... | [INFO] [stdout] 124 | | .returning(person::all) [INFO] [stdout] 125 | | .load_optional::(&pool) [INFO] [stdout] | | -^^^^^^^^^^^^^ method cannot be called on `InsertWithReturningClause<..., ...>` due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/insert.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / pub struct InsertWithReturningClause< [INFO] [stdout] 147 | | S: InsertStatement, [INFO] [stdout] 148 | | R: SelectedValues<::Table>, [INFO] [stdout] 149 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(FieldsConsListCons>, i32, FieldsConsListCons>>>, String, FieldsConsListCons>>, i32, FieldsConsListCons>>>>>>>>, i32, FieldsConsListCons>>>>>>>>>>>, Option, FieldsConsListCons>>>>>>>>>>>>, Option, TypedConsListNil>>>>>>, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `InsertWithReturningClause, Option>>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `&InsertWithReturningClause, Option>>>, tables::person::all>: SqlStatement` [INFO] [stdout] which is required by `&InsertWithReturningClause, Option>>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&InsertWithReturningClause, Option>>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `&mut InsertWithReturningClause, Option>>>, tables::person::all>: SqlStatement` [INFO] [stdout] which is required by `&mut InsertWithReturningClause, Option>>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut InsertWithReturningClause, Option>>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-14296983227574391649.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_one` exists for struct `InsertWithReturningClause, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 130 | let inserted_person = person::new { [INFO] [stdout] | ___________________________- [INFO] [stdout] 131 | | name: "Jake", [INFO] [stdout] 132 | | age: &29, [INFO] [stdout] 133 | | school_id: &1, [INFO] [stdout] ... | [INFO] [stdout] 138 | | .returning(person::all) [INFO] [stdout] 139 | | .load_one::(&pool) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/insert.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / pub struct InsertWithReturningClause< [INFO] [stdout] 147 | | S: InsertStatement, [INFO] [stdout] 148 | | R: SelectedValues<::Table>, [INFO] [stdout] 149 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(FieldsConsListCons>, i32, FieldsConsListCons>>>, String, FieldsConsListCons>>, i32, FieldsConsListCons>>>>>>>>, i32, FieldsConsListCons>>>>>>>>>>>, Option, FieldsConsListCons>>>>>>>>>>>>, Option, TypedConsListNil>>>>>>, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `InsertWithReturningClause, Option>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `&InsertWithReturningClause, Option>>, tables::person::all>: SqlStatement` [INFO] [stdout] which is required by `&InsertWithReturningClause, Option>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&InsertWithReturningClause, Option>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `&mut InsertWithReturningClause, Option>>, tables::person::all>: SqlStatement` [INFO] [stdout] which is required by `&mut InsertWithReturningClause, Option>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut InsertWithReturningClause, Option>>, tables::person::all>: LoadSqlStatment` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-16655890977340792929.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 `SqlBooleanOr<_, ..., ...>: SqlExpression<...>` is not satisfied [INFO] [stdout] --> examples/usage.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 162 | .filter( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 165 | / school::id.greater_equals(1).or(school::name [INFO] [stdout] 166 | | .equals("Stanford") [INFO] [stdout] 167 | | .and(school::id.greater_than(2))), [INFO] [stdout] | |_________________________________________________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `SqlExpression>` is not implemented for `SqlBooleanOr<_, SqlConditionGreaterEquals<_, id, {integer}>, ...>` [INFO] [stdout] = help: the trait `SqlExpression` is implemented for `SqlBooleanOr` [INFO] [stdout] note: required by a bound in `gorm::statements::Filter::filter` [INFO] [stdout] --> /opt/rustwide/workdir/src/statements/select.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 389 | fn filter< [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] 390 | C: SqlExpression<::SelectableTables, SqlType = SqlBool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Filter::filter` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-4379765907699486076.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `WithWhereClause, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 159 | let people_and_school_names = person::table [INFO] [stdout] | ___________________________________- [INFO] [stdout] 160 | | .inner_join(school::table) [INFO] [stdout] 161 | | .find() [INFO] [stdout] 162 | | .filter( [INFO] [stdout] ... | [INFO] [stdout] 169 | | .select(select_values!(person::name, school::name as school_name)) [INFO] [stdout] | | -^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/select.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 306 | / pub struct WithWhereClause< [INFO] [stdout] 307 | | S: SelectFrom, [INFO] [stdout] 308 | | T: SelectStatement, [INFO] [stdout] 309 | | C: SqlExpression, [INFO] [stdout] 310 | | > { [INFO] [stdout] | |_- doesn't satisfy `<_ as SelectStatement>::HasSelectedValues = TypedFalse`, `_: SelectStatement` or `_: SelectValues` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>> as SelectStatement>::HasSelectedValues = TypedFalse` [INFO] [stdout] which is required by `WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectValues` [INFO] [stdout] `WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectStatement` [INFO] [stdout] which is required by `WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectValues` [INFO] [stdout] `<&WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>> as SelectStatement>::HasSelectedValues = TypedFalse` [INFO] [stdout] which is required by `&WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectValues` [INFO] [stdout] `&WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectStatement` [INFO] [stdout] which is required by `&WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectValues` [INFO] [stdout] `<&mut WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>> as SelectStatement>::HasSelectedValues = TypedFalse` [INFO] [stdout] which is required by `&mut WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectValues` [INFO] [stdout] `&mut WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectStatement` [INFO] [stdout] which is required by `&mut WithWhereClause, EmptySelectStatement>, SqlBooleanOr<_, SqlConditionGreaterEquals<_, tables::school::id, {integer}>, SqlBooleanAnd<_, SqlConditionEq<_, tables::school::name, &str>, SqlConditionGreaterThan<_, tables::school::id, {integer}>>>>: SelectValues` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-8669641917905365978.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_all` exists for struct `WithOrderBySelectedValueClause`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 184 | let aggregate_exprs = person::table [INFO] [stdout] | ___________________________- [INFO] [stdout] 185 | | .find() [INFO] [stdout] 186 | | .select(select_values!( [INFO] [stdout] 187 | | sql::sum(person::age.multiply(person::id)) as some_aggregate_expression [INFO] [stdout] ... | [INFO] [stdout] 191 | | .order_by_selected_value_descending(selected_value_to_order_by!(some_aggregate_expression)) [INFO] [stdout] 192 | | .load_all::(&pool) [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/select.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | / pub struct WithOrderBySelectedValueClause< [INFO] [stdout] 662 | | S: SelectFrom, [INFO] [stdout] 663 | | T: SelectStatement, [INFO] [stdout] 664 | | B: SelectedValueToOrderBy, [INFO] [stdout] 665 | | O: Ordering, [INFO] [stdout] 666 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(FieldsConsListCons>>>>>>>>>>>>>>>>>>>>>>>>, i64, TypedConsListNil>, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: LoadSqlStatment` [INFO] [stdout] `&WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: SqlStatement` [INFO] [stdout] which is required by `&WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: LoadSqlStatment` [INFO] [stdout] `&mut WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: SqlStatement` [INFO] [stdout] which is required by `&mut WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut WithOrderBySelectedValueClause, main::{closure#0}::CustomSelectedValues>>>, SqlConditionGreaterThan>, SqlAddition>, CustomSelectedValueToOrderBy, DescendingOrder>: LoadSqlStatment` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-5579883076064521908.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gorm::migration_cli_main` [INFO] [stdout] --> examples/migration_cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gorm::migration_cli_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `migration_cli_main` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(feature = "migration_cli")] [INFO] [stdout] | ------------------------- the item is gated behind the `migration_cli` feature [INFO] [stdout] 128 | pub use migration_cli::migration_cli_main; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tables::school::all: SelectedValues>` is not satisfied [INFO] [stdout] --> examples/usage.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | .select(school::all) [INFO] [stdout] | ------ ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SelectedValues>` is not implemented for `tables::school::all` [INFO] [stdout] --> examples/tables/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Table)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: the trait `SelectedValues` is implemented for `tables::school::all` [INFO] [stdout] note: required by a bound in `gorm::statements::SelectValues::select` [INFO] [stdout] --> /opt/rustwide/workdir/src/statements/select.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | fn select::SelectableTables>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SelectValues::select` [INFO] [stdout] = note: this error originates in the derive macro `Table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_all` exists for struct `WithSelectedValues, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 202 | let schools_of_people = person::table [INFO] [stdout] | ______________________________- [INFO] [stdout] 203 | | .inner_join(school::table) [INFO] [stdout] 204 | | .find() [INFO] [stdout] 205 | | .select(school::all) [INFO] [stdout] 206 | | .load_all::(&pool) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: examples/tables/mod.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Table)] [INFO] [stdout] | ----- doesn't satisfy `_: SelectedValues>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/select.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub struct WithSelectedValues< [INFO] [stdout] 206 | | S: SelectFrom, [INFO] [stdout] 207 | | T: SelectStatement, [INFO] [stdout] 208 | | V: SelectedValues, [INFO] [stdout] 209 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` or `_: SqlStatement` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WithSelectedValues, EmptySelectStatement>, tables::school::all>: SqlStatement` [INFO] [stdout] which is required by `WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] `tables::school::all: SelectedValues>` [INFO] [stdout] which is required by `WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] `&WithSelectedValues, EmptySelectStatement>, tables::school::all>: SqlStatement` [INFO] [stdout] which is required by `&WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] `&mut WithSelectedValues, EmptySelectStatement>, tables::school::all>: SqlStatement` [INFO] [stdout] which is required by `&mut WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut WithSelectedValues, EmptySelectStatement>, tables::school::all>: LoadSqlStatment` [INFO] [stdout] note: the trait `SelectedValues` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/sql/selected_values.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SelectedValues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-11034635820998382202.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 `CustomSelectedValues<_, name, name>: SelectedValues<...>` is not satisfied [INFO] [stdout] --> examples/usage.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | .select(select_values!(person::name, pet::name as pet_name)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SelectedValues>` is not implemented for `main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>` [INFO] [stdout] --> examples/usage.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | .select(select_values!(person::name, pet::name as pet_name)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `SelectedValues` is implemented for `main::{closure#0}::CustomSelectedValues` [INFO] [stdout] note: required by a bound in `gorm::statements::SelectValues::select` [INFO] [stdout] --> /opt/rustwide/workdir/src/statements/select.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | fn select::SelectableTables>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SelectValues::select` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-11569979139243833601.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `select_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `load_all` exists for struct `WithSelectedValues, ..., ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/usage.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 220 | let person_and_pet_names = person::table [INFO] [stdout] | ________________________________- [INFO] [stdout] 221 | | .inner_join_on_column(person::first_pet_id, pet::table) [INFO] [stdout] 222 | | .find() [INFO] [stdout] 223 | | .select(select_values!(person::name, pet::name as pet_name)) [INFO] [stdout] | | --------------------------------------------------- doesn't satisfy `_: SelectedValues>` [INFO] [stdout] 224 | | .load_all::(&pool) [INFO] [stdout] | | -^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/statements/select.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub struct WithSelectedValues< [INFO] [stdout] 206 | | S: SelectFrom, [INFO] [stdout] 207 | | T: SelectStatement, [INFO] [stdout] 208 | | V: SelectedValues, [INFO] [stdout] 209 | | > { [INFO] [stdout] | |_- doesn't satisfy `_: LoadSqlStatment` or `_: SqlStatement` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: SqlStatement` [INFO] [stdout] which is required by `WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] `main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>: SelectedValues>` [INFO] [stdout] which is required by `WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] `&WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: SqlStatement` [INFO] [stdout] which is required by `&WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] `&mut WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: SqlStatement` [INFO] [stdout] which is required by `&mut WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] `(_, TypedConsListNil): TypesNotEqual` [INFO] [stdout] which is required by `&mut WithSelectedValues, EmptySelectStatement>, main::{closure#0}::CustomSelectedValues<_, tables::person::name, tables::pet::name>>: LoadSqlStatment` [INFO] [stdout] note: the trait `SelectedValues` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/sql/selected_values.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SelectedValues { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/usage-3db2c8ac96b829df.long-type-9656705714180776970.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `gorm` (example "usage") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gorm` (example "migration_cli") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4e3cc8477a43a80701b2a3085a90d3cfa87af80e94028f62c088475e15624082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3cc8477a43a80701b2a3085a90d3cfa87af80e94028f62c088475e15624082", kill_on_drop: false }` [INFO] [stdout] 4e3cc8477a43a80701b2a3085a90d3cfa87af80e94028f62c088475e15624082