[INFO] fetching crate teo-sql-connector 0.0.59... [INFO] checking teo-sql-connector-0.0.59 against nightly-2024-02-05 for check-cfg [INFO] extracting crate teo-sql-connector 0.0.59 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate teo-sql-connector 0.0.59 on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate teo-sql-connector 0.0.59 [INFO] finished tweaking crates.io crate teo-sql-connector 0.0.59 [INFO] tweaked toml for crates.io crate teo-sql-connector 0.0.59 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" "+nightly-2024-02-05" "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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexical-util v0.8.5 [INFO] [stderr] Downloaded lexical v6.1.1 [INFO] [stderr] Downloaded frunk v0.4.2 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded pad v0.1.6 [INFO] [stderr] Downloaded array_tool v1.0.3 [INFO] [stderr] Downloaded rusqlite v0.25.4 [INFO] [stderr] Downloaded lexical-core v0.8.5 [INFO] [stderr] Downloaded postgres-native-tls v0.5.0 [INFO] [stderr] Downloaded cuid2 v0.1.2 [INFO] [stderr] Downloaded winauth v0.0.4 [INFO] [stderr] Downloaded snailquote v0.3.1 [INFO] [stderr] Downloaded connection-string v0.1.14 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] [stderr] Downloaded metrics v0.18.1 [INFO] [stderr] Downloaded mysql_common v0.29.2 [INFO] [stderr] Downloaded path-dedot v3.1.1 [INFO] [stderr] Downloaded connection-string v0.2.0 [INFO] [stderr] Downloaded lexical-write-integer v0.8.5 [INFO] [stderr] Downloaded random-string v1.1.0 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.2 [INFO] [stderr] Downloaded pretty-hex v0.3.0 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded jsonwebtoken v9.2.0 [INFO] [stderr] Downloaded frunk_core v0.4.2 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded path-absolutize v3.1.1 [INFO] [stderr] Downloaded asynchronous-codec v0.6.2 [INFO] [stderr] Downloaded lru v0.8.1 [INFO] [stderr] Downloaded frunk_derives v0.4.2 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Downloaded tiberius v0.11.7 [INFO] [stderr] Downloaded metrics-macros v0.5.1 [INFO] [stderr] Downloaded async-native-tls v0.4.0 [INFO] [stderr] Downloaded lexical-parse-float v0.8.5 [INFO] [stderr] Downloaded teo-teon v0.0.59 [INFO] [stderr] Downloaded teo-result v0.0.59 [INFO] [stderr] Downloaded cuid-util v0.1.0 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.6 [INFO] [stderr] Downloaded mysql_async v0.31.3 [INFO] [stderr] Downloaded cuid v1.2.0 [INFO] [stderr] Downloaded key-path v0.2.0 [INFO] [stderr] Downloaded lexical-write-float v0.8.5 [INFO] [stderr] Downloaded pem v3.0.3 [INFO] [stderr] Downloaded inflector-plus v0.11.7 [INFO] [stderr] Downloaded mobc-forked v0.7.4-alpha.4 [INFO] [stderr] Downloaded teo-parser v0.0.59 [INFO] [stderr] Downloaded teo-runtime v0.0.59 [INFO] [stderr] Downloaded quaint-forked v0.1.3-alpha.5 [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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54770675d8d0acd484d1a869717ed47243fbd306e281a21454873adfc79aefaa [INFO] running `Command { std: "docker" "start" "-a" "54770675d8d0acd484d1a869717ed47243fbd306e281a21454873adfc79aefaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54770675d8d0acd484d1a869717ed47243fbd306e281a21454873adfc79aefaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54770675d8d0acd484d1a869717ed47243fbd306e281a21454873adfc79aefaa", kill_on_drop: false }` [INFO] [stdout] 54770675d8d0acd484d1a869717ed47243fbd306e281a21454873adfc79aefaa [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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aafd38727eeab14c7c664e5f6f55401a2428e713e152ee09ca711549e9835a78 [INFO] running `Command { std: "docker" "start" "-a" "aafd38727eeab14c7c664e5f6f55401a2428e713e152ee09ca711549e9835a78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [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 libz-sys v1.1.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling rust_decimal v1.34.2 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling metrics v0.18.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [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 num-complex v0.4.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking teo-result v0.0.59 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking lru v0.8.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking array_tool v1.0.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking cuid-util v0.1.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking cuid2 v0.1.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking cuid v1.2.0 [INFO] [stderr] Checking inflector-plus v0.11.7 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking connection-string v0.1.14 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking key-path v0.2.0 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking random-string v1.1.0 [INFO] [stderr] Compiling metrics-macros v0.5.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking enumflags2 v0.7.8 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Checking snailquote v0.3.1 [INFO] [stderr] Checking pest v2.7.7 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mysql_common v0.29.2 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking mobc-forked v0.7.4-alpha.4 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking rusqlite v0.25.4 [INFO] [stderr] Checking tiberius v0.11.7 [INFO] [stderr] Checking bson v2.9.0 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking jsonwebtoken v9.2.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking teo-teon v0.0.59 [INFO] [stderr] Checking postgres-native-tls v0.5.0 [INFO] [stderr] Checking teo-parser v0.0.59 [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.59 [INFO] [stderr] Checking teo-sql-connector v0.0.59 (/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: 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 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: 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: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | map.remove("take"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | map.remove("skip"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | map.remove("pageSize"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | map.remove("pageNumber"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | map.remove("take"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | map.remove("skip"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | map.remove("pageSize"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | map.remove("pageNumber"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | map.remove("distinct"); [INFO] [stdout] | ^^^^^^ [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: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | map.remove("take"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | map.remove("skip"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | map.remove("pageSize"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | map.remove("pageNumber"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | map.remove("take"); [INFO] [stdout] | ^^^^^^ [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: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | map.remove("skip"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | map.remove("pageSize"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | map.remove("pageNumber"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/execution/mod.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | map.remove("distinct"); [INFO] [stdout] | ^^^^^^ [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: `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: `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: `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: 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: 45 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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.00s [INFO] running `Command { std: "docker" "inspect" "aafd38727eeab14c7c664e5f6f55401a2428e713e152ee09ca711549e9835a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aafd38727eeab14c7c664e5f6f55401a2428e713e152ee09ca711549e9835a78", kill_on_drop: false }` [INFO] [stdout] aafd38727eeab14c7c664e5f6f55401a2428e713e152ee09ca711549e9835a78