[INFO] fetching crate x86_64-assembler 0.0.1...
[INFO] testing x86_64-assembler-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate x86_64-assembler 0.0.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate x86_64-assembler 0.0.1
[INFO] finished tweaking crates.io crate x86_64-assembler 0.0.1
[INFO] tweaked toml for crates.io crate x86_64-assembler 0.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate x86_64-assembler 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate x86_64-assembler 0.0.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30c81678824d7736d2fac79c58f03f3d1a0f4416f1596fe2f3608b2262c867ac
[INFO] running `Command { std: "docker" "start" "-a" "30c81678824d7736d2fac79c58f03f3d1a0f4416f1596fe2f3608b2262c867ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30c81678824d7736d2fac79c58f03f3d1a0f4416f1596fe2f3608b2262c867ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30c81678824d7736d2fac79c58f03f3d1a0f4416f1596fe2f3608b2262c867ac", kill_on_drop: false }`
[INFO] [stdout] 30c81678824d7736d2fac79c58f03f3d1a0f4416f1596fe2f3608b2262c867ac
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63cf8ff93c0bc4ddc63338bbee9f47a71d76f743f4a574844950dba992b8cc5e
[INFO] running `Command { std: "docker" "start" "-a" "63cf8ff93c0bc4ddc63338bbee9f47a71d76f743f4a574844950dba992b8cc5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling source-map v0.15.0
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling synstructure v0.13.2
[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.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tracing v0.1.41
[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 tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling gaia-types v0.0.0
[INFO] [stderr]    Compiling x86_64-assembler v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.51s
[INFO] running `Command { std: "docker" "inspect" "63cf8ff93c0bc4ddc63338bbee9f47a71d76f743f4a574844950dba992b8cc5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63cf8ff93c0bc4ddc63338bbee9f47a71d76f743f4a574844950dba992b8cc5e", kill_on_drop: false }`
[INFO] [stdout] 63cf8ff93c0bc4ddc63338bbee9f47a71d76f743f4a574844950dba992b8cc5e
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3acabd8e74c7a9e3f0ea1e88624ab5c330d45af986ea1995a2ae2d97c991e2ef
[INFO] running `Command { std: "docker" "start" "-a" "3acabd8e74c7a9e3f0ea1e88624ab5c330d45af986ea1995a2ae2d97c991e2ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling x86_64-assembler v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "3acabd8e74c7a9e3f0ea1e88624ab5c330d45af986ea1995a2ae2d97c991e2ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3acabd8e74c7a9e3f0ea1e88624ab5c330d45af986ea1995a2ae2d97c991e2ef", kill_on_drop: false }`
[INFO] [stdout] 3acabd8e74c7a9e3f0ea1e88624ab5c330d45af986ea1995a2ae2d97c991e2ef
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1354e394093d7d9524d21186977133acd89aeea8ca177ceb2490c61a6a827462
[INFO] running `Command { std: "docker" "start" "-a" "1354e394093d7d9524d21186977133acd89aeea8ca177ceb2490c61a6a827462", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/x86_64_assembler-e6c264c039fe4b16)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests x86_64_assembler
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test src/decoder/readme.md - decoder (line 25) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 138) ... FAILED
[INFO] [stdout] test src/decoder/readme.md - decoder (line 66) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 76) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 115) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 29) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 94) ... FAILED
[INFO] [stdout] test src/decoder/readme.md - decoder (line 33) ... FAILED
[INFO] [stdout] test src/readme.md - (line 138) ... FAILED
[INFO] [stdout] test src/instruction/readme.md - instruction (line 32) ... FAILED
[INFO] [stdout] test src/readme.md - (line 18) ... FAILED
[INFO] [stdout] test src/readme.md - (line 87) ... FAILED
[INFO] [stdout] test src/decoder/readme.md - decoder (line 55) ... FAILED
[INFO] [stdout] test src/readme.md - (line 27) ... FAILED
[INFO] [stdout] test src/readme.md - (line 130) ... FAILED
[INFO] [stdout] test src/readme.md - (line 64) ... FAILED
[INFO] [stdout] test src/readme.md - (line 110) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/decoder/readme.md - decoder (line 25) stdout ----
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]   --> src/decoder/readme.md:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | 字节流 → [前缀解析] → [opcode 识别] → [操作数解码] → Instruction
[INFO] [stdout]    |        ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]   --> src/decoder/readme.md:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | 字节流 → [前缀解析] → [opcode 识别] → [操作数解码] → Instruction
[INFO] [stdout]    |                     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]   --> src/decoder/readme.md:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 | 字节流 → [前缀解析] → [opcode 识别] → [操作数解码] → Instruction
[INFO] [stdout]    |                                     ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]   --> src/decoder/readme.md:26:38
[INFO] [stdout]    |
[INFO] [stdout] 26 | 字节流 → [前缀解析] → [opcode 识别] → [操作数解码] → Instruction
[INFO] [stdout]    |                                                    ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2193}
[INFO] [stdout]   --> src/decoder/readme.md:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             ↓              ↓            ↓
[INFO] [stdout]    |             ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2193}
[INFO] [stdout]   --> src/decoder/readme.md:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |             ↓              ↓            ↓
[INFO] [stdout]    |                            ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2193}
[INFO] [stdout]   --> src/decoder/readme.md:27:41
[INFO] [stdout]    |
[INFO] [stdout] 27 |             ↓              ↓            ↓
[INFO] [stdout]    |                                         ^
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `[`
[INFO] [stdout]   --> src/decoder/readme.md:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | 字节流 → [前缀解析] → [opcode 识别] → [操作数解码] → Instruction
[INFO] [stdout]    |          ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder/readme.md - builder (line 138) stdout ----
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]    --> src/builder/readme.md:139:6
[INFO] [stdout]     |
[INFO] [stdout] 139 | 用户代码 → ProgramBuilder → Vec<Instruction> → InstructionEncoder → Vec<u8>
[INFO] [stdout]     |          ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]    --> src/builder/readme.md:139:23
[INFO] [stdout]     |
[INFO] [stdout] 139 | 用户代码 → ProgramBuilder → Vec<Instruction> → InstructionEncoder → Vec<u8>
[INFO] [stdout]     |                           ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]    --> src/builder/readme.md:139:42
[INFO] [stdout]     |
[INFO] [stdout] 139 | 用户代码 → ProgramBuilder → Vec<Instruction> → InstructionEncoder → Vec<u8>
[INFO] [stdout]     |                                              ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]    --> src/builder/readme.md:139:63
[INFO] [stdout]     |
[INFO] [stdout] 139 | 用户代码 → ProgramBuilder → Vec<Instruction> → InstructionEncoder → Vec<u8>
[INFO] [stdout]     |                                                                   ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2193}
[INFO] [stdout]    --> src/builder/readme.md:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 ↓
[INFO] [stdout]     |                 ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]    --> src/builder/readme.md:141:30
[INFO] [stdout]     |
[INFO] [stdout] 141 |             Vec<DataSection> → 链接器 → 最终二进制
[INFO] [stdout]     |                              ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2192}
[INFO] [stdout]    --> src/builder/readme.md:141:36
[INFO] [stdout]     |
[INFO] [stdout] 141 |             Vec<DataSection> → 链接器 → 最终二进制
[INFO] [stdout]     |                                       ^
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `ProgramBuilder`
[INFO] [stdout]    --> src/builder/readme.md:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | 用户代码 → ProgramBuilder → Vec<Instruction> → InstructionEncoder → Vec<u8>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/decoder/readme.md - decoder (line 66) stdout ----
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/decoder/readme.md:68:25
[INFO] [stdout]    |
[INFO] [stdout] 68 |     0b00 => /* 内存，无位移 */,
[INFO] [stdout]    |          --                   ^ expected expression
[INFO] [stdout]    |          |
[INFO] [stdout]    |          while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `modrm` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | match modrm.mod_field() {
[INFO] [stdout]    |       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder/readme.md - builder (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GaiaError`
[INFO] [stdout]   --> src/builder/readme.md:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | GaiaError::InvalidRegisterForArchitecture {
[INFO] [stdout]    | ^^^^^^^^^ use of undeclared type `GaiaError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 76 + use gaia_types::GaiaError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Register` in this scope
[INFO] [stdout]   --> src/builder/readme.md:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     register: Register,
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Architecture` in this scope
[INFO] [stdout]   --> src/builder/readme.md:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     architecture: Architecture,
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder/readme.md - builder (line 115) stdout ----
[INFO] [stdout] error: cannot find macro `impl_program_builder` in this scope
[INFO] [stdout]    --> src/builder/readme.md:116:1
[INFO] [stdout]     |
[INFO] [stdout] 116 | impl_program_builder! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder/readme.md - builder (line 29) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Architecture` in this scope
[INFO] [stdout]   --> src/builder/readme.md:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |     architecture: Architecture,    // 架构约束源
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 29 + use gaia_types::helpers::Architecture;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope
[INFO] [stdout]   --> src/builder/readme.md:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     instructions: Vec<Instruction>, // 指令序列
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 29 + use x86_64_assembler::instruction::Instruction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DataSection` in this scope
[INFO] [stdout]   --> src/builder/readme.md:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     data_sections: Vec<DataSection>, // 数据段管理
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 29 + use x86_64_assembler::builder::DataSection;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder/readme.md - builder (line 94) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `name` in this scope
[INFO] [stdout]   --> src/builder/readme.md:95:33
[INFO] [stdout]    |
[INFO] [stdout] 95 | add_data_section_with_alignment(name, data, alignment)
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]   --> src/builder/readme.md:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 | add_data_section_with_alignment(name, data, alignment)
[INFO] [stdout]    |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `alignment` in this scope
[INFO] [stdout]   --> src/builder/readme.md:95:45
[INFO] [stdout]    |
[INFO] [stdout] 95 | add_data_section_with_alignment(name, data, alignment)
[INFO] [stdout]    |                                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_data_section_with_alignment` in this scope
[INFO] [stdout]   --> src/builder/readme.md:95:1
[INFO] [stdout]    |
[INFO] [stdout] 95 | add_data_section_with_alignment(name, data, alignment)
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/decoder/readme.md - decoder (line 33) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `OpSize` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |     operand_size: OpSize,      // 16/32/64 位操作数
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AddrSize` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |     address_size: AddrSize,    // 16/32/64 位地址
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Segment` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     segment_override: Option<Segment>, // 段前缀
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct PrefixState<Segment> {
[INFO] [stdout]    |                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Repeat` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:38:27
[INFO] [stdout]    |
[INFO] [stdout] 38 |     repeat_prefix: Option<Repeat>,     // rep/repne
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::io::Repeat;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use std::iter::Repeat;
[INFO] [stdout]    |
[INFO] [stdout] 33 + use core::iter::Repeat;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/readme.md - (line 138) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X86_64Assembler`
[INFO] [stdout]    --> src/readme.md:139:7
[INFO] [stdout]     |
[INFO] [stdout] 139 | match X86_64Assembler::new(Architecture::ARM) {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^ use of undeclared type `X86_64Assembler`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 138 + use x86_64_assembler::X86_64Assembler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Architecture`
[INFO] [stdout]    --> src/readme.md:139:28
[INFO] [stdout]     |
[INFO] [stdout] 139 | match X86_64Assembler::new(Architecture::ARM) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^ use of undeclared type `Architecture`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 138 + use gaia_types::helpers::Architecture;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/instruction/readme.md - instruction (line 32) stdout ----
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:34:1
[INFO] [stdout]    |
[INFO] [stdout] 34 | ├── Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:34:2
[INFO] [stdout]    |
[INFO] [stdout] 34 | ├── Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 34 - ├── Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout] 34 + ├-- Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:34:3
[INFO] [stdout]    |
[INFO] [stdout] 34 | ├── Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 34 - ├── Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout] 34 + ├─- Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | ├── Push/Pop: 需要一个 Operand  
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:35:2
[INFO] [stdout]    |
[INFO] [stdout] 35 | ├── Push/Pop: 需要一个 Operand  
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 35 - ├── Push/Pop: 需要一个 Operand  
[INFO] [stdout] 35 + ├-- Push/Pop: 需要一个 Operand  
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:35:3
[INFO] [stdout]    |
[INFO] [stdout] 35 | ├── Push/Pop: 需要一个 Operand  
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 35 - ├── Push/Pop: 需要一个 Operand  
[INFO] [stdout] 35 + ├─- Push/Pop: 需要一个 Operand  
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | ├── Call: 需要一个 Operand (目标)
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:36:2
[INFO] [stdout]    |
[INFO] [stdout] 36 | ├── Call: 需要一个 Operand (目标)
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 36 - ├── Call: 需要一个 Operand (目标)
[INFO] [stdout] 36 + ├-- Call: 需要一个 Operand (目标)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | ├── Call: 需要一个 Operand (目标)
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 36 - ├── Call: 需要一个 Operand (目标)
[INFO] [stdout] 36 + ├─- Call: 需要一个 Operand (目标)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | ├── Lea: 需要 Register + 立即数 + bool
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:37:2
[INFO] [stdout]    |
[INFO] [stdout] 37 | ├── Lea: 需要 Register + 立即数 + bool
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 37 - ├── Lea: 需要 Register + 立即数 + bool
[INFO] [stdout] 37 + ├-- Lea: 需要 Register + 立即数 + bool
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 | ├── Lea: 需要 Register + 立即数 + bool
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 37 - ├── Lea: 需要 Register + 立即数 + bool
[INFO] [stdout] 37 + ├─- Lea: 需要 Register + 立即数 + bool
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | ├── Ret/Nop: 无操作数
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:38:2
[INFO] [stdout]    |
[INFO] [stdout] 38 | ├── Ret/Nop: 无操作数
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 38 - ├── Ret/Nop: 无操作数
[INFO] [stdout] 38 + ├-- Ret/Nop: 无操作数
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | ├── Ret/Nop: 无操作数
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 38 - ├── Ret/Nop: 无操作数
[INFO] [stdout] 38 + ├─- Ret/Nop: 无操作数
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2514}
[INFO] [stdout]   --> src/instruction/readme.md:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | └── 未来扩展...
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:39:2
[INFO] [stdout]    |
[INFO] [stdout] 39 | └── 未来扩展...
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 39 - └── 未来扩展...
[INFO] [stdout] 39 + └-- 未来扩展...
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 | └── 未来扩展...
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 39 - └── 未来扩展...
[INFO] [stdout] 39 + └─- 未来扩展...
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | ├── Reg: 引用 Register
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | ├── Reg: 引用 Register
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 42 - ├── Reg: 引用 Register
[INFO] [stdout] 42 + ├-- Reg: 引用 Register
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 | ├── Reg: 引用 Register
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 42 - ├── Reg: 引用 Register
[INFO] [stdout] 42 + ├─- Reg: 引用 Register
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | ├── Imm: 包含值和大小
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:43:2
[INFO] [stdout]    |
[INFO] [stdout] 43 | ├── Imm: 包含值和大小
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 43 - ├── Imm: 包含值和大小
[INFO] [stdout] 43 + ├-- Imm: 包含值和大小
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 | ├── Imm: 包含值和大小
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 43 - ├── Imm: 包含值和大小
[INFO] [stdout] 43 + ├─- Imm: 包含值和大小
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | ├── Mem: 包含寻址组件
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:44:2
[INFO] [stdout]    |
[INFO] [stdout] 44 | ├── Mem: 包含寻址组件
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 44 - ├── Mem: 包含寻址组件
[INFO] [stdout] 44 + ├-- Mem: 包含寻址组件
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:44:3
[INFO] [stdout]    |
[INFO] [stdout] 44 | ├── Mem: 包含寻址组件
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 44 - ├── Mem: 包含寻址组件
[INFO] [stdout] 44 + ├─- Mem: 包含寻址组件
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2514}
[INFO] [stdout]   --> src/instruction/readme.md:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | └── Label: 字符串引用
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:45:2
[INFO] [stdout]    |
[INFO] [stdout] 45 | └── Label: 字符串引用
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 45 - └── Label: 字符串引用
[INFO] [stdout] 45 + └-- Label: 字符串引用
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:45:3
[INFO] [stdout]    |
[INFO] [stdout] 45 | └── Label: 字符串引用
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 45 - └── Label: 字符串引用
[INFO] [stdout] 45 + └─- Label: 字符串引用
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | ├── 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:48:2
[INFO] [stdout]    |
[INFO] [stdout] 48 | ├── 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 48 - ├── 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout] 48 + ├-- 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 | ├── 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 48 - ├── 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout] 48 + ├─- 传统寄存器 (AL/AH/AX/EAX/RAX)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{251c}
[INFO] [stdout]   --> src/instruction/readme.md:49:1
[INFO] [stdout]    |
[INFO] [stdout] 49 | ├── 扩展寄存器 (R8-R15)
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:49:2
[INFO] [stdout]    |
[INFO] [stdout] 49 | ├── 扩展寄存器 (R8-R15)
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 49 - ├── 扩展寄存器 (R8-R15)
[INFO] [stdout] 49 + ├-- 扩展寄存器 (R8-R15)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:49:3
[INFO] [stdout]    |
[INFO] [stdout] 49 | ├── 扩展寄存器 (R8-R15)
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 49 - ├── 扩展寄存器 (R8-R15)
[INFO] [stdout] 49 + ├─- 扩展寄存器 (R8-R15)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2514}
[INFO] [stdout]   --> src/instruction/readme.md:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | └── 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:50:2
[INFO] [stdout]    |
[INFO] [stdout] 50 | └── 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout]    |  ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: character appears once more
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 50 - └── 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout] 50 + └-- 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2500}
[INFO] [stdout]   --> src/instruction/readme.md:50:3
[INFO] [stdout]    |
[INFO] [stdout] 50 | └── 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout]    |   ^
[INFO] [stdout]    |
[INFO] [stdout] help: Unicode character '─' (Box Drawings Light Horizontal) looks like '-' (Minus/Hyphen), but it is not
[INFO] [stdout]    |
[INFO] [stdout] 50 - └── 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout] 50 + └─- 子寄存器 (R8B/R8W/R8D)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `-`
[INFO] [stdout]   --> src/instruction/readme.md:34:2
[INFO] [stdout]    |
[INFO] [stdout] 33 | Instruction
[INFO] [stdout]    |            - expected one of `!` or `::`
[INFO] [stdout] 34 | ├── Mov/Add/Sub: 需要两个 Operand
[INFO] [stdout]    |  ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 40 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/readme.md - (line 18) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:23:59
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_18_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 23 | let assembler = X86_64Assembler::new(Architecture::X86_64)?;
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 19 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_18_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 20 | use x86_64_assembler::X86_64Assembler;
[INFO] [stdout] ...
[INFO] [stdout] 23 | let assembler = X86_64Assembler::new(Architecture::X86_64)?;
[INFO] [stdout] 24 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/readme.md - (line 87) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:97:36
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout]  97 |     .mov_reg_imm(Register::RAX, 10)?      // mov rax, 10
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:98:36
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout]  98 |     .mov_reg_imm(Register::RDX, 20)?      // mov rdx, 20
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:99:35
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout]  99 |     .add_reg_imm(Register::RAX, 5)?      // add rax, 5
[INFO] [stdout]     |                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:100:29
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 100 |     .push_reg(Register::RAX)?             // push rax
[INFO] [stdout]     |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/readme.md:101:11
[INFO] [stdout]     |
[INFO] [stdout] 101 |     .call("print_number")?                 // call print_number
[INFO] [stdout]     |      ---- ^^^^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |      |
[INFO] [stdout]     |      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/builder/mod.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn call(&mut self, target: String) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 101 |     .call("print_number".to_string())?                 // call print_number
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:101:26
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 101 |     .call("print_number")?                 // call print_number
[INFO] [stdout]     |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:102:35
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 102 |     .add_reg_imm(Register::RSP, 8)?        // add rsp, 8 (清理栈)
[INFO] [stdout]     |                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:103:11
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 103 |     .ret()?;                               // ret
[INFO] [stdout]     |           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/readme.md:106:42
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 106 | let code = builder.compile_instructions()?;
[INFO] [stdout]     |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  88 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  89 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 107 | println!("生成的机器码: {:?}", code);
[INFO] [stdout] 108 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/decoder/readme.md - decoder (line 55) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RegCode` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Reg(RegCode),      // 隐含寄存器 (如 AL, AX, EAX)
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Imm(Size),          // 立即数，大小由前缀决定
[INFO] [stdout]    |         ^^^^ help: a trait with a similar name exists: `Sized`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/marker.rs:160:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Sized` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Mem(Size),          // 内存操作数，大小由前缀决定
[INFO] [stdout]    |         ^^^^ help: a trait with a similar name exists: `Sized`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/marker.rs:160:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Sized` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     Rel(Size),          // 相对地址，用于跳转
[INFO] [stdout]    |         ^^^^ help: a trait with a similar name exists: `Sized`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/marker.rs:160:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Sized` defined here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/readme.md - (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Architecture`
[INFO] [stdout]   --> src/readme.md:32:39
[INFO] [stdout]    |
[INFO] [stdout] 32 | let mut builder = ProgramBuilder::new(Architecture::X86_64);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ use of undeclared type `Architecture`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 26 + use gaia_types::helpers::Architecture;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:34:36
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 34 |     .mov_reg_imm(Register::RAX, 42)?
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 28 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 29 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 37 |     .ret()?;
[INFO] [stdout] 38 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:35:29
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     .push_reg(Register::RAX)?
[INFO] [stdout]    |                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 28 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 29 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 37 |     .ret()?;
[INFO] [stdout] 38 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/readme.md:36:11
[INFO] [stdout]     |
[INFO] [stdout]  36 |     .call("my_function")?
[INFO] [stdout]     |      ---- ^^^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |      |
[INFO] [stdout]     |      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/builder/mod.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn call(&mut self, target: String) -> Result<&mut Self> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout]  36 |     .call("my_function".to_string())?
[INFO] [stdout]     |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:36:25
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 36 |     .call("my_function")?
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 28 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 29 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 37 |     .ret()?;
[INFO] [stdout] 38 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:37:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 37 |     .ret()?;
[INFO] [stdout]    |           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 28 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_27_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 29 | use x86_64_assembler::builder::ProgramBuilder;
[INFO] [stdout] ...
[INFO] [stdout] 37 |     .ret()?;
[INFO] [stdout] 38 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/readme.md - (line 130) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `X86_64Assembler`
[INFO] [stdout]    --> src/readme.md:131:21
[INFO] [stdout]     |
[INFO] [stdout] 131 | let mut assembler = X86_64Assembler::new(Architecture::X86)?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type `X86_64Assembler`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 130 + use x86_64_assembler::X86_64Assembler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Architecture`
[INFO] [stdout]    --> src/readme.md:131:42
[INFO] [stdout]     |
[INFO] [stdout] 131 | let mut assembler = X86_64Assembler::new(Architecture::X86)?;
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ use of undeclared type `Architecture`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 130 + use gaia_types::helpers::Architecture;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Architecture`
[INFO] [stdout]    --> src/readme.md:132:28
[INFO] [stdout]     |
[INFO] [stdout] 132 | assembler.set_architecture(Architecture::X86_64)?;
[INFO] [stdout]     |                            ^^^^^^^^^^^^ use of undeclared type `Architecture`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 130 + use gaia_types::helpers::Architecture;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/readme.md - (line 64) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:70:59
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_64_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 70 | let assembler = X86_64Assembler::new(Architecture::X86_64)?;
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 65 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_64_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 66 | use x86_64_assembler::{X86_64Assembler, instruction::{Instruction, Operand, Register}};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("解码结果: {:?}", decoded);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:79:43
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_64_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 79 | let bytes = assembler.encode(&instruction)?;
[INFO] [stdout]    |                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 65 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_64_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 66 | use x86_64_assembler::{X86_64Assembler, instruction::{Instruction, Operand, Register}};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("解码结果: {:?}", decoded);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/readme.md:83:39
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_64_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 83 | let decoded = assembler.decode(&bytes)?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 65 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_readme_md_64_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 66 | use x86_64_assembler::{X86_64Assembler, instruction::{Instruction, Operand, Register}};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("解码结果: {:?}", decoded);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/builder/readme.md - builder (line 115)
[INFO] [stdout]     src/builder/readme.md - builder (line 138)
[INFO] [stdout]     src/builder/readme.md - builder (line 29)
[INFO] [stdout]     src/builder/readme.md - builder (line 76)
[INFO] [stdout]     src/builder/readme.md - builder (line 94)
[INFO] [stdout]     src/decoder/readme.md - decoder (line 25)
[INFO] [stdout]     src/decoder/readme.md - decoder (line 33)
[INFO] [stdout]     src/decoder/readme.md - decoder (line 55)
[INFO] [stdout]     src/decoder/readme.md - decoder (line 66)
[INFO] [stdout]     src/instruction/readme.md - instruction (line 32)
[INFO] [stdout]     src/readme.md - (line 130)
[INFO] [stdout]     src/readme.md - (line 138)
[INFO] [stdout]     src/readme.md - (line 18)
[INFO] [stdout]     src/readme.md - (line 27)
[INFO] [stdout]     src/readme.md - (line 64)
[INFO] [stdout]     src/readme.md - (line 87)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.80s; merged doctests compilation took 0.23s
[INFO] running `Command { std: "docker" "inspect" "1354e394093d7d9524d21186977133acd89aeea8ca177ceb2490c61a6a827462", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1354e394093d7d9524d21186977133acd89aeea8ca177ceb2490c61a6a827462", kill_on_drop: false }`
[INFO] [stdout] 1354e394093d7d9524d21186977133acd89aeea8ca177ceb2490c61a6a827462
