[INFO] cloning repository https://github.com/Gaok1/FALCON-ASM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gaok1/FALCON-ASM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGaok1%2FFALCON-ASM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGaok1%2FFALCON-ASM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f40f7864c4f564c671e334cd2d022b5ab79d1206 [INFO] testing Gaok1/FALCON-ASM against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGaok1%2FFALCON-ASM" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gaok1/FALCON-ASM [INFO] finished tweaking git repo https://github.com/Gaok1/FALCON-ASM [INFO] tweaked toml for git repo https://github.com/Gaok1/FALCON-ASM written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gaok1/FALCON-ASM on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Gaok1/FALCON-ASM 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] [stderr] Downloaded block2 v0.6.1 [INFO] [stderr] Downloaded rfd v0.15.4 [INFO] [stderr] Downloaded objc2-io-surface v0.3.1 [INFO] [stderr] Downloaded pollster v0.4.0 [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded async-io v2.5.0 [INFO] [stderr] Downloaded async-fs v2.1.3 [INFO] [stderr] Downloaded async-channel v2.5.0 [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded litrs v0.4.2 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded event-listener v5.4.1 [INFO] [stderr] Downloaded async-signal v0.2.12 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded zbus v5.9.0 [INFO] [stderr] Downloaded ashpd v0.11.0 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded zvariant v5.6.0 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded wayland-backend v0.3.11 [INFO] [stderr] Downloaded wayland-client v0.31.11 [INFO] [stderr] Downloaded image v0.25.6 [INFO] [stderr] Downloaded objc2-core-graphics v0.3.1 [INFO] [stderr] Downloaded objc2 v0.6.2 [INFO] [stderr] Downloaded arboard v3.6.0 [INFO] [stderr] Downloaded async-broadcast v0.7.2 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded deranged v0.4.0 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded wayland-scanner v0.31.7 [INFO] [stderr] Downloaded futures-lite v2.6.1 [INFO] [stderr] Downloaded wayland-sys v0.31.7 [INFO] [stderr] Downloaded async-executor v1.13.2 [INFO] [stderr] Downloaded wayland-protocols v0.32.9 [INFO] [stderr] Downloaded async-lock v3.4.1 [INFO] [stderr] Downloaded async-trait v0.1.89 [INFO] [stderr] Downloaded zbus_macros v5.9.0 [INFO] [stderr] Downloaded blocking v1.6.2 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded zbus_names v4.2.0 [INFO] [stderr] Downloaded enumflags2_derive v0.7.12 [INFO] [stderr] Downloaded enumflags2 v0.7.12 [INFO] [stderr] Downloaded zvariant_derive v5.6.0 [INFO] [stderr] Downloaded zvariant_utils v3.2.0 [INFO] [stderr] Downloaded polling v3.10.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af02856054e6a4e962ed5ae46192e45d59b3c18f893bea4409a27034c06abf53 [INFO] running `Command { std: "docker" "start" "-a" "af02856054e6a4e962ed5ae46192e45d59b3c18f893bea4409a27034c06abf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af02856054e6a4e962ed5ae46192e45d59b3c18f893bea4409a27034c06abf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af02856054e6a4e962ed5ae46192e45d59b3c18f893bea4409a27034c06abf53", kill_on_drop: false }` [INFO] [stdout] af02856054e6a4e962ed5ae46192e45d59b3c18f893bea4409a27034c06abf53 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207997ce4ee63a506b117c9033578b24afaec96a891abc227087c5a0f5a518a7 [INFO] running `Command { std: "docker" "start" "-a" "207997ce4ee63a506b117c9033578b24afaec96a891abc227087c5a0f5a518a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling async-fs v2.1.3 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling rfd v0.15.4 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling arboard v3.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling zvariant_utils v3.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zvariant_derive v5.6.0 [INFO] [stderr] Compiling zvariant v5.6.0 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.9.0 [INFO] [stderr] Compiling zbus v5.9.0 [INFO] [stderr] Compiling ashpd v0.11.0 [INFO] [stderr] Compiling falconasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_imm` [INFO] [stdout] --> src/falcon/asm/pseudo.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use super::utils::{check_signed, check_u_imm, parse_imm, parse_reg, split_operands}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::AsmError` [INFO] [stdout] --> src/falcon/asm/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use errors::AsmError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `program::Program` [INFO] [stdout] --> src/falcon/asm/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use program::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction::Instruction` [INFO] [stdout] --> src/falcon/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bus` [INFO] [stdout] --> src/falcon/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub use memory::{Bus, Ram}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terminal` [INFO] [stdout] --> src/ui/input/keyboard.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::{event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers}, terminal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `Layout`, and `Rect` [INFO] [stdout] --> src/ui/input/keyboard.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::layout::{Constraint, Direction, Layout, Rect}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/falcon/exec.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stdin` is never read [INFO] [stdout] --> src/falcon/registers.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub stdin: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disasm` is never used [INFO] [stdout] --> src/falcon/decoder/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn disasm(word: u32) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_spaces` is never used [INFO] [stdout] --> src/ui/editor.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Editor { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn insert_spaces(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12m 19s [INFO] running `Command { std: "docker" "inspect" "207997ce4ee63a506b117c9033578b24afaec96a891abc227087c5a0f5a518a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207997ce4ee63a506b117c9033578b24afaec96a891abc227087c5a0f5a518a7", kill_on_drop: false }` [INFO] [stdout] 207997ce4ee63a506b117c9033578b24afaec96a891abc227087c5a0f5a518a7 [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 986e6d400e2e69ffcc00e8bc3adc1e0faa3dd925959a083bf680909d7c932cfc [INFO] running `Command { std: "docker" "start" "-a" "986e6d400e2e69ffcc00e8bc3adc1e0faa3dd925959a083bf680909d7c932cfc", kill_on_drop: false }` [INFO] [stderr] Compiling falconasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_imm` [INFO] [stdout] --> src/falcon/asm/pseudo.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use super::utils::{check_signed, check_u_imm, parse_imm, parse_reg, split_operands}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::AsmError` [INFO] [stdout] --> src/falcon/asm/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use errors::AsmError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `program::Program` [INFO] [stdout] --> src/falcon/asm/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use program::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction::Instruction` [INFO] [stdout] --> src/falcon/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use instruction::Instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bus` [INFO] [stdout] --> src/falcon/mod.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub use memory::{Bus, Ram}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terminal` [INFO] [stdout] --> src/ui/input/keyboard.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::{event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers}, terminal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `Layout`, and `Rect` [INFO] [stdout] --> src/ui/input/keyboard.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::layout::{Constraint, Direction, Layout, Rect}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/falcon/exec.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn run( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stdin` is never read [INFO] [stdout] --> src/falcon/registers.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub stdin: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disasm` is never used [INFO] [stdout] --> src/falcon/decoder/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn disasm(word: u32) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `insert_spaces` is never used [INFO] [stdout] --> src/ui/editor.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Editor { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn insert_spaces(&mut self, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "986e6d400e2e69ffcc00e8bc3adc1e0faa3dd925959a083bf680909d7c932cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986e6d400e2e69ffcc00e8bc3adc1e0faa3dd925959a083bf680909d7c932cfc", kill_on_drop: false }` [INFO] [stdout] 986e6d400e2e69ffcc00e8bc3adc1e0faa3dd925959a083bf680909d7c932cfc [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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 533d409389d0c18244cac042a00a9c3960731b13ce786328d6613e9f2409426f [INFO] running `Command { std: "docker" "start" "-a" "533d409389d0c18244cac042a00a9c3960731b13ce786328d6613e9f2409426f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `parse_imm` [INFO] [stderr] --> src/falcon/asm/pseudo.rs:5:47 [INFO] [stderr] | [INFO] [stderr] 5 | use super::utils::{check_signed, check_u_imm, parse_imm, parse_reg, split_operands}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `errors::AsmError` [INFO] [stderr] --> src/falcon/asm/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use errors::AsmError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `program::Program` [INFO] [stderr] --> src/falcon/asm/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use program::Program; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `instruction::Instruction` [INFO] [stderr] --> src/falcon/mod.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use instruction::Instruction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Bus` [INFO] [stderr] --> src/falcon/mod.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | pub use memory::{Bus, Ram}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `terminal` [INFO] [stderr] --> src/ui/input/keyboard.rs:3:73 [INFO] [stderr] | [INFO] [stderr] 3 | use crossterm::{event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers}, terminal}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Constraint`, `Direction`, `Layout`, and `Rect` [INFO] [stderr] --> src/ui/input/keyboard.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use ratatui::layout::{Constraint, Direction, Layout, Rect}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/falcon/exec.rs:334:8 [INFO] [stderr] | [INFO] [stderr] 334 | pub fn run( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `stdin` is never read [INFO] [stderr] --> src/falcon/registers.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Cpu { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | pub stdin: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cpu` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `disasm` is never used [INFO] [stderr] --> src/falcon/decoder/mod.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn disasm(word: u32) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `insert_spaces` is never used [INFO] [stderr] --> src/ui/editor.rs:196:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Editor { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn insert_spaces(&mut self, n: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `falconasm` (bin "falconasm" test) generated 11 warnings (run `cargo fix --bin "falconasm" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/falconasm-5e26c77223fbbdf8) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test falcon::asm::tests::pop_expands_correctly ... ok [INFO] [stdout] test falcon::asm::tests::call_expands_to_jal_ra ... ok [INFO] [stdout] test falcon::asm::tests::beq_offset_range_error ... ok [INFO] [stdout] test falcon::asm::tests::addi_immediate_range_error ... ok [INFO] [stdout] test falcon::asm::tests::la_generates_lui_addi_pair ... ok [INFO] [stdout] test falcon::asm::tests::print_string_register_errors ... ok [INFO] [stdout] test falcon::asm::tests::read_label_expands_correctly ... ok [INFO] [stdout] test falcon::asm::tests::print_string_label_expands_correctly ... ok [INFO] [stdout] test falcon::asm::tests::print_expands_correctly ... ok [INFO] [stdout] test falcon::exec::tests::add_adds ... ok [INFO] [stdout] test falcon::asm::tests::section_directives_equivalent ... ok [INFO] [stdout] test falcon::exec::tests::halt_halts ... ok [INFO] [stdout] test falcon::asm::tests::unknown_section_errors ... ok [INFO] [stdout] test falcon::exec::tests::lw_loads_word ... ok [INFO] [stdout] test falcon::exec::tests::syscall_print_int ... ok [INFO] [stdout] test falcon::exec::tests::sw_stores_word ... ok [INFO] [stdout] test falcon::exec::tests::addi_adds_immediate ... ok [INFO] [stdout] test falcon::exec::tests::syscall_print_string ... ok [INFO] [stdout] test falcon::exec::tests::syscall_read_string ... ok [INFO] [stdout] test falcon::exec::tests::syscall_read_waits_for_input ... ok [INFO] [stdout] test falcon::memory::tests::store_and_load_word ... ok [INFO] [stdout] test falcon::asm::tests::push_expands_correctly ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "533d409389d0c18244cac042a00a9c3960731b13ce786328d6613e9f2409426f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533d409389d0c18244cac042a00a9c3960731b13ce786328d6613e9f2409426f", kill_on_drop: false }` [INFO] [stdout] 533d409389d0c18244cac042a00a9c3960731b13ce786328d6613e9f2409426f