[INFO] cloning repository https://github.com/TornaxO7/Tornarec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TornaxO7/Tornarec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTornaxO7%2FTornarec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTornaxO7%2FTornarec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c991322b83b983a5146b98feea2f9ba4b3588639 [INFO] testing TornaxO7/Tornarec against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTornaxO7%2FTornarec" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TornaxO7/Tornarec on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TornaxO7/Tornarec [INFO] finished tweaking git repo https://github.com/TornaxO7/Tornarec [INFO] tweaked toml for git repo https://github.com/TornaxO7/Tornarec written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/TornaxO7/Tornarec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Roughsketch/nds` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e849aec44e66ab3258b486c2b34e34bf6bfd5ccdcc7cc9b9dad54182b6f3800a [INFO] running `Command { std: "docker" "start" "-a" "e849aec44e66ab3258b486c2b34e34bf6bfd5ccdcc7cc9b9dad54182b6f3800a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e849aec44e66ab3258b486c2b34e34bf6bfd5ccdcc7cc9b9dad54182b6f3800a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e849aec44e66ab3258b486c2b34e34bf6bfd5ccdcc7cc9b9dad54182b6f3800a", kill_on_drop: false }` [INFO] [stdout] e849aec44e66ab3258b486c2b34e34bf6bfd5ccdcc7cc9b9dad54182b6f3800a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b1901ffdc71b5c9bafb033cb3b8dc54cb9a2d6f54eb3ba57b8b876cbd038644 [INFO] running `Command { std: "docker" "start" "-a" "2b1901ffdc71b5c9bafb033cb3b8dc54cb9a2d6f54eb3ba57b8b876cbd038644", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling nitro_fs v0.1.1 (https://github.com/Roughsketch/nds#40f14bec) [INFO] [stderr] Compiling nds v0.1.1 (https://github.com/Roughsketch/nds#40f14bec) [INFO] [stderr] Compiling tornarec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `decode` [INFO] [stdout] --> src/cpus/general/instruction/arm/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use decode::get_arm_instruction; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `decode` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | pub use opcode::get_arm_instruction; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ram::data_types::DataTypeSize`, `super::instruction::arm::get_arm_instruction` [INFO] [stdout] --> src/cpus/general/pipeline/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | arm::get_arm_instruction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cpus/general/register/registers/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | data_types::DataTypeSize, [INFO] [stdout] | ^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `DataType` [INFO] [stdout] | no `DataTypeSize` in `ram::data_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction001.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle001(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction001.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle001(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction010.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle010(addres: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArmInstruction` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction010.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle010(addres: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpus::general::instruction::arm::ArmInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction011.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle011(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction011.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle011(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArmInstruction` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction011.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle011(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpus::general::instruction::arm::ArmInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction100.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle100(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction100.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle100(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction101.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle101(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction101.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle101(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArmInstruction` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction101.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle101(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpus::general::instruction::arm::ArmInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction110.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle110(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction110.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle110(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArmInstruction` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction110.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle110(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpus::general::instruction::arm::ArmInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction111.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle111(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction111.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle111(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArmInstruction` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction111.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn handle111(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpus::general::instruction::arm::ArmInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/mod.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_arm_instruction(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/mod.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_arm_instruction(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 11 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArmInstruction` in this scope [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/mod.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn get_arm_instruction(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use crate::cpus::general::instruction::arm::ArmInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Address` in this scope [INFO] [stdout] --> src/cpus/general/instruction/thumb/map.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | address: &Address, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/cpus/general/instruction/thumb/map.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | value: &Word, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ram::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registers` in this scope [INFO] [stdout] --> src/cpus/general/instruction/thumb/map.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | registers: &Registers, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpus::general::register::Registers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpus::general::condition_code_flag::ConditionCodeFlag` [INFO] [stdout] --> src/cpus/general/instruction/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cpus::general::condition_code_flag::ConditionCodeFlag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data_types::DataType` [INFO] [stdout] --> src/cpus/general/pipeline/prefetch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | data_types::DataType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `execute` has a `&self` declaration in the trait, but not in the impl [INFO] [stdout] --> src/cpus/general/instruction/arm/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | fn execute() { [INFO] [stdout] | ^^^^^^^^^^^^ expected `&self` in impl [INFO] [stdout] | [INFO] [stdout] ::: src/cpus/general/instruction/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn execute(&self); [INFO] [stdout] | ------------------ `&self` used in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction001.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle001(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected struct `ArmInstruction`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/instruction/arm/instruction_set/instruction100.rs:3:52 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn handle100(address: Address, value: Word) -> ArmInstruction { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ expected struct `ArmInstruction`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/instruction/thumb/map.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_thumb_instruction( [INFO] [stdout] | --------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 7 | ) -> ThumbInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected struct `ThumbInstruction`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_size` found for enum `DataType` in the current scope [INFO] [stdout] --> src/cpus/general/pipeline/mod.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | let end: Address = start + instruction_size.get_size(); [INFO] [stdout] | ^^^^^^^^ method not found in `DataType` [INFO] [stdout] | [INFO] [stdout] ::: src/ram/data_types.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum DataType { [INFO] [stdout] | ----------------- method `get_size` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | ConditionCodeFlag::EQ => cb.z.is_set(), [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | ConditionCodeFlag::NE => cb.z.is_unset(), [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | ConditionCodeFlag::CS => cb.c.is_set(), [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | ConditionCodeFlag::CC => cb.c.is_unset(), [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | ConditionCodeFlag::MI => cb.n.is_set(), [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | ConditionCodeFlag::PL => cb.n.is_unset(), [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | ConditionCodeFlag::VS => cb.v.is_set(), [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | ConditionCodeFlag::VC => cb.v.is_unset(), [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | ConditionCodeFlag::HI => cb.c.is_set() && cb.z.is_unset(), [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | ConditionCodeFlag::HI => cb.c.is_set() && cb.z.is_unset(), [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | ConditionCodeFlag::LS => cb.c.is_unset() && cb.z.is_set(), [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:48:62 [INFO] [stdout] | [INFO] [stdout] 48 | ConditionCodeFlag::LS => cb.c.is_unset() && cb.z.is_set(), [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_unset` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | ConditionCodeFlag::GT => cb.z.is_unset() && cb.n == cb.v, [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | ConditionCodeFlag::LE => cb.z.is_set() || cb.n != cb.v, [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_as_u32` found for type `bool` in the current scope [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let state_val = state.get_as_u32(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:155:47 [INFO] [stdout] | [INFO] [stdout] 155 | ConditionBit::N => BitState::from(self.0 >> 31), [INFO] [stdout] | ^^^^^^^^^^^^ expected `bool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | ConditionBit::Z => BitState::from(self.0 >> 30), [INFO] [stdout] | ^^^^^^^^^^^^ expected `bool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | ConditionBit::C => BitState::from(self.0 >> 29), [INFO] [stdout] | ^^^^^^^^^^^^ expected `bool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:158:47 [INFO] [stdout] | [INFO] [stdout] 158 | ConditionBit::V => BitState::from(self.0 >> 28), [INFO] [stdout] | ^^^^^^^^^^^^ expected `bool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cpus/general/register/cpsr.rs:159:47 [INFO] [stdout] | [INFO] [stdout] 159 | ConditionBit::Q => BitState::from(self.0 >> 27), [INFO] [stdout] | ^^^^^^^^^^^^ expected `bool`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_as_u32` found for type `u32` in the current scope [INFO] [stdout] --> src/cpus/general/register/registers/mod.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | let new_val = new_address.get_as_u32(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_as_u32` found for type `u32` in the current scope [INFO] [stdout] --> src/cpus/general/register/registers/mod.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 187 | lr_address.get_as_u32() [INFO] [stdout] | ^^^^^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0186, E0308, E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0186`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tornarec` due to 54 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2b1901ffdc71b5c9bafb033cb3b8dc54cb9a2d6f54eb3ba57b8b876cbd038644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1901ffdc71b5c9bafb033cb3b8dc54cb9a2d6f54eb3ba57b8b876cbd038644", kill_on_drop: false }` [INFO] [stdout] 2b1901ffdc71b5c9bafb033cb3b8dc54cb9a2d6f54eb3ba57b8b876cbd038644