[INFO] cloning repository https://github.com/AllenYolk/sysy-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AllenYolk/sysy-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenYolk%2Fsysy-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenYolk%2Fsysy-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6699b3ff95384ce44c39049398d6dfede08ccc81
[INFO] testing AllenYolk/sysy-compiler/6699b3ff95384ce44c39049398d6dfede08ccc81 against nightly-2024-10-28 for randomize-layout
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenYolk%2Fsysy-compiler" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AllenYolk/sysy-compiler on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AllenYolk/sysy-compiler
[INFO] finished tweaking git repo https://github.com/AllenYolk/sysy-compiler
[INFO] tweaked toml for git repo https://github.com/AllenYolk/sysy-compiler written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AllenYolk/sysy-compiler 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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded key-node-list v0.0.5
[INFO] [stderr]   Downloaded koopa v0.0.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9468a4457bc4e680512b615834a9f9341eabf1fba9cf1d64367a55c629881d57
[INFO] running `Command { std: "docker" "start" "-a" "9468a4457bc4e680512b615834a9f9341eabf1fba9cf1d64367a55c629881d57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9468a4457bc4e680512b615834a9f9341eabf1fba9cf1d64367a55c629881d57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9468a4457bc4e680512b615834a9f9341eabf1fba9cf1d64367a55c629881d57", kill_on_drop: false }`
[INFO] [stdout] 9468a4457bc4e680512b615834a9f9341eabf1fba9cf1d64367a55c629881d57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e08823f2966379c6c3a9dc4153467c37099014ae36f75296d7a6fa26a646907d
[INFO] running `Command { std: "docker" "start" "-a" "e08823f2966379c6c3a9dc4153467c37099014ae36f75296d7a6fa26a646907d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling rustix v0.37.19
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling linux-raw-sys v0.3.7
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling key-node-list v0.0.5
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]    Compiling koopa v0.0.6
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling lalrpop-util v0.20.0
[INFO] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling lalrpop v0.20.0
[INFO] [stderr]    Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `to_triple` is never used
[INFO] [stdout]     --> /opt/rustwide/target/debug/build/sysy_compiler-f488ee82b7476ce3/out/sysy.rs:9611:8
[INFO] [stdout]      |
[INFO] [stdout] 9609 | pub trait __ToTriple<'input, >
[INFO] [stdout]      |           ---------- associated function in this trait
[INFO] [stdout] 9610 | {
[INFO] [stdout] 9611 |     fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>>;
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `body` is never read
[INFO] [stdout]   --> src/ir_generate/scopes.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct LoopLabel {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 29 |     pub entry: String,
[INFO] [stdout] 30 |     pub body: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoopLabel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s
[INFO] running `Command { std: "docker" "inspect" "e08823f2966379c6c3a9dc4153467c37099014ae36f75296d7a6fa26a646907d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e08823f2966379c6c3a9dc4153467c37099014ae36f75296d7a6fa26a646907d", kill_on_drop: false }`
[INFO] [stdout] e08823f2966379c6c3a9dc4153467c37099014ae36f75296d7a6fa26a646907d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ef3e4658164c1933de5b0cf4958b6243fd0dda6940900c0b14d667b03d48575
[INFO] running `Command { std: "docker" "start" "-a" "9ef3e4658164c1933de5b0cf4958b6243fd0dda6940900c0b14d667b03d48575", kill_on_drop: false }`
[INFO] [stdout] warning: associated function `to_triple` is never used
[INFO] [stdout]     --> /opt/rustwide/target/debug/build/sysy_compiler-f488ee82b7476ce3/out/sysy.rs:9611:8
[INFO] [stdout]      |
[INFO] [stdout] 9609 | pub trait __ToTriple<'input, >
[INFO] [stdout]      |           ---------- associated function in this trait
[INFO] [stdout] 9610 | {
[INFO] [stdout] 9611 |     fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>>;
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `body` is never read
[INFO] [stdout]   --> src/ir_generate/scopes.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct LoopLabel {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 29 |     pub entry: String,
[INFO] [stdout] 30 |     pub body: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoopLabel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `to_triple` is never used
[INFO] [stdout]     --> /opt/rustwide/target/debug/build/sysy_compiler-f488ee82b7476ce3/out/sysy.rs:9611:8
[INFO] [stdout]      |
[INFO] [stdout] 9609 | pub trait __ToTriple<'input, >
[INFO] [stdout]      |           ---------- associated function in this trait
[INFO] [stdout] 9610 | {
[INFO] [stdout] 9611 |     fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>>;
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `body` is never read
[INFO] [stdout]   --> src/ir_generate/scopes.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct LoopLabel {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 29 |     pub entry: String,
[INFO] [stdout] 30 |     pub body: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoopLabel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s
[INFO] running `Command { std: "docker" "inspect" "9ef3e4658164c1933de5b0cf4958b6243fd0dda6940900c0b14d667b03d48575", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ef3e4658164c1933de5b0cf4958b6243fd0dda6940900c0b14d667b03d48575", kill_on_drop: false }`
[INFO] [stdout] 9ef3e4658164c1933de5b0cf4958b6243fd0dda6940900c0b14d667b03d48575
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b2211385394dc2e7f32f1431a525eae4eb069940dafd782d2fcaccd6b7ad757b
[INFO] running `Command { std: "docker" "start" "-a" "b2211385394dc2e7f32f1431a525eae4eb069940dafd782d2fcaccd6b7ad757b", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `to_triple` is never used
[INFO] [stderr]     --> /opt/rustwide/target/debug/build/sysy_compiler-f488ee82b7476ce3/out/sysy.rs:9611:8
[INFO] [stderr]      |
[INFO] [stderr] 9609 | pub trait __ToTriple<'input, >
[INFO] [stderr]      |           ---------- associated function in this trait
[INFO] [stderr] 9610 | {
[INFO] [stderr] 9611 |     fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>>;
[INFO] [stderr]      |        ^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `body` is never read
[INFO] [stderr]   --> src/ir_generate/scopes.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub struct LoopLabel {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 29 |     pub entry: String,
[INFO] [stderr] 30 |     pub body: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `LoopLabel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `sysy_compiler` (lib) generated 2 warnings
[INFO] [stderr] warning: `sysy_compiler` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sysy_compiler-302f2694d54c285a)
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test ast_generate::tests::astgen_lv3_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv3_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv3_3_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv4_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv5_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv4_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_0_test ... ok
[INFO] [stdout] test ir_generate::array_utils::tests::generate_allocate_dims_test ... ok
[INFO] [stdout] test ir_generate::named_symbol::tests::nsc_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv6_2_test ... ok
[INFO] [stdout] test ir_generate::temp_symbol::tests::new_temp_symbol_test ... ok
[INFO] [stdout] test target_generate::function_call::tests::function_arg_location_test ... ok
[INFO] [stdout] test target_generate::value_location::tests::act_as_function_arg_test ... ok
[INFO] [stdout] test target_generate::value_location::tests::move_content_to_test ... ok
[INFO] [stdout] test tools::tests::append_line_break_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv6_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv7_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv9_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_3_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv7_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv9_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv9_3_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sysy_compiler-614ab8d01e52a76a)
[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]      Running tests/koopa_test.rs (/opt/rustwide/target/debug/deps/koopa_test-1a034099c02aa1fa)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test koopa_mod_test_lv1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv3_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv3_3 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv3_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv5 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv4_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv8_0 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv6_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv4_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv7_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv7_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv8_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv6_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv8_3 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv8_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv9_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv9_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv9_3 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         112,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   ret 112
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228748e - koopa_test::koopa_mod_test_lv1::h312d751e82ecad1f
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:12:5
[INFO] [stdout]   22:     0x5f3812287457 - koopa_test::koopa_mod_test_lv1::{{closure}}::h688dfdde2a7a35a4
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:11:24
[INFO] [stdout]   23:     0x5f3812286806 - core::ops::function::FnOnce::call_once::h0a7288fe6e601f5c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         514,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   ret 514
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122874de - koopa_test::koopa_mod_test_lv2::hff903a844d2580d4
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:17:5
[INFO] [stdout]   22:     0x5f38122874a7 - koopa_test::koopa_mod_test_lv2::{{closure}}::h09234348178f441a
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:16:24
[INFO] [stdout]   23:     0x5f3812286956 - core::ops::function::FnOnce::call_once::h52e247e0ad819ae5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv3_2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         AddMul(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             1,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Add,
[INFO] [stdout]                                                             MulUnary(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             2,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Mul,
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         3,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   %0 = mul 2, 3
[INFO] [stdout]   %1 = add 1, %0
[INFO] [stdout]   ret %1
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv3_2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228757e - koopa_test::koopa_mod_test_lv3_2::h072f0e2ddba73a80
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:30:5
[INFO] [stdout]   22:     0x5f3812287547 - koopa_test::koopa_mod_test_lv3_2::{{closure}}::h3a484bac874ce8bd
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:29:26
[INFO] [stdout]   23:     0x5f3812286b96 - core::ops::function::FnOnce::call_once::hc09051f0a5bb45b8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv3_3 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         AddMul(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             1,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Sub,
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Exp(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 LAndEq(
[INFO] [stdout]                                                                                     Eq(
[INFO] [stdout]                                                                                         Rel(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Not,
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 Num(
[INFO] [stdout]                                                                                                                     3,
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             1,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   %and_1 = alloc i32
[INFO] [stdout]   %0 = eq 0, 3
[INFO] [stdout]   %1 = ne %0, 0
[INFO] [stdout]   store %1, %and_1
[INFO] [stdout]   br %1, %and_rhs_1, %and_end_1
[INFO] [stdout] 
[INFO] [stdout] %and_rhs_1:
[INFO] [stdout]   %2 = ne 1, 0
[INFO] [stdout]   store %2, %and_1
[INFO] [stdout]   jump %and_end_1
[INFO] [stdout] 
[INFO] [stdout] %and_end_1:
[INFO] [stdout]   %3 = load %and_1
[INFO] [stdout]   %4 = sub 1, %3
[INFO] [stdout]   ret %4
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv3_3' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122875ce - koopa_test::koopa_mod_test_lv3_3::h415722a1a9f88cc5
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:38:5
[INFO] [stdout]   22:     0x5f3812287597 - koopa_test::koopa_mod_test_lv3_3::{{closure}}::hcd8a85f631921d27
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:37:26
[INFO] [stdout]   23:     0x5f3812286a56 - core::ops::function::FnOnce::call_once::h7f8ce02a338c9f81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv3_1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Pos,
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Exp(
[INFO] [stdout]                                                                             Exp {
[INFO] [stdout]                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                     Eq(
[INFO] [stdout]                                                                                         Rel(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Neg,
[INFO] [stdout]                                                                                                             Unary(
[INFO] [stdout]                                                                                                                 Neg,
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Not,
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         Num(
[INFO] [stdout]                                                                                                                             6,
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   %0 = eq 0, 6
[INFO] [stdout]   %1 = sub 0, %0
[INFO] [stdout]   %2 = sub 0, %1
[INFO] [stdout]   ret %2
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv3_1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228752e - koopa_test::koopa_mod_test_lv3_1::ha7ba8b8502f1d970
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:22:5
[INFO] [stdout]   22:     0x5f38122874f7 - koopa_test::koopa_mod_test_lv3_1::{{closure}}::hf716f0b5a50315e6
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:21:26
[INFO] [stdout]   23:     0x5f3812286786 - core::ops::function::FnOnce::call_once::h04cf73da9db7e413
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv5 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Void,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "a",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Block(
[INFO] [stdout]                                 Block {
[INFO] [stdout]                                     items: [
[INFO] [stdout]                                         Stmt(
[INFO] [stdout]                                             Assign(
[INFO] [stdout]                                                 LVal {
[INFO] [stdout]                                                     ident: "a",
[INFO] [stdout]                                                     idx: [],
[INFO] [stdout]                                                 },
[INFO] [stdout]                                                 Exp {
[INFO] [stdout]                                                     exp: LAnd(
[INFO] [stdout]                                                         Eq(
[INFO] [stdout]                                                             Rel(
[INFO] [stdout]                                                                 Add(
[INFO] [stdout]                                                                     Mul(
[INFO] [stdout]                                                                         Unary(
[INFO] [stdout]                                                                             Primary(
[INFO] [stdout]                                                                                 Num(
[INFO] [stdout]                                                                                     2,
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                         Stmt(
[INFO] [stdout]                                             Exp(
[INFO] [stdout]                                                 None,
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                         Decl(
[INFO] [stdout]                                             Var(
[INFO] [stdout]                                                 VarDecl {
[INFO] [stdout]                                                     defs: [
[INFO] [stdout]                                                         VarDef {
[INFO] [stdout]                                                             ident: "a",
[INFO] [stdout]                                                             dims: [],
[INFO] [stdout]                                                             init: Some(
[INFO] [stdout]                                                                 Exp(
[INFO] [stdout]                                                                     Exp {
[INFO] [stdout]                                                                         exp: LAnd(
[INFO] [stdout]                                                                             Eq(
[INFO] [stdout]                                                                                 Rel(
[INFO] [stdout]                                                                                     Add(
[INFO] [stdout]                                                                                         Mul(
[INFO] [stdout]                                                                                             Unary(
[INFO] [stdout]                                                                                                 Primary(
[INFO] [stdout]                                                                                                     Num(
[INFO] [stdout]                                                                                                         3,
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ],
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Exp(
[INFO] [stdout]                                 None,
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Exp(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         AddMul(
[INFO] [stdout]                                                             AddMul(
[INFO] [stdout]                                                                 Mul(
[INFO] [stdout]                                                                     Unary(
[INFO] [stdout]                                                                         Primary(
[INFO] [stdout]                                                                             LVal(
[INFO] [stdout]                                                                                 LVal {
[INFO] [stdout]                                                                                     ident: "a",
[INFO] [stdout]                                                                                     idx: [],
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Add,
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             6,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Sub,
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         1,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 None,
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main() {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @a_1 = alloc i32
[INFO] [stdout]   store 1, @a_1
[INFO] [stdout]   store 2, @a_1
[INFO] [stdout]   @a_2 = alloc i32
[INFO] [stdout]   store 3, @a_2
[INFO] [stdout]   %0 = load @a_1
[INFO] [stdout]   %1 = add %0, 6
[INFO] [stdout]   %2 = sub %1, 1
[INFO] [stdout]   ret
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv5' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122876be - koopa_test::koopa_mod_test_lv5::hbe073101a8ee7697
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:62:5
[INFO] [stdout]   22:     0x5f3812287687 - koopa_test::koopa_mod_test_lv5::{{closure}}::hc95807cd62fb228e
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:61:24
[INFO] [stdout]   23:     0x5f3812286c56 - core::ops::function::FnOnce::call_once::hfc1d8602a3045121
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv4_1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Const(
[INFO] [stdout]                                 ConstDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         ConstDef {
[INFO] [stdout]                                             ident: "x",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Exp(
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             1,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                         ConstDef {
[INFO] [stdout]                                             ident: "z",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Exp(
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LOrLAnd(
[INFO] [stdout]                                                             LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             0,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Const(
[INFO] [stdout]                                 ConstDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         ConstDef {
[INFO] [stdout]                                             ident: "y",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Exp(
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Not,
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "x",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         AddMul(
[INFO] [stdout]                                                             AddMul(
[INFO] [stdout]                                                                 Mul(
[INFO] [stdout]                                                                     Unary(
[INFO] [stdout]                                                                         Primary(
[INFO] [stdout]                                                                             LVal(
[INFO] [stdout]                                                                                 LVal {
[INFO] [stdout]                                                                                     ident: "x",
[INFO] [stdout]                                                                                     idx: [],
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Sub,
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         LVal(
[INFO] [stdout]                                                                             LVal {
[INFO] [stdout]                                                                                 ident: "y",
[INFO] [stdout]                                                                                 idx: [],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Add,
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "z",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   %0 = sub 2, 0
[INFO] [stdout]   %1 = add %0, 1
[INFO] [stdout]   ret %1
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv4_1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228761e - koopa_test::koopa_mod_test_lv4_1::h7f55f3f9674aec94
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:46:5
[INFO] [stdout]   22:     0x5f38122875e7 - koopa_test::koopa_mod_test_lv4_1::{{closure}}::h9b98c86f23959269
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:45:26
[INFO] [stdout]   23:     0x5f3812286886 - core::ops::function::FnOnce::call_once::h2ce0d4d77a1f3cbc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv8_0 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "half",
[INFO] [stdout]                 params: [
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "x",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                 ],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             MulUnary(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         LVal(
[INFO] [stdout]                                                                             LVal {
[INFO] [stdout]                                                                                 ident: "x",
[INFO] [stdout]                                                                                 idx: [],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Div,
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         2,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Void,
[INFO] [stdout]                 ident: "f",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Exp(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 FuncCall(
[INFO] [stdout]                                                                     "f",
[INFO] [stdout]                                                                     [],
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 FuncCall(
[INFO] [stdout]                                                                     "half",
[INFO] [stdout]                                                                     [
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             10,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ],
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @half(%0: i32): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @x_1 = alloc i32
[INFO] [stdout]   store %0, @x_1
[INFO] [stdout]   %1 = load @x_1
[INFO] [stdout]   %2 = div %1, 2
[INFO] [stdout]   ret %2
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] fun @f() {
[INFO] [stdout] %entry_2:
[INFO] [stdout]   ret
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_3:
[INFO] [stdout]   call @f()
[INFO] [stdout]   %3 = call @half(10)
[INFO] [stdout]   ret %3
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv8_0' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228784e - koopa_test::koopa_mod_test_lv8_0::h7342a39949ddd6b0
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:99:5
[INFO] [stdout]   22:     0x5f3812287817 - koopa_test::koopa_mod_test_lv8_0::{{closure}}::h6a2707e098b03628
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:98:26
[INFO] [stdout]   23:     0x5f3812286996 - core::ops::function::FnOnce::call_once::h57a837c23e745e9c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv6_2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "a",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         0,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "b",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             If(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LOrLAnd(
[INFO] [stdout]                                         LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "a",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 LVal(
[INFO] [stdout]                                                                     LVal {
[INFO] [stdout]                                                                         ident: "b",
[INFO] [stdout]                                                                         idx: [],
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Block(
[INFO] [stdout]                                     Block {
[INFO] [stdout]                                         items: [
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "a",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "a",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "b",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ],
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Block(
[INFO] [stdout]                                         Block {
[INFO] [stdout]                                             items: [
[INFO] [stdout]                                                 Stmt(
[INFO] [stdout]                                                     Assign(
[INFO] [stdout]                                                         LVal {
[INFO] [stdout]                                                             ident: "a",
[INFO] [stdout]                                                             idx: [],
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LOrLAnd(
[INFO] [stdout]                                                                 LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             Exp(
[INFO] [stdout]                                                                                                 Exp {
[INFO] [stdout]                                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                                         Eq(
[INFO] [stdout]                                                                                                             Rel(
[INFO] [stdout]                                                                                                                 Add(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Unary(
[INFO] [stdout]                                                                                                                                 Not,
[INFO] [stdout]                                                                                                                                 Primary(
[INFO] [stdout]                                                                                                                                     LVal(
[INFO] [stdout]                                                                                                                                         LVal {
[INFO] [stdout]                                                                                                                                             ident: "b",
[INFO] [stdout]                                                                                                                                             idx: [],
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Exp(
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     LAndEq(
[INFO] [stdout]                                                                                                         Eq(
[INFO] [stdout]                                                                                                             Rel(
[INFO] [stdout]                                                                                                                 Add(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Unary(
[INFO] [stdout]                                                                                                                                 Not,
[INFO] [stdout]                                                                                                                                 Primary(
[INFO] [stdout]                                                                                                                                     LVal(
[INFO] [stdout]                                                                                                                                         LVal {
[INFO] [stdout]                                                                                                                                             ident: "a",
[INFO] [stdout]                                                                                                                                             idx: [],
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 Mul(
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             LVal(
[INFO] [stdout]                                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                                     ident: "b",
[INFO] [stdout]                                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                                 },
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ],
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "a",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @a_1 = alloc i32
[INFO] [stdout]   store 0, @a_1
[INFO] [stdout]   @b_1 = alloc i32
[INFO] [stdout]   store 1, @b_1
[INFO] [stdout]   %or_1 = alloc i32
[INFO] [stdout]   %0 = load @a_1
[INFO] [stdout]   %1 = ne %0, 0
[INFO] [stdout]   store %1, %or_1
[INFO] [stdout]   br %1, %or_end_1, %or_rhs_1
[INFO] [stdout] 
[INFO] [stdout] %or_rhs_1:
[INFO] [stdout]   %2 = load @b_1
[INFO] [stdout]   %3 = ne %2, 0
[INFO] [stdout]   store %3, %or_1
[INFO] [stdout]   jump %or_end_1
[INFO] [stdout] 
[INFO] [stdout] %or_end_1:
[INFO] [stdout]   %4 = load %or_1
[INFO] [stdout]   br %4, %if_then_1, %if_else_1
[INFO] [stdout] 
[INFO] [stdout] %if_then_1:
[INFO] [stdout]   %5 = load @a_1
[INFO] [stdout]   %6 = load @b_1
[INFO] [stdout]   %7 = add %5, %6
[INFO] [stdout]   store %7, @a_1
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_else_1:
[INFO] [stdout]   %or_2 = alloc i32
[INFO] [stdout]   %8 = load @b_1
[INFO] [stdout]   %9 = eq 0, %8
[INFO] [stdout]   %10 = ne %9, 0
[INFO] [stdout]   store %10, %or_2
[INFO] [stdout]   br %10, %or_end_2, %or_rhs_2
[INFO] [stdout] 
[INFO] [stdout] %or_rhs_2:
[INFO] [stdout]   %and_1 = alloc i32
[INFO] [stdout]   %11 = load @a_1
[INFO] [stdout]   %12 = eq 0, %11
[INFO] [stdout]   %13 = ne %12, 0
[INFO] [stdout]   store %13, %and_1
[INFO] [stdout]   br %13, %and_rhs_1, %and_end_1
[INFO] [stdout] 
[INFO] [stdout] %and_rhs_1:
[INFO] [stdout]   %14 = load @b_1
[INFO] [stdout]   %15 = ne %14, 0
[INFO] [stdout]   store %15, %and_1
[INFO] [stdout]   jump %and_end_1
[INFO] [stdout] 
[INFO] [stdout] %and_end_1:
[INFO] [stdout]   %16 = load %and_1
[INFO] [stdout]   %17 = ne %16, 0
[INFO] [stdout]   store %17, %or_2
[INFO] [stdout]   jump %or_end_2
[INFO] [stdout] 
[INFO] [stdout] %or_end_2:
[INFO] [stdout]   %18 = load %or_2
[INFO] [stdout]   store %18, @a_1
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_end_1:
[INFO] [stdout]   %19 = load @a_1
[INFO] [stdout]   ret %19
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv6_2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228775e - koopa_test::koopa_mod_test_lv6_2::hb42ec3a9d96927ac
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:75:5
[INFO] [stdout]   22:     0x5f3812287727 - koopa_test::koopa_mod_test_lv6_2::{{closure}}::heed3319cedf7d58a
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:74:26
[INFO] [stdout]   23:     0x5f3812286916 - core::ops::function::FnOnce::call_once::h4e5887024029f7f7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv4_2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Const(
[INFO] [stdout]                                 ConstDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         ConstDef {
[INFO] [stdout]                                             ident: "y",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Exp(
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             10,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Sub,
[INFO] [stdout]                                                                             MulUnary(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             3,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                                 Mul,
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         2,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "x",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             MulUnary(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             10,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                                 Mul,
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "y",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "z",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "y",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Sub,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "x",
[INFO] [stdout]                                     idx: [],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         MulUnary(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Exp(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             AddMul(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "x",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Add,
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             1,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Mod,
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 LVal(
[INFO] [stdout]                                                                     LVal {
[INFO] [stdout]                                                                         ident: "z",
[INFO] [stdout]                                                                         idx: [],
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             MulUnary(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         LVal(
[INFO] [stdout]                                                                             LVal {
[INFO] [stdout]                                                                                 ident: "x",
[INFO] [stdout]                                                                                 idx: [],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Mod,
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "y",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @x_1 = alloc i32
[INFO] [stdout]   %0 = mul 10, 4
[INFO] [stdout]   store %0, @x_1
[INFO] [stdout]   @z_1 = alloc i32
[INFO] [stdout]   %1 = sub 4, 1
[INFO] [stdout]   store %1, @z_1
[INFO] [stdout]   %2 = load @x_1
[INFO] [stdout]   %3 = add %2, 1
[INFO] [stdout]   %4 = load @z_1
[INFO] [stdout]   %5 = mod %3, %4
[INFO] [stdout]   store %5, @x_1
[INFO] [stdout]   %6 = load @x_1
[INFO] [stdout]   %7 = mod %6, 4
[INFO] [stdout]   ret %7
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv4_2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228766e - koopa_test::koopa_mod_test_lv4_2::h6fbbbde7897eee0b
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:54:5
[INFO] [stdout]   22:     0x5f3812287637 - koopa_test::koopa_mod_test_lv4_2::{{closure}}::h626b386d28890b70
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:53:26
[INFO] [stdout]   23:     0x5f38122869d6 - core::ops::function::FnOnce::call_once::h65a760fac74839e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv7_1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "i",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         0,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "x",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             If(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 RelAdd(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "x",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Lt,
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     10,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 While(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     RelAdd(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         LVal(
[INFO] [stdout]                                                                             LVal {
[INFO] [stdout]                                                                                 ident: "i",
[INFO] [stdout]                                                                                 idx: [],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                         Lt,
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         3,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                     If(
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         RelAdd(
[INFO] [stdout]                                                             Add(
[INFO] [stdout]                                                                 Mul(
[INFO] [stdout]                                                                     Unary(
[INFO] [stdout]                                                                         Primary(
[INFO] [stdout]                                                                             LVal(
[INFO] [stdout]                                                                                 LVal {
[INFO] [stdout]                                                                                     ident: "x",
[INFO] [stdout]                                                                                     idx: [],
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Lt,
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             10,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                         Assign(
[INFO] [stdout]                                             LVal {
[INFO] [stdout]                                                 ident: "x",
[INFO] [stdout]                                                 idx: [],
[INFO] [stdout]                                             },
[INFO] [stdout]                                             Exp {
[INFO] [stdout]                                                 exp: LAnd(
[INFO] [stdout]                                                     Eq(
[INFO] [stdout]                                                         Rel(
[INFO] [stdout]                                                             Add(
[INFO] [stdout]                                                                 AddMul(
[INFO] [stdout]                                                                     Mul(
[INFO] [stdout]                                                                         MulUnary(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "x",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Mul,
[INFO] [stdout]                                                                             Primary(
[INFO] [stdout]                                                                                 LVal(
[INFO] [stdout]                                                                                     LVal {
[INFO] [stdout]                                                                                         ident: "x",
[INFO] [stdout]                                                                                         idx: [],
[INFO] [stdout]                                                                                     },
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                     Add,
[INFO] [stdout]                                                                     Unary(
[INFO] [stdout]                                                                         Primary(
[INFO] [stdout]                                                                             Num(
[INFO] [stdout]                                                                                 1,
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             },
[INFO] [stdout]                                         ),
[INFO] [stdout]                                         Some(
[INFO] [stdout]                                             Assign(
[INFO] [stdout]                                                 LVal {
[INFO] [stdout]                                                     ident: "i",
[INFO] [stdout]                                                     idx: [],
[INFO] [stdout]                                                 },
[INFO] [stdout]                                                 Exp {
[INFO] [stdout]                                                     exp: LAnd(
[INFO] [stdout]                                                         Eq(
[INFO] [stdout]                                                             Rel(
[INFO] [stdout]                                                                 Add(
[INFO] [stdout]                                                                     AddMul(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "i",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                         Add,
[INFO] [stdout]                                                                         Unary(
[INFO] [stdout]                                                                             Primary(
[INFO] [stdout]                                                                                 Num(
[INFO] [stdout]                                                                                     1,
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                                 None,
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "x",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @i_1 = alloc i32
[INFO] [stdout]   store 0, @i_1
[INFO] [stdout]   @x_1 = alloc i32
[INFO] [stdout]   store 1, @x_1
[INFO] [stdout]   %0 = load @x_1
[INFO] [stdout]   %1 = lt %0, 10
[INFO] [stdout]   br %1, %if_then_1, %if_else_1
[INFO] [stdout] 
[INFO] [stdout] %if_then_1:
[INFO] [stdout]   jump %while_entry_1
[INFO] [stdout] 
[INFO] [stdout] %while_entry_1:
[INFO] [stdout]   %2 = load @i_1
[INFO] [stdout]   %3 = lt %2, 3
[INFO] [stdout]   br %3, %while_body_1, %while_end_1
[INFO] [stdout] 
[INFO] [stdout] %while_body_1:
[INFO] [stdout]   %4 = load @x_1
[INFO] [stdout]   %5 = lt %4, 10
[INFO] [stdout]   br %5, %if_then_2, %if_else_2
[INFO] [stdout] 
[INFO] [stdout] %if_then_2:
[INFO] [stdout]   %6 = load @x_1
[INFO] [stdout]   %7 = load @x_1
[INFO] [stdout]   %8 = mul %6, %7
[INFO] [stdout]   %9 = add %8, 1
[INFO] [stdout]   store %9, @x_1
[INFO] [stdout]   jump %if_end_2
[INFO] [stdout] 
[INFO] [stdout] %if_else_2:
[INFO] [stdout]   %10 = load @i_1
[INFO] [stdout]   %11 = add %10, 1
[INFO] [stdout]   store %11, @i_1
[INFO] [stdout]   jump %if_end_2
[INFO] [stdout] 
[INFO] [stdout] %if_end_2:
[INFO] [stdout]   jump %while_entry_1
[INFO] [stdout] 
[INFO] [stdout] %while_end_1:
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_else_1:
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_end_1:
[INFO] [stdout]   %12 = load @x_1
[INFO] [stdout]   ret %12
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv7_1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122877ae - koopa_test::koopa_mod_test_lv7_1::hcc68ab8592614ff1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:83:5
[INFO] [stdout]   22:     0x5f3812287777 - koopa_test::koopa_mod_test_lv7_1::{{closure}}::hdfb95f47b4b2bad5
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:82:26
[INFO] [stdout]   23:     0x5f3812286b56 - core::ops::function::FnOnce::call_once::h9c23fd0ca321a994
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv7_2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "i",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         0,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "x",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             While(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Not,
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "i",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 While(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     RelAdd(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         LVal(
[INFO] [stdout]                                                                             LVal {
[INFO] [stdout]                                                                                 ident: "x",
[INFO] [stdout]                                                                                 idx: [],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                         Lt,
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         3,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                     Block(
[INFO] [stdout]                                         Block {
[INFO] [stdout]                                             items: [
[INFO] [stdout]                                                 Stmt(
[INFO] [stdout]                                                     If(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 MulUnary(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             LVal(
[INFO] [stdout]                                                                                                 LVal {
[INFO] [stdout]                                                                                                     ident: "x",
[INFO] [stdout]                                                                                                     idx: [],
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Mod,
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             2,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                         Assign(
[INFO] [stdout]                                                             LVal {
[INFO] [stdout]                                                                 ident: "x",
[INFO] [stdout]                                                                 idx: [],
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 AddMul(
[INFO] [stdout]                                                                                     Mul(
[INFO] [stdout]                                                                                         Unary(
[INFO] [stdout]                                                                                             Primary(
[INFO] [stdout]                                                                                                 LVal(
[INFO] [stdout]                                                                                                     LVal {
[INFO] [stdout]                                                                                                         ident: "x",
[INFO] [stdout]                                                                                                         idx: [],
[INFO] [stdout]                                                                                                     },
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Add,
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             Num(
[INFO] [stdout]                                                                                                 1,
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                         Some(
[INFO] [stdout]                                                             Continue,
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                                 Stmt(
[INFO] [stdout]                                                     Assign(
[INFO] [stdout]                                                         LVal {
[INFO] [stdout]                                                             ident: "i",
[INFO] [stdout]                                                             idx: [],
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             AddMul(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             LVal(
[INFO] [stdout]                                                                                                 LVal {
[INFO] [stdout]                                                                                                     ident: "i",
[INFO] [stdout]                                                                                                     idx: [],
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                                 Add,
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             1,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                                 Stmt(
[INFO] [stdout]                                                     Break,
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ],
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "x",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @i_1 = alloc i32
[INFO] [stdout]   store 0, @i_1
[INFO] [stdout]   @x_1 = alloc i32
[INFO] [stdout]   store 1, @x_1
[INFO] [stdout]   jump %while_entry_1
[INFO] [stdout] 
[INFO] [stdout] %while_entry_1:
[INFO] [stdout]   %0 = load @i_1
[INFO] [stdout]   %1 = eq 0, %0
[INFO] [stdout]   br %1, %while_body_1, %while_end_1
[INFO] [stdout] 
[INFO] [stdout] %while_body_1:
[INFO] [stdout]   jump %while_entry_2
[INFO] [stdout] 
[INFO] [stdout] %while_entry_2:
[INFO] [stdout]   %2 = load @x_1
[INFO] [stdout]   %3 = lt %2, 3
[INFO] [stdout]   br %3, %while_body_2, %while_end_2
[INFO] [stdout] 
[INFO] [stdout] %while_body_2:
[INFO] [stdout]   %4 = load @x_1
[INFO] [stdout]   %5 = mod %4, 2
[INFO] [stdout]   br %5, %if_then_1, %if_else_1
[INFO] [stdout] 
[INFO] [stdout] %if_then_1:
[INFO] [stdout]   %6 = load @x_1
[INFO] [stdout]   %7 = add %6, 1
[INFO] [stdout]   store %7, @x_1
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_else_1:
[INFO] [stdout]   jump %while_entry_2
[INFO] [stdout] 
[INFO] [stdout] %after_continue_1:
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_end_1:
[INFO] [stdout]   %8 = load @i_1
[INFO] [stdout]   %9 = add %8, 1
[INFO] [stdout]   store %9, @i_1
[INFO] [stdout]   jump %while_end_2
[INFO] [stdout] 
[INFO] [stdout] %after_break_1:
[INFO] [stdout]   jump %while_entry_2
[INFO] [stdout] 
[INFO] [stdout] %while_end_2:
[INFO] [stdout]   jump %while_entry_1
[INFO] [stdout] 
[INFO] [stdout] %while_end_1:
[INFO] [stdout]   %10 = load @x_1
[INFO] [stdout]   ret %10
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv7_2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122877fe - koopa_test::koopa_mod_test_lv7_2::ha192b6253b317331
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:91:5
[INFO] [stdout]   22:     0x5f38122877c7 - koopa_test::koopa_mod_test_lv7_2::{{closure}}::h28ae3838c9e29e83
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:90:26
[INFO] [stdout]   23:     0x5f3812286ad6 - core::ops::function::FnOnce::call_once::h8c41a1a3e873c40a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv8_2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 FuncCall(
[INFO] [stdout]                                                                     "getint",
[INFO] [stdout]                                                                     [],
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   %0 = call @getint()
[INFO] [stdout]   ret %0
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv8_2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122878ee - koopa_test::koopa_mod_test_lv8_2::he239eff811f36f6c
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:115:5
[INFO] [stdout]   22:     0x5f38122878b7 - koopa_test::koopa_mod_test_lv8_2::{{closure}}::h83654912b3bbb3fe
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:114:26
[INFO] [stdout]   23:     0x5f3812286c16 - core::ops::function::FnOnce::call_once::hf9ff8c492049cf6e
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv6_1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "a",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         2,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             If(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 LVal(
[INFO] [stdout]                                                                     LVal {
[INFO] [stdout]                                                                         ident: "a",
[INFO] [stdout]                                                                         idx: [],
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Block(
[INFO] [stdout]                                     Block {
[INFO] [stdout]                                         items: [
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "a",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "a",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "b",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: Some(
[INFO] [stdout]                                                                     Exp(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 MulUnary(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             Num(
[INFO] [stdout]                                                                                                                 2,
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                     Mul,
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         LVal(
[INFO] [stdout]                                                                                                             LVal {
[INFO] [stdout]                                                                                                                 ident: "a",
[INFO] [stdout]                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                             },
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "a",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: Some(
[INFO] [stdout]                                                                     Exp(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             0,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 If(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "a",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Block(
[INFO] [stdout]                                                         Block {
[INFO] [stdout]                                                             items: [
[INFO] [stdout]                                                                 Stmt(
[INFO] [stdout]                                                                     Assign(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "b",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             AddMul(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "b",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Add,
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             1,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Stmt(
[INFO] [stdout]                                                                     If(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         RelAdd(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "b",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                             Lt,
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             0,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Assign(
[INFO] [stdout]                                                                             LVal {
[INFO] [stdout]                                                                                 ident: "b",
[INFO] [stdout]                                                                                 idx: [],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                             Exp {
[INFO] [stdout]                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                     Eq(
[INFO] [stdout]                                                                                         Rel(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Neg,
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                         ident: "b",
[INFO] [stdout]                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                     },
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                         None,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ],
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Some(
[INFO] [stdout]                                                         Assign(
[INFO] [stdout]                                                             LVal {
[INFO] [stdout]                                                                 ident: "b",
[INFO] [stdout]                                                                 idx: [],
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     MulUnary(
[INFO] [stdout]                                                                                         Unary(
[INFO] [stdout]                                                                                             Primary(
[INFO] [stdout]                                                                                                 LVal(
[INFO] [stdout]                                                                                                     LVal {
[INFO] [stdout]                                                                                                         ident: "b",
[INFO] [stdout]                                                                                                         idx: [],
[INFO] [stdout]                                                                                                     },
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                         Mod,
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             Num(
[INFO] [stdout]                                                                                                 4,
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "a",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "a",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "b",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ],
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Block(
[INFO] [stdout]                                         Block {
[INFO] [stdout]                                             items: [
[INFO] [stdout]                                                 Stmt(
[INFO] [stdout]                                                     Assign(
[INFO] [stdout]                                                         LVal {
[INFO] [stdout]                                                             ident: "a",
[INFO] [stdout]                                                             idx: [],
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             4,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ],
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "a",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @a_1 = alloc i32
[INFO] [stdout]   store 2, @a_1
[INFO] [stdout]   %0 = load @a_1
[INFO] [stdout]   br %0, %if_then_1, %if_else_1
[INFO] [stdout] 
[INFO] [stdout] %if_then_1:
[INFO] [stdout]   %1 = load @a_1
[INFO] [stdout]   %2 = add %1, 1
[INFO] [stdout]   store %2, @a_1
[INFO] [stdout]   @b_1 = alloc i32
[INFO] [stdout]   %3 = load @a_1
[INFO] [stdout]   %4 = mul 2, %3
[INFO] [stdout]   store %4, @b_1
[INFO] [stdout]   @a_2 = alloc i32
[INFO] [stdout]   store 0, @a_2
[INFO] [stdout]   %5 = load @a_2
[INFO] [stdout]   br %5, %if_then_2, %if_else_2
[INFO] [stdout] 
[INFO] [stdout] %if_then_2:
[INFO] [stdout]   %6 = load @b_1
[INFO] [stdout]   %7 = add %6, 1
[INFO] [stdout]   store %7, @b_1
[INFO] [stdout]   %8 = load @b_1
[INFO] [stdout]   %9 = lt %8, 0
[INFO] [stdout]   br %9, %if_then_3, %if_else_3
[INFO] [stdout] 
[INFO] [stdout] %if_then_3:
[INFO] [stdout]   %10 = load @b_1
[INFO] [stdout]   %11 = sub 0, %10
[INFO] [stdout]   store %11, @b_1
[INFO] [stdout]   jump %if_end_3
[INFO] [stdout] 
[INFO] [stdout] %if_else_3:
[INFO] [stdout]   jump %if_end_3
[INFO] [stdout] 
[INFO] [stdout] %if_end_3:
[INFO] [stdout]   jump %if_end_2
[INFO] [stdout] 
[INFO] [stdout] %if_else_2:
[INFO] [stdout]   %12 = load @b_1
[INFO] [stdout]   %13 = mod %12, 4
[INFO] [stdout]   store %13, @b_1
[INFO] [stdout]   jump %if_end_2
[INFO] [stdout] 
[INFO] [stdout] %if_end_2:
[INFO] [stdout]   %14 = load @a_2
[INFO] [stdout]   %15 = load @b_1
[INFO] [stdout]   %16 = add %14, %15
[INFO] [stdout]   store %16, @a_2
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_else_1:
[INFO] [stdout]   store 4, @a_1
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_end_1:
[INFO] [stdout]   %17 = load @a_1
[INFO] [stdout]   ret %17
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv6_1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228770e - koopa_test::koopa_mod_test_lv6_1::h9f95017af8221439
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:67:5
[INFO] [stdout]   22:     0x5f38122876d7 - koopa_test::koopa_mod_test_lv6_1::{{closure}}::h389b30b66f97bb37
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:66:26
[INFO] [stdout]   23:     0x5f3812286a96 - core::ops::function::FnOnce::call_once::h88ad932fdc83de8d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv8_3 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         GlobalDecl(
[INFO] [stdout]             GlobalDecl {
[INFO] [stdout]                 decl: Var(
[INFO] [stdout]                     VarDecl {
[INFO] [stdout]                         defs: [
[INFO] [stdout]                             VarDef {
[INFO] [stdout]                                 ident: "z",
[INFO] [stdout]                                 dims: [],
[INFO] [stdout]                                 init: Some(
[INFO] [stdout]                                     Exp(
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             5,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                             },
[INFO] [stdout]                             VarDef {
[INFO] [stdout]                                 ident: "var",
[INFO] [stdout]                                 dims: [],
[INFO] [stdout]                                 init: None,
[INFO] [stdout]                             },
[INFO] [stdout]                         ],
[INFO] [stdout]                     },
[INFO] [stdout]                 ),
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         GlobalDecl(
[INFO] [stdout]             GlobalDecl {
[INFO] [stdout]                 decl: Const(
[INFO] [stdout]                     ConstDecl {
[INFO] [stdout]                         defs: [
[INFO] [stdout]                             ConstDef {
[INFO] [stdout]                                 ident: "one",
[INFO] [stdout]                                 dims: [],
[INFO] [stdout]                                 init: Exp(
[INFO] [stdout]                                     ConstExp {
[INFO] [stdout]                                         exp: Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             1,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             },
[INFO] [stdout]                         ],
[INFO] [stdout]                     },
[INFO] [stdout]                 ),
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "x",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         3,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "var",
[INFO] [stdout]                                     idx: [],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     4,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             MulUnary(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Exp(
[INFO] [stdout]                                                                             Exp {
[INFO] [stdout]                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                     Eq(
[INFO] [stdout]                                                                                         Rel(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 AddMul(
[INFO] [stdout]                                                                                                     Mul(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                         ident: "var",
[INFO] [stdout]                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                     },
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                     Add,
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "one",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Mul,
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "x",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] global @z_1 = alloc i32, 5
[INFO] [stdout] global @var_1 = alloc i32, zeroinit
[INFO] [stdout]  
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @x_1 = alloc i32
[INFO] [stdout]   store 3, @x_1
[INFO] [stdout]   store 4, @var_1
[INFO] [stdout]   %0 = load @var_1
[INFO] [stdout]   %1 = add %0, 1
[INFO] [stdout]   %2 = load @x_1
[INFO] [stdout]   %3 = mul %1, %2
[INFO] [stdout]   ret %3
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv8_3' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228793e - koopa_test::koopa_mod_test_lv8_3::h75968029fa9bd727
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:123:5
[INFO] [stdout]   22:     0x5f3812287907 - koopa_test::koopa_mod_test_lv8_3::{{closure}}::hf57fafaef84bf12d
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:122:26
[INFO] [stdout]   23:     0x5f38122867c6 - core::ops::function::FnOnce::call_once::h087b623cd421fdba
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv8_1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "half_add",
[INFO] [stdout]                 params: [
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "x",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "y",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                 ],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         AddMul(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 MulUnary(
[INFO] [stdout]                                                                     Unary(
[INFO] [stdout]                                                                         Primary(
[INFO] [stdout]                                                                             LVal(
[INFO] [stdout]                                                                                 LVal {
[INFO] [stdout]                                                                                     ident: "x",
[INFO] [stdout]                                                                                     idx: [],
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                     Div,
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             2,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                             Add,
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "y",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Void,
[INFO] [stdout]                 ident: "ff",
[INFO] [stdout]                 params: [
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "x",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                 ],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "y",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             MulUnary(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "x",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                                 Mod,
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         2,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             If(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 RelAdd(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "x",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Gt,
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     0,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Block(
[INFO] [stdout]                                     Block {
[INFO] [stdout]                                         items: [
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "z",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: Some(
[INFO] [stdout]                                                                     Exp(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             5,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ],
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Block(
[INFO] [stdout]                                         Block {
[INFO] [stdout]                                             items: [
[INFO] [stdout]                                                 Stmt(
[INFO] [stdout]                                                     Exp(
[INFO] [stdout]                                                         Some(
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         FuncCall(
[INFO] [stdout]                                                                                             "ff",
[INFO] [stdout]                                                                                             [
[INFO] [stdout]                                                                                                 Exp {
[INFO] [stdout]                                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                                         Eq(
[INFO] [stdout]                                                                                                             Rel(
[INFO] [stdout]                                                                                                                 Add(
[INFO] [stdout]                                                                                                                     AddMul(
[INFO] [stdout]                                                                                                                         Mul(
[INFO] [stdout]                                                                                                                             Unary(
[INFO] [stdout]                                                                                                                                 Primary(
[INFO] [stdout]                                                                                                                                     LVal(
[INFO] [stdout]                                                                                                                                         LVal {
[INFO] [stdout]                                                                                                                                             ident: "x",
[INFO] [stdout]                                                                                                                                             idx: [],
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                         Sub,
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 Num(
[INFO] [stdout]                                                                                                                                     2,
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ],
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ],
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "gg",
[INFO] [stdout]                 params: [
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "a",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "b",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "c",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "d",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "e",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "f",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "g",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "h",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "i",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "j",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                 ],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "xx",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             AddMul(
[INFO] [stdout]                                                                                 AddMul(
[INFO] [stdout]                                                                                     AddMul(
[INFO] [stdout]                                                                                         AddMul(
[INFO] [stdout]                                                                                             AddMul(
[INFO] [stdout]                                                                                                 AddMul(
[INFO] [stdout]                                                                                                     AddMul(
[INFO] [stdout]                                                                                                         AddMul(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "a",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                             Add,
[INFO] [stdout]                                                                                                             Unary(
[INFO] [stdout]                                                                                                                 Primary(
[INFO] [stdout]                                                                                                                     LVal(
[INFO] [stdout]                                                                                                                         LVal {
[INFO] [stdout]                                                                                                                             ident: "b",
[INFO] [stdout]                                                                                                                             idx: [],
[INFO] [stdout]                                                                                                                         },
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                         Add,
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                         ident: "c",
[INFO] [stdout]                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                     },
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                     Add,
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "d",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Add,
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         LVal(
[INFO] [stdout]                                                                                                             LVal {
[INFO] [stdout]                                                                                                                 ident: "e",
[INFO] [stdout]                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                             },
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                             Add,
[INFO] [stdout]                                                                                             Unary(
[INFO] [stdout]                                                                                                 Primary(
[INFO] [stdout]                                                                                                     LVal(
[INFO] [stdout]                                                                                                         LVal {
[INFO] [stdout]                                                                                                             ident: "f",
[INFO] [stdout]                                                                                                             idx: [],
[INFO] [stdout]                                                                                                         },
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                         Add,
[INFO] [stdout]                                                                                         Unary(
[INFO] [stdout]                                                                                             Primary(
[INFO] [stdout]                                                                                                 LVal(
[INFO] [stdout]                                                                                                     LVal {
[INFO] [stdout]                                                                                                         ident: "g",
[INFO] [stdout]                                                                                                         idx: [],
[INFO] [stdout]                                                                                                     },
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Add,
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             LVal(
[INFO] [stdout]                                                                                                 LVal {
[INFO] [stdout]                                                                                                     ident: "h",
[INFO] [stdout]                                                                                                     idx: [],
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                                 Add,
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "j",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "xx",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Exp(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 FuncCall(
[INFO] [stdout]                                                                     "ff",
[INFO] [stdout]                                                                     [
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             AddMul(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             Num(
[INFO] [stdout]                                                                                                                 3,
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Add,
[INFO] [stdout]                                                                                                 MulUnary(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             Num(
[INFO] [stdout]                                                                                                                 5,
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                     Mul,
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             2,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ],
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 FuncCall(
[INFO] [stdout]                                                                     "half_add",
[INFO] [stdout]                                                                     [
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             10,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         Add(
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             1,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ],
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @half_add(%0: i32, %1: i32): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @x_1 = alloc i32
[INFO] [stdout]   store %0, @x_1
[INFO] [stdout]   @y_1 = alloc i32
[INFO] [stdout]   store %1, @y_1
[INFO] [stdout]   %2 = load @x_1
[INFO] [stdout]   %3 = div %2, 2
[INFO] [stdout]   %4 = load @y_1
[INFO] [stdout]   %5 = add %3, %4
[INFO] [stdout]   ret %5
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] fun @ff(%6: i32) {
[INFO] [stdout] %entry_2:
[INFO] [stdout]   @x_2 = alloc i32
[INFO] [stdout]   store %6, @x_2
[INFO] [stdout]   @y_2 = alloc i32
[INFO] [stdout]   %7 = load @x_2
[INFO] [stdout]   %8 = mod %7, 2
[INFO] [stdout]   store %8, @y_2
[INFO] [stdout]   %9 = load @x_2
[INFO] [stdout]   %10 = gt %9, 0
[INFO] [stdout]   br %10, %if_then_1, %if_else_1
[INFO] [stdout] 
[INFO] [stdout] %if_then_1:
[INFO] [stdout]   @z_1 = alloc i32
[INFO] [stdout]   store 5, @z_1
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_else_1:
[INFO] [stdout]   %11 = load @x_2
[INFO] [stdout]   %12 = sub %11, 2
[INFO] [stdout]   call @ff(%12)
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_end_1:
[INFO] [stdout]   ret
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] fun @gg(%13: i32, %14: i32, %15: i32, %16: i32, %17: i32, %18: i32, %19: i32, %20: i32, %21: i32, %22: i32): i32 {
[INFO] [stdout] %entry_3:
[INFO] [stdout]   @a_1 = alloc i32
[INFO] [stdout]   store %13, @a_1
[INFO] [stdout]   @b_1 = alloc i32
[INFO] [stdout]   store %14, @b_1
[INFO] [stdout]   @c_1 = alloc i32
[INFO] [stdout]   store %15, @c_1
[INFO] [stdout]   @d_1 = alloc i32
[INFO] [stdout]   store %16, @d_1
[INFO] [stdout]   @e_1 = alloc i32
[INFO] [stdout]   store %17, @e_1
[INFO] [stdout]   @f_1 = alloc i32
[INFO] [stdout]   store %18, @f_1
[INFO] [stdout]   @g_1 = alloc i32
[INFO] [stdout]   store %19, @g_1
[INFO] [stdout]   @h_1 = alloc i32
[INFO] [stdout]   store %20, @h_1
[INFO] [stdout]   @i_1 = alloc i32
[INFO] [stdout]   store %21, @i_1
[INFO] [stdout]   @j_1 = alloc i32
[INFO] [stdout]   store %22, @j_1
[INFO] [stdout]   @xx_1 = alloc i32
[INFO] [stdout]   %23 = load @a_1
[INFO] [stdout]   %24 = load @b_1
[INFO] [stdout]   %25 = add %23, %24
[INFO] [stdout]   %26 = load @c_1
[INFO] [stdout]   %27 = add %25, %26
[INFO] [stdout]   %28 = load @d_1
[INFO] [stdout]   %29 = add %27, %28
[INFO] [stdout]   %30 = load @e_1
[INFO] [stdout]   %31 = add %29, %30
[INFO] [stdout]   %32 = load @f_1
[INFO] [stdout]   %33 = add %31, %32
[INFO] [stdout]   %34 = load @g_1
[INFO] [stdout]   %35 = add %33, %34
[INFO] [stdout]   %36 = load @h_1
[INFO] [stdout]   %37 = add %35, %36
[INFO] [stdout]   %38 = load @i_1
[INFO] [stdout]   %39 = add %37, %38
[INFO] [stdout]   %40 = load @j_1
[INFO] [stdout]   %41 = add %39, %40
[INFO] [stdout]   store %41, @xx_1
[INFO] [stdout]   %42 = load @xx_1
[INFO] [stdout]   ret %42
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_4:
[INFO] [stdout]   %43 = mul 5, 2
[INFO] [stdout]   %44 = add 3, %43
[INFO] [stdout]   call @ff(%44)
[INFO] [stdout]   %45 = call @half_add(10, 1)
[INFO] [stdout]   ret %45
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv8_1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228789e - koopa_test::koopa_mod_test_lv8_1::h0ffbcf982d273910
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:107:5
[INFO] [stdout]   22:     0x5f3812287867 - koopa_test::koopa_mod_test_lv8_1::{{closure}}::hf1c24369fd5943b1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:106:26
[INFO] [stdout]   23:     0x5f3812286a16 - core::ops::function::FnOnce::call_once::h7ae83035bd839a73
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv9_1 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         GlobalDecl(
[INFO] [stdout]             GlobalDecl {
[INFO] [stdout]                 decl: Var(
[INFO] [stdout]                     VarDecl {
[INFO] [stdout]                         defs: [
[INFO] [stdout]                             VarDef {
[INFO] [stdout]                                 ident: "arr",
[INFO] [stdout]                                 dims: [
[INFO] [stdout]                                     ConstExp {
[INFO] [stdout]                                         exp: Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             6,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ],
[INFO] [stdout]                                 init: None,
[INFO] [stdout]                             },
[INFO] [stdout]                         ],
[INFO] [stdout]                     },
[INFO] [stdout]                 ),
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "arr",
[INFO] [stdout]                                             dims: [
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         4,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Array(
[INFO] [stdout]                                                     [
[INFO] [stdout]                                                         Exp(
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             Num(
[INFO] [stdout]                                                                                                 1,
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ],
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "arr",
[INFO] [stdout]                                                                             idx: [
[INFO] [stdout]                                                                                 Exp {
[INFO] [stdout]                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                         Eq(
[INFO] [stdout]                                                                                             Rel(
[INFO] [stdout]                                                                                                 Add(
[INFO] [stdout]                                                                                                     Mul(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 Num(
[INFO] [stdout]                                                                                                                     0,
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                             ],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] global @arr_1 = alloc [i32, 6], zeroinit
[INFO] [stdout]  
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @arr_2 = alloc [i32, 4]
[INFO] [stdout]   %array_ptr_1 = getelemptr @arr_2, 0
[INFO] [stdout]   store 1, %array_ptr_1
[INFO] [stdout]   %array_ptr_2 = getelemptr @arr_2, 1
[INFO] [stdout]   store 0, %array_ptr_2
[INFO] [stdout]   %array_ptr_3 = getelemptr @arr_2, 2
[INFO] [stdout]   store 0, %array_ptr_3
[INFO] [stdout]   %array_ptr_4 = getelemptr @arr_2, 3
[INFO] [stdout]   store 0, %array_ptr_4
[INFO] [stdout]   %array_ptr_5 = getelemptr @arr_2, 0
[INFO] [stdout]   %0 = load %array_ptr_5
[INFO] [stdout]   ret %0
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv9_1' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f381228798e - koopa_test::koopa_mod_test_lv9_1::hb2974f54f8053042
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:131:5
[INFO] [stdout]   22:     0x5f3812287957 - koopa_test::koopa_mod_test_lv9_1::{{closure}}::h67941d06e9c6cad2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:130:26
[INFO] [stdout]   23:     0x5f3812286bd6 - core::ops::function::FnOnce::call_once::hf789e3daf5c46d55
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv9_2 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         GlobalDecl(
[INFO] [stdout]             GlobalDecl {
[INFO] [stdout]                 decl: Var(
[INFO] [stdout]                     VarDecl {
[INFO] [stdout]                         defs: [
[INFO] [stdout]                             VarDef {
[INFO] [stdout]                                 ident: "a",
[INFO] [stdout]                                 dims: [
[INFO] [stdout]                                     ConstExp {
[INFO] [stdout]                                         exp: Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             3,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     },
[INFO] [stdout]                                     ConstExp {
[INFO] [stdout]                                         exp: Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             3,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ],
[INFO] [stdout]                                 init: Some(
[INFO] [stdout]                                     Array(
[INFO] [stdout]                                         [
[INFO] [stdout]                                             Array(
[INFO] [stdout]                                                 [
[INFO] [stdout]                                                     Exp(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             1,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ],
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Exp(
[INFO] [stdout]                                                 Exp {
[INFO] [stdout]                                                     exp: LAnd(
[INFO] [stdout]                                                         Eq(
[INFO] [stdout]                                                             Rel(
[INFO] [stdout]                                                                 Add(
[INFO] [stdout]                                                                     Mul(
[INFO] [stdout]                                                                         Unary(
[INFO] [stdout]                                                                             Primary(
[INFO] [stdout]                                                                                 Num(
[INFO] [stdout]                                                                                     0,
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Exp(
[INFO] [stdout]                                                 Exp {
[INFO] [stdout]                                                     exp: LAnd(
[INFO] [stdout]                                                         Eq(
[INFO] [stdout]                                                             Rel(
[INFO] [stdout]                                                                 Add(
[INFO] [stdout]                                                                     Mul(
[INFO] [stdout]                                                                         Unary(
[INFO] [stdout]                                                                             Primary(
[INFO] [stdout]                                                                                 Num(
[INFO] [stdout]                                                                                     0,
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Exp(
[INFO] [stdout]                                                 Exp {
[INFO] [stdout]                                                     exp: LAnd(
[INFO] [stdout]                                                         Eq(
[INFO] [stdout]                                                             Rel(
[INFO] [stdout]                                                                 Add(
[INFO] [stdout]                                                                     Mul(
[INFO] [stdout]                                                                         Unary(
[INFO] [stdout]                                                                             Primary(
[INFO] [stdout]                                                                                 Num(
[INFO] [stdout]                                                                                     0,
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Array(
[INFO] [stdout]                                                 [
[INFO] [stdout]                                                     Exp(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             2,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Exp(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             42,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Exp(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         Num(
[INFO] [stdout]                                                                                             4,
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ],
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ],
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 ),
[INFO] [stdout]                             },
[INFO] [stdout]                         ],
[INFO] [stdout]                     },
[INFO] [stdout]                 ),
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "arr",
[INFO] [stdout]                                             dims: [
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         2,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         3,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ],
[INFO] [stdout]                                             init: Some(
[INFO] [stdout]                                                 Array(
[INFO] [stdout]                                                     [
[INFO] [stdout]                                                         Exp(
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             Num(
[INFO] [stdout]                                                                                                 1,
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                         Exp(
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             Num(
[INFO] [stdout]                                                                                                 2,
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ],
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "arr",
[INFO] [stdout]                                                                             idx: [
[INFO] [stdout]                                                                                 Exp {
[INFO] [stdout]                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                         Eq(
[INFO] [stdout]                                                                                             Rel(
[INFO] [stdout]                                                                                                 Add(
[INFO] [stdout]                                                                                                     Mul(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 Num(
[INFO] [stdout]                                                                                                                     0,
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                                 Exp {
[INFO] [stdout]                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                         Eq(
[INFO] [stdout]                                                                                             Rel(
[INFO] [stdout]                                                                                                 Add(
[INFO] [stdout]                                                                                                     Mul(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 Num(
[INFO] [stdout]                                                                                                                     2,
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 },
[INFO] [stdout]                                                                             ],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] global @a_1 = alloc [[i32, 3], 3], {{1, 0, 0}, {0, 0, 0}, {2, 42, 4}}
[INFO] [stdout]  
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @arr_1 = alloc [[i32, 3], 2]
[INFO] [stdout]   %array_ptr_1 = getelemptr @arr_1, 0
[INFO] [stdout]   %array_ptr_2 = getelemptr %array_ptr_1, 0
[INFO] [stdout]   store 1, %array_ptr_2
[INFO] [stdout]   %array_ptr_3 = getelemptr @arr_1, 0
[INFO] [stdout]   %array_ptr_4 = getelemptr %array_ptr_3, 1
[INFO] [stdout]   store 2, %array_ptr_4
[INFO] [stdout]   %array_ptr_5 = getelemptr @arr_1, 0
[INFO] [stdout]   %array_ptr_6 = getelemptr %array_ptr_5, 2
[INFO] [stdout]   store 0, %array_ptr_6
[INFO] [stdout]   %array_ptr_7 = getelemptr @arr_1, 1
[INFO] [stdout]   %array_ptr_8 = getelemptr %array_ptr_7, 0
[INFO] [stdout]   store 0, %array_ptr_8
[INFO] [stdout]   %array_ptr_9 = getelemptr @arr_1, 1
[INFO] [stdout]   %array_ptr_10 = getelemptr %array_ptr_9, 1
[INFO] [stdout]   store 0, %array_ptr_10
[INFO] [stdout]   %array_ptr_11 = getelemptr @arr_1, 1
[INFO] [stdout]   %array_ptr_12 = getelemptr %array_ptr_11, 2
[INFO] [stdout]   store 0, %array_ptr_12
[INFO] [stdout]   %array_ptr_13 = getelemptr @arr_1, 0
[INFO] [stdout]   %array_ptr_14 = getelemptr %array_ptr_13, 2
[INFO] [stdout]   %0 = load %array_ptr_14
[INFO] [stdout]   ret %0
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv9_2' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f38122879de - koopa_test::koopa_mod_test_lv9_2::h7d370159195de24a
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:139:5
[INFO] [stdout]   22:     0x5f38122879a7 - koopa_test::koopa_mod_test_lv9_2::{{closure}}::h3d58a1275e500d7b
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:138:26
[INFO] [stdout]   23:     0x5f38122868d6 - core::ops::function::FnOnce::call_once::h4cc47d3000f4ff66
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- koopa_mod_test_lv9_3 stdout ----
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] AST:
[INFO] [stdout] 
[INFO] [stdout] CompUnit {
[INFO] [stdout]     items: [
[INFO] [stdout]         GlobalDecl(
[INFO] [stdout]             GlobalDecl {
[INFO] [stdout]                 decl: Var(
[INFO] [stdout]                     VarDecl {
[INFO] [stdout]                         defs: [
[INFO] [stdout]                             VarDef {
[INFO] [stdout]                                 ident: "n",
[INFO] [stdout]                                 dims: [],
[INFO] [stdout]                                 init: None,
[INFO] [stdout]                             },
[INFO] [stdout]                         ],
[INFO] [stdout]                     },
[INFO] [stdout]                 ),
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "QuickSort",
[INFO] [stdout]                 params: [
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "arr",
[INFO] [stdout]                         dims: Some(
[INFO] [stdout]                             [],
[INFO] [stdout]                         ),
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "low",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                     FuncFParam {
[INFO] [stdout]                         ident: "high",
[INFO] [stdout]                         dims: None,
[INFO] [stdout]                     },
[INFO] [stdout]                 ],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             If(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 RelAdd(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "low",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Lt,
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 LVal(
[INFO] [stdout]                                                                     LVal {
[INFO] [stdout]                                                                         ident: "high",
[INFO] [stdout]                                                                         idx: [],
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Block(
[INFO] [stdout]                                     Block {
[INFO] [stdout]                                         items: [
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "i",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: None,
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "i",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "low",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "j",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: None,
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "j",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "high",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "k",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: None,
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "k",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "arr",
[INFO] [stdout]                                                                                             idx: [
[INFO] [stdout]                                                                                                 Exp {
[INFO] [stdout]                                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                                         Eq(
[INFO] [stdout]                                                                                                             Rel(
[INFO] [stdout]                                                                                                                 Add(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                                         ident: "low",
[INFO] [stdout]                                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                                     },
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 While(
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     RelAdd(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                         Lt,
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "j",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Block(
[INFO] [stdout]                                                         Block {
[INFO] [stdout]                                                             items: [
[INFO] [stdout]                                                                 Stmt(
[INFO] [stdout]                                                                     While(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 LAndEq(
[INFO] [stdout]                                                                                     Eq(
[INFO] [stdout]                                                                                         Rel(
[INFO] [stdout]                                                                                             RelAdd(
[INFO] [stdout]                                                                                                 Add(
[INFO] [stdout]                                                                                                     Mul(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                         ident: "i",
[INFO] [stdout]                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                     },
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Lt,
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "j",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         RelAdd(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "arr",
[INFO] [stdout]                                                                                                                     idx: [
[INFO] [stdout]                                                                                                                         Exp {
[INFO] [stdout]                                                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                                                 Eq(
[INFO] [stdout]                                                                                                                                     Rel(
[INFO] [stdout]                                                                                                                                         Add(
[INFO] [stdout]                                                                                                                                             Mul(
[INFO] [stdout]                                                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                                                 ident: "j",
[INFO] [stdout]                                                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                                                             },
[INFO] [stdout]                                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                                 ),
[INFO] [stdout]                                                                                                                                             ),
[INFO] [stdout]                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         },
[INFO] [stdout]                                                                                                                     ],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                             Gt,
[INFO] [stdout]                                                                                             AddMul(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "k",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Sub,
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         Num(
[INFO] [stdout]                                                                                                             1,
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Block(
[INFO] [stdout]                                                                             Block {
[INFO] [stdout]                                                                                 items: [
[INFO] [stdout]                                                                                     Stmt(
[INFO] [stdout]                                                                                         Assign(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "j",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 AddMul(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                                         ident: "j",
[INFO] [stdout]                                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                                     },
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                     Sub,
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             Num(
[INFO] [stdout]                                                                                                                                 1,
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Stmt(
[INFO] [stdout]                                                                     If(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         RelAdd(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "i",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                             Lt,
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         LVal(
[INFO] [stdout]                                                                                                             LVal {
[INFO] [stdout]                                                                                                                 ident: "j",
[INFO] [stdout]                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                             },
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Block(
[INFO] [stdout]                                                                             Block {
[INFO] [stdout]                                                                                 items: [
[INFO] [stdout]                                                                                     Stmt(
[INFO] [stdout]                                                                                         Assign(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "arr",
[INFO] [stdout]                                                                                                 idx: [
[INFO] [stdout]                                                                                                     Exp {
[INFO] [stdout]                                                                                                         exp: LAnd(
[INFO] [stdout]                                                                                                             Eq(
[INFO] [stdout]                                                                                                                 Rel(
[INFO] [stdout]                                                                                                                     Add(
[INFO] [stdout]                                                                                                                         Mul(
[INFO] [stdout]                                                                                                                             Unary(
[INFO] [stdout]                                                                                                                                 Primary(
[INFO] [stdout]                                                                                                                                     LVal(
[INFO] [stdout]                                                                                                                                         LVal {
[INFO] [stdout]                                                                                                                                             ident: "i",
[INFO] [stdout]                                                                                                                                             idx: [],
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     },
[INFO] [stdout]                                                                                                 ],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 Mul(
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             LVal(
[INFO] [stdout]                                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                                     ident: "arr",
[INFO] [stdout]                                                                                                                                     idx: [
[INFO] [stdout]                                                                                                                                         Exp {
[INFO] [stdout]                                                                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                                                                 Eq(
[INFO] [stdout]                                                                                                                                                     Rel(
[INFO] [stdout]                                                                                                                                                         Add(
[INFO] [stdout]                                                                                                                                                             Mul(
[INFO] [stdout]                                                                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                                                                 ident: "j",
[INFO] [stdout]                                                                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                                                                             },
[INFO] [stdout]                                                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                                                 ),
[INFO] [stdout]                                                                                                                                                             ),
[INFO] [stdout]                                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                                 ),
[INFO] [stdout]                                                                                                                                             ),
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ],
[INFO] [stdout]                                                                                                                                 },
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Stmt(
[INFO] [stdout]                                                                                         Assign(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 AddMul(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                                         ident: "i",
[INFO] [stdout]                                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                                     },
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                     Add,
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             Num(
[INFO] [stdout]                                                                                                                                 1,
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                         None,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Stmt(
[INFO] [stdout]                                                                     While(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 LAndEq(
[INFO] [stdout]                                                                                     Eq(
[INFO] [stdout]                                                                                         Rel(
[INFO] [stdout]                                                                                             RelAdd(
[INFO] [stdout]                                                                                                 Add(
[INFO] [stdout]                                                                                                     Mul(
[INFO] [stdout]                                                                                                         Unary(
[INFO] [stdout]                                                                                                             Primary(
[INFO] [stdout]                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                         ident: "i",
[INFO] [stdout]                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                     },
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                                 Lt,
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "j",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         RelAdd(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "arr",
[INFO] [stdout]                                                                                                                     idx: [
[INFO] [stdout]                                                                                                                         Exp {
[INFO] [stdout]                                                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                                                 Eq(
[INFO] [stdout]                                                                                                                                     Rel(
[INFO] [stdout]                                                                                                                                         Add(
[INFO] [stdout]                                                                                                                                             Mul(
[INFO] [stdout]                                                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                                                             },
[INFO] [stdout]                                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                                 ),
[INFO] [stdout]                                                                                                                                             ),
[INFO] [stdout]                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         },
[INFO] [stdout]                                                                                                                     ],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                             Lt,
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         LVal(
[INFO] [stdout]                                                                                                             LVal {
[INFO] [stdout]                                                                                                                 ident: "k",
[INFO] [stdout]                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                             },
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Block(
[INFO] [stdout]                                                                             Block {
[INFO] [stdout]                                                                                 items: [
[INFO] [stdout]                                                                                     Stmt(
[INFO] [stdout]                                                                                         Assign(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 AddMul(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                                         ident: "i",
[INFO] [stdout]                                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                                     },
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                     Add,
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             Num(
[INFO] [stdout]                                                                                                                                 1,
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                                 Stmt(
[INFO] [stdout]                                                                     If(
[INFO] [stdout]                                                                         Exp {
[INFO] [stdout]                                                                             exp: LAnd(
[INFO] [stdout]                                                                                 Eq(
[INFO] [stdout]                                                                                     Rel(
[INFO] [stdout]                                                                                         RelAdd(
[INFO] [stdout]                                                                                             Add(
[INFO] [stdout]                                                                                                 Mul(
[INFO] [stdout]                                                                                                     Unary(
[INFO] [stdout]                                                                                                         Primary(
[INFO] [stdout]                                                                                                             LVal(
[INFO] [stdout]                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                     ident: "i",
[INFO] [stdout]                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                 },
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                             Lt,
[INFO] [stdout]                                                                                             Mul(
[INFO] [stdout]                                                                                                 Unary(
[INFO] [stdout]                                                                                                     Primary(
[INFO] [stdout]                                                                                                         LVal(
[INFO] [stdout]                                                                                                             LVal {
[INFO] [stdout]                                                                                                                 ident: "j",
[INFO] [stdout]                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                             },
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                         Block(
[INFO] [stdout]                                                                             Block {
[INFO] [stdout]                                                                                 items: [
[INFO] [stdout]                                                                                     Stmt(
[INFO] [stdout]                                                                                         Assign(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "arr",
[INFO] [stdout]                                                                                                 idx: [
[INFO] [stdout]                                                                                                     Exp {
[INFO] [stdout]                                                                                                         exp: LAnd(
[INFO] [stdout]                                                                                                             Eq(
[INFO] [stdout]                                                                                                                 Rel(
[INFO] [stdout]                                                                                                                     Add(
[INFO] [stdout]                                                                                                                         Mul(
[INFO] [stdout]                                                                                                                             Unary(
[INFO] [stdout]                                                                                                                                 Primary(
[INFO] [stdout]                                                                                                                                     LVal(
[INFO] [stdout]                                                                                                                                         LVal {
[INFO] [stdout]                                                                                                                                             ident: "j",
[INFO] [stdout]                                                                                                                                             idx: [],
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     },
[INFO] [stdout]                                                                                                 ],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 Mul(
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             LVal(
[INFO] [stdout]                                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                                     ident: "arr",
[INFO] [stdout]                                                                                                                                     idx: [
[INFO] [stdout]                                                                                                                                         Exp {
[INFO] [stdout]                                                                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                                                                 Eq(
[INFO] [stdout]                                                                                                                                                     Rel(
[INFO] [stdout]                                                                                                                                                         Add(
[INFO] [stdout]                                                                                                                                                             Mul(
[INFO] [stdout]                                                                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                                                                             },
[INFO] [stdout]                                                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                                                 ),
[INFO] [stdout]                                                                                                                                                             ),
[INFO] [stdout]                                                                                                                                                         ),
[INFO] [stdout]                                                                                                                                                     ),
[INFO] [stdout]                                                                                                                                                 ),
[INFO] [stdout]                                                                                                                                             ),
[INFO] [stdout]                                                                                                                                         },
[INFO] [stdout]                                                                                                                                     ],
[INFO] [stdout]                                                                                                                                 },
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                     Stmt(
[INFO] [stdout]                                                                                         Assign(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "j",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 AddMul(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                                         ident: "j",
[INFO] [stdout]                                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                                     },
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                     Sub,
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             Num(
[INFO] [stdout]                                                                                                                                 1,
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ],
[INFO] [stdout]                                                                             },
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                         None,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ],
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "arr",
[INFO] [stdout]                                                         idx: [
[INFO] [stdout]                                                             Exp {
[INFO] [stdout]                                                                 exp: LAnd(
[INFO] [stdout]                                                                     Eq(
[INFO] [stdout]                                                                         Rel(
[INFO] [stdout]                                                                             Add(
[INFO] [stdout]                                                                                 Mul(
[INFO] [stdout]                                                                                     Unary(
[INFO] [stdout]                                                                                         Primary(
[INFO] [stdout]                                                                                             LVal(
[INFO] [stdout]                                                                                                 LVal {
[INFO] [stdout]                                                                                                     ident: "i",
[INFO] [stdout]                                                                                                     idx: [],
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "k",
[INFO] [stdout]                                                                                             idx: [],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "tmp",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: None,
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "tmp",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Sub,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "tmp",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 FuncCall(
[INFO] [stdout]                                                                                     "QuickSort",
[INFO] [stdout]                                                                                     [
[INFO] [stdout]                                                                                         Exp {
[INFO] [stdout]                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                 Eq(
[INFO] [stdout]                                                                                                     Rel(
[INFO] [stdout]                                                                                                         Add(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "arr",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                         Exp {
[INFO] [stdout]                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                 Eq(
[INFO] [stdout]                                                                                                     Rel(
[INFO] [stdout]                                                                                                         Add(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "low",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                         Exp {
[INFO] [stdout]                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                 Eq(
[INFO] [stdout]                                                                                                     Rel(
[INFO] [stdout]                                                                                                         Add(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "tmp",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ],
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "tmp",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "tmp",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 FuncCall(
[INFO] [stdout]                                                                                     "QuickSort",
[INFO] [stdout]                                                                                     [
[INFO] [stdout]                                                                                         Exp {
[INFO] [stdout]                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                 Eq(
[INFO] [stdout]                                                                                                     Rel(
[INFO] [stdout]                                                                                                         Add(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "arr",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                         Exp {
[INFO] [stdout]                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                 Eq(
[INFO] [stdout]                                                                                                     Rel(
[INFO] [stdout]                                                                                                         Add(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "tmp",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                         Exp {
[INFO] [stdout]                                                                                             exp: LAnd(
[INFO] [stdout]                                                                                                 Eq(
[INFO] [stdout]                                                                                                     Rel(
[INFO] [stdout]                                                                                                         Add(
[INFO] [stdout]                                                                                                             Mul(
[INFO] [stdout]                                                                                                                 Unary(
[INFO] [stdout]                                                                                                                     Primary(
[INFO] [stdout]                                                                                                                         LVal(
[INFO] [stdout]                                                                                                                             LVal {
[INFO] [stdout]                                                                                                                                 ident: "high",
[INFO] [stdout]                                                                                                                                 idx: [],
[INFO] [stdout]                                                                                                                             },
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ],
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ],
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                                 None,
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         0,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]         FuncDef(
[INFO] [stdout]             FuncDef {
[INFO] [stdout]                 func_type: Int,
[INFO] [stdout]                 ident: "main",
[INFO] [stdout]                 params: [],
[INFO] [stdout]                 block: Block {
[INFO] [stdout]                     items: [
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "n",
[INFO] [stdout]                                     idx: [],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     10,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "a",
[INFO] [stdout]                                             dims: [
[INFO] [stdout]                                                 ConstExp {
[INFO] [stdout]                                                     exp: Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         10,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 },
[INFO] [stdout]                                             ],
[INFO] [stdout]                                             init: None,
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             0,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     4,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             1,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     3,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             2,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     9,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             3,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     2,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stderr] error: test failed, to rerun pass `--test koopa_test`
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             4,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     0,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             5,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     1,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             6,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     6,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             7,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     5,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             8,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     7,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "a",
[INFO] [stdout]                                     idx: [
[INFO] [stdout]                                         Exp {
[INFO] [stdout]                                             exp: LAnd(
[INFO] [stdout]                                                 Eq(
[INFO] [stdout]                                                     Rel(
[INFO] [stdout]                                                         Add(
[INFO] [stdout]                                                             Mul(
[INFO] [stdout]                                                                 Unary(
[INFO] [stdout]                                                                     Primary(
[INFO] [stdout]                                                                         Num(
[INFO] [stdout]                                                                             9,
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     8,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "i",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: None,
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "i",
[INFO] [stdout]                                     idx: [],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     0,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Decl(
[INFO] [stdout]                             Var(
[INFO] [stdout]                                 VarDecl {
[INFO] [stdout]                                     defs: [
[INFO] [stdout]                                         VarDef {
[INFO] [stdout]                                             ident: "tmp",
[INFO] [stdout]                                             dims: [],
[INFO] [stdout]                                             init: None,
[INFO] [stdout]                                         },
[INFO] [stdout]                                     ],
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "tmp",
[INFO] [stdout]                                     idx: [],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 Num(
[INFO] [stdout]                                                                     9,
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Assign(
[INFO] [stdout]                                 LVal {
[INFO] [stdout]                                     ident: "i",
[INFO] [stdout]                                     idx: [],
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 Add(
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             FuncCall(
[INFO] [stdout]                                                                 "QuickSort",
[INFO] [stdout]                                                                 [
[INFO] [stdout]                                                                     Exp {
[INFO] [stdout]                                                                         exp: LAnd(
[INFO] [stdout]                                                                             Eq(
[INFO] [stdout]                                                                                 Rel(
[INFO] [stdout]                                                                                     Add(
[INFO] [stdout]                                                                                         Mul(
[INFO] [stdout]                                                                                             Unary(
[INFO] [stdout]                                                                                                 Primary(
[INFO] [stdout]                                                                                                     LVal(
[INFO] [stdout]                                                                                                         LVal {
[INFO] [stdout]                                                                                                             ident: "a",
[INFO] [stdout]                                                                                                             idx: [],
[INFO] [stdout]                                                                                                         },
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                     Exp {
[INFO] [stdout]                                                                         exp: LAnd(
[INFO] [stdout]                                                                             Eq(
[INFO] [stdout]                                                                                 Rel(
[INFO] [stdout]                                                                                     Add(
[INFO] [stdout]                                                                                         Mul(
[INFO] [stdout]                                                                                             Unary(
[INFO] [stdout]                                                                                                 Primary(
[INFO] [stdout]                                                                                                     LVal(
[INFO] [stdout]                                                                                                         LVal {
[INFO] [stdout]                                                                                                             ident: "i",
[INFO] [stdout]                                                                                                             idx: [],
[INFO] [stdout]                                                                                                         },
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                     Exp {
[INFO] [stdout]                                                                         exp: LAnd(
[INFO] [stdout]                                                                             Eq(
[INFO] [stdout]                                                                                 Rel(
[INFO] [stdout]                                                                                     Add(
[INFO] [stdout]                                                                                         Mul(
[INFO] [stdout]                                                                                             Unary(
[INFO] [stdout]                                                                                                 Primary(
[INFO] [stdout]                                                                                                     LVal(
[INFO] [stdout]                                                                                                         LVal {
[INFO] [stdout]                                                                                                             ident: "tmp",
[INFO] [stdout]                                                                                                             idx: [],
[INFO] [stdout]                                                                                                         },
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             ),
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ],
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             While(
[INFO] [stdout]                                 Exp {
[INFO] [stdout]                                     exp: LAnd(
[INFO] [stdout]                                         Eq(
[INFO] [stdout]                                             Rel(
[INFO] [stdout]                                                 RelAdd(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     LVal(
[INFO] [stdout]                                                                         LVal {
[INFO] [stdout]                                                                             ident: "i",
[INFO] [stdout]                                                                             idx: [],
[INFO] [stdout]                                                                         },
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                     Lt,
[INFO] [stdout]                                                     Mul(
[INFO] [stdout]                                                         Unary(
[INFO] [stdout]                                                             Primary(
[INFO] [stdout]                                                                 LVal(
[INFO] [stdout]                                                                     LVal {
[INFO] [stdout]                                                                         ident: "n",
[INFO] [stdout]                                                                         idx: [],
[INFO] [stdout]                                                                     },
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     ),
[INFO] [stdout]                                 },
[INFO] [stdout]                                 Block(
[INFO] [stdout]                                     Block {
[INFO] [stdout]                                         items: [
[INFO] [stdout]                                             Decl(
[INFO] [stdout]                                                 Var(
[INFO] [stdout]                                                     VarDecl {
[INFO] [stdout]                                                         defs: [
[INFO] [stdout]                                                             VarDef {
[INFO] [stdout]                                                                 ident: "tmp",
[INFO] [stdout]                                                                 dims: [],
[INFO] [stdout]                                                                 init: None,
[INFO] [stdout]                                                             },
[INFO] [stdout]                                                         ],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "tmp",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     LVal(
[INFO] [stdout]                                                                                         LVal {
[INFO] [stdout]                                                                                             ident: "a",
[INFO] [stdout]                                                                                             idx: [
[INFO] [stdout]                                                                                                 Exp {
[INFO] [stdout]                                                                                                     exp: LAnd(
[INFO] [stdout]                                                                                                         Eq(
[INFO] [stdout]                                                                                                             Rel(
[INFO] [stdout]                                                                                                                 Add(
[INFO] [stdout]                                                                                                                     Mul(
[INFO] [stdout]                                                                                                                         Unary(
[INFO] [stdout]                                                                                                                             Primary(
[INFO] [stdout]                                                                                                                                 LVal(
[INFO] [stdout]                                                                                                                                     LVal {
[INFO] [stdout]                                                                                                                                         ident: "i",
[INFO] [stdout]                                                                                                                                         idx: [],
[INFO] [stdout]                                                                                                                                     },
[INFO] [stdout]                                                                                                                                 ),
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 },
[INFO] [stdout]                                                                                             ],
[INFO] [stdout]                                                                                         },
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Some(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     FuncCall(
[INFO] [stdout]                                                                                         "putint",
[INFO] [stdout]                                                                                         [
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 Mul(
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             LVal(
[INFO] [stdout]                                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                                     ident: "tmp",
[INFO] [stdout]                                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                                 },
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ],
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "tmp",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         Mul(
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         10,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Exp(
[INFO] [stdout]                                                     Some(
[INFO] [stdout]                                                         Exp {
[INFO] [stdout]                                                             exp: LAnd(
[INFO] [stdout]                                                                 Eq(
[INFO] [stdout]                                                                     Rel(
[INFO] [stdout]                                                                         Add(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     FuncCall(
[INFO] [stdout]                                                                                         "putch",
[INFO] [stdout]                                                                                         [
[INFO] [stdout]                                                                                             Exp {
[INFO] [stdout]                                                                                                 exp: LAnd(
[INFO] [stdout]                                                                                                     Eq(
[INFO] [stdout]                                                                                                         Rel(
[INFO] [stdout]                                                                                                             Add(
[INFO] [stdout]                                                                                                                 Mul(
[INFO] [stdout]                                                                                                                     Unary(
[INFO] [stdout]                                                                                                                         Primary(
[INFO] [stdout]                                                                                                                             LVal(
[INFO] [stdout]                                                                                                                                 LVal {
[INFO] [stdout]                                                                                                                                     ident: "tmp",
[INFO] [stdout]                                                                                                                                     idx: [],
[INFO] [stdout]                                                                                                                                 },
[INFO] [stdout]                                                                                                                             ),
[INFO] [stdout]                                                                                                                         ),
[INFO] [stdout]                                                                                                                     ),
[INFO] [stdout]                                                                                                                 ),
[INFO] [stdout]                                                                                                             ),
[INFO] [stdout]                                                                                                         ),
[INFO] [stdout]                                                                                                     ),
[INFO] [stdout]                                                                                                 ),
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ],
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         },
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                             Stmt(
[INFO] [stdout]                                                 Assign(
[INFO] [stdout]                                                     LVal {
[INFO] [stdout]                                                         ident: "i",
[INFO] [stdout]                                                         idx: [],
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                     Exp {
[INFO] [stdout]                                                         exp: LAnd(
[INFO] [stdout]                                                             Eq(
[INFO] [stdout]                                                                 Rel(
[INFO] [stdout]                                                                     Add(
[INFO] [stdout]                                                                         AddMul(
[INFO] [stdout]                                                                             Mul(
[INFO] [stdout]                                                                                 Unary(
[INFO] [stdout]                                                                                     Primary(
[INFO] [stdout]                                                                                         LVal(
[INFO] [stdout]                                                                                             LVal {
[INFO] [stdout]                                                                                                 ident: "i",
[INFO] [stdout]                                                                                                 idx: [],
[INFO] [stdout]                                                                                             },
[INFO] [stdout]                                                                                         ),
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                             Add,
[INFO] [stdout]                                                                             Unary(
[INFO] [stdout]                                                                                 Primary(
[INFO] [stdout]                                                                                     Num(
[INFO] [stdout]                                                                                         1,
[INFO] [stdout]                                                                                     ),
[INFO] [stdout]                                                                                 ),
[INFO] [stdout]                                                                             ),
[INFO] [stdout]                                                                         ),
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     },
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ],
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                         Stmt(
[INFO] [stdout]                             Return(
[INFO] [stdout]                                 Some(
[INFO] [stdout]                                     Exp {
[INFO] [stdout]                                         exp: LAnd(
[INFO] [stdout]                                             Eq(
[INFO] [stdout]                                                 Rel(
[INFO] [stdout]                                                     Add(
[INFO] [stdout]                                                         Mul(
[INFO] [stdout]                                                             Unary(
[INFO] [stdout]                                                                 Primary(
[INFO] [stdout]                                                                     Num(
[INFO] [stdout]                                                                         0,
[INFO] [stdout]                                                                     ),
[INFO] [stdout]                                                                 ),
[INFO] [stdout]                                                             ),
[INFO] [stdout]                                                         ),
[INFO] [stdout]                                                     ),
[INFO] [stdout]                                                 ),
[INFO] [stdout]                                             ),
[INFO] [stdout]                                         ),
[INFO] [stdout]                                     },
[INFO] [stdout]                                 ),
[INFO] [stdout]                             ),
[INFO] [stdout]                         ),
[INFO] [stdout]                     ],
[INFO] [stdout]                 },
[INFO] [stdout]             },
[INFO] [stdout]         ),
[INFO] [stdout]     ],
[INFO] [stdout] }
[INFO] [stdout] ====================================================================================================
[INFO] [stdout] Koopa:
[INFO] [stdout] 
[INFO] [stdout] global @n_1 = alloc i32, zeroinit
[INFO] [stdout]  
[INFO] [stdout] decl @getint(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getch(): i32
[INFO] [stdout] 
[INFO] [stdout] decl @getarray(*i32): i32
[INFO] [stdout] 
[INFO] [stdout] decl @putint(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putch(i32)
[INFO] [stdout] 
[INFO] [stdout] decl @putarray(i32, *i32)
[INFO] [stdout] 
[INFO] [stdout] decl @starttime()
[INFO] [stdout] 
[INFO] [stdout] decl @stoptime()
[INFO] [stdout] 
[INFO] [stdout] fun @QuickSort(%0: *i32, %1: i32, %2: i32): i32 {
[INFO] [stdout] %entry_1:
[INFO] [stdout]   @arr_1 = alloc *i32
[INFO] [stdout]   store %0, @arr_1
[INFO] [stdout]   @low_1 = alloc i32
[INFO] [stdout]   store %1, @low_1
[INFO] [stdout]   @high_1 = alloc i32
[INFO] [stdout]   store %2, @high_1
[INFO] [stdout]   %3 = load @low_1
[INFO] [stdout]   %4 = load @high_1
[INFO] [stdout]   %5 = lt %3, %4
[INFO] [stdout]   br %5, %if_then_1, %if_else_1
[INFO] [stdout] 
[INFO] [stdout] %if_then_1:
[INFO] [stdout]   @i_1 = alloc i32
[INFO] [stdout]   %6 = load @low_1
[INFO] [stdout]   store %6, @i_1
[INFO] [stdout]   @j_1 = alloc i32
[INFO] [stdout]   %7 = load @high_1
[INFO] [stdout]   store %7, @j_1
[INFO] [stdout]   @k_1 = alloc i32
[INFO] [stdout]   %8 = load @low_1
[INFO] [stdout]   %9 = load @arr_1
[INFO] [stdout]   %array_ptr_1 = getptr %9, %8
[INFO] [stdout]   %10 = load %array_ptr_1
[INFO] [stdout]   store %10, @k_1
[INFO] [stdout]   jump %while_entry_1
[INFO] [stdout] 
[INFO] [stdout] %while_entry_1:
[INFO] [stdout]   %11 = load @i_1
[INFO] [stdout]   %12 = load @j_1
[INFO] [stdout]   %13 = lt %11, %12
[INFO] [stdout]   br %13, %while_body_1, %while_end_1
[INFO] [stdout] 
[INFO] [stdout] %while_body_1:
[INFO] [stdout]   jump %while_entry_2
[INFO] [stdout] 
[INFO] [stdout] %while_entry_2:
[INFO] [stdout]   %and_1 = alloc i32
[INFO] [stdout]   %14 = load @i_1
[INFO] [stdout]   %15 = load @j_1
[INFO] [stdout]   %16 = lt %14, %15
[INFO] [stdout]   %17 = ne %16, 0
[INFO] [stdout]   store %17, %and_1
[INFO] [stdout]   br %17, %and_rhs_1, %and_end_1
[INFO] [stdout] 
[INFO] [stdout] %and_rhs_1:
[INFO] [stdout]   %18 = load @j_1
[INFO] [stdout]   %19 = load @arr_1
[INFO] [stdout]   %array_ptr_2 = getptr %19, %18
[INFO] [stdout]   %20 = load %array_ptr_2
[INFO] [stdout]   %21 = load @k_1
[INFO] [stdout]   %22 = sub %21, 1
[INFO] [stdout]   %23 = gt %20, %22
[INFO] [stdout]   %24 = ne %23, 0
[INFO] [stdout]   store %24, %and_1
[INFO] [stdout]   jump %and_end_1
[INFO] [stdout] 
[INFO] [stdout] %and_end_1:
[INFO] [stdout]   %25 = load %and_1
[INFO] [stdout]   br %25, %while_body_2, %while_end_2
[INFO] [stdout] 
[INFO] [stdout] %while_body_2:
[INFO] [stdout]   %26 = load @j_1
[INFO] [stdout]   %27 = sub %26, 1
[INFO] [stdout]   store %27, @j_1
[INFO] [stdout]   jump %while_entry_2
[INFO] [stdout] 
[INFO] [stdout] %while_end_2:
[INFO] [stdout]   %28 = load @i_1
[INFO] [stdout]   %29 = load @j_1
[INFO] [stdout]   %30 = lt %28, %29
[INFO] [stdout]   br %30, %if_then_2, %if_else_2
[INFO] [stdout] 
[INFO] [stdout] %if_then_2:
[INFO] [stdout]   %31 = load @i_1
[INFO] [stdout]   %32 = load @arr_1
[INFO] [stdout]   %array_ptr_3 = getptr %32, %31
[INFO] [stdout]   %33 = load @j_1
[INFO] [stdout]   %34 = load @arr_1
[INFO] [stdout]   %array_ptr_4 = getptr %34, %33
[INFO] [stdout]   %35 = load %array_ptr_4
[INFO] [stdout]   store %35, %array_ptr_3
[INFO] [stdout]   %36 = load @i_1
[INFO] [stdout]   %37 = add %36, 1
[INFO] [stdout]   store %37, @i_1
[INFO] [stdout]   jump %if_end_2
[INFO] [stdout] 
[INFO] [stdout] %if_else_2:
[INFO] [stdout]   jump %if_end_2
[INFO] [stdout] 
[INFO] [stdout] %if_end_2:
[INFO] [stdout]   jump %while_entry_3
[INFO] [stdout] 
[INFO] [stdout] %while_entry_3:
[INFO] [stdout]   %and_2 = alloc i32
[INFO] [stdout]   %38 = load @i_1
[INFO] [stdout]   %39 = load @j_1
[INFO] [stdout]   %40 = lt %38, %39
[INFO] [stdout]   %41 = ne %40, 0
[INFO] [stdout]   store %41, %and_2
[INFO] [stdout]   br %41, %and_rhs_2, %and_end_2
[INFO] [stdout] 
[INFO] [stdout] %and_rhs_2:
[INFO] [stdout]   %42 = load @i_1
[INFO] [stdout]   %43 = load @arr_1
[INFO] [stdout]   %array_ptr_5 = getptr %43, %42
[INFO] [stdout]   %44 = load %array_ptr_5
[INFO] [stdout]   %45 = load @k_1
[INFO] [stdout]   %46 = lt %44, %45
[INFO] [stdout]   %47 = ne %46, 0
[INFO] [stdout]   store %47, %and_2
[INFO] [stdout]   jump %and_end_2
[INFO] [stdout] 
[INFO] [stdout] %and_end_2:
[INFO] [stdout]   %48 = load %and_2
[INFO] [stdout]   br %48, %while_body_3, %while_end_3
[INFO] [stdout] 
[INFO] [stdout] %while_body_3:
[INFO] [stdout]   %49 = load @i_1
[INFO] [stdout]   %50 = add %49, 1
[INFO] [stdout]   store %50, @i_1
[INFO] [stdout]   jump %while_entry_3
[INFO] [stdout] 
[INFO] [stdout] %while_end_3:
[INFO] [stdout]   %51 = load @i_1
[INFO] [stdout]   %52 = load @j_1
[INFO] [stdout]   %53 = lt %51, %52
[INFO] [stdout]   br %53, %if_then_3, %if_else_3
[INFO] [stdout] 
[INFO] [stdout] %if_then_3:
[INFO] [stdout]   %54 = load @j_1
[INFO] [stdout]   %55 = load @arr_1
[INFO] [stdout]   %array_ptr_6 = getptr %55, %54
[INFO] [stdout]   %56 = load @i_1
[INFO] [stdout]   %57 = load @arr_1
[INFO] [stdout]   %array_ptr_7 = getptr %57, %56
[INFO] [stdout]   %58 = load %array_ptr_7
[INFO] [stdout]   store %58, %array_ptr_6
[INFO] [stdout]   %59 = load @j_1
[INFO] [stdout]   %60 = sub %59, 1
[INFO] [stdout]   store %60, @j_1
[INFO] [stdout]   jump %if_end_3
[INFO] [stdout] 
[INFO] [stdout] %if_else_3:
[INFO] [stdout]   jump %if_end_3
[INFO] [stdout] 
[INFO] [stdout] %if_end_3:
[INFO] [stdout]   jump %while_entry_1
[INFO] [stdout] 
[INFO] [stdout] %while_end_1:
[INFO] [stdout]   %61 = load @i_1
[INFO] [stdout]   %62 = load @arr_1
[INFO] [stdout]   %array_ptr_8 = getptr %62, %61
[INFO] [stdout]   %63 = load @k_1
[INFO] [stdout]   store %63, %array_ptr_8
[INFO] [stdout]   @tmp_1 = alloc i32
[INFO] [stdout]   %64 = load @i_1
[INFO] [stdout]   %65 = sub %64, 1
[INFO] [stdout]   store %65, @tmp_1
[INFO] [stdout]   %66 = load @arr_1
[INFO] [stdout]   %67 = getptr %66, 0
[INFO] [stdout]   %68 = load @low_1
[INFO] [stdout]   %69 = load @tmp_1
[INFO] [stdout]   %70 = call @QuickSort(%67, %68, %69)
[INFO] [stdout]   store %70, @tmp_1
[INFO] [stdout]   %71 = load @i_1
[INFO] [stdout]   %72 = add %71, 1
[INFO] [stdout]   store %72, @tmp_1
[INFO] [stdout]   %73 = load @arr_1
[INFO] [stdout]   %74 = getptr %73, 0
[INFO] [stdout]   %75 = load @tmp_1
[INFO] [stdout]   %76 = load @high_1
[INFO] [stdout]   %77 = call @QuickSort(%74, %75, %76)
[INFO] [stdout]   store %77, @tmp_1
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_else_1:
[INFO] [stdout]   jump %if_end_1
[INFO] [stdout] 
[INFO] [stdout] %if_end_1:
[INFO] [stdout]   ret 0
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] fun @main(): i32 {
[INFO] [stdout] %entry_2:
[INFO] [stdout]   store 10, @n_1
[INFO] [stdout]   @a_1 = alloc [i32, 10]
[INFO] [stdout]   %array_ptr_9 = getelemptr @a_1, 0
[INFO] [stdout]   store 4, %array_ptr_9
[INFO] [stdout]   %array_ptr_10 = getelemptr @a_1, 1
[INFO] [stdout]   store 3, %array_ptr_10
[INFO] [stdout]   %array_ptr_11 = getelemptr @a_1, 2
[INFO] [stdout]   store 9, %array_ptr_11
[INFO] [stdout]   %array_ptr_12 = getelemptr @a_1, 3
[INFO] [stdout]   store 2, %array_ptr_12
[INFO] [stdout]   %array_ptr_13 = getelemptr @a_1, 4
[INFO] [stdout]   store 0, %array_ptr_13
[INFO] [stdout]   %array_ptr_14 = getelemptr @a_1, 5
[INFO] [stdout]   store 1, %array_ptr_14
[INFO] [stdout]   %array_ptr_15 = getelemptr @a_1, 6
[INFO] [stdout]   store 6, %array_ptr_15
[INFO] [stdout]   %array_ptr_16 = getelemptr @a_1, 7
[INFO] [stdout]   store 5, %array_ptr_16
[INFO] [stdout]   %array_ptr_17 = getelemptr @a_1, 8
[INFO] [stdout]   store 7, %array_ptr_17
[INFO] [stdout]   %array_ptr_18 = getelemptr @a_1, 9
[INFO] [stdout]   store 8, %array_ptr_18
[INFO] [stdout]   @i_2 = alloc i32
[INFO] [stdout]   store 0, @i_2
[INFO] [stdout]   @tmp_2 = alloc i32
[INFO] [stdout]   store 9, @tmp_2
[INFO] [stdout]   %78 = getelemptr @a_1, 0
[INFO] [stdout]   %79 = load @i_2
[INFO] [stdout]   %80 = load @tmp_2
[INFO] [stdout]   %81 = call @QuickSort(%78, %79, %80)
[INFO] [stdout]   store %81, @i_2
[INFO] [stdout]   jump %while_entry_4
[INFO] [stdout] 
[INFO] [stdout] %while_entry_4:
[INFO] [stdout]   %82 = load @i_2
[INFO] [stdout]   %83 = load @n_1
[INFO] [stdout]   %84 = lt %82, %83
[INFO] [stdout]   br %84, %while_body_4, %while_end_4
[INFO] [stdout] 
[INFO] [stdout] %while_body_4:
[INFO] [stdout]   @tmp_3 = alloc i32
[INFO] [stdout]   %85 = load @i_2
[INFO] [stdout]   %array_ptr_19 = getelemptr @a_1, %85
[INFO] [stdout]   %86 = load %array_ptr_19
[INFO] [stdout]   store %86, @tmp_3
[INFO] [stdout]   %87 = load @tmp_3
[INFO] [stdout]   call @putint(%87)
[INFO] [stdout]   store 10, @tmp_3
[INFO] [stdout]   %88 = load @tmp_3
[INFO] [stdout]   call @putch(%88)
[INFO] [stdout]   %89 = load @i_2
[INFO] [stdout]   %90 = add %89, 1
[INFO] [stdout]   store %90, @i_2
[INFO] [stdout]   jump %while_entry_4
[INFO] [stdout] 
[INFO] [stdout] %while_end_4:
[INFO] [stdout]   ret 0
[INFO] [stdout] }
[INFO] [stdout]  
[INFO] [stdout] thread 'koopa_mod_test_lv9_3' panicked at tests/koopa_test.rs:5:37:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: WriteFileError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f38124b2d3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x5f38124b2d3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5f38124b2d3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5f38124b2d3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5f38124d9753 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x5f38124d9753 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x5f38124af983 - std::io::Write::write_fmt::h7d3c26752da97734
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x5f38124b2b82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x5f38124b41ca - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x5f38124b3fd4 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x5f38122c1989 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h4ff71de18744e1dc
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   11:     0x5f38122c1989 - test::test_main::{{closure}}::hcf7c055ce117aa81
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:133:21
[INFO] [stdout]   12:     0x5f38124b48c8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1d66c6bbd60c9692
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2468:9
[INFO] [stdout]   13:     0x5f38124b48c8 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x5f38124b468a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   15:     0x5f38124b3219 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x5f38124b431c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x5f38124d80d0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x5f38124d8556 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   19:     0x5f38122871fc - core::result::Result<T,E>::unwrap::hc8c55120fb4c5b23
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1103:23
[INFO] [stdout]   20:     0x5f38122871fc - koopa_test::koopa_mod_test::hb397046cf1a5d679
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:5
[INFO] [stdout]   21:     0x5f3812287a2e - koopa_test::koopa_mod_test_lv9_3::h3324bf3d5e860d13
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:147:5
[INFO] [stdout]   22:     0x5f38122879f7 - koopa_test::koopa_mod_test_lv9_3::{{closure}}::h3868d03dc1c43d14
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:146:26
[INFO] [stdout]   23:     0x5f3812286846 - core::ops::function::FnOnce::call_once::h15233f632c367f90
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f38122c625b - core::ops::function::FnOnce::call_once::h22c3ba5715e93f05
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f38122c625b - test::__rust_begin_short_backtrace::h8e82d8113d0da17f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:621:18
[INFO] [stdout]   26:     0x5f38122c5bd7 - test::run_test_in_process::{{closure}}::h33235f4f20b7b7c7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:60
[INFO] [stdout]   27:     0x5f38122c5bd7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb5043206310c586f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5f38122c5bd7 - std::panicking::try::do_call::h9ad4731a60ab23e2
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   29:     0x5f38122c5bd7 - std::panicking::try::h3824d23db772a716
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   30:     0x5f38122c5bd7 - std::panic::catch_unwind::h5afd514605fde46b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x5f38122c5bd7 - test::run_test_in_process::h0d5cbfa7067d1720
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:644:27
[INFO] [stdout]   32:     0x5f38122c5bd7 - test::run_test::{{closure}}::h708eb8872708115d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:565:43
[INFO] [stdout]   33:     0x5f38122892f4 - test::run_test::{{closure}}::h392c51cee94713ab
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/test/src/lib.rs:595:41
[INFO] [stdout]   34:     0x5f38122892f4 - std::sys::backtrace::__rust_begin_short_backtrace::h2f40290710935a8b
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3fd968d89053a903
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:541:17
[INFO] [stdout]   36:     0x5f381228ca9e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h743f637ba4229880
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5f381228ca9e - std::panicking::try::do_call::h07440897322525a6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   38:     0x5f381228ca9e - std::panicking::try::he5a2e00188156637
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   39:     0x5f381228ca9e - std::panic::catch_unwind::hbaf3cae49b3c6433
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x5f381228ca9e - std::thread::Builder::spawn_unchecked_::{{closure}}::h8e141ea224820bce
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/thread/mod.rs:540:30
[INFO] [stdout]   41:     0x5f381228ca9e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h90d312fedd7b8ea8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h69aa08ddb6adb8b6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   43:     0x5f38124b86cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5aa36efdb79c806f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/boxed.rs:2454:9
[INFO] [stdout]   44:     0x5f38124b86cb - std::sys::pal::unix::thread::Thread::new::thread_start::h6cd80a1b4be5158d
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   45:     0x700e45529ac3 - <unknown>
[INFO] [stdout]   46:     0x700e455baa04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     koopa_mod_test_lv1
[INFO] [stdout]     koopa_mod_test_lv2
[INFO] [stdout]     koopa_mod_test_lv3_1
[INFO] [stdout]     koopa_mod_test_lv3_2
[INFO] [stdout]     koopa_mod_test_lv3_3
[INFO] [stdout]     koopa_mod_test_lv4_1
[INFO] [stdout]     koopa_mod_test_lv4_2
[INFO] [stdout]     koopa_mod_test_lv5
[INFO] [stdout]     koopa_mod_test_lv6_1
[INFO] [stdout]     koopa_mod_test_lv6_2
[INFO] [stdout]     koopa_mod_test_lv7_1
[INFO] [stdout]     koopa_mod_test_lv7_2
[INFO] [stdout]     koopa_mod_test_lv8_0
[INFO] [stdout]     koopa_mod_test_lv8_1
[INFO] [stdout]     koopa_mod_test_lv8_2
[INFO] [stdout]     koopa_mod_test_lv8_3
[INFO] [stdout]     koopa_mod_test_lv9_1
[INFO] [stdout]     koopa_mod_test_lv9_2
[INFO] [stdout]     koopa_mod_test_lv9_3
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b2211385394dc2e7f32f1431a525eae4eb069940dafd782d2fcaccd6b7ad757b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2211385394dc2e7f32f1431a525eae4eb069940dafd782d2fcaccd6b7ad757b", kill_on_drop: false }`
[INFO] [stdout] b2211385394dc2e7f32f1431a525eae4eb069940dafd782d2fcaccd6b7ad757b
