[INFO] fetching crate rbatis-core 3.1.11... [INFO] testing rbatis-core-3.1.11 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rbatis-core 3.1.11 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rbatis-core 3.1.11 [INFO] finished tweaking crates.io crate rbatis-core 3.1.11 [INFO] tweaked toml for crates.io crate rbatis-core 3.1.11 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rbatis-core 3.1.11 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 316 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.8) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding ipnetwork v0.17.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.44) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f87bbf5e17147df538e9e02303ae99f5ead4334ea96054a5bc679f96016ac01 [INFO] running `Command { std: "docker" "start" "-a" "6f87bbf5e17147df538e9e02303ae99f5ead4334ea96054a5bc679f96016ac01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f87bbf5e17147df538e9e02303ae99f5ead4334ea96054a5bc679f96016ac01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f87bbf5e17147df538e9e02303ae99f5ead4334ea96054a5bc679f96016ac01", kill_on_drop: false }` [INFO] [stdout] 6f87bbf5e17147df538e9e02303ae99f5ead4334ea96054a5bc679f96016ac01 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b698a54f305af3316481f19bb24aae9acbde08f6ce57fcd8bee80c14851b4e9c [INFO] running `Command { std: "docker" "start" "-a" "b698a54f305af3316481f19bb24aae9acbde08f6ce57fcd8bee80c14851b4e9c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-rustls v0.2.0 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rbson v2.0.5 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling rbatis-core v3.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/bind_pg.rs:145:62 [INFO] [stdout] | [INFO] [stdout] 145 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [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/db/bind_pg.rs:268:74 [INFO] [stdout] | [INFO] [stdout] 268 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [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:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [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:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [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:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [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:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | inner: DateTime::::from_utc(native,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_utc.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [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:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | 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 method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/timestamp.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | inner: arg.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/timestamp.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | inner: arg.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/timestamp.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | inner: s.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/timestamp.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | let offset_date_time = NaiveDateTime::now().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/timestamp.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | NaiveDateTime::from_timestamp(self.inner / 1000, (self.inner % 1000 * 1000000) as u32) [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:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | 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:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | 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:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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: `buf` [INFO] [stdout] --> src/db/bind_pg.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if $index>=0 && $index<10{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if $index>=0 && $index<10{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | 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] 740 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b698a54f305af3316481f19bb24aae9acbde08f6ce57fcd8bee80c14851b4e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b698a54f305af3316481f19bb24aae9acbde08f6ce57fcd8bee80c14851b4e9c", kill_on_drop: false }` [INFO] [stdout] b698a54f305af3316481f19bb24aae9acbde08f6ce57fcd8bee80c14851b4e9c [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eb9a942a5c3b4aa7f7106d33bfd5a055990b4de299609d38d751f8fa3def90e [INFO] running `Command { std: "docker" "start" "-a" "5eb9a942a5c3b4aa7f7106d33bfd5a055990b4de299609d38d751f8fa3def90e", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/bind_pg.rs:145:62 [INFO] [stdout] | [INFO] [stdout] 145 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [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/db/bind_pg.rs:268:74 [INFO] [stdout] | [INFO] [stdout] 268 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [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:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [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:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [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:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [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:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | inner: DateTime::::from_utc(native,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_utc.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [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:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | 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 method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/timestamp.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | inner: arg.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/timestamp.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | inner: arg.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/timestamp.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | inner: s.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/timestamp.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | let offset_date_time = NaiveDateTime::now().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/timestamp.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | NaiveDateTime::from_timestamp(self.inner / 1000, (self.inner % 1000 * 1000000) as u32) [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:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | 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:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | 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:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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: `buf` [INFO] [stdout] --> src/db/bind_pg.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if $index>=0 && $index<10{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if $index>=0 && $index<10{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | 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] 740 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rbatis-core v3.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/db/bind_pg.rs:145:62 [INFO] [stdout] | [INFO] [stdout] 145 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [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/db/bind_pg.rs:268:74 [INFO] [stdout] | [INFO] [stdout] 268 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [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:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [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:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [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:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | 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:177:57 [INFO] [stdout] | [INFO] [stdout] 177 | 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:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | 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:187:57 [INFO] [stdout] | [INFO] [stdout] 187 | 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:195:52 [INFO] [stdout] | [INFO] [stdout] 195 | 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:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | 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:203:52 [INFO] [stdout] | [INFO] [stdout] 203 | 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:204:45 [INFO] [stdout] | [INFO] [stdout] 204 | 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:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [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:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | inner: DateTime::::from_utc(native,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_utc.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [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:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | 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 method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stdout] --> src/types/timestamp.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | inner: arg.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/timestamp.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | inner: arg.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/timestamp.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | inner: s.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/timestamp.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | let offset_date_time = NaiveDateTime::now().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/timestamp.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | NaiveDateTime::from_timestamp(self.inner / 1000, (self.inner % 1000 * 1000000) as u32) [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:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | 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:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | 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:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | push_index!(index,item); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `index` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/convert.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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: `buf` [INFO] [stdout] --> src/db/bind_pg.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_de` [INFO] [stdout] --> src/types/timestamp_z.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | 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:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if $index>=0 && $index<10{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | 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:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if $index>=0 && $index<10{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | 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:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | 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] 200 | 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:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | 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] 740 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5eb9a942a5c3b4aa7f7106d33bfd5a055990b4de299609d38d751f8fa3def90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb9a942a5c3b4aa7f7106d33bfd5a055990b4de299609d38d751f8fa3def90e", kill_on_drop: false }` [INFO] [stdout] 5eb9a942a5c3b4aa7f7106d33bfd5a055990b4de299609d38d751f8fa3def90e [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54769502f771eab436a48c015ebfaf02090131382aa238071379901fd2a43fa0 [INFO] running `Command { std: "docker" "start" "-a" "54769502f771eab436a48c015ebfaf02090131382aa238071379901fd2a43fa0", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/db/bind_pg.rs:145:62 [INFO] [stderr] | [INFO] [stderr] 145 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/db/bind_pg.rs:268:74 [INFO] [stderr] | [INFO] [stderr] 268 | let primitive_date_time = chrono::NaiveDateTime::from_timestamp(sec, ns); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/types/datetime_native.rs:92:51 [INFO] [stderr] | [INFO] [stderr] 92 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/types/datetime_native.rs:98:51 [INFO] [stderr] | [INFO] [stderr] 98 | inner: chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/types/datetime_utc.rs:72:51 [INFO] [stderr] | [INFO] [stderr] 72 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/types/datetime_utc.rs:74:45 [INFO] [stderr] | [INFO] [stderr] 74 | inner: DateTime::::from_utc(native,Utc) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/types/datetime_utc.rs:79:51 [INFO] [stderr] | [INFO] [stderr] 79 | let native=chrono::NaiveDateTime::from_timestamp(timestamp/1000, (timestamp % 1000 * 1000000) as u32); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/types/datetime_utc.rs:81:45 [INFO] [stderr] | [INFO] [stderr] 81 | inner: DateTime::::from_utc(native,Utc) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/types/date_native.rs:102:24 [INFO] [stderr] | [INFO] [stderr] 102 | inner: utc.date().naive_local(), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/types/date_utc.rs:99:24 [INFO] [stderr] | [INFO] [stderr] 99 | inner: utc.date().naive_local(), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/timestamp.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | inner: arg.timestamp_millis() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/timestamp.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | inner: arg.timestamp_millis() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/timestamp.rs:55:30 [INFO] [stderr] | [INFO] [stderr] 55 | inner: s.timestamp_millis() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/timestamp.rs:121:53 [INFO] [stderr] | [INFO] [stderr] 121 | let offset_date_time = NaiveDateTime::now().timestamp_millis(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/types/timestamp.rs:138:24 [INFO] [stderr] | [INFO] [stderr] 138 | NaiveDateTime::from_timestamp(self.inner / 1000, (self.inner % 1000 * 1000000) as u32) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/types/timestamp_z.rs:137:38 [INFO] [stderr] | [INFO] [stderr] 137 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(),Utc) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/types/timestamp_z.rs:143:38 [INFO] [stderr] | [INFO] [stderr] 143 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(),Utc) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/types/timestamp_z.rs:149:38 [INFO] [stderr] | [INFO] [stderr] 149 | inner: chrono::DateTime::from_utc(NaiveDateTime::now(),Utc) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: `index` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/convert.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: `index` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/convert.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: `index` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/convert.rs:34:25 [INFO] [stderr] | [INFO] [stderr] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: `index` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/convert.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let $index = push_index!(1,$new_sql,$index); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: `index` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/convert.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | let $index = push_index!(1,$new_sql,$index); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: `index` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/convert.rs:34:25 [INFO] [stderr] | [INFO] [stderr] 34 | let $index = push_index!(1,$new_sql,$index); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/db/bind_pg.rs:31:29 [INFO] [stderr] | [INFO] [stderr] 31 | fn encode_by_ref(&self, buf: &mut PgArgumentBuffer) -> IsNull { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/convert.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | if $index>=0 && $index<10{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/convert.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | if $index>=0 && $index<10{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | push_index!(index,item); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/db/db_adapter.rs:200:24 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn try_acquire(&self) -> crate::Result> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 200 | pub fn try_acquire(&self) -> crate::Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/db/db_adapter.rs:740:9 [INFO] [stderr] | [INFO] [stderr] 740 | tx.begin().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 740 | let _ = tx.begin().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:177:30 [INFO] [stderr] | [INFO] [stderr] 177 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:177:57 [INFO] [stderr] | [INFO] [stderr] 177 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:187:30 [INFO] [stderr] | [INFO] [stderr] 187 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:187:57 [INFO] [stderr] | [INFO] [stderr] 187 | println!("{},{}", dt.timestamp_millis(), dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:195:52 [INFO] [stderr] | [INFO] [stderr] 195 | println!("{},{}", 1442620564000i64, dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:196:45 [INFO] [stderr] | [INFO] [stderr] 196 | assert_eq!(1442620564000i64, dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:203:52 [INFO] [stderr] | [INFO] [stderr] 203 | println!("{},{}", 1442620564000i64, dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead [INFO] [stderr] --> src/types/datetime_native.rs:204:45 [INFO] [stderr] | [INFO] [stderr] 204 | assert_eq!(1442620564000i64, dt_new.timestamp_millis()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_de` [INFO] [stderr] --> src/types/timestamp_z.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let b_de: TimestampZ = rbson::from_bson(bsons).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_b_de` [INFO] [stderr] [INFO] [stderr] warning: `rbatis-core` (lib) generated 29 warnings (run `cargo fix --lib -p rbatis-core` to apply 1 suggestion) [INFO] [stderr] warning: `rbatis-core` (lib test) generated 38 warnings (29 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rbatis_core-34a1db4987ac4c31) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test error::test_json_error ... ok [INFO] [stdout] test decode::test::test_decode_hashmap ... ok [INFO] [stdout] test types::bytes::test::test_ser_de ... ok [INFO] [stdout] test types::datetime_native::test::test_decode ... ok [INFO] [stdout] test types::date_utc::test::test_ser_de ... ok [INFO] [stdout] test types::date_native::test::test_ser_de ... ok [INFO] [stdout] test types::datetime_native::test::test_ser_de ... ok [INFO] [stdout] test types::datetime_utc::test::test_ser_de ... ok [INFO] [stdout] test types::decimal::test::test_ser_de ... ok [INFO] [stdout] test types::bools::test::test_ser_de ... ok [INFO] [stdout] test types::json::test::test_ser_de ... ok [INFO] [stdout] test types::time_native::test::test_ser_de ... ok [INFO] [stdout] test types::time_utc::test::test_ser_de ... ok [INFO] [stdout] test types::timestamp::test::test_ser_de ... ok [INFO] [stdout] test types::timestamp_z::test::test_native ... ok [INFO] [stdout] test types::timestamp_z::test::test_ser_de ... ok [INFO] [stdout] test types::timestamp_z::test::test_str_de ... ok [INFO] [stdout] test types::uuids::test::test_debug ... ok [INFO] [stdout] test types::uuids::test::test_display ... ok [INFO] [stdout] test types::uuids::test::test_ser_de ... ok [INFO] [stdout] test decode::test::test_decode_btree_map ... ok [INFO] [stdout] test types::datetime_native::test::test_native ... ok [INFO] [stdout] test types::datetime_native::test::test_decode2 ... ok [INFO] [stderr] Doc-tests rbatis_core [INFO] [stdout] test types::datetime_native::test::test_utc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54769502f771eab436a48c015ebfaf02090131382aa238071379901fd2a43fa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54769502f771eab436a48c015ebfaf02090131382aa238071379901fd2a43fa0", kill_on_drop: false }` [INFO] [stdout] 54769502f771eab436a48c015ebfaf02090131382aa238071379901fd2a43fa0