[INFO] fetching crate mybatis-core 2.0.1... [INFO] checking mybatis-core-2.0.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate mybatis-core 2.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate mybatis-core 2.0.1 [INFO] finished tweaking crates.io crate mybatis-core 2.0.1 [INFO] tweaked toml for crates.io crate mybatis-core 2.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mybatis-core 2.0.1 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 307 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.2.2 (available: v0.4.10) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding ipnetwork v0.19.0 (available: v0.21.1) [INFO] [stderr] Adding sqlx-core v0.5.13 (available: v0.8.6) [INFO] [stderr] Adding time v0.2.27 (available: v0.3.47) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8be2efe096ee374e9e0b059f0615bdc7287735042a4543689293cf124e26bec [INFO] running `Command { std: "docker" "start" "-a" "f8be2efe096ee374e9e0b059f0615bdc7287735042a4543689293cf124e26bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8be2efe096ee374e9e0b059f0615bdc7287735042a4543689293cf124e26bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8be2efe096ee374e9e0b059f0615bdc7287735042a4543689293cf124e26bec", kill_on_drop: false }` [INFO] [stdout] f8be2efe096ee374e9e0b059f0615bdc7287735042a4543689293cf124e26bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c74d41b180cee70a997debc37f2c39afe4d251a636ec69368d05446e191ef0c8 [INFO] running `Command { std: "docker" "start" "-a" "c74d41b180cee70a997debc37f2c39afe4d251a636ec69368d05446e191ef0c8", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking num-bigint-dig v0.8.6 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking futures-intrusive v0.4.2 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking pkcs1 v0.3.3 [INFO] [stderr] Checking rsa v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking bigdecimal v0.2.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ipnetwork v0.19.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rbson v2.0.5 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking sqlx-rt v0.5.13 [INFO] [stderr] Checking sqlx-core v0.5.13 [INFO] [stderr] Checking mybatis-core v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/types/datetime_native.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | inner: chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/types/datetime_utc.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 76 | let native = chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/datetime_utc.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | inner: DateTime::::from_utc(native, Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_native.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_utc.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/timestamp_z.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/timestamp_z.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/timestamp_z.rs:145:38 [INFO] [stdout] | [INFO] [stdout] 145 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/types/datetime_native.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | inner: chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:183:57 [INFO] [stdout] | [INFO] [stdout] 183 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:193:57 [INFO] [stdout] | [INFO] [stdout] 193 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:201:52 [INFO] [stdout] | [INFO] [stdout] 201 | println!("{},{}", 1442620564000i64, dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:202:45 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(1442620564000i64, dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:209:52 [INFO] [stdout] | [INFO] [stdout] 209 | println!("{},{}", 1442620564000i64, dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/datetime_native.rs:210:45 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(1442620564000i64, dt_new.timestamp_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/types/datetime_utc.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 76 | let native = chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/datetime_utc.rs:81:45 [INFO] [stdout] | [INFO] [stdout] 81 | inner: DateTime::::from_utc(native, Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_native.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_utc.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/timestamp_z.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/timestamp_z.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/types/timestamp_z.rs:145:38 [INFO] [stdout] | [INFO] [stdout] 145 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let $index = push_index!(1, $new_sql, $index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/db_adapter.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_acquire(&self) -> crate::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_acquire(&self) -> crate::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db/db_adapter.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | tx.begin().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/json.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn to_string(&self) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | impl Deref for Json { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 123 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mybatis-core` (lib) due to 1 previous error; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `b_de` [INFO] [stdout] --> src/types/timestamp_z.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let b_de: TimestampZ = rbson::from_bson(bsons).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_b_de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/db/db_adapter.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_acquire(&self) -> crate::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn try_acquire(&self) -> crate::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db/db_adapter.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | tx.begin().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/json.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn to_string(&self) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | impl Deref for Json { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 123 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mybatis-core` (lib test) due to 1 previous error; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c74d41b180cee70a997debc37f2c39afe4d251a636ec69368d05446e191ef0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74d41b180cee70a997debc37f2c39afe4d251a636ec69368d05446e191ef0c8", kill_on_drop: false }` [INFO] [stdout] c74d41b180cee70a997debc37f2c39afe4d251a636ec69368d05446e191ef0c8