[INFO] fetching crate rbatis 2.0.18... [INFO] checking rbatis-2.0.18 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate rbatis 2.0.18 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rbatis 2.0.18 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rbatis 2.0.18 [INFO] finished tweaking crates.io crate rbatis 2.0.18 [INFO] tweaked toml for crates.io crate rbatis 2.0.18 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rbatis-core v2.0.10 [INFO] [stderr] Downloaded rbatis_sql v2.0.13 [INFO] [stderr] Downloaded rbatis-macro-driver v2.0.9 [INFO] [stderr] Downloaded fast_log v1.3.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] e304f2ba5de61405a49eeda922aa370fee249bb08bc8e4b395fff72eb333f86f [INFO] running `Command { std: "docker" "start" "-a" "e304f2ba5de61405a49eeda922aa370fee249bb08bc8e4b395fff72eb333f86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e304f2ba5de61405a49eeda922aa370fee249bb08bc8e4b395fff72eb333f86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e304f2ba5de61405a49eeda922aa370fee249bb08bc8e4b395fff72eb333f86f", kill_on_drop: false }` [INFO] [stdout] e304f2ba5de61405a49eeda922aa370fee249bb08bc8e4b395fff72eb333f86f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4deaf631def650540f53d3ea80bbdfac0a198bc18ce475eb7a833fd9f76bf8c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4deaf631def650540f53d3ea80bbdfac0a198bc18ce475eb7a833fd9f76bf8c2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-queue v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking signal-hook v0.3.9 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-process v1.1.0 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking async-rustls v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking bigdecimal v0.2.0 [INFO] [stderr] Checking rust_decimal v1.14.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking simple_asn1 v0.5.4 [INFO] [stderr] Checking rexpr v1.0.7 [INFO] [stderr] Checking fast_log v1.3.24 [INFO] [stderr] Checking py_sql v1.0.1 [INFO] [stderr] Checking rsa v0.4.1 [INFO] [stderr] Compiling html_parser v0.6.2 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Compiling rbatis_sql_macro v2.0.13 [INFO] [stderr] Compiling rbatis-macro-driver v2.0.9 [INFO] [stderr] Checking rbatis_sql v2.0.13 [INFO] [stderr] Checking rbatis-core v2.0.10 [INFO] [stderr] Checking rbatis v2.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let mut tx = self.tx.as_mut().ok_or_else(|| Error::from("[rbatis] tx is committed"))?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut tx = self.tx.as_mut().ok_or_else(|| Error::from("[rbatis] tx is committed"))?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let mut tx = self.tx.as_mut().ok_or_else(|| Error::from("[rbatis] tx is committed"))?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let mut tx = self.tx.as_mut().ok_or_else(|| Error::from("[rbatis] tx is committed"))?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut tx = self.tx.as_mut().ok_or_else(|| Error::from("[rbatis] tx is committed"))?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let mut tx = self.tx.as_mut().ok_or_else(|| Error::from("[rbatis] tx is committed"))?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*__self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/crud.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 734 | let rb = self [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 737 | self.update_by_wrapper( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] 738 | table, [INFO] [stdout] 739 | &rb [INFO] [stdout] | -- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*__self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/crud.rs:801:16 [INFO] [stdout] | [INFO] [stdout] 800 | let rb = self.get_rbatis(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 801 | return self.fetch_list_by_wrapper(&rb.new_wrapper_table::()) [INFO] [stdout] | ^^^^ -- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*__self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/crud.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 734 | let rb = self [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 737 | self.update_by_wrapper( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] 738 | table, [INFO] [stdout] 739 | &rb [INFO] [stdout] | -- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*__self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/crud.rs:801:16 [INFO] [stdout] | [INFO] [stdout] 800 | let rb = self.get_rbatis(); [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 801 | return self.fetch_list_by_wrapper(&rb.new_wrapper_table::()) [INFO] [stdout] | ^^^^ -- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/log_test.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | plugin.debug("debug", "11"); [INFO] [stdout] | ^^^^^ ------- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/log.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn debug(&self, data: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/log_test.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | plugin.info("info", "11"); [INFO] [stdout] | ^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/log.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn info(&self, data: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/log_test.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | plugin.warn("warn", "11"); [INFO] [stdout] | ^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/log.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn warn(&self, data: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/log_test.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | plugin.error("error", "11"); [INFO] [stdout] | ^^^^^ ------- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/log.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn error(&self, data: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/log_test.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | plugin.info("off", "11"); [INFO] [stdout] | ^^^^ ----- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/log.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn info(&self, data: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/logic_delete_test.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | .create_remove_sql("", &DriverType::Mysql, "test", &table_fields, sql_where) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -- ------------------ ------ ------------- --------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/logic_delete.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_remove_sql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/logic_delete_test.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | .create_remove_sql("", &DriverType::Mysql, "test", &table_fields, sql_where) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -- ------------------ ------ ------------- --------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/logic_delete.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_remove_sql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/logic_delete_test.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .create_remove_sql("", &DriverType::Mysql, "test", &table_fields, sql_where) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -- ------------------ ------ ------------- --------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/logic_delete.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_remove_sql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/logic_delete_test.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let result = r.create_remove_sql("", &DriverType::Mysql, "test", &table_fields, sql_where); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -- ------------------ ------ ------------- --------- supplied 5 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/plugin/logic_delete.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn create_remove_sql( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rbatis` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `IPage` [INFO] [stdout] --> tests/page_test.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use rbatis::plugin::page::{IPage, IPageRequest, Page, RbatisReplacePagePlugin}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> tests/crud_test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/crud_test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> tests/crud_test.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> tests/crud_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `py_sql` [INFO] [stdout] --> tests/py_sql_test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use py_sql::py_sql::PyRuntime; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `py_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rexpr` [INFO] [stdout] --> tests/py_sql_test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use rexpr::runtime::RExprRuntime; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rexpr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/mod.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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exit_and_wait` found for struct `FastLogWaitGroup` in the current scope [INFO] [stdout] --> tests/log_test.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | wg.exit_and_wait(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `FastLogWaitGroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PyRuntime` [INFO] [stdout] --> tests/py_sql_test.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let py_runtime = PyRuntime::new(vec![]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PyRuntime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RExprRuntime` [INFO] [stdout] --> tests/py_sql_test.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let engine = RExprRuntime::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RExprRuntime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PyRuntime` [INFO] [stdout] --> tests/py_sql_test.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | let py_runtime = PyRuntime::new(vec![]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PyRuntime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RExprRuntime` [INFO] [stdout] --> tests/py_sql_test.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let engine = RExprRuntime::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RExprRuntime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crud_test.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let r = rb.save( &activity).await; [INFO] [stdout] | ^^^^ --------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/crud.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | async fn save(&self, table: &T, skips: &[Skip]) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crud_test.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let r = rb.save_batch( &args).await; [INFO] [stdout] | ^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/crud.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | async fn save_batch(&self, tables: &[T], skips: &[Skip]) -> Result [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/crud_test.rs:196:61 [INFO] [stdout] | [INFO] [stdout] 196 | let r = rb.update_by_wrapper(&mut activity, &w, false).await; [INFO] [stdout] | ^^^^^ expected reference, found `bool` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[rbatis::crud::Skip<'_>]` [INFO] [stdout] found type `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CRUDMut` [INFO] [stdout] --> tests/crud_test.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use rbatis::crud::{CRUDTable, CRUDMut, CRUD, Fields}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4deaf631def650540f53d3ea80bbdfac0a198bc18ce475eb7a833fd9f76bf8c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4deaf631def650540f53d3ea80bbdfac0a198bc18ce475eb7a833fd9f76bf8c2", kill_on_drop: false }` [INFO] [stdout] 4deaf631def650540f53d3ea80bbdfac0a198bc18ce475eb7a833fd9f76bf8c2