[INFO] fetching crate mybatis-sql 2.0.1... [INFO] testing mybatis-sql-2.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mybatis-sql 2.0.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mybatis-sql 2.0.1 [INFO] finished tweaking crates.io crate mybatis-sql 2.0.1 [INFO] tweaked toml for crates.io crate mybatis-sql 2.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mybatis-sql 2.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 271 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96be5c6f9802433647e81be375a37167b03fef2c9a29e7ee259b6f3a56123ded [INFO] running `Command { std: "docker" "start" "-a" "96be5c6f9802433647e81be375a37167b03fef2c9a29e7ee259b6f3a56123ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96be5c6f9802433647e81be375a37167b03fef2c9a29e7ee259b6f3a56123ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96be5c6f9802433647e81be375a37167b03fef2c9a29e7ee259b6f3a56123ded", kill_on_drop: false }` [INFO] [stdout] 96be5c6f9802433647e81be375a37167b03fef2c9a29e7ee259b6f3a56123ded [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4c6f16b082dc991d5dde73b88d3f6c24aa8b3e5ccdb10d301cad066671d544b [INFO] running `Command { std: "docker" "start" "-a" "d4c6f16b082dc991d5dde73b88d3f6c24aa8b3e5ccdb10d301cad066671d544b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rbson v2.0.5 [INFO] [stderr] Compiling html_parser v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ipnetwork v0.19.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling mybatis-macro v2.0.3 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling mybatis-core v2.0.1 [INFO] [stderr] Compiling mybatis-sql v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `upper_case_sql_keyword` [INFO] [stdout] --> src/template.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | if cfg!(feature = "upper_case_sql_keyword") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / gen_template!({ [INFO] [stdout] 59 | | r#where: "where", [INFO] [stdout] 60 | | and: "and", [INFO] [stdout] 61 | | or: "or", [INFO] [stdout] ... | [INFO] [stdout] 84 | | rows_only: "rows only", [INFO] [stdout] 85 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_mode` and `default` [INFO] [stdout] = help: consider adding `upper_case_sql_keyword` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ops_add.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `item` is never read [INFO] [stdout] --> src/string_util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut item = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ops_xor.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ops_xor.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ops_xor.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ops_xor.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eq_u64` is never used [INFO] [stdout] --> src/ops_eq.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn eq_u64(value: &Value, other: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_mul_u32` is never used [INFO] [stdout] --> src/ops_mul.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_mul_u32(value: &Value, other: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_mul_i32` is never used [INFO] [stdout] --> src/ops_mul.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn op_mul_i32(value: &Value, other: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_bitxor_u64` is never used [INFO] [stdout] --> src/ops_xor.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn op_bitxor_u64(value: &Value, other: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_bitxor_u64_value` is never used [INFO] [stdout] --> src/ops_xor.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn op_bitxor_u64_value(value: &Value, other: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "d4c6f16b082dc991d5dde73b88d3f6c24aa8b3e5ccdb10d301cad066671d544b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c6f16b082dc991d5dde73b88d3f6c24aa8b3e5ccdb10d301cad066671d544b", kill_on_drop: false }` [INFO] [stdout] d4c6f16b082dc991d5dde73b88d3f6c24aa8b3e5ccdb10d301cad066671d544b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f71610331c947facfedc389db026180db5d9f39b76adb196741ef778687bdb [INFO] running `Command { std: "docker" "start" "-a" "c7f71610331c947facfedc389db026180db5d9f39b76adb196741ef778687bdb", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `upper_case_sql_keyword` [INFO] [stdout] --> src/template.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | if cfg!(feature = "upper_case_sql_keyword") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / gen_template!({ [INFO] [stdout] 59 | | r#where: "where", [INFO] [stdout] 60 | | and: "and", [INFO] [stdout] 61 | | or: "or", [INFO] [stdout] ... | [INFO] [stdout] 84 | | rows_only: "rows only", [INFO] [stdout] 85 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_mode` and `default` [INFO] [stdout] = help: consider adding `upper_case_sql_keyword` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ops_add.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `item` is never read [INFO] [stdout] --> src/string_util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut item = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ops_xor.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mybatis-sql v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ops_xor.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ops_xor.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ops_xor.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eq_u64` is never used [INFO] [stdout] --> src/ops_eq.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn eq_u64(value: &Value, other: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_mul_u32` is never used [INFO] [stdout] --> src/ops_mul.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_mul_u32(value: &Value, other: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_mul_i32` is never used [INFO] [stdout] --> src/ops_mul.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn op_mul_i32(value: &Value, other: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_bitxor_u64` is never used [INFO] [stdout] --> src/ops_xor.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn op_bitxor_u64(value: &Value, other: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_bitxor_u64_value` is never used [INFO] [stdout] --> src/ops_xor.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn op_bitxor_u64_value(value: &Value, other: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `upper_case_sql_keyword` [INFO] [stdout] --> src/template.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | if cfg!(feature = "upper_case_sql_keyword") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | / gen_template!({ [INFO] [stdout] 59 | | r#where: "where", [INFO] [stdout] 60 | | and: "and", [INFO] [stdout] 61 | | or: "or", [INFO] [stdout] ... | [INFO] [stdout] 84 | | rows_only: "rows only", [INFO] [stdout] 85 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug_mode` and `default` [INFO] [stdout] = help: consider adding `upper_case_sql_keyword` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ops_add.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `item` is never read [INFO] [stdout] --> src/string_util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut item = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ops_xor.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | Value::Double(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/ops_xor.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ops_xor.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ops_xor.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ops_xor.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ops_xor.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eq_u64` is never used [INFO] [stdout] --> src/ops_eq.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn eq_u64(value: &Value, other: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_mul_u32` is never used [INFO] [stdout] --> src/ops_mul.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn op_mul_u32(value: &Value, other: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_mul_i32` is never used [INFO] [stdout] --> src/ops_mul.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn op_mul_i32(value: &Value, other: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_bitxor_u64` is never used [INFO] [stdout] --> src/ops_xor.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn op_bitxor_u64(value: &Value, other: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `op_bitxor_u64_value` is never used [INFO] [stdout] --> src/ops_xor.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn op_bitxor_u64_value(value: &Value, other: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c7f71610331c947facfedc389db026180db5d9f39b76adb196741ef778687bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f71610331c947facfedc389db026180db5d9f39b76adb196741ef778687bdb", kill_on_drop: false }` [INFO] [stdout] c7f71610331c947facfedc389db026180db5d9f39b76adb196741ef778687bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22ccc6be30cd9a118e2f52cda7403f9e25f8c25bf51e86caa0916a04106e5880 [INFO] running `Command { std: "docker" "start" "-a" "22ccc6be30cd9a118e2f52cda7403f9e25f8c25bf51e86caa0916a04106e5880", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `upper_case_sql_keyword` [INFO] [stderr] --> src/template.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | if cfg!(feature = "upper_case_sql_keyword") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | / gen_template!({ [INFO] [stderr] 59 | | r#where: "where", [INFO] [stderr] 60 | | and: "and", [INFO] [stderr] 61 | | or: "or", [INFO] [stderr] ... | [INFO] [stderr] 84 | | rows_only: "rows only", [INFO] [stderr] 85 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `debug_mode` and `default` [INFO] [stderr] = help: consider adding `upper_case_sql_keyword` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `gen_template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/ops_add.rs:235:5 [INFO] [stderr] | [INFO] [stderr] 235 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `item` is never read [INFO] [stderr] --> src/string_util.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | let mut item = String::new(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ops_xor.rs:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | Value::Double(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/ops_xor.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ops_xor.rs:57:27 [INFO] [stderr] | [INFO] [stderr] 57 | Value::Double(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/ops_xor.rs:58:21 [INFO] [stderr] | [INFO] [stderr] 58 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ops_xor.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | Value::Double(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/ops_xor.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ops_xor.rs:119:27 [INFO] [stderr] | [INFO] [stderr] 119 | Value::Double(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/ops_xor.rs:120:21 [INFO] [stderr] | [INFO] [stderr] 120 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ops_xor.rs:150:27 [INFO] [stderr] | [INFO] [stderr] 150 | Value::Double(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/ops_xor.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ops_xor.rs:181:27 [INFO] [stderr] | [INFO] [stderr] 181 | Value::Double(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rhs` [INFO] [stderr] --> src/ops_xor.rs:182:21 [INFO] [stderr] | [INFO] [stderr] 182 | let rhs = rhs.as_f64().unwrap_or_default(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/ops_xor.rs:200:18 [INFO] [stderr] | [INFO] [stderr] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/ops_xor.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | fn op_bitxor_f64(value: &Value, other: f64) -> f64 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/ops_xor.rs:212:24 [INFO] [stderr] | [INFO] [stderr] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/ops_xor.rs:212:39 [INFO] [stderr] | [INFO] [stderr] 212 | fn op_bitxor_f64_value(value: &Value, other: f64) -> f64 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: function `eq_u64` is never used [INFO] [stderr] --> src/ops_eq.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | fn eq_u64(value: &Value, other: u64) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `op_mul_u32` is never used [INFO] [stderr] --> src/ops_mul.rs:191:4 [INFO] [stderr] | [INFO] [stderr] 191 | fn op_mul_u32(value: &Value, other: u32) -> u32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `op_mul_i32` is never used [INFO] [stderr] --> src/ops_mul.rs:199:4 [INFO] [stderr] | [INFO] [stderr] 199 | fn op_mul_i32(value: &Value, other: i32) -> i32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `op_bitxor_u64` is never used [INFO] [stderr] --> src/ops_xor.rs:192:4 [INFO] [stderr] | [INFO] [stderr] 192 | fn op_bitxor_u64(value: &Value, other: u64) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `op_bitxor_u64_value` is never used [INFO] [stderr] --> src/ops_xor.rs:204:4 [INFO] [stderr] | [INFO] [stderr] 204 | fn op_bitxor_u64_value(value: &Value, other: u64) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mybatis-sql` (lib) generated 24 warnings (run `cargo fix --lib -p mybatis-sql` to apply 1 suggestion) [INFO] [stderr] warning: `mybatis-sql` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mybatis_sql-91423b4531ad4d59) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test ops::test::test_cast ... ok [INFO] [stdout] test ops::test::test_string ... ok [INFO] [stdout] test limit::test_create_limit ... ok [INFO] [stdout] test template::test_gen ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mybatis_sql [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/ops.rs - ops::BitOr::op_bitor (line 500) ... ok [INFO] [stdout] test src/ops.rs - ops::Mul::op_mul (line 419) ... ok [INFO] [stdout] test src/ops.rs - ops::PartialOrd::op_ge (line 363) ... ok [INFO] [stdout] test src/ops.rs - ops::Not::op_not (line 464) ... ok [INFO] [stdout] test src/ops.rs - ops::BitXor::op_bitxor (line 518) ... ok [INFO] [stdout] test src/ops.rs - ops::BitAnd::op_bitand (line 482) ... ok [INFO] [stdout] test src/ops.rs - ops::Add::op_add (line 388) ... ok [INFO] [stdout] test src/ops.rs - ops::PartialOrd::op_gt (line 345) ... ok [INFO] [stdout] test src/ops.rs - ops::PartialOrd::op_lt (line 303) ... ok [INFO] [stdout] test src/ops.rs - ops::Rem::op_rem (line 449) ... ok [INFO] [stdout] test src/ops.rs - ops::Div::op_div (line 434) ... ok [INFO] [stdout] test src/ops.rs - ops::PartialOrd::op_le (line 322) ... ok [INFO] [stdout] test src/ops.rs - ops::Sub::op_sub (line 404) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22ccc6be30cd9a118e2f52cda7403f9e25f8c25bf51e86caa0916a04106e5880", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ccc6be30cd9a118e2f52cda7403f9e25f8c25bf51e86caa0916a04106e5880", kill_on_drop: false }` [INFO] [stdout] 22ccc6be30cd9a118e2f52cda7403f9e25f8c25bf51e86caa0916a04106e5880