[INFO] fetching crate teo-sql-connector 0.0.58... [INFO] checking teo-sql-connector-0.0.58 against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] extracting crate teo-sql-connector 0.0.58 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate teo-sql-connector 0.0.58 on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate teo-sql-connector 0.0.58 [INFO] finished tweaking crates.io crate teo-sql-connector 0.0.58 [INFO] tweaked toml for crates.io crate teo-sql-connector 0.0.58 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snailquote v0.3.1 [INFO] [stderr] Downloaded random-string v1.0.1 [INFO] [stderr] Downloaded cuid v1.2.0 [INFO] [stderr] Downloaded teo-result v0.0.58 [INFO] [stderr] Downloaded key-path v0.2.0 [INFO] [stderr] Downloaded cuid-util v0.1.0 [INFO] [stderr] Downloaded teo-runtime v0.0.58 [INFO] [stderr] Downloaded cuid2 v0.1.2 [INFO] [stderr] Downloaded rusqlite v0.25.4 [INFO] [stderr] Downloaded array_tool v1.0.3 [INFO] [stderr] Downloaded inflector-plus v0.11.7 [INFO] [stderr] Downloaded tiberius v0.11.7 [INFO] [stderr] Downloaded teo-parser v0.0.58 [INFO] [stderr] Downloaded quaint-forked v0.1.3-alpha.5 [INFO] [stderr] Downloaded mobc-forked v0.7.4-alpha.4 [INFO] [stderr] Downloaded winauth v0.0.4 [INFO] [stderr] Downloaded teo-teon v0.0.58 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded connection-string v0.1.14 [INFO] [stderr] Downloaded jsonwebtoken v9.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adb66ce16703bd84d3502b7aa1015cb5288de8b856259338137d707683ce3082 [INFO] running `Command { std: "docker" "start" "-a" "adb66ce16703bd84d3502b7aa1015cb5288de8b856259338137d707683ce3082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adb66ce16703bd84d3502b7aa1015cb5288de8b856259338137d707683ce3082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb66ce16703bd84d3502b7aa1015cb5288de8b856259338137d707683ce3082", kill_on_drop: false }` [INFO] [stdout] adb66ce16703bd84d3502b7aa1015cb5288de8b856259338137d707683ce3082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf311d057543fadd147559c0163cbc48f4f8ea64542fb89d8fd79dedb41da1bb [INFO] running `Command { std: "docker" "start" "-a" "bf311d057543fadd147559c0163cbc48f4f8ea64542fb89d8fd79dedb41da1bb", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Checking zerocopy v0.7.26 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling ring v0.17.6 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking teo-result v0.0.58 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking pem v3.0.2 [INFO] [stderr] Checking lru v0.8.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking cuid-util v0.1.0 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking random-string v1.0.1 [INFO] [stderr] Checking cuid2 v0.1.2 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking cuid v1.2.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tiberius v0.11.7 [INFO] [stderr] Checking inflector-plus v0.11.7 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking key-path v0.2.0 [INFO] [stderr] Checking mobc-forked v0.7.4-alpha.4 [INFO] [stderr] Checking connection-string v0.1.14 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking postgres-native-tls v0.5.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Compiling mysql_common v0.29.2 [INFO] [stderr] Checking jsonwebtoken v9.1.0 [INFO] [stderr] Checking bson v2.7.0 [INFO] [stderr] Checking teo-teon v0.0.58 [INFO] [stderr] Checking teo-parser v0.0.58 [INFO] [stderr] Checking rusqlite v0.25.4 [INFO] [stderr] Checking mysql_async v0.31.3 [INFO] [stderr] Checking quaint-forked v0.1.3-alpha.5 [INFO] [stderr] Checking teo-runtime v0.0.58 [INFO] [stderr] Checking teo-sql-connector v0.0.58 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `teo_runtime::connection::connection::Connection` [INFO] [stdout] --> src/connector/transaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use teo_runtime::connection::connection::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/migration/migrate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::connection::connection::Connection` [INFO] [stdout] --> src/migration/migrate.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use teo_runtime::connection::connection::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_teon::value::Value` [INFO] [stdout] --> src/migration/migrate.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use teo_teon::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quaint_forked::pooled::PooledConnection` [INFO] [stdout] --> src/schema/column/decoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use quaint_forked::pooled::PooledConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::connection::connection::Connection` [INFO] [stdout] --> src/connector/transaction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use teo_runtime::connection::connection::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/migration/migrate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_runtime::connection::connection::Connection` [INFO] [stdout] --> src/migration/migrate.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use teo_runtime::connection::connection::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `teo_teon::value::Value` [INFO] [stdout] --> src/migration/migrate.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use teo_teon::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quaint_forked::pooled::PooledConnection` [INFO] [stdout] --> src/schema/column/decoder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use quaint_forked::pooled::PooledConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/query/mod.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | (model.table_name.to_string() + " AS t") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - (model.table_name.to_string() + " AS t") [INFO] [stdout] 407 + model.table_name.to_string() + " AS t" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/query/mod.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | (model.table_name.to_string() + " AS t") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - (model.table_name.to_string() + " AS t") [INFO] [stdout] 407 + model.table_name.to_string() + " AS t" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pconn` [INFO] [stdout] --> src/migration/migrate.rs:153:97 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) async fn migrate(dialect: SQLDialect, conn: &dyn Queryable, models: Vec<&Model>, pconn: &dyn Transaction) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pconn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pconn` [INFO] [stdout] --> src/migration/migrate.rs:153:97 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) async fn migrate(dialect: SQLDialect, conn: &dyn Queryable, models: Vec<&Model>, pconn: &dyn Transaction) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pconn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/connector/transaction.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 209 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_database` [INFO] [stdout] --> src/connector/transaction.rs:209:65 [INFO] [stdout] | [INFO] [stdout] 209 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:209:87 [INFO] [stdout] | [INFO] [stdout] 209 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/connector/transaction.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/connector/transaction.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 209 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_database` [INFO] [stdout] --> src/connector/transaction.rs:209:65 [INFO] [stdout] | [INFO] [stdout] 209 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/connector/transaction.rs:209:87 [INFO] [stdout] | [INFO] [stdout] 209 | async fn migrate(&self, models: Vec<&Model>, dry_run: bool, reset_database: bool, silent: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_silent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:261:72 [INFO] [stdout] | [INFO] [stdout] 261 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: transaction::Ctx, req_ctx: Option, path: KeyPath) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:270:70 [INFO] [stdout] | [INFO] [stdout] 270 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: transaction::Ctx, req_ctx: Option, path: KeyPath) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:261:72 [INFO] [stdout] | [INFO] [stdout] 261 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: transaction::Ctx, req_ctx: Option, path: KeyPath) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignore_select_and_include` [INFO] [stdout] --> src/connector/transaction.rs:270:70 [INFO] [stdout] | [INFO] [stdout] 270 | ...: &Value, ignore_select_and_include: bool, action: Action, transaction_ctx: transaction::Ctx, req_ctx: Option, path: KeyPath) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignore_select_and_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/connector/connection.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/connector/connection.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unescaped` [INFO] [stdout] --> src/schema/type/decoder.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let unescaped: Vec = choices_vec.map(|s| unescape(s).unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unescaped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unescaped` [INFO] [stdout] --> src/schema/type/decoder.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | let unescaped: Vec = choices_vec.map(|s| unescape(s).unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unescaped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/exts/index.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialect` [INFO] [stdout] --> src/exts/index.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tran` is never used [INFO] [stdout] --> src/connector/transaction.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl SQLTransaction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn tran(&self) -> Option<&Arc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `show` is never used [INFO] [stdout] --> src/stmts/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl SQL { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn show() -> SQLShowStatement { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `unique_index` are never used [INFO] [stdout] --> src/stmts/create/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SQLCreateStatement { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn index(&self, index: impl Into) -> SQLCreateIndexStatement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn unique_index(&self, index: impl Into) -> SQLCreateIndexStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `columns` is never used [INFO] [stdout] --> src/stmts/create/table.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl SQLCreateTableStatement { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn columns(&mut self, defs: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `column` and `columns` are never used [INFO] [stdout] --> src/stmts/create/index.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl SQLCreateIndexOnStatement { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 14 | pub(crate) fn column(&mut self, column: Item) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn columns(&mut self, columns: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLCreateIndexStatement` is never constructed [INFO] [stdout] --> src/stmts/create/index.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct SQLCreateIndexStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on` is never used [INFO] [stdout] --> src/stmts/create/index.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl SQLCreateIndexStatement { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 41 | pub fn on(&self, table: impl Into) -> SQLCreateIndexOnStatement { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `table` and `index` are never used [INFO] [stdout] --> src/stmts/drop/mod.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SQLDropStatement { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn table(&self, table: impl Into) -> SQLDropTableStatement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn index(&self, index: impl Into) -> SQLDropIndexStatement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `if_exists` is never used [INFO] [stdout] --> src/stmts/drop/table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SQLDropTableStatement { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 10 | pub fn if_exists(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLDropIndexStatement` is never constructed [INFO] [stdout] --> src/stmts/drop/index.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct SQLDropIndexStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on` is never used [INFO] [stdout] --> src/stmts/drop/index.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl SQLDropIndexStatement { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 22 | pub fn on(&self, table: impl Into) -> SQLDropIndexOnStatement { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/stmts/insert_into/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> SQLInsertIntoStatement<'a> { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] 11 | pub(crate) fn value(&mut self, pair: (&'a str, &'a str)) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLShowStatement` is never constructed [INFO] [stdout] --> src/stmts/show/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct SQLShowStatement { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tables` and `index_from` are never used [INFO] [stdout] --> src/stmts/show/mod.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl SQLShowStatement { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 10 | pub(crate) fn tables(&self) -> SQLShowTablesStatement { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) fn index_from(&self, table: impl Into) -> SQLShowIndexFromStatement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `like` is never used [INFO] [stdout] --> src/stmts/show/tables.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl SQLShowTablesStatement { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 9 | pub(crate) fn like(&mut self, name: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `null`, `auto_increment`, and `primary_key` are never used [INFO] [stdout] --> src/schema/column/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl SQLColumn { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn null(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn auto_increment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn primary_key(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psql_is_unique` is never used [INFO] [stdout] --> src/schema/column/decoder.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 59 | impl ColumnDecoder { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | async fn psql_is_unique(conn: &dyn Queryable, table_name: &str, column_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mssql_type_to_database_type` is never used [INFO] [stdout] --> src/schema/type/decoder.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn mssql_type_to_database_type(r#type: &str) -> DatabaseType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_postgres`, `float64_type`, and `int64_type` are never used [INFO] [stdout] --> src/schema/dialect.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SQLDialect { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn is_postgres(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn float64_type(&self) -> DatabaseType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn int64_type(&self) -> DatabaseType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&SQLColumn` instead of cloning the inner type [INFO] [stdout] --> src/migration/migrate.rs:219:51 [INFO] [stdout] | [INFO] [stdout] 219 | ... let mut c = column.clone().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&SQLColumn` instead of cloning the inner type [INFO] [stdout] --> src/migration/migrate.rs:228:95 [INFO] [stdout] | [INFO] [stdout] 228 | ... let alter = SQL::alter_table(table_name).modify(new_column.clone().clone()).to_string(dialect); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> src/exts/index.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialect` [INFO] [stdout] --> src/exts/index.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | fn sql_name(&self, table_name: &str, dialect: SQLDialect) -> Cow { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tran` is never used [INFO] [stdout] --> src/connector/transaction.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl SQLTransaction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | fn tran(&self) -> Option<&Arc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `show` is never used [INFO] [stdout] --> src/stmts/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl SQL { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn show() -> SQLShowStatement { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `unique_index` are never used [INFO] [stdout] --> src/stmts/create/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SQLCreateStatement { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn index(&self, index: impl Into) -> SQLCreateIndexStatement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn unique_index(&self, index: impl Into) -> SQLCreateIndexStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `columns` is never used [INFO] [stdout] --> src/stmts/create/table.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl SQLCreateTableStatement { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn columns(&mut self, defs: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `column` and `columns` are never used [INFO] [stdout] --> src/stmts/create/index.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl SQLCreateIndexOnStatement { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 14 | pub(crate) fn column(&mut self, column: Item) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) fn columns(&mut self, columns: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLCreateIndexStatement` is never constructed [INFO] [stdout] --> src/stmts/create/index.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct SQLCreateIndexStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on` is never used [INFO] [stdout] --> src/stmts/create/index.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl SQLCreateIndexStatement { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 41 | pub fn on(&self, table: impl Into) -> SQLCreateIndexOnStatement { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `table` and `index` are never used [INFO] [stdout] --> src/stmts/drop/mod.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl SQLDropStatement { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) fn table(&self, table: impl Into) -> SQLDropTableStatement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn index(&self, index: impl Into) -> SQLDropIndexStatement { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `if_exists` is never used [INFO] [stdout] --> src/stmts/drop/table.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl SQLDropTableStatement { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 10 | pub fn if_exists(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLDropIndexStatement` is never constructed [INFO] [stdout] --> src/stmts/drop/index.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct SQLDropIndexStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on` is never used [INFO] [stdout] --> src/stmts/drop/index.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl SQLDropIndexStatement { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 22 | pub fn on(&self, table: impl Into) -> SQLDropIndexOnStatement { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/stmts/insert_into/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> SQLInsertIntoStatement<'a> { [INFO] [stdout] | ----------------------------------- method in this implementation [INFO] [stdout] 11 | pub(crate) fn value(&mut self, pair: (&'a str, &'a str)) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQLShowStatement` is never constructed [INFO] [stdout] --> src/stmts/show/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct SQLShowStatement { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tables` and `index_from` are never used [INFO] [stdout] --> src/stmts/show/mod.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl SQLShowStatement { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 10 | pub(crate) fn tables(&self) -> SQLShowTablesStatement { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) fn index_from(&self, table: impl Into) -> SQLShowIndexFromStatement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `like` is never used [INFO] [stdout] --> src/stmts/show/tables.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl SQLShowTablesStatement { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 9 | pub(crate) fn like(&mut self, name: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `null`, `auto_increment`, and `primary_key` are never used [INFO] [stdout] --> src/schema/column/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl SQLColumn { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn null(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn auto_increment(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn primary_key(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `psql_is_unique` is never used [INFO] [stdout] --> src/schema/column/decoder.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 59 | impl ColumnDecoder { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | async fn psql_is_unique(conn: &dyn Queryable, table_name: &str, column_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mssql_type_to_database_type` is never used [INFO] [stdout] --> src/schema/type/decoder.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn mssql_type_to_database_type(r#type: &str) -> DatabaseType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_postgres`, `float64_type`, and `int64_type` are never used [INFO] [stdout] --> src/schema/dialect.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl SQLDialect { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn is_postgres(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn float64_type(&self) -> DatabaseType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn int64_type(&self) -> DatabaseType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&SQLColumn` instead of cloning the inner type [INFO] [stdout] --> src/migration/migrate.rs:219:51 [INFO] [stdout] | [INFO] [stdout] 219 | ... let mut c = column.clone().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&SQLColumn` instead of cloning the inner type [INFO] [stdout] --> src/migration/migrate.rs:228:95 [INFO] [stdout] | [INFO] [stdout] 228 | ... let alter = SQL::alter_table(table_name).modify(new_column.clone().clone()).to_string(dialect); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.14s [INFO] running `Command { std: "docker" "inspect" "bf311d057543fadd147559c0163cbc48f4f8ea64542fb89d8fd79dedb41da1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf311d057543fadd147559c0163cbc48f4f8ea64542fb89d8fd79dedb41da1bb", kill_on_drop: false }` [INFO] [stdout] bf311d057543fadd147559c0163cbc48f4f8ea64542fb89d8fd79dedb41da1bb [INFO] checking teo-sql-connector-0.0.58 against try#2399cef65c47f346b5fa9df51f48df0acd4a9d85 for pr-114571-3 [INFO] extracting crate teo-sql-connector 0.0.58 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate teo-sql-connector 0.0.58 on toolchain 2399cef65c47f346b5fa9df51f48df0acd4a9d85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate teo-sql-connector 0.0.58 [INFO] finished tweaking crates.io crate teo-sql-connector 0.0.58 [INFO] tweaked toml for crates.io crate teo-sql-connector 0.0.58 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a6d246585bd9eec7dfc7bbf967f457c849532071d828d0201d057ddeb6b8d88 [INFO] running `Command { std: "docker" "start" "-a" "8a6d246585bd9eec7dfc7bbf967f457c849532071d828d0201d057ddeb6b8d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a6d246585bd9eec7dfc7bbf967f457c849532071d828d0201d057ddeb6b8d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a6d246585bd9eec7dfc7bbf967f457c849532071d828d0201d057ddeb6b8d88", kill_on_drop: false }` [INFO] [stdout] 8a6d246585bd9eec7dfc7bbf967f457c849532071d828d0201d057ddeb6b8d88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2399cef65c47f346b5fa9df51f48df0acd4a9d85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b98c390e0ddb94fc6f79de7a30987fd9f0725402882ef7f29fbdfa19a9c36f [INFO] running `Command { std: "docker" "start" "-a" "d8b98c390e0ddb94fc6f79de7a30987fd9f0725402882ef7f29fbdfa19a9c36f", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/2399cef65c47f346b5fa9df51f48df0acd4a9d85/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=9d74b4af124d1d68 -C extra-filename=-9d74b4af124d1d68 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-90f63ccd04acb0cd.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-e42a5656a0600e1d.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d8b98c390e0ddb94fc6f79de7a30987fd9f0725402882ef7f29fbdfa19a9c36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b98c390e0ddb94fc6f79de7a30987fd9f0725402882ef7f29fbdfa19a9c36f", kill_on_drop: false }` [INFO] [stdout] d8b98c390e0ddb94fc6f79de7a30987fd9f0725402882ef7f29fbdfa19a9c36f