[INFO] fetching crate x86_64-assembler 0.0.1...
[INFO] testing x86_64-assembler-0.0.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate x86_64-assembler 0.0.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate x86_64-assembler 0.0.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 38249256057c8a1a5afe59d6f963d05c3736dfe3597cf1b1fea27a333748f7c3
[INFO] running `Command { std: "docker" "start" "-a" "38249256057c8a1a5afe59d6f963d05c3736dfe3597cf1b1fea27a333748f7c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38249256057c8a1a5afe59d6f963d05c3736dfe3597cf1b1fea27a333748f7c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38249256057c8a1a5afe59d6f963d05c3736dfe3597cf1b1fea27a333748f7c3", kill_on_drop: false }`
[INFO] [stdout] 38249256057c8a1a5afe59d6f963d05c3736dfe3597cf1b1fea27a333748f7c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9e509c8bdeaa94d492ee013adc881127acb0f932c56c7c181434ff533c55dd89
[INFO] running `Command { std: "docker" "start" "-a" "9e509c8bdeaa94d492ee013adc881127acb0f932c56c7c181434ff533c55dd89", kill_on_drop: false }`
[INFO] [stderr]    Compiling source-map v0.15.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling zerovec v0.11.4
[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 19.27s
[INFO] running `Command { std: "docker" "inspect" "9e509c8bdeaa94d492ee013adc881127acb0f932c56c7c181434ff533c55dd89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e509c8bdeaa94d492ee013adc881127acb0f932c56c7c181434ff533c55dd89", kill_on_drop: false }`
[INFO] [stdout] 9e509c8bdeaa94d492ee013adc881127acb0f932c56c7c181434ff533c55dd89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 29a696ab4aff637c0a8be7397139b294d27a536c168bf7e45440d6bbf262cbdc
[INFO] running `Command { std: "docker" "start" "-a" "29a696ab4aff637c0a8be7397139b294d27a536c168bf7e45440d6bbf262cbdc", kill_on_drop: false }`
[INFO] [stderr]    Compiling diff v0.1.13
[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.28s
[INFO] running `Command { std: "docker" "inspect" "29a696ab4aff637c0a8be7397139b294d27a536c168bf7e45440d6bbf262cbdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29a696ab4aff637c0a8be7397139b294d27a536c168bf7e45440d6bbf262cbdc", kill_on_drop: false }`
[INFO] [stdout] 29a696ab4aff637c0a8be7397139b294d27a536c168bf7e45440d6bbf262cbdc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] cdeb16e3d9e3497d328d8889228b879db824ed21238ab935a5077c6c67956657
[INFO] running `Command { std: "docker" "start" "-a" "cdeb16e3d9e3497d328d8889228b879db824ed21238ab935a5077c6c67956657", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/x86_64-assembler/dc5fb6088e4d6a2f/deps/x86_64_assembler-dc5fb6088e4d6a2f)
[INFO] [stdout] 
[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] [stderr]    Doc-tests x86_64_assembler
[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/readme.md - (line 18) ... FAILED
[INFO] [stdout] test src/readme.md - (line 27) ... FAILED
[INFO] [stdout] test src/instruction/readme.md - instruction (line 32) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 76) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 94) ... FAILED
[INFO] [stdout] test src/readme.md - (line 130) ... FAILED
[INFO] [stdout] test src/readme.md - (line 87) ... FAILED
[INFO] [stdout] test src/readme.md - (line 138) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 115) ... FAILED
[INFO] [stdout] test src/decoder/readme.md - decoder (line 33) ... FAILED
[INFO] [stdout] test src/builder/readme.md - builder (line 29) ... FAILED
[INFO] [stdout] test src/readme.md - (line 64) ... FAILED
[INFO] [stdout] test src/decoder/readme.md - decoder (line 55) ... FAILED
[INFO] [stdout] test src/decoder/readme.md - decoder (line 66) ... 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] [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/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 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]    --> 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/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/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 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/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 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]    --> 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/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/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/decoder/readme.md - decoder (line 33) stdout ----
[INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder/readme.md - builder (line 29) stdout ----
[INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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 E0425`.
[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] ---- src/decoder/readme.md - decoder (line 55) stdout ----
[INFO] [stdout] error[E0425]: 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[E0425]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Imm(Size),          // 立即数，大小由前缀决定
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/marker.rs:161:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Sized` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Imm(Sized),          // 立即数，大小由前缀决定
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Mem(Size),          // 内存操作数，大小由前缀决定
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/marker.rs:161:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Sized` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Mem(Sized),          // 内存操作数，大小由前缀决定
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/decoder/readme.md:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     Rel(Size),          // 相对地址，用于跳转
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/marker.rs:161:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Sized` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 61 |     Rel(Sized),          // 相对地址，用于跳转
[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 E0425`.
[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] 
[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.55s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.86s; merged doctests compilation took 0.31s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cdeb16e3d9e3497d328d8889228b879db824ed21238ab935a5077c6c67956657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdeb16e3d9e3497d328d8889228b879db824ed21238ab935a5077c6c67956657", kill_on_drop: false }`
[INFO] [stdout] cdeb16e3d9e3497d328d8889228b879db824ed21238ab935a5077c6c67956657
