[INFO] cloning repository https://github.com/AlphaGodzilla/loom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlphaGodzilla/loom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2Floom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2Floom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2c65987b5f5e3ac9598a06adc0ba3201f4eeb69 [INFO] building AlphaGodzilla/loom against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2Floom" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlphaGodzilla/loom [INFO] finished tweaking git repo https://github.com/AlphaGodzilla/loom [INFO] tweaked toml for git repo https://github.com/AlphaGodzilla/loom written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlphaGodzilla/loom on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlphaGodzilla/loom already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 059863159ed858651a4faca40ab61d1c43e26898c77df77f072a5901f73f2589 [INFO] running `Command { std: "docker" "start" "-a" "059863159ed858651a4faca40ab61d1c43e26898c77df77f072a5901f73f2589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "059863159ed858651a4faca40ab61d1c43e26898c77df77f072a5901f73f2589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059863159ed858651a4faca40ab61d1c43e26898c77df77f072a5901f73f2589", kill_on_drop: false }` [INFO] [stdout] 059863159ed858651a4faca40ab61d1c43e26898c77df77f072a5901f73f2589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 555678f47658134d6cbffe8c12889f3fbc47b2352fea30fff8ef64ef36a6ae52 [INFO] running `Command { std: "docker" "start" "-a" "555678f47658134d6cbffe8c12889f3fbc47b2352fea30fff8ef64ef36a6ae52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling bb8 v0.8.3 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling loom_core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling validator v0.15.0 [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> crates/core/src/market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PARTIAL_FILLED` should have an upper camel case name [INFO] [stdout] --> crates/core/src/order.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | PARTIAL_FILLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartialFilled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PARTIAL_CANCELLED` should have an upper camel case name [INFO] [stdout] --> crates/core/src/order.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | PARTIAL_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartialCancelled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FULL_FILLED` should have an upper camel case name [INFO] [stdout] --> crates/core/src/order.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | FULL_FILLED, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FullFilled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> crates/core/src/book.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | /// 交易对 [INFO] [stdout] 11 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling redis v0.25.3 [INFO] [stderr] Compiling bb8-redis v0.15.0 [INFO] [stderr] Compiling loom_engine v0.1.0 (/opt/rustwide/workdir/crates/engine) [INFO] [stdout] warning: unused import: `redis::ConnectionLike` [INFO] [stdout] --> crates/engine/src/cache.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use redis::ConnectionLike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> crates/engine/src/cache.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | / /// 脚本参数描述 [INFO] [stdout] 167 | | /// KEYS [INFO] [stdout] 168 | | /// 1. trades_key [INFO] [stdout] 169 | | /// ARGV: [INFO] [stdout] 170 | | /// 1.OrderUpdates: [{...}] [INFO] [stdout] 171 | | /// 2. trades [INFO] [stdout] | |_____________________^ [INFO] [stdout] 172 | / let script = redis::Script::new(r" [INFO] [stdout] 173 | | local function update_order(oid_key, order_key, oid, acc_fill_qty, state, ts, del_flag) [INFO] [stdout] 174 | | local exist = redis.call('EXISTS', order_key); [INFO] [stdout] 175 | | if exist == 1 then [INFO] [stdout] ... | [INFO] [stdout] 219 | | redis.call('XADD', trades_key, 'MAXLEN', '~', '1000', '*', 'trades', ARGV[2]); [INFO] [stdout] 220 | | "); [INFO] [stdout] | |___________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/engine/src/cache.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub async fn del(&self, order_ref: &Order) -> anyhow::Result<()> { [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/engine/src/cache.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | .query_async(&mut conn.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 89 | .query_async::<_, ()>(&mut conn.to_owned()) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/engine/src/cache.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn offer_trades(&self, trades: Vec) -> anyhow::Result<()> { [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/engine/src/cache.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | .invoke_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 230 | .invoke_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loom v0.1.0 (/opt/rustwide/workdir/crates/loom) [INFO] [stdout] warning: unused import: `loom_core::market` [INFO] [stdout] --> crates/loom/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use loom_core::market; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: loom_engine v0.1.0 (/opt/rustwide/workdir/crates/engine), redis v0.25.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "555678f47658134d6cbffe8c12889f3fbc47b2352fea30fff8ef64ef36a6ae52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555678f47658134d6cbffe8c12889f3fbc47b2352fea30fff8ef64ef36a6ae52", kill_on_drop: false }` [INFO] [stdout] 555678f47658134d6cbffe8c12889f3fbc47b2352fea30fff8ef64ef36a6ae52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8987f1c5d376d4e43e2b40e1dd09176e653f0602f37d15cf1f22407ab4bdc4cf [INFO] running `Command { std: "docker" "start" "-a" "8987f1c5d376d4e43e2b40e1dd09176e653f0602f37d15cf1f22407ab4bdc4cf", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> crates/core/src/market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PARTIAL_FILLED` should have an upper camel case name [INFO] [stdout] --> crates/core/src/order.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | PARTIAL_FILLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartialFilled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PARTIAL_CANCELLED` should have an upper camel case name [INFO] [stdout] --> crates/core/src/order.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | PARTIAL_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PartialCancelled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FULL_FILLED` should have an upper camel case name [INFO] [stdout] --> crates/core/src/order.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | FULL_FILLED, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FullFilled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> crates/core/src/book.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | /// 交易对 [INFO] [stdout] 11 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::ConnectionLike` [INFO] [stdout] --> crates/engine/src/cache.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use redis::ConnectionLike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> crates/engine/src/cache.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | / /// 脚本参数描述 [INFO] [stdout] 167 | | /// KEYS [INFO] [stdout] 168 | | /// 1. trades_key [INFO] [stdout] 169 | | /// ARGV: [INFO] [stdout] 170 | | /// 1.OrderUpdates: [{...}] [INFO] [stdout] 171 | | /// 2. trades [INFO] [stdout] | |_____________________^ [INFO] [stdout] 172 | / let script = redis::Script::new(r" [INFO] [stdout] 173 | | local function update_order(oid_key, order_key, oid, acc_fill_qty, state, ts, del_flag) [INFO] [stdout] 174 | | local exist = redis.call('EXISTS', order_key); [INFO] [stdout] 175 | | if exist == 1 then [INFO] [stdout] ... | [INFO] [stdout] 219 | | redis.call('XADD', trades_key, 'MAXLEN', '~', '1000', '*', 'trades', ARGV[2]); [INFO] [stdout] 220 | | "); [INFO] [stdout] | |___________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/engine/src/cache.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub async fn del(&self, order_ref: &Order) -> anyhow::Result<()> { [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/engine/src/cache.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | .query_async(&mut conn.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 89 | .query_async::<_, ()>(&mut conn.to_owned()) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> crates/engine/src/cache.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn offer_trades(&self, trades: Vec) -> anyhow::Result<()> { [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> crates/engine/src/cache.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | .invoke_async(&mut conn) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 230 | .invoke_async::<_, ()>(&mut conn) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loom v0.1.0 (/opt/rustwide/workdir/crates/loom) [INFO] [stdout] warning: unused import: `loom_core::market` [INFO] [stdout] --> crates/loom/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use loom_core::market; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: loom_engine v0.1.0 (/opt/rustwide/workdir/crates/engine), redis v0.25.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8987f1c5d376d4e43e2b40e1dd09176e653f0602f37d15cf1f22407ab4bdc4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8987f1c5d376d4e43e2b40e1dd09176e653f0602f37d15cf1f22407ab4bdc4cf", kill_on_drop: false }` [INFO] [stdout] 8987f1c5d376d4e43e2b40e1dd09176e653f0602f37d15cf1f22407ab4bdc4cf