[INFO] fetching crate mybatis 2.0.3... [INFO] building mybatis-2.0.3 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate mybatis 2.0.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate mybatis 2.0.3 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mybatis 2.0.3 [INFO] finished tweaking crates.io crate mybatis 2.0.3 [INFO] tweaked toml for crates.io crate mybatis 2.0.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2aee9ba9f8b431055e73170236f13f8f50c24402378dae773ec50081e473e5c5 [INFO] running `Command { std: "docker" "start" "-a" "2aee9ba9f8b431055e73170236f13f8f50c24402378dae773ec50081e473e5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aee9ba9f8b431055e73170236f13f8f50c24402378dae773ec50081e473e5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aee9ba9f8b431055e73170236f13f8f50c24402378dae773ec50081e473e5c5", kill_on_drop: false }` [INFO] [stdout] 2aee9ba9f8b431055e73170236f13f8f50c24402378dae773ec50081e473e5c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7005a0a6206e76ee464cfbd908acac9d79c26244b20fe4f45d686261608c627f [INFO] running `Command { std: "docker" "start" "-a" "7005a0a6206e76ee464cfbd908acac9d79c26244b20fe4f45d686261608c627f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling base64ct v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rust_decimal v1.24.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.19.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling html_parser v0.6.3 [INFO] [stderr] Compiling rbson v2.0.3 [INFO] [stderr] Compiling mybatis-macro v2.0.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling mybatis-core v2.0.0 [INFO] [stderr] Compiling mybatis-sql v2.0.0 [INFO] [stderr] Compiling mybatis-util v2.0.0 [INFO] [stderr] Compiling mybatis v2.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/mybatis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/mybatis.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/mybatis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/mybatis.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mybatis.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/mybatis.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/mybatis.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MyBatisLogicDeletePlugin` [INFO] [stdout] --> src/mybatis.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::logic_delete::{LogicDelete, MyBatisLogicDeletePlugin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IPageRequest`, `IPage`, `Page` [INFO] [stdout] --> src/mybatis.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::page::{IPage, IPageRequest, MyBatisPagePlugin, Page, PagePlugin}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DBExecResult`, `DBPoolConn`, `DBTx` [INFO] [stdout] --> src/mybatis.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DBExecResult, DBPool, DBPoolConn, DBPoolOptions, DBQuery, DBTx, DriverType, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mybatis_sql::PageLimit` [INFO] [stdout] --> src/mybatis.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use mybatis_sql::PageLimit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mybatis_util::error_util::ToResult` [INFO] [stdout] --> src/mybatis.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use mybatis_util::error_util::ToResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DBPool` [INFO] [stdout] --> src/executor.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use mybatis_core::db::{DBPool, DBPoolConn, DBQuery, DBTx}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTimeNative`, `Format` [INFO] [stdout] --> src/executor.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use mybatis_core::{DateTimeNative, Format}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rbson::spec::BinarySubtype` [INFO] [stdout] --> src/executor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rbson::spec::BinarySubtype; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/executor.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde::{Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/intercept.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/log.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/logic_delete.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rbson::Bson` [INFO] [stdout] --> src/logic_delete.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rbson::Bson; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MybatisPlus`, `Skip` [INFO] [stdout] --> src/logic_delete.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::plus::{MybatisPlus, Skip}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mybatis_sql::rule::SqlRule` [INFO] [stdout] --> src/logic_delete.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mybatis_sql::rule::SqlRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/logic_delete.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `Serialize`, `Serializer` [INFO] [stdout] --> src/logic_delete.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Deserializer, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/logic_delete.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/logic_delete.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/logic_delete.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/page.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::future::BoxFuture` [INFO] [stdout] --> src/page.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_core::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PageLimit` [INFO] [stdout] --> src/page.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use mybatis_sql::{PageLimit, TEMPLATE}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashSet`, `LinkedList`, `VecDeque` [INFO] [stdout] --> src/plus.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap, HashSet, LinkedList, VecDeque}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/plus.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/plus.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultCodec` [INFO] [stdout] --> src/plus.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use mybatis_core::convert::{ResultCodec, StmtConvert}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mybatis_sql::rule::SqlRule` [INFO] [stdout] --> src/plus.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use mybatis_sql::rule::SqlRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rbson::Bson::Null` [INFO] [stdout] --> src/plus.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use rbson::Bson::Null; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/snowflake.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/wrapper.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/wrapper.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/wrapper.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mybatis_core::Error` [INFO] [stdout] --> src/wrapper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use mybatis_core::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/executor.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | / { [INFO] [stdout] 261 | | let rb_task_id = new_snowflake_id(); [INFO] [stdout] 262 | | let mut sql = sql.to_string(); [INFO] [stdout] 263 | | let is_prepared = args.len() > 0; [INFO] [stdout] ... | [INFO] [stdout] 315 | | } [INFO] [stdout] 316 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/executor.rs:299:58 [INFO] [stdout] | [INFO] [stdout] 280 | if is_prepared { [INFO] [stdout] | ________________________- [INFO] [stdout] 281 | | let q: DBQuery = self.bind_arg(&self.conn.driver_type(), &sql, args)?; [INFO] [stdout] 282 | | let result = self.conn.fetch_parperd(q).await; [INFO] [stdout] 283 | | if self.get_mybatis().log_plugin.is_enable() { [INFO] [stdout] ... | [INFO] [stdout] 297 | | return Ok(result?.0); [INFO] [stdout] 298 | | } else { [INFO] [stdout] | |_________- has type `std::result::Result` which is not `Send` [INFO] [stdout] 299 | let result = self.conn.fetch(&sql.to_owned()).await; [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 315 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn futures_core::Future> + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 259 | T: DeserializeOwned + std::marker::Send, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/executor.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | / { [INFO] [stdout] 399 | | let mut sql = sql.to_string(); [INFO] [stdout] 400 | | let is_prepared = args.len() > 0; [INFO] [stdout] 401 | | for item in &self.get_mybatis().sql_intercepts { [INFO] [stdout] ... | [INFO] [stdout] 452 | | } [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/executor.rs:436:58 [INFO] [stdout] | [INFO] [stdout] 417 | if is_prepared { [INFO] [stdout] | ________________________- [INFO] [stdout] 418 | | let q: DBQuery = self.bind_arg(&self.conn.driver_type, &sql, args)?; [INFO] [stdout] 419 | | let result = self.conn.fetch_parperd(q).await; [INFO] [stdout] 420 | | if self.get_mybatis().log_plugin.is_enable() { [INFO] [stdout] ... | [INFO] [stdout] 434 | | return Ok(result?.0); [INFO] [stdout] 435 | | } else { [INFO] [stdout] | |_________- has type `std::result::Result` which is not `Send` [INFO] [stdout] 436 | let result = self.conn.fetch(&sql.to_owned()).await; [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] ... [INFO] [stdout] 452 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn futures_core::Future> + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 397 | T: DeserializeOwned + std::marker::Send, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/plus.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | / { [INFO] [stdout] 401 | | if w.sql.starts_with(TEMPLATE.insert_into.value) { [INFO] [stdout] 402 | | let res = self.exec(&w.sql, w.args).await?; [INFO] [stdout] 403 | | return Ok(rbson::from_bson(rbson::to_bson(&res)?)?); [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/plus.rs:416:54 [INFO] [stdout] | [INFO] [stdout] 401 | if w.sql.starts_with(TEMPLATE.insert_into.value) { [INFO] [stdout] | __________________________________________________________- [INFO] [stdout] 402 | | let res = self.exec(&w.sql, w.args).await?; [INFO] [stdout] 403 | | return Ok(rbson::from_bson(rbson::to_bson(&res)?)?); [INFO] [stdout] 404 | | } else { [INFO] [stdout] | |_________- has type `std::result::Result` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 416 | return self.fetch(&new_w.sql, new_w.args).await; [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 417 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] = note: required for the cast to the object type `dyn futures_core::Future> + std::marker::Send` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 399 | R: DeserializeOwned + std::marker::Send, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plus::MybatisPlus` [INFO] [stdout] --> src/intercept.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::plus::MybatisPlus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mybatis` due to 4 previous errors; 47 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7005a0a6206e76ee464cfbd908acac9d79c26244b20fe4f45d686261608c627f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7005a0a6206e76ee464cfbd908acac9d79c26244b20fe4f45d686261608c627f", kill_on_drop: false }` [INFO] [stdout] 7005a0a6206e76ee464cfbd908acac9d79c26244b20fe4f45d686261608c627f