[INFO] fetching crate tsudoku 0.25.0... [INFO] checking tsudoku-0.25.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tsudoku 0.25.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate tsudoku 0.25.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tsudoku 0.25.0 [INFO] finished tweaking crates.io crate tsudoku 0.25.0 [INFO] tweaked toml for crates.io crate tsudoku 0.25.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate tsudoku 0.25.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 530c828a1d066c7896f36987af84e2b914c52d110cf8d0340a457a535fcc474e [INFO] running `Command { std: "docker" "start" "-a" "530c828a1d066c7896f36987af84e2b914c52d110cf8d0340a457a535fcc474e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530c828a1d066c7896f36987af84e2b914c52d110cf8d0340a457a535fcc474e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530c828a1d066c7896f36987af84e2b914c52d110cf8d0340a457a535fcc474e", kill_on_drop: false }` [INFO] [stdout] 530c828a1d066c7896f36987af84e2b914c52d110cf8d0340a457a535fcc474e [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1199bc9e567e5c9c64e8f9a4b60313e54aa3b308977f1e64704bb39f71164173 [INFO] running `Command { std: "docker" "start" "-a" "1199bc9e567e5c9c64e8f9a4b60313e54aa3b308977f1e64704bb39f71164173", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pancurses v0.17.0 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking tsudoku v0.25.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/menu.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/menu.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/menu.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let mut MANUAL_INTRO: String = String::from("Red numbers are givens provided for you [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/menu.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let mut MANUAL_INTRO: String = String::from("Red numbers are givens provided for you [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/sudoku.rs:469:50 [INFO] [stdout] | [INFO] [stdout] 463 | Some(display::Input::Character('s')) | [INFO] [stdout] | ------------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 469 | Some(display::Input::KeyDown) | Some(display::Input::Character('s')) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/sudoku.rs:469:50 [INFO] [stdout] | [INFO] [stdout] 463 | Some(display::Input::Character('s')) | [INFO] [stdout] | ------------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 469 | Some(display::Input::KeyDown) | Some(display::Input::Character('s')) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SAVED_PUZZLE` [INFO] [stdout] --> src/sudoku.rs:509:33 [INFO] [stdout] | [INFO] [stdout] 509 | fn init_display (&mut self, SAVED_PUZZLE: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SAVED_PUZZLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SAVED_PUZZLE` [INFO] [stdout] --> src/sudoku.rs:509:33 [INFO] [stdout] | [INFO] [stdout] 509 | fn init_display (&mut self, SAVED_PUZZLE: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SAVED_PUZZLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/sudoku.rs:878:26 [INFO] [stdout] | [INFO] [stdout] 878 | fn set_value (&self, value: Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/sudoku.rs:878:26 [INFO] [stdout] | [INFO] [stdout] 878 | fn set_value (&self, value: Option) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InGameMenuOption` is more private than the item `MenuOption::IN_GAME_MENU::0` [INFO] [stdout] --> src/menu.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | IN_GAME_MENU(InGameMenuOption), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `MenuOption::IN_GAME_MENU::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `InGameMenuOption` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/menu.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | enum InGameMenuOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InGameMenuOption` is more private than the item `MenuOption::IN_GAME_MENU::0` [INFO] [stdout] --> src/menu.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | IN_GAME_MENU(InGameMenuOption), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `MenuOption::IN_GAME_MENU::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `InGameMenuOption` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/menu.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | enum InGameMenuOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/sudoku.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum NEIGHBOR_CELLS { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 44 | TL, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | T, [INFO] [stdout] | ^ [INFO] [stdout] 46 | TR, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | L, [INFO] [stdout] | ^ [INFO] [stdout] 48 | R, [INFO] [stdout] | ^ [INFO] [stdout] 49 | BL, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | B, [INFO] [stdout] | ^ [INFO] [stdout] 51 | BR, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid`, `grid2display_map`, `display2grip_map`, `ORIGIN`, and `offset2actual` are never read [INFO] [stdout] --> src/sudoku.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Sudoku { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | grid: Grid, [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | grid2display_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | display2grip_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | ORIGIN: Cell, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 136 | cursor_pos: Cell, [INFO] [stdout] 137 | offset2actual: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid_map` is never read [INFO] [stdout] --> src/sudoku.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 923 | struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 924 | grid_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `container_type` is never read [INFO] [stdout] --> src/sudoku.rs:1620:5 [INFO] [stdout] | [INFO] [stdout] 1619 | struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 1620 | container_type: CONTAINER, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/sudoku.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | enum NEIGHBOR_CELLS { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 44 | TL, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | T, [INFO] [stdout] | ^ [INFO] [stdout] 46 | TR, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | L, [INFO] [stdout] | ^ [INFO] [stdout] 48 | R, [INFO] [stdout] | ^ [INFO] [stdout] 49 | BL, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | B, [INFO] [stdout] | ^ [INFO] [stdout] 51 | BR, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid`, `grid2display_map`, `display2grip_map`, `ORIGIN`, and `offset2actual` are never read [INFO] [stdout] --> src/sudoku.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Sudoku { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | grid: Grid, [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | grid2display_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | display2grip_map: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | ORIGIN: Cell, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 136 | cursor_pos: Cell, [INFO] [stdout] 137 | offset2actual: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid_map` is never read [INFO] [stdout] --> src/sudoku.rs:924:5 [INFO] [stdout] | [INFO] [stdout] 923 | struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 924 | grid_map: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | if y_max == WINDOW_REQ.y() as i32 && x_max == WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `container_type` is never read [INFO] [stdout] --> src/sudoku.rs:1620:5 [INFO] [stdout] | [INFO] [stdout] 1619 | struct Container { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 1620 | container_type: CONTAINER, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:137:59 [INFO] [stdout] | [INFO] [stdout] 137 | if y_max == WINDOW_REQ.y() as i32 && x_max == WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | while y_max != WINDOW_REQ.y() as i32 || x_max != WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:140:62 [INFO] [stdout] | [INFO] [stdout] 140 | while y_max != WINDOW_REQ.y() as i32 || x_max != WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... WINDOW_REQ.x(), WINDOW_REQ.y()); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:144:61 [INFO] [stdout] | [INFO] [stdout] 144 | ... WINDOW_REQ.x(), WINDOW_REQ.y()); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | if y_max == WINDOW_REQ.y() as i32 && x_max == WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:137:59 [INFO] [stdout] | [INFO] [stdout] 137 | if y_max == WINDOW_REQ.y() as i32 && x_max == WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | while y_max != WINDOW_REQ.y() as i32 || x_max != WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:140:62 [INFO] [stdout] | [INFO] [stdout] 140 | while y_max != WINDOW_REQ.y() as i32 || x_max != WINDOW_REQ.x() as i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... WINDOW_REQ.x(), WINDOW_REQ.y()); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:144:61 [INFO] [stdout] | [INFO] [stdout] 144 | ... WINDOW_REQ.x(), WINDOW_REQ.y()); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.02s [INFO] running `Command { std: "docker" "inspect" "1199bc9e567e5c9c64e8f9a4b60313e54aa3b308977f1e64704bb39f71164173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1199bc9e567e5c9c64e8f9a4b60313e54aa3b308977f1e64704bb39f71164173", kill_on_drop: false }` [INFO] [stdout] 1199bc9e567e5c9c64e8f9a4b60313e54aa3b308977f1e64704bb39f71164173