[INFO] fetching crate rbatis-core 3.1.11... [INFO] checking rbatis-core-3.1.11 against master#f4d794ea0b845413344621d89f6c945062748485 for pr-119369 [INFO] extracting crate rbatis-core 3.1.11 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rbatis-core 3.1.11 on toolchain f4d794ea0b845413344621d89f6c945062748485 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bigdecimal v0.2.2 [INFO] [stderr] Downloaded rbson v2.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c17fabc78acb33691a61dc8ee3a88960c6a6f58918b4f401737dfa1d99c7a433 [INFO] running `Command { std: "docker" "start" "-a" "c17fabc78acb33691a61dc8ee3a88960c6a6f58918b4f401737dfa1d99c7a433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c17fabc78acb33691a61dc8ee3a88960c6a6f58918b4f401737dfa1d99c7a433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17fabc78acb33691a61dc8ee3a88960c6a6f58918b4f401737dfa1d99c7a433", kill_on_drop: false }` [INFO] [stdout] c17fabc78acb33691a61dc8ee3a88960c6a6f58918b4f401737dfa1d99c7a433 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f4d794ea0b845413344621d89f6c945062748485" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9478a6b6b7247f7ca2acef6dbd783e0ad6c9cf05b9bbc9961823f20be6348bb7 [INFO] running `Command { std: "docker" "start" "-a" "9478a6b6b7247f7ca2acef6dbd783e0ad6c9cf05b9bbc9961823f20be6348bb7", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking event-listener v4.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking value-bag v1.4.2 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking pem-rfc7468 v0.3.1 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking async-task v4.6.0 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking async-signal v0.2.5 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-rustls v0.2.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking pkcs1 v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking sqlx-rt v0.5.13 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking thiserror v1.0.52 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures-intrusive v0.4.2 [INFO] [stderr] Checking rsa v0.6.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking crossbeam-queue v0.3.10 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking whoami v1.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking serde_bytes v0.11.13 [INFO] [stderr] Checking bigdecimal v0.2.2 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rbson v2.0.5 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking sqlx-core v0.5.13 [INFO] [stderr] Checking rbatis-core v3.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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 `from_timestamp_opt()` 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::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::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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 `from_timestamp_opt()` 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 associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` 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)]` 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: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: `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: `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)]` 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: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: `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: 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)]` 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] [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: 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)]` 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] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.24s [INFO] running `Command { std: "docker" "inspect" "9478a6b6b7247f7ca2acef6dbd783e0ad6c9cf05b9bbc9961823f20be6348bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9478a6b6b7247f7ca2acef6dbd783e0ad6c9cf05b9bbc9961823f20be6348bb7", kill_on_drop: false }` [INFO] [stdout] 9478a6b6b7247f7ca2acef6dbd783e0ad6c9cf05b9bbc9961823f20be6348bb7