[INFO] cloning repository https://github.com/HenryCROSS/iridium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HenryCROSS/iridium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenryCROSS%2Firidium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenryCROSS%2Firidium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 748f4257d375327e58e3dd9a4b3161a54318c13d [INFO] checking HenryCROSS/iridium/748f4257d375327e58e3dd9a4b3161a54318c13d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenryCROSS%2Firidium" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HenryCROSS/iridium on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HenryCROSS/iridium [INFO] finished tweaking git repo https://github.com/HenryCROSS/iridium [INFO] tweaked toml for git repo https://github.com/HenryCROSS/iridium written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HenryCROSS/iridium 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e288cc5c0f67ece68a8c7c9d01b301bed9288e8f3f8f95098db1e883ac924508 [INFO] running `Command { std: "docker" "start" "-a" "e288cc5c0f67ece68a8c7c9d01b301bed9288e8f3f8f95098db1e883ac924508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e288cc5c0f67ece68a8c7c9d01b301bed9288e8f3f8f95098db1e883ac924508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e288cc5c0f67ece68a8c7c9d01b301bed9288e8f3f8f95098db1e883ac924508", kill_on_drop: false }` [INFO] [stdout] e288cc5c0f67ece68a8c7c9d01b301bed9288e8f3f8f95098db1e883ac924508 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1ecdbd330fabc9970279544f69ee2d498e106de18710de149d815f8c2bfa2e [INFO] running `Command { std: "docker" "start" "-a" "dc1ecdbd330fabc9970279544f69ee2d498e106de18710de149d815f8c2bfa2e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking iridium v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/repl/mod.rs (1 fix) [INFO] [stderr] Fixed src/assembler/directive_parsers.rs (5 fixes) [INFO] [stderr] Fixed src/assembler/label_parsers.rs (5 fixes) [INFO] [stderr] Fixed src/assembler/opcode_parsers.rs (1 fix) [INFO] [stderr] Fixed src/assembler/register_parser.rs (1 fix) [INFO] [stderr] Fixed src/assembler/program_parsers.rs (1 fix) [INFO] [stderr] Fixed src/assembler/instruction_parsers.rs (1 fix) [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/repl/mod.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | Ok((remainder, program)) => program, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hex` is never used [INFO] [stdout] --> src/repl/mod.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl REPL { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn parse_hex(&mut self, i: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_labels` is never used [INFO] [stdout] --> src/assembler/mod.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Assembler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | fn extract_labels(&mut self, p: &Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_zero` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn instruction_zero(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_two` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn instruction_two(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_three` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn instruction_three(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/assembler/mod.rs (2 fixes) [INFO] [stderr] Fixed src/assembler/program_parsers.rs (1 fix) [INFO] [stderr] Fixed src/assembler/register_parser.rs (1 fix) [INFO] [stderr] Fixed src/vm.rs (1 fix) [INFO] [stderr] Fixed src/assembler/opcode_parsers.rs (1 fix) [INFO] [stderr] Fixed src/assembler/label_parsers.rs (1 fix) [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/repl/mod.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | Ok((remainder, program)) => program, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hex` is never used [INFO] [stdout] --> src/repl/mod.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl REPL { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn parse_hex(&mut self, i: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_labels` is never used [INFO] [stdout] --> src/assembler/mod.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Assembler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | fn extract_labels(&mut self, p: &Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_zero` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn instruction_zero(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_two` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn instruction_two(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_three` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn instruction_three(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0425]: cannot find function `label_declaration` in this scope [INFO] [stdout] --> src/assembler/label_parsers.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let result = label_declaration("test:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 31 + use crate::assembler::label_parsers::label_declaration; [INFO] [stdout] | [INFO] [stdout] 31 + use iridium::assembler::label_parsers::label_declaration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/label_parsers.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Token::LabelDeclaration { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 31 + use crate::assembler::Token; [INFO] [stdout] | [INFO] [stdout] 31 + use iridium::assembler::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_declaration` in this scope [INFO] [stdout] --> src/assembler/label_parsers.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let result = label_declaration("test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 31 + use crate::assembler::label_parsers::label_declaration; [INFO] [stdout] | [INFO] [stdout] 31 + use iridium::assembler::label_parsers::label_declaration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_usage` in this scope [INFO] [stdout] --> src/assembler/label_parsers.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let result = label_usage("@test"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 31 + use crate::assembler::label_parsers::label_usage; [INFO] [stdout] | [INFO] [stdout] 31 + use iridium::assembler::label_parsers::label_usage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/label_parsers.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | Token::LabelUsage { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 31 + use crate::assembler::Token; [INFO] [stdout] | [INFO] [stdout] 31 + use iridium::assembler::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `label_usage` in this scope [INFO] [stdout] --> src/assembler/label_parsers.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let result = label_usage("test"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 31 + use crate::assembler::label_parsers::label_usage; [INFO] [stdout] | [INFO] [stdout] 31 + use iridium::assembler::label_parsers::label_usage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `opcode_load` in this scope [INFO] [stdout] --> src/assembler/opcode_parsers.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let result = opcode_load("load"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 19 + use crate::assembler::opcode_parsers::opcode_load; [INFO] [stdout] | [INFO] [stdout] 19 + use iridium::assembler::opcode_parsers::opcode_load; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/opcode_parsers.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(token, Token::Op { code: Opcode::LOAD }); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 19 + use crate::assembler::Token; [INFO] [stdout] | [INFO] [stdout] 19 + use iridium::assembler::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/opcode_parsers.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(token, Token::Op { code: Opcode::LOAD }); [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 19 + use crate::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] 19 + use iridium::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `opcode_load` in this scope [INFO] [stdout] --> src/assembler/opcode_parsers.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let result = opcode_load("aold"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 19 + use crate::assembler::opcode_parsers::opcode_load; [INFO] [stdout] | [INFO] [stdout] 19 + use iridium::assembler::opcode_parsers::opcode_load; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/opcode_parsers.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(token, Token::Op { code: Opcode::IGL }); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 19 + use crate::assembler::Token; [INFO] [stdout] | [INFO] [stdout] 19 + use iridium::assembler::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/opcode_parsers.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(token, Token::Op { code: Opcode::IGL }); [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 19 + use crate::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] 19 + use iridium::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/program_parsers.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let result = program("load $0 #100\nload $3 #120"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 33 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] 33 + use iridium::assembler::program_parsers::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/program_parsers.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let result = program("load $0 #100\n"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 33 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] 33 + use iridium::assembler::program_parsers::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymbolTable` [INFO] [stdout] --> src/assembler/program_parsers.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let symbols = SymbolTable::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SymbolTable` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 33 + use crate::assembler::SymbolTable; [INFO] [stdout] | [INFO] [stdout] 33 + use iridium::assembler::symbols::SymbolTable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/program_parsers.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let result = program(test_program); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 33 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] 33 + use iridium::assembler::program_parsers::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let result = register("$1"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 28 + use crate::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] 28 + use iridium::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/register_parser.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(token, Token::Register { reg_num: 1 }); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 28 + use crate::assembler::Token; [INFO] [stdout] | [INFO] [stdout] 28 + use iridium::assembler::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let result = register("0"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 28 + use crate::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] 28 + use iridium::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let result = register("$a"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 28 + use crate::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] 28 + use iridium::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymbolTable` [INFO] [stdout] --> src/assembler/mod.rs:407:23 [INFO] [stdout] | [INFO] [stdout] 407 | let mut sym = SymbolTable::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SymbolTable` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::SymbolTable; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::symbols::SymbolTable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/assembler/mod.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | let new_symbol = Symbol::new("test".to_string(), SymbolType::Label, 12); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Symbol; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::symbols::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SymbolType` [INFO] [stdout] --> src/assembler/mod.rs:408:58 [INFO] [stdout] | [INFO] [stdout] 408 | let new_symbol = Symbol::new("test".to_string(), SymbolType::Label, 12); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SymbolType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::SymbolType; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::symbols::SymbolType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VM` [INFO] [stdout] --> src/assembler/mod.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | let mut vm = VM::new(); [INFO] [stdout] | ^^ use of undeclared type `VM` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::vm::VM; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::vm::VM; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:469:23 [INFO] [stdout] | [INFO] [stdout] 469 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:495:23 [INFO] [stdout] | [INFO] [stdout] 495 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:508:23 [INFO] [stdout] | [INFO] [stdout] 508 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/mod.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | let result = program(test_string); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::program_parsers::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assembler` [INFO] [stdout] --> src/assembler/mod.rs:520:23 [INFO] [stdout] | [INFO] [stdout] 520 | let mut asm = Assembler::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assembler` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::Assembler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/mod.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | let result = program(test_string); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 405 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] 405 + use iridium::assembler::program_parsers::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIE_HEADER_LENGTH` in this scope [INFO] [stdout] --> src/vm.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | while prepension.len() <= PIE_HEADER_LENGTH { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 242 + use crate::assembler::PIE_HEADER_LENGTH; [INFO] [stdout] | [INFO] [stdout] 242 + use iridium::assembler::PIE_HEADER_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/repl/mod.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | Ok((remainder, program)) => program, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iridium` (bin "iridium" test) due to 35 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remainder` [INFO] [stdout] --> src/repl/mod.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | Ok((remainder, program)) => program, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remainder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_labels` is never used [INFO] [stdout] --> src/assembler/mod.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Assembler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | fn extract_labels(&mut self, p: &Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_zero` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn instruction_zero(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_two` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn instruction_two(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_three` is never used [INFO] [stdout] --> src/assembler/instruction_parsers.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn instruction_three(input: &str) -> IResult<&str, AssemblerInstruction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hex` is never used [INFO] [stdout] --> src/repl/mod.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl REPL { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn parse_hex(&mut self, i: &str) -> Result, ParseIntError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "dc1ecdbd330fabc9970279544f69ee2d498e106de18710de149d815f8c2bfa2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1ecdbd330fabc9970279544f69ee2d498e106de18710de149d815f8c2bfa2e", kill_on_drop: false }` [INFO] [stdout] dc1ecdbd330fabc9970279544f69ee2d498e106de18710de149d815f8c2bfa2e