[INFO] fetching crate derive-sql-mysql 0.13.0... [INFO] checking derive-sql-mysql-0.13.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate derive-sql-mysql 0.13.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate derive-sql-mysql 0.13.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate derive-sql-mysql 0.13.0 [INFO] tweaked toml for crates.io crate derive-sql-mysql 0.13.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate derive-sql-mysql 0.13.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate derive-sql-mysql 0.13.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 148571e11248b99b9b170ff979091907beca120e629af72e0b1df7c22dd47f48 [INFO] running `Command { std: "docker" "start" "-a" "148571e11248b99b9b170ff979091907beca120e629af72e0b1df7c22dd47f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "148571e11248b99b9b170ff979091907beca120e629af72e0b1df7c22dd47f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148571e11248b99b9b170ff979091907beca120e629af72e0b1df7c22dd47f48", kill_on_drop: false }` [INFO] [stdout] 148571e11248b99b9b170ff979091907beca120e629af72e0b1df7c22dd47f48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db7a7abbad9c573f5e09d0ffb52ea6165df88a8826972695c68d19be757ef76f [INFO] running `Command { std: "docker" "start" "-a" "db7a7abbad9c573f5e09d0ffb52ea6165df88a8826972695c68d19be757ef76f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking derive-sql-common v0.12.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking derive-sql-mysql v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mysql.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive-sql-statement v0.12.1 [INFO] [stderr] Compiling derive-sql-sqlite v0.12.1 [INFO] [stderr] Compiling derive-sql-mysql v0.12.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mysql.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling mysql-common-derive v0.31.1 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking derive-sql v0.12.1 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mysql.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Row: derive_sql::mysql::prelude::FromRow` is not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::FromValue` is not implemented for `mysql::Row` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql_common` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql_common-0.32.4/src/value/convert/mod.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait FromValue: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/attributes_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit}; [INFO] [stdout] | ---------- one version of crate `mysql_common` used here, as a dependency of crate `mysql` [INFO] [stdout] ... [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql_common` used here, as a dependency of crate `mysql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql_common-0.30.6/src/row/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Row { [INFO] [stdout] | -------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql_common-0.30.6/src/crypto/rsa.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Padding { [INFO] [stdout] | ----------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `mysql::Row` to implement `derive_sql::mysql::prelude::FromRow` [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::MysqlTrait::query_map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn query_map(&mut self, query: Q, f: F) -> Result> [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 24 | where Q: AsRef, [INFO] [stdout] 25 | T: ::mysql::prelude::FromRow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MysqlTrait::query_map` [INFO] [stdout] = note: this error originates in the derive macro `derive_sql_mysql::DeriveMysql` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `derive_sql::mysql::Params: From` is not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `derive_sql::mysql::Params` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `derive_sql::mysql::Params` implements `From<&T>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<&[&dyn derive_sql::mysql::prelude::ToValue]>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<()>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C, D)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C, D, E)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C, D, E, F)>` [INFO] [stdout] and 9 others [INFO] [stdout] = note: required for `mysql::Params` to implement `Into` [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::MysqlTrait::exec_drop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn exec_drop(&mut self, query: Q, params: P) -> Result<()> [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 29 | where Q: AsRef, [INFO] [stdout] 30 | P: Into<::mysql::Params>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MysqlTrait::exec_drop` [INFO] [stdout] = note: this error originates in the derive macro `derive_sql_mysql::DeriveMysql` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let mut db: PersonSql<_> = derive_sql::proxy::mysql::Conn::from(conn).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/attributes_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Conn` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let mut db: PersonSql<_> = derive_sql::proxy::mysql::Conn::from(conn).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/attributes_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::Conn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ---- required by a bound in this struct [INFO] [stdout] 4 | where C: ::mysql::prelude::Queryable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let mut db: PersonSql<_> = derive_sql::proxy::mysql::Conn::from(conn).into(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/attributes_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Conn` to implement `MysqlTrait` [INFO] [stdout] note: required by a bound in `PersonSql` [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PersonSql` [INFO] [stdout] 8 | #[derive_sqlite(ident = PersonSql)] // Use the nominated name for the MySQL wrapper structure (default: PersonMysql) [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] = note: this error originates in the derive macro `derive_sql_mysql::DeriveMysql` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `create_table` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `create_table` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | db.create_table()?; [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- doesn't satisfy `mysql::Conn: derive_sql::mysql::prelude::Queryable` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `mysql::Conn: derive_sql::mysql::prelude::Queryable` [INFO] [stdout] which is required by `derive_sql::proxy::mysql::Conn: MysqlTrait` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `create_table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CreateTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 43 | let person = db.insert(person)?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 49 | assert!(db.insert(Person { key: 1, name: "Jo".to_string(), age: 32, active: true }).is_err()); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 54 | let _ = db.insert(Person { key: 2, name: "Jack".to_string(), age: 20, active: true})?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 55 | let persons: Vec = db.select(Box::new(SimpleFilter::try_from(("name", "Jack"))?.and(Box::new(SimpleLimit::try_from(1)?))))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Row: derive_sql::mysql::prelude::FromRow` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::FromValue` is not implemented for `mysql::Row` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql_common` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql_common-0.32.4/src/value/convert/mod.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | pub trait FromValue: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql_common` used here, as a dependency of crate `mysql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql_common` used here, as a dependency of crate `mysql` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql_common-0.30.6/src/row/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Row { [INFO] [stdout] | -------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql_common-0.30.6/src/crypto/rsa.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Padding { [INFO] [stdout] | ----------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `mysql::Row` to implement `derive_sql::mysql::prelude::FromRow` [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::MysqlTrait::query_map` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn query_map(&mut self, query: Q, f: F) -> Result> [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 24 | where Q: AsRef, [INFO] [stdout] 25 | T: ::mysql::prelude::FromRow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MysqlTrait::query_map` [INFO] [stdout] = note: this error originates in the derive macro `derive_sql_mysql::DeriveMysql` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `update` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `update` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 61 | db.update(Box::new(SimpleFilter::try_from(("name", "Jack"))?.and(Box::new(SimpleLimit::try_from(1)?))), Person { key: 3, name: "Jack".t... [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `update`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Sqlable` [INFO] [stdout] candidate #2: `Update` [INFO] [stdout] candidate #3: `digest::Update` [INFO] [stdout] candidate #4: `digest::digest::Digest` [INFO] [stdout] candidate #5: `digest::digest::DynDigest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 62 | let persons: Vec = db.select(Box::new(SimpleFilter::try_from(("name", "Jack"))?.and(Box::new(SimpleLimit::try_from(1)?))))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `derive_sql::mysql::Params: From` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `derive_sql::mysql::Params` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `derive_sql::mysql::Params` implements `From<&T>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<&[&dyn derive_sql::mysql::prelude::ToValue]>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<()>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C, D)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C, D, E)>` [INFO] [stdout] `derive_sql::mysql::Params` implements `From<(A, B, C, D, E, F)>` [INFO] [stdout] and 9 others [INFO] [stdout] = note: required for `mysql::Params` to implement `Into` [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::MysqlTrait::exec_drop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | fn exec_drop(&mut self, query: Q, params: P) -> Result<()> [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 29 | where Q: AsRef, [INFO] [stdout] 30 | P: Into<::mysql::Params>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MysqlTrait::exec_drop` [INFO] [stdout] = note: this error originates in the derive macro `derive_sql_mysql::DeriveMysql` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `delete_table` exists for struct `PersonSql>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `delete_table` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 68 | db.delete_table()?; [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ------------------ doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Conn: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/attributes_mysql.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete_table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Sqlable` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive-sql-mysql` (example "attributes_mysql") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Conn` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::Conn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ---- required by a bound in this struct [INFO] [stdout] 4 | where C: ::mysql::prelude::Queryable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:73 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Conn` to implement `MysqlTrait` [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::Log::::with` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | where C: MysqlTrait [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Log::::with` [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn with(mut self, conn: C) -> Self { self.conn = Some(conn); self } [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Conn` to implement `MysqlTrait` [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::Log` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | --- required by a bound in this struct [INFO] [stdout] 4 | where C: MysqlTrait [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::Conn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ---- required by a bound in this struct [INFO] [stdout] 4 | where C: ::mysql::prelude::Queryable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:122 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Conn` to implement `MysqlTrait` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Log>` to implement `MysqlTrait` [INFO] [stdout] note: required for `PersonMysql>>` to implement `From>>` [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: required for `derive_sql::proxy::mysql::Log>` to implement `Into>>>` [INFO] [stdout] = note: this error originates in the derive macro `derive_sql_mysql::DeriveMysql` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mysql::Conn: derive_sql::mysql::prelude::Queryable` is not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let mut db: PersonMysql<_> = derive_sql::proxy::mysql::Log::default().with(derive_sql::proxy::mysql::Conn::from(conn)).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `derive_sql::mysql::prelude::Queryable` is not implemented for `mysql::Conn` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `mysql` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/queryable.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Queryable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple_mysql.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{Sqlable, SimpleFilter, SimpleLimit, SimpleOffset}; [INFO] [stdout] | ---------- one version of crate `mysql` used here, as a dependency of crate `derive_sql` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- one version of crate `mysql` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-25.0.1/src/conn/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct Conn(Box); [INFO] [stdout] | --------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/query.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait TextQuery: Sized { [INFO] [stdout] | -------------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `derive_sql::proxy::mysql::Conn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/conn.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Conn [INFO] [stdout] | ---- required by a bound in this struct [INFO] [stdout] 4 | where C: ::mysql::prelude::Queryable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `create_table` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `create_table` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | db.create_table()?; [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mysql-24.0.0/src/conn/mod.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Conn(Box); [INFO] [stdout] | --------------- doesn't satisfy `mysql::Conn: derive_sql::mysql::prelude::Queryable` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `mysql::Conn: derive_sql::mysql::prelude::Queryable` [INFO] [stdout] which is required by `derive_sql::proxy::mysql::Log>: MysqlTrait` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `create_table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CreateTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 42 | let person = db.insert(person)?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 46 | let _ = db.insert(Person { name: "Jack".to_string(), age: 44, active: true, nickname: None,})?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 47 | let _ = db.insert(Person { name: "Harry".to_string(), age: 27, active: true, nickname: None,})?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `insert` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 48 | let _ = db.insert(Person { name: "Jack".to_string(), age: 27, active: false, nickname: None,})?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `insert`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Insert` [INFO] [stdout] candidate #2: `Sqlable` [INFO] [stdout] candidate #3: `bitflags::traits::Flags` [INFO] [stdout] candidate #4: `ppv_lite86::types::Vec2` [INFO] [stdout] candidate #5: `ppv_lite86::types::Vec4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 52 | let persons: Vec = db.select(Box::new(SimpleFilter::try_from(())?))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 60 | let persons: Vec = db.select(Box::new(SimpleFilter::try_from(("name", "Jack"))?))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 66 | let persons: Vec = db.select(Box::new(SimpleFilter::try_from(("name", "Jack"))?.and(Box::new(SimpleLimit::try_from(1)?))))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 74 | let persons: Vec = db.select(Box::new(SimpleFilter::try_from(("name", "Jack"))?.and(Box::new(SimpleOffset::try_from((1,1))?))))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `delete` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `delete` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 81 | db.delete(Box::new(SimpleFilter::try_from(("name", "Jo"))?))?; [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `delete`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Sqlable` [INFO] [stdout] candidate #2: `derive_sql::traits::Delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 82 | assert!(db.select(Box::new(SimpleFilter::try_from(())?))?.len() == 3); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `update` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `update` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 87 | db.update(Box::new(SimpleFilter::try_from(("name", "Jack"))?.and(Box::new(SimpleLimit::try_from(1)?))), [INFO] [stdout] | ---^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `update`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Sqlable` [INFO] [stdout] candidate #2: `Update` [INFO] [stdout] candidate #3: `digest::Update` [INFO] [stdout] candidate #4: `digest::digest::Digest` [INFO] [stdout] candidate #5: `digest::digest::DynDigest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `select` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 89 | assert!(db.select(Box::new(SimpleFilter::try_from(("name", "Jack"))?))?.len() == 1); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [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 `select`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Select` [INFO] [stdout] candidate #2: `SelectV2` [INFO] [stdout] candidate #3: `Sqlable` [INFO] [stdout] candidate #4: `bitvec::order::BitOrder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `delete_table` exists for struct `PersonMysql>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ----------------------------- method `delete_table` not found for this struct because it doesn't satisfy `_: Sqlable` [INFO] [stdout] ... [INFO] [stdout] 94 | db.delete_table()?; [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/derive-sql-0.12.1/src/proxy/mysql/log.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Log [INFO] [stdout] | ----------------- doesn't satisfy `_: MysqlTrait` [INFO] [stdout] | [INFO] [stdout] note: trait bound `derive_sql::proxy::mysql::Log>: MysqlTrait` was not satisfied [INFO] [stdout] --> examples/simple_mysql.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(derive_sql_mysql::DeriveMysql)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete_table`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Sqlable` [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 `derive-sql-mysql` (example "simple_mysql") due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "db7a7abbad9c573f5e09d0ffb52ea6165df88a8826972695c68d19be757ef76f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7a7abbad9c573f5e09d0ffb52ea6165df88a8826972695c68d19be757ef76f", kill_on_drop: false }` [INFO] [stdout] db7a7abbad9c573f5e09d0ffb52ea6165df88a8826972695c68d19be757ef76f