[INFO] fetching crate tsudoku 2.2.10... [INFO] checking tsudoku-2.2.10 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate tsudoku 2.2.10 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate tsudoku 2.2.10 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tsudoku 2.2.10 [INFO] finished tweaking crates.io crate tsudoku 2.2.10 [INFO] tweaked toml for crates.io crate tsudoku 2.2.10 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate tsudoku 2.2.10 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52683fc3081b7fa006b7c4a20bdd06345b21113d444e6bf6232b1053e094135c [INFO] running `Command { std: "docker" "start" "-a" "52683fc3081b7fa006b7c4a20bdd06345b21113d444e6bf6232b1053e094135c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52683fc3081b7fa006b7c4a20bdd06345b21113d444e6bf6232b1053e094135c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52683fc3081b7fa006b7c4a20bdd06345b21113d444e6bf6232b1053e094135c", kill_on_drop: false }` [INFO] [stdout] 52683fc3081b7fa006b7c4a20bdd06345b21113d444e6bf6232b1053e094135c [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 989efd8ebb5f20e0ca41310c2c2df64eba6c57bfca8a3547d5ae50c9b1e85293 [INFO] running `Command { std: "docker" "start" "-a" "989efd8ebb5f20e0ca41310c2c2df64eba6c57bfca8a3547d5ae50c9b1e85293", 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 pkg-config v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking once_cell v1.19.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] Compiling ncurses v5.101.0 [INFO] [stderr] Checking rand_core v0.6.4 [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 v2.2.10 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `std::iter::Zip, MainMenuOptionIter>` to `std::iter::Zip, MainMenuOptionIter>` [INFO] [stdout] --> src/menu.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | (0..Self::COUNT as u8).zip(Self::iter()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::iter::Zip, DifficultyMenuOptionIter>` to `std::iter::Zip, DifficultyMenuOptionIter>` [INFO] [stdout] --> src/menu.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | (0..Self::COUNT as u8).zip(Self::iter()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::iter::Zip, InGameMenuOptionIter>` to `std::iter::Zip, InGameMenuOptionIter>` [INFO] [stdout] --> src/menu.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | (0..Self::COUNT as u8).zip(Self::iter()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (y_max/2).into(), x_max/2 - msg1.len() as i32/2, msg1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | (y_max/2 + 2).into(), x_max/2 - msg2.len() as i32/2, msg2.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | (y_max/2 + 3).into(), x_max/2 - msg3.len() as i32/2, msg3.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | (y_max/2 + 5).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | (y_max/2 + 6).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 177 | WINDOW.mvprintw((y_max/2 + 5).into(), x_max/2 - msg4.len() as i32 / 2, msg4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:59 [INFO] [stdout] | [INFO] [stdout] 142 | 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:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | 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:145:60 [INFO] [stdout] | [INFO] [stdout] 145 | 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:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | ... 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:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ... 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] [stderr] error: could not compile `tsudoku` (bin "tsudoku") due to 9 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `std::iter::Zip, MainMenuOptionIter>` to `std::iter::Zip, MainMenuOptionIter>` [INFO] [stdout] --> src/menu.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | (0..Self::COUNT as u8).zip(Self::iter()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::iter::Zip, DifficultyMenuOptionIter>` to `std::iter::Zip, DifficultyMenuOptionIter>` [INFO] [stdout] --> src/menu.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | (0..Self::COUNT as u8).zip(Self::iter()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::iter::Zip, InGameMenuOptionIter>` to `std::iter::Zip, InGameMenuOptionIter>` [INFO] [stdout] --> src/menu.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | (0..Self::COUNT as u8).zip(Self::iter()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (y_max/2).into(), x_max/2 - msg1.len() as i32/2, msg1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | (y_max/2 + 2).into(), x_max/2 - msg2.len() as i32/2, msg2.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | (y_max/2 + 3).into(), x_max/2 - msg3.len() as i32/2, msg3.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | (y_max/2 + 5).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | (y_max/2 + 6).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i32` to `i32` [INFO] [stdout] --> src/terminal.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 177 | WINDOW.mvprintw((y_max/2 + 5).into(), x_max/2 - msg4.len() as i32 / 2, msg4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/terminal.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:59 [INFO] [stdout] | [INFO] [stdout] 142 | 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:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | 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:145:60 [INFO] [stdout] | [INFO] [stdout] 145 | 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:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | ... 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:149:61 [INFO] [stdout] | [INFO] [stdout] 149 | ... 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] [stderr] error: could not compile `tsudoku` (bin "tsudoku" test) due to 9 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "989efd8ebb5f20e0ca41310c2c2df64eba6c57bfca8a3547d5ae50c9b1e85293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989efd8ebb5f20e0ca41310c2c2df64eba6c57bfca8a3547d5ae50c9b1e85293", kill_on_drop: false }` [INFO] [stdout] 989efd8ebb5f20e0ca41310c2c2df64eba6c57bfca8a3547d5ae50c9b1e85293