[INFO] cloning repository https://github.com/bytefall/lotus3-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bytefall/lotus3-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytefall%2Flotus3-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytefall%2Flotus3-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 20fdcaa6c11e6c40193d9b72e46e4207bd81ea46
[INFO] checking bytefall/lotus3-rs against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytefall%2Flotus3-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/bytefall/lotus3-rs
[INFO] finished tweaking git repo https://github.com/bytefall/lotus3-rs
[INFO] tweaked toml for git repo https://github.com/bytefall/lotus3-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bytefall/lotus3-rs on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bytefall/lotus3-rs 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded heapless v0.9.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ba022c163e24cfb6a58e6ec68ea726e467cb87199a9662f0ece7fe4518b01bc
[INFO] running `Command { std: "docker" "start" "-a" "4ba022c163e24cfb6a58e6ec68ea726e467cb87199a9662f0ece7fe4518b01bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ba022c163e24cfb6a58e6ec68ea726e467cb87199a9662f0ece7fe4518b01bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ba022c163e24cfb6a58e6ec68ea726e467cb87199a9662f0ece7fe4518b01bc", kill_on_drop: false }`
[INFO] [stdout] 4ba022c163e24cfb6a58e6ec68ea726e467cb87199a9662f0ece7fe4518b01bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02cfb82b2d5f8e80538b3af1362436a8e679c847e6b063531a4e6bf7100e87fe
[INFO] running `Command { std: "docker" "start" "-a" "02cfb82b2d5f8e80538b3af1362436a8e679c847e6b063531a4e6bf7100e87fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling heapless v0.9.2
[INFO] [stderr]    Compiling lotus3-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stdout] warning: unused imports: `config::CFG`, `menu::main_menu`, `protection::protection_screen`, `set_data_seg`, and `timer::prepare_task_context`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     config::CFG,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     data::{SCREEN_HEIGHT, SCREEN_WIDTH, VERSION_STR, WORD_63BC, WORD_5160, WORD_5162, WORD_5164},
[INFO] [stdout] 15 |     dos::{exit, get_data_seg, printf, set_data_seg, sub_db28},
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     menu::main_menu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     protection::protection_screen,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     timer::prepare_task_context,
[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 import: `BmpItem`
[INFO] [stdout]  --> src/bitmap.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     chars::{BmpItem, BmpVec},
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec`
[INFO] [stdout]  --> src/data.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use alloc::{vec, vec::Vec};
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `arch::asm` and `slice`
[INFO] [stdout]  --> src/hud.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{arch::asm, ptr, slice};
[INFO] [stdout]   |            ^^^^^^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `magazine::show_magazine`
[INFO] [stdout]  --> src/intro.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     magazine::show_magazine,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `arch::asm`
[INFO] [stdout]  --> src/magazine.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{arch::asm, ptr};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_data_seg` and `set_data_seg`
[INFO] [stdout]  --> src/magazine.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |     dos::{cli, get_data_seg, set_data_seg, sti},
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot use register `bx`: rbx is used internally by LLVM and cannot be used as an operand for inline asm
[INFO] [stdout]   --> src/archive.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         in("bx") ARC_FILE_HANDLE,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `config::CFG`, `menu::main_menu`, `protection::protection_screen`, `set_data_seg`, and `timer::prepare_task_context`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     config::CFG,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |     data::{SCREEN_HEIGHT, SCREEN_WIDTH, VERSION_STR, WORD_63BC, WORD_5160, WORD_5162, WORD_5164},
[INFO] [stdout] 15 |     dos::{exit, get_data_seg, printf, set_data_seg, sub_db28},
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     menu::main_menu,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     protection::protection_screen,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     timer::prepare_task_context,
[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 import: `BmpItem`
[INFO] [stdout]  --> src/bitmap.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 |     chars::{BmpItem, BmpVec},
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec`
[INFO] [stdout]  --> src/data.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use alloc::{vec, vec::Vec};
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `arch::asm` and `slice`
[INFO] [stdout]  --> src/hud.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{arch::asm, ptr, slice};
[INFO] [stdout]   |            ^^^^^^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `magazine::show_magazine`
[INFO] [stdout]  --> src/intro.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     magazine::show_magazine,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `arch::asm`
[INFO] [stdout]  --> src/magazine.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{arch::asm, ptr};
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_data_seg` and `set_data_seg`
[INFO] [stdout]  --> src/magazine.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |     dos::{cli, get_data_seg, set_data_seg, sti},
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 75 | |     unsafe {
[INFO] [stdout] 76 | |         sub_d396();
[INFO] [stdout] 77 | |         println!("{}", info);
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4de43f65d1ac696e.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`lotus3_rs`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lotus3-rs` (bin "lotus3-rs" test) due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]    --> src/dos.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 |         "mov {}, es:[{}]",
[INFO] [stdout]     |              ^^
[INFO] [stdout] 118 |         in(reg) SEGMENT,
[INFO] [stdout] 119 |         out(reg) v,
[INFO] [stdout]     |                  - for this argument
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `{1:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]     = help: or use `{1:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout]     = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]    --> src/dos.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |         "mov es:[{}], {}",
[INFO] [stdout]     |                       ^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |         in(reg) v,
[INFO] [stdout]     |                 - for this argument
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `{2:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]     = help: or use `{2:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot use register `bx`: rbx is used internally by LLVM and cannot be used as an operand for inline asm
[INFO] [stdout]    --> src/dos.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 |         in("bx") file_handle,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot use register `bx`: rbx is used internally by LLVM and cannot be used as an operand for inline asm
[INFO] [stdout]    --> src/dos.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |             in("bx") file_handle,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cf`
[INFO] [stdout]    --> src/crc.rs:124:15
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let (val, cf) = val.overflowing_add(0x44F0_2127 + cf as u32);
[INFO] [stdout]     |               ^^ help: if this is intentional, prefix it with an underscore: `_cf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cf`
[INFO] [stdout]    --> src/crc.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let (val, cf) = val.overflowing_add(0xF029_3747 + cf as u32);
[INFO] [stdout]     |               ^^ help: if this is intentional, prefix it with an underscore: `_cf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `font5`
[INFO] [stdout]   --> src/menu.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let [font3, font4, font5] = chr_load_and_prepare_few(&[3, 4, 5]);
[INFO] [stdout]    |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_font5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bl`
[INFO] [stdout]   --> src/menu.rs:93:22
[INFO] [stdout]    |
[INFO] [stdout] 93 |             let (ax, bl) = sub_575c();
[INFO] [stdout]    |                      ^^ help: if this is intentional, prefix it with an underscore: `_bl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dh` is assigned to, but never used
[INFO] [stdout]    --> src/prepare.rs:388:9
[INFO] [stdout]     |
[INFO] [stdout] 388 |     let mut dh = 0;
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_dh` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dh` is never read
[INFO] [stdout]    --> src/prepare.rs:457:13
[INFO] [stdout]     |
[INFO] [stdout] 457 |             dh = al;
[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: value assigned to `cx` is never read
[INFO] [stdout]    --> src/prepare.rs:527:22
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let mut cx = 1;
[INFO] [stdout]     |                      ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 539 |             cx = ARR_24D4[di + ax as usize / 2];
[INFO] [stdout]     |             ----------------------------------- `cx` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lotus3-rs` (bin "lotus3-rs") due to 3 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "02cfb82b2d5f8e80538b3af1362436a8e679c847e6b063531a4e6bf7100e87fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02cfb82b2d5f8e80538b3af1362436a8e679c847e6b063531a4e6bf7100e87fe", kill_on_drop: false }`
[INFO] [stdout] 02cfb82b2d5f8e80538b3af1362436a8e679c847e6b063531a4e6bf7100e87fe
