[INFO] cloning repository https://github.com/lantos1618/asm_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lantos1618/asm_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fasm_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fasm_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] acc8fa453d36dc8ac52ddebbe0e2b61e5d05cf86
[INFO] checking lantos1618/asm_test against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flantos1618%2Fasm_test" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lantos1618/asm_test on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lantos1618/asm_test
[INFO] finished tweaking git repo https://github.com/lantos1618/asm_test
[INFO] tweaked toml for git repo https://github.com/lantos1618/asm_test written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/lantos1618/asm_test 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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29b6fc57006abe0b151b704ccbcdd5942127531905598dd140ddd192f6e9c22c
[INFO] running `Command { std: "docker" "start" "-a" "29b6fc57006abe0b151b704ccbcdd5942127531905598dd140ddd192f6e9c22c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29b6fc57006abe0b151b704ccbcdd5942127531905598dd140ddd192f6e9c22c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29b6fc57006abe0b151b704ccbcdd5942127531905598dd140ddd192f6e9c22c", kill_on_drop: false }`
[INFO] [stdout] 29b6fc57006abe0b151b704ccbcdd5942127531905598dd140ddd192f6e9c22c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56a13f721764d5dd64f1b5c998fa1a49fae593cd823cc0e12a147a3b1ef378e1
[INFO] running `Command { std: "docker" "start" "-a" "56a13f721764d5dd64f1b5c998fa1a49fae593cd823cc0e12a147a3b1ef378e1", kill_on_drop: false }`
[INFO] [stderr]     Checking asm_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> src/compiler/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/compiler/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/compiler/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/program/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CompileError` and `CompilerOptions`
[INFO] [stdout]  --> src/program/mod.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::{CompilerOptions, CompileError};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> src/compiler/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/compiler/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/compiler/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/program/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CompileError` and `CompilerOptions`
[INFO] [stdout]  --> src/program/mod.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::{CompilerOptions, CompileError};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/arch/arm64.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |             _ => panic!("Invalid register {:?} for ARM64 architecture", reg),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/arch/arm64.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             GenericRegister::X0 => Arm64Register::X0,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 117 |             GenericRegister::X1 => Arm64Register::X1,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 118 |             GenericRegister::X2 => Arm64Register::X2,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 119 |             GenericRegister::X3 => Arm64Register::X3,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 182 |             _ => panic!("Invalid register {:?} for ARM64 architecture", reg),
[INFO] [stdout]     |             ^ ...and 62 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/arch/arm64.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |             _ => panic!("Invalid register {:?} for ARM64 architecture", reg),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/arch/arm64.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             GenericRegister::X0 => Arm64Register::X0,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 117 |             GenericRegister::X1 => Arm64Register::X1,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 118 |             GenericRegister::X2 => Arm64Register::X2,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] 119 |             GenericRegister::X3 => Arm64Register::X3,
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 182 |             _ => panic!("Invalid register {:?} for ARM64 architecture", reg),
[INFO] [stdout]     |             ^ ...and 62 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/instruction/mod.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 85  | /             Self::X0
[INFO] [stdout] 86  | |             | Self::X1
[INFO] [stdout] 87  | |             | Self::X2
[INFO] [stdout] 88  | |             | Self::X3
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             | Self::LR
[INFO] [stdout] 118 | |             | Self::XZR => Ok(()),
[INFO] [stdout]     | |_______________________- matches all the relevant values
[INFO] [stdout] 119 |               Self::SP | Self::LR | Self::XZR => Ok(()),
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/instruction/mod.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 85  | /             Self::X0
[INFO] [stdout] 86  | |             | Self::X1
[INFO] [stdout] 87  | |             | Self::X2
[INFO] [stdout] 88  | |             | Self::X3
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             | Self::LR
[INFO] [stdout] 118 | |             | Self::XZR => Ok(()),
[INFO] [stdout]     | |_______________________- matches all the relevant values
[INFO] [stdout] 119 |               Self::SP | Self::LR | Self::XZR => Ok(()),
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/compiler/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Architecture {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 13 |     fn as_str(&self) -> &'static str {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bss` is never read
[INFO] [stdout]   --> src/context/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Sections {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     bss: Vec<Variable>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/compiler/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Architecture {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 13 |     fn as_str(&self) -> &'static str {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bss` is never read
[INFO] [stdout]   --> src/context/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Sections {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     bss: Vec<Variable>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sections` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CompilerOptions` in this scope
[INFO] [stdout]  --> src/main.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn compile_and_link(asm_path: &Path, options: &CompilerOptions) -> Result<(), CompileError> {
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::compiler::CompilerOptions;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use asm_test::compiler::CompilerOptions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CompileError` in this scope
[INFO] [stdout]  --> src/main.rs:8:79
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn compile_and_link(asm_path: &Path, options: &CompilerOptions) -> Result<(), CompileError> {
[INFO] [stdout]   |                                                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::compiler::CompileError;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use asm_test::compiler::CompileError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileError`
[INFO] [stdout]   --> src/main.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         return Err(CompileError::AssemblerError(
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `CompileError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use asm_test::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileError`
[INFO] [stdout]   --> src/main.rs:44:20
[INFO] [stdout]    |
[INFO] [stdout] 44 |         return Err(CompileError::LinkerError(
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `CompileError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use asm_test::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompilerOptions`
[INFO] [stdout]   --> src/main.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let options = CompilerOptions::default();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared type `CompilerOptions`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::compiler::CompilerOptions;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use asm_test::compiler::CompilerOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asm_test::*`
[INFO] [stdout]  --> tests/platform_tests.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use asm_test::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asm_test::*`
[INFO] [stdout]  --> tests/compiler_tests.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use asm_test::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `section` found for struct `asm_test::Program` in the current scope
[INFO] [stdout]   --> src/main.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let data_section = program.section("data");
[INFO] [stdout]    |                                ^^^^^^^ method not found in `Program<ARM64, Arm64Register>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asm_test::*`
[INFO] [stdout]  --> tests/integration.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use asm_test::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ARM64` and `Arm64Register`
[INFO] [stdout]  --> tests/arm64_tests.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use asm_test::arch::arm64::{ARM64, Arm64Register};
[INFO] [stdout]   |                             ^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LoadStoreBuilder` and `Operand`
[INFO] [stdout]  --> tests/arm64_tests.rs:3:92
[INFO] [stdout]   |
[INFO] [stdout] 3 | use asm_test::instruction::{GenericRegister, ArithmeticBuilder, BranchBuilder, MovBuilder, LoadStoreBuilder, Operand};
[INFO] [stdout]   |                                                                                            ^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_program` is never used
[INFO] [stdout]  --> tests/common/mod.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn setup_test_program() -> Program<ARM64, Arm64Register> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `section` found for struct `asm_test::Program` in the current scope
[INFO] [stdout]   --> src/main.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let text_section = program.section("text");
[INFO] [stdout]    |                                ^^^^^^^ method not found in `Program<ARM64, Arm64Register>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CompilerOptions` in this scope
[INFO] [stdout]  --> src/main.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn compile_and_link(asm_path: &Path, options: &CompilerOptions) -> Result<(), CompileError> {
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::compiler::CompilerOptions;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use asm_test::compiler::CompilerOptions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CompileError` in this scope
[INFO] [stdout]  --> src/main.rs:8:79
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn compile_and_link(asm_path: &Path, options: &CompilerOptions) -> Result<(), CompileError> {
[INFO] [stdout]   |                                                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::compiler::CompileError;
[INFO] [stdout]   |
[INFO] [stdout] 1 + use asm_test::compiler::CompileError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileError`
[INFO] [stdout]   --> src/main.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |         return Err(CompileError::AssemblerError(
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `CompileError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use asm_test::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompileError`
[INFO] [stdout]   --> src/main.rs:44:20
[INFO] [stdout]    |
[INFO] [stdout] 44 |         return Err(CompileError::LinkerError(
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `CompileError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use asm_test::compiler::CompileError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CompilerOptions`
[INFO] [stdout]   --> src/main.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let options = CompilerOptions::default();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared type `CompilerOptions`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::compiler::CompilerOptions;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use asm_test::compiler::CompilerOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArithmeticBuilder`
[INFO] [stdout]  --> tests/arm64_tests.rs:3:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | use asm_test::instruction::{GenericRegister, ArithmeticBuilder, BranchBuilder, MovBuilder, LoadStoreBuilder, Operand};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BranchBuilder`
[INFO] [stdout]  --> tests/arm64_tests.rs:3:65
[INFO] [stdout]   |
[INFO] [stdout] 3 | use asm_test::instruction::{GenericRegister, ArithmeticBuilder, BranchBuilder, MovBuilder, LoadStoreBuilder, Operand};
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MovBuilder`
[INFO] [stdout]  --> tests/arm64_tests.rs:3:80
[INFO] [stdout]   |
[INFO] [stdout] 3 | use asm_test::instruction::{GenericRegister, ArithmeticBuilder, BranchBuilder, MovBuilder, LoadStoreBuilder, Operand};
[INFO] [stdout]   |                                                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asm_test` (bin "asm_test") due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `compile` found for struct `asm_test::Program` in the current scope
[INFO] [stdout]   --> tests/compiler_tests.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |     assert!(program.compile(&asm_path).is_ok());
[INFO] [stdout]    |                     ^^^^^^^ method not found in `Program<ARM64, Arm64Register>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asm_test` (test "compiler_tests") due to 1 previous error; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `section` found for struct `asm_test::Program` in the current scope
[INFO] [stdout]   --> src/main.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let data_section = program.section("data");
[INFO] [stdout]    |                                ^^^^^^^ method not found in `Program<ARM64, Arm64Register>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `section` found for struct `asm_test::Program` in the current scope
[INFO] [stdout]   --> src/main.rs:62:32
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let text_section = program.section("text");
[INFO] [stdout]    |                                ^^^^^^^ method not found in `Program<ARM64, Arm64Register>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asm_test` (bin "asm_test" test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "56a13f721764d5dd64f1b5c998fa1a49fae593cd823cc0e12a147a3b1ef378e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56a13f721764d5dd64f1b5c998fa1a49fae593cd823cc0e12a147a3b1ef378e1", kill_on_drop: false }`
[INFO] [stdout] 56a13f721764d5dd64f1b5c998fa1a49fae593cd823cc0e12a147a3b1ef378e1
