[INFO] cloning repository https://github.com/AlpinYukseloglu/orderbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlpinYukseloglu/orderbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlpinYukseloglu%2Forderbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlpinYukseloglu%2Forderbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ee82bab4182f35ee7fd946379fd69db3617c1cd [INFO] checking AlpinYukseloglu/orderbook/9ee82bab4182f35ee7fd946379fd69db3617c1cd against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlpinYukseloglu%2Forderbook" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlpinYukseloglu/orderbook on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlpinYukseloglu/orderbook [INFO] finished tweaking git repo https://github.com/AlpinYukseloglu/orderbook [INFO] tweaked toml for git repo https://github.com/AlpinYukseloglu/orderbook written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AlpinYukseloglu/orderbook 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea4150281f571043d58ebb94b30a56041c1d65365a087bf75d49213d04bd2018 [INFO] running `Command { std: "docker" "start" "-a" "ea4150281f571043d58ebb94b30a56041c1d65365a087bf75d49213d04bd2018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea4150281f571043d58ebb94b30a56041c1d65365a087bf75d49213d04bd2018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea4150281f571043d58ebb94b30a56041c1d65365a087bf75d49213d04bd2018", kill_on_drop: false }` [INFO] [stdout] ea4150281f571043d58ebb94b30a56041c1d65365a087bf75d49213d04bd2018 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0fcb5239ac965ccd78da3b5fd6b1254d4687e1153e42c54f8980f49de560f3a [INFO] running `Command { std: "docker" "start" "-a" "e0fcb5239ac965ccd78da3b5fd6b1254d4687e1153e42c54f8980f49de560f3a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking ratatui v0.21.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking orderbook v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ui/handler.rs (4 fixes) [INFO] [stderr] Fixed src/book/orderbook.rs (2 fixes) [INFO] [stderr] Fixed src/ui/ui.rs (2 fixes) [INFO] [stderr] Fixed src/book/tick.rs (1 fix) [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Spans, Span}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Spans, Span}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | let balances_text = vec![Spans::from(usd_balance_span), Spans::from(osmo_balance_span)]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:74:61 [INFO] [stdout] | [INFO] [stdout] 74 | let balances_text = vec![Spans::from(usd_balance_span), Spans::from(osmo_balance_span)]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | .collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Spans::from(Span::styled( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let input_text = Spans::from(Span::styled( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `remaining_quantity` is never read [INFO] [stdout] --> src/book/order.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut remaining_quantity = fill_quantity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/book/orderbook.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | fn cancel_order(&mut self, order_id: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `account_id` and `account_type` are never read [INFO] [stdout] --> src/bank/account.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 13 | account_id: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | balances: HashMap, [INFO] [stdout] 15 | account_type: AccountType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `book_id` and `cancellation_map` are never read [INFO] [stdout] --> src/book/orderbook.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Orderbook { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | book_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | cancellation_map: HashMap, [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] [INFO] [stdout] [INFO] [stdout] warning: method `cancel_order` is never used [INFO] [stdout] --> src/book/orderbook.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Orderbook { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | fn cancel_order(&mut self, order_id: u64) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/orderbook.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | Rc::new(RefCell::new(Account::new(i, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/orderbook.rs:258:54 [INFO] [stdout] | [INFO] [stdout] 258 | Rc::new(RefCell::new(Account::new(i, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `process` [INFO] [stdout] --> src/book/orderbook.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | process::exit(1); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `process` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 244 + use std::process; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/orderbook.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/orderbook.rs:302:50 [INFO] [stdout] | [INFO] [stdout] 302 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/orderbook.rs:349:40 [INFO] [stdout] | [INFO] [stdout] 349 | let acc = Rc::new(RefCell::new(Account::new(0, AccountType::Individual))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/orderbook.rs:349:56 [INFO] [stdout] | [INFO] [stdout] 349 | let acc = Rc::new(RefCell::new(Account::new(0, AccountType::Individual))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/orderbook.rs:404:34 [INFO] [stdout] | [INFO] [stdout] 404 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/orderbook.rs:404:50 [INFO] [stdout] | [INFO] [stdout] 404 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/orderbook.rs:453:34 [INFO] [stdout] | [INFO] [stdout] 453 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/orderbook.rs:453:50 [INFO] [stdout] | [INFO] [stdout] 453 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 244 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/tick.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | Rc::new(RefCell::new(Account::new(i, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 57 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/tick.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | Rc::new(RefCell::new(Account::new(i, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 57 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/tick.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 57 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/tick.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 57 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Account` [INFO] [stdout] --> src/book/tick.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Account` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 57 + use crate::bank::account::Account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountType` [INFO] [stdout] --> src/book/tick.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 131 | Rc::new(RefCell::new(Account::new(0, AccountType::Individual))), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AccountType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 57 + use crate::bank::account::AccountType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `book::order` [INFO] [stdout] --> src/book/orderbook.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | use crate::{bank::currency::Currency, book::order}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Spans, Span}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | text::{Spans, Span}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | let balances_text = vec![Spans::from(usd_balance_span), Spans::from(osmo_balance_span)]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:74:61 [INFO] [stdout] | [INFO] [stdout] 74 | let balances_text = vec![Spans::from(usd_balance_span), Spans::from(osmo_balance_span)]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | .collect::>(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Spans::from(Span::styled( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `ratatui::text::Spans`: Use `ratatui::text::Line` instead [INFO] [stdout] --> src/ui/ui.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let input_text = Spans::from(Span::styled( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `remaining_quantity` is never read [INFO] [stdout] --> src/book/order.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut remaining_quantity = fill_quantity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/book/orderbook.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | fn cancel_order(&mut self, order_id: u64) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orderbook` (lib test) due to 18 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e0fcb5239ac965ccd78da3b5fd6b1254d4687e1153e42c54f8980f49de560f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0fcb5239ac965ccd78da3b5fd6b1254d4687e1153e42c54f8980f49de560f3a", kill_on_drop: false }` [INFO] [stdout] e0fcb5239ac965ccd78da3b5fd6b1254d4687e1153e42c54f8980f49de560f3a