[INFO] fetching crate mybatis-core 2.0.1... [INFO] testing mybatis-core-2.0.1 against try#6c5b2f071bf9fe3a4b05942f31d42d076171aa61 for pr-115315 [INFO] extracting crate mybatis-core 2.0.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mybatis-core 2.0.1 on toolchain 6c5b2f071bf9fe3a4b05942f31d42d076171aa61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mybatis-core 2.0.1 [INFO] finished tweaking crates.io crate mybatis-core 2.0.1 [INFO] tweaked toml for crates.io crate mybatis-core 2.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "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" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 888a2f6b9e1910fefed83e57a7337cef10af00e16eefb55976765624664cd270 [INFO] running `Command { std: "docker" "start" "-a" "888a2f6b9e1910fefed83e57a7337cef10af00e16eefb55976765624664cd270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "888a2f6b9e1910fefed83e57a7337cef10af00e16eefb55976765624664cd270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888a2f6b9e1910fefed83e57a7337cef10af00e16eefb55976765624664cd270", kill_on_drop: false }` [INFO] [stdout] 888a2f6b9e1910fefed83e57a7337cef10af00e16eefb55976765624664cd270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef60dacc099c1e43aaa32d1f5a71b6ebd27b41de41b696bacb25849f6df74429 [INFO] running `Command { std: "docker" "start" "-a" "ef60dacc099c1e43aaa32d1f5a71b6ebd27b41de41b696bacb25849f6df74429", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling memchr v2.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling rust_decimal v1.32.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling stringprep v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling time-macros-impl v0.1.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 webpki-roots v0.21.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling ipnetwork v0.19.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rbson v2.0.5 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling mybatis-core v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stdout] --> src/types/datetime_native.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | inner: chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stdout] --> src/types/datetime_utc.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 76 | let native = chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_native.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_utc.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db/db_adapter.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | tx.begin().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.97s [INFO] running `Command { std: "docker" "inspect" "ef60dacc099c1e43aaa32d1f5a71b6ebd27b41de41b696bacb25849f6df74429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef60dacc099c1e43aaa32d1f5a71b6ebd27b41de41b696bacb25849f6df74429", kill_on_drop: false }` [INFO] [stdout] ef60dacc099c1e43aaa32d1f5a71b6ebd27b41de41b696bacb25849f6df74429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c3fcafd6cd433ad3a8acebc2baa96d5bb0449abc51eeec9c2777290e7b3b4b [INFO] running `Command { std: "docker" "start" "-a" "b9c3fcafd6cd433ad3a8acebc2baa96d5bb0449abc51eeec9c2777290e7b3b4b", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stdout] --> src/types/datetime_native.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | inner: chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stdout] --> src/types/datetime_utc.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 76 | let native = chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_native.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_utc.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db/db_adapter.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | tx.begin().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mybatis-core v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stdout] --> src/types/datetime_native.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | inner: chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stdout] --> src/types/datetime_utc.rs:76:53 [INFO] [stdout] | [INFO] [stdout] 76 | let native = chrono::NaiveDateTime::from_timestamp( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_native.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/types/date_utc.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | inner: utc.date().naive_local(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/convert.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_de` [INFO] [stdout] --> src/types/timestamp_z.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let b_de: TimestampZ = rbson::from_bson(bsons).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_b_de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/convert.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | if $index >= 0 && $index < 10 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | push_index!(index, item); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `push_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db/db_adapter.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | tx.begin().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 832 | let _ = tx.begin().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.60s [INFO] running `Command { std: "docker" "inspect" "b9c3fcafd6cd433ad3a8acebc2baa96d5bb0449abc51eeec9c2777290e7b3b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c3fcafd6cd433ad3a8acebc2baa96d5bb0449abc51eeec9c2777290e7b3b4b", kill_on_drop: false }` [INFO] [stdout] b9c3fcafd6cd433ad3a8acebc2baa96d5bb0449abc51eeec9c2777290e7b3b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+6c5b2f071bf9fe3a4b05942f31d42d076171aa61" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2ed0a14bd9a6c8afb2a2623babc914488a5a0b175199bc75bd5edd79e26414cf [INFO] running `Command { std: "docker" "start" "-a" "2ed0a14bd9a6c8afb2a2623babc914488a5a0b175199bc75bd5edd79e26414cf", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead [INFO] [stderr] --> src/types/datetime_native.rs:103:51 [INFO] [stderr] | [INFO] [stderr] 103 | inner: chrono::NaiveDateTime::from_timestamp( [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 `from_timestamp_opt()` instead [INFO] [stderr] --> src/types/datetime_utc.rs:76:53 [INFO] [stderr] | [INFO] [stderr] 76 | let native = chrono::NaiveDateTime::from_timestamp( [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:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | 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: unused variable: `index` [INFO] [stderr] --> src/convert.rs:48:29 [INFO] [stderr] | [INFO] [stderr] 48 | push_index!(index, item); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/convert.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | push_index!(index, item); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/convert.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | if $index >= 0 && $index < 10 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | 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:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | if $index >= 0 && $index < 10 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | 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: unused `std::result::Result` that must be used [INFO] [stderr] --> src/db/db_adapter.rs:832:9 [INFO] [stderr] | [INFO] [stderr] 832 | 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)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 832 | let _ = tx.begin().await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b_de` [INFO] [stderr] --> src/types/timestamp_z.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | 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: `mybatis-core` (lib) generated 9 warnings (run `cargo fix --lib -p mybatis-core` to apply 2 suggestions) [INFO] [stderr] warning: `mybatis-core` (lib test) generated 10 warnings (9 duplicates) (run `cargo fix --lib -p mybatis-core --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mybatis_core-c35d7d7fe7c8eece) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test types::bytes::test::test_ser_de ... ok [INFO] [stdout] test error::test_json_error ... ok [INFO] [stdout] test types::date_utc::test::test_ser_de ... ok [INFO] [stdout] test types::bools::test::test_ser_de ... ok [INFO] [stdout] test decode::test::test_decode_hashmap ... ok [INFO] [stdout] test decode::test::test_decode_btree_map ... ok [INFO] [stdout] test types::date_native::test::test_ser_de ... ok [INFO] [stdout] test types::datetime_native::test::test_decode ... ok [INFO] [stdout] test types::datetime_native::test::test_decode2 ... ok [INFO] [stdout] test types::datetime_native::test::test_native ... ok [INFO] [stdout] test types::datetime_native::test::test_ser_de ... ok [INFO] [stdout] test types::decimal::test::test_ser_de ... ok [INFO] [stdout] test types::datetime_native::test::test_utc ... ok [INFO] [stdout] test types::time_utc::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::json::test::test_ser_de ... ok [INFO] [stdout] test types::timestamp_z::test::test_str_de ... ok [INFO] [stdout] test types::uuids::test::test_display ... ok [INFO] [stdout] test types::uuids::test::test_ser_de ... ok [INFO] [stdout] test types::time_native::test::test_ser_de ... ok [INFO] [stdout] test types::datetime_utc::test::test_ser_de ... ok [INFO] [stdout] test types::uuids::test::test_debug ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mybatis-core [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" "2ed0a14bd9a6c8afb2a2623babc914488a5a0b175199bc75bd5edd79e26414cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed0a14bd9a6c8afb2a2623babc914488a5a0b175199bc75bd5edd79e26414cf", kill_on_drop: false }` [INFO] [stdout] 2ed0a14bd9a6c8afb2a2623babc914488a5a0b175199bc75bd5edd79e26414cf