[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 against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllenYolk%2Fsysy-compiler" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AllenYolk/sysy-compiler on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lalrpop-util v0.20.0
[INFO] [stderr]   Downloaded lalrpop v0.20.0
[INFO] [stderr]   Downloaded koopa v0.0.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e0bca01e143697436fd8284a9df991c7437a85bb453ed6d7a1d2994f2ccd1844
[INFO] running `Command { std: "docker" "start" "-a" "e0bca01e143697436fd8284a9df991c7437a85bb453ed6d7a1d2994f2ccd1844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0bca01e143697436fd8284a9df991c7437a85bb453ed6d7a1d2994f2ccd1844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0bca01e143697436fd8284a9df991c7437a85bb453ed6d7a1d2994f2ccd1844", kill_on_drop: false }`
[INFO] [stdout] e0bca01e143697436fd8284a9df991c7437a85bb453ed6d7a1d2994f2ccd1844
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2c82a2d17562a6d4c53a2ba7cabee7cb61302c55079b9e19288fd350f256306
[INFO] running `Command { std: "docker" "start" "-a" "d2c82a2d17562a6d4c53a2ba7cabee7cb61302c55079b9e19288fd350f256306", 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 rustix v0.37.19
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling linux-raw-sys v0.3.7
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling key-node-list v0.0.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling koopa v0.0.6
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[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 regex v1.8.1
[INFO] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling lalrpop-util v0.20.0
[INFO] [stderr]    Compiling lalrpop v0.20.0
[INFO] [stderr]    Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir)
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.59s
[INFO] running `Command { std: "docker" "inspect" "d2c82a2d17562a6d4c53a2ba7cabee7cb61302c55079b9e19288fd350f256306", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2c82a2d17562a6d4c53a2ba7cabee7cb61302c55079b9e19288fd350f256306", kill_on_drop: false }`
[INFO] [stdout] d2c82a2d17562a6d4c53a2ba7cabee7cb61302c55079b9e19288fd350f256306
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f9907c8b76be65a929d0a945773f7a8fa3507796cb360d0cfee4acd815e20bf
[INFO] running `Command { std: "docker" "start" "-a" "3f9907c8b76be65a929d0a945773f7a8fa3507796cb360d0cfee4acd815e20bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling sysy_compiler v0.1.0 (/opt/rustwide/workdir)
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s
[INFO] running `Command { std: "docker" "inspect" "3f9907c8b76be65a929d0a945773f7a8fa3507796cb360d0cfee4acd815e20bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f9907c8b76be65a929d0a945773f7a8fa3507796cb360d0cfee4acd815e20bf", kill_on_drop: false }`
[INFO] [stdout] 3f9907c8b76be65a929d0a945773f7a8fa3507796cb360d0cfee4acd815e20bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 94219a5817a73413d7bf04daf4272ce19486b5ac32ad0cb02303a8bd222a5451
[INFO] running `Command { std: "docker" "start" "-a" "94219a5817a73413d7bf04daf4272ce19486b5ac32ad0cb02303a8bd222a5451", kill_on_drop: false }`
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sysy_compiler` (lib) generated 1 warning
[INFO] [stderr] warning: `sysy_compiler` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sysy_compiler-7d457be61f3b7f9f)
[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_lv4_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv3_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_3_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_lv1_test ... ok
[INFO] [stdout] test ir_generate::temp_symbol::tests::new_temp_symbol_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_2_test ... ok
[INFO] [stdout] test target_generate::function_call::tests::function_arg_location_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv7_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv9_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv4_2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv7_2_test ... ok
[INFO] [stdout] test target_generate::value_location::tests::move_content_to_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv2_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_0_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv5_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv3_3_test ... ok
[INFO] [stdout] test target_generate::value_location::tests::act_as_function_arg_test ... ok
[INFO] [stdout] test tools::tests::append_line_break_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv8_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv9_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv6_1_test ... ok
[INFO] [stdout] test ast_generate::tests::astgen_lv6_2_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.09s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sysy_compiler-a678a14df2c2e4f8)
[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-e88b0f1ae463946d)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test koopa_mod_test_lv4_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv6_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv7_1 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv6_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv3_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_lv2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv3_3 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv3_2 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv5 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv4_2 ... 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_lv8_0 ... FAILED
[INFO] [stdout] test koopa_mod_test_lv9_3 ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[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] 
[INFO] [stdout] thread 'koopa_mod_test_lv4_1' (51) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd0ae - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv4_1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:46:5
[INFO] [stdout]   23:     0x5a132e7dca57 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv4_1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:45:26
[INFO] [stdout]   24:     0x5a132e7dd726 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv4_1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv6_1' (54) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd0ee - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv6_1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:67:5
[INFO] [stdout]   23:     0x5a132e7dcab7 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv6_1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:66:26
[INFO] [stdout]   24:     0x5a132e7dd7a6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv6_1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[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] 
[INFO] [stdout] thread 'koopa_mod_test_lv1' (46) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dcfee - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:12:5
[INFO] [stdout]   23:     0x5a132e7dc937 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:11:24
[INFO] [stdout]   24:     0x5a132e7dd5a6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv7_1' (56) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd12e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv7_1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:83:5
[INFO] [stdout]   23:     0x5a132e7dcb17 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv7_1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:82:26
[INFO] [stdout]   24:     0x5a132e7dd826 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv7_1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv6_2' (55) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd10e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv6_2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:75:5
[INFO] [stdout]   23:     0x5a132e7dcae7 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv6_2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:74:26
[INFO] [stdout]   24:     0x5a132e7dd7e6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv6_2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv3_1' (48) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd04e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:22:5
[INFO] [stdout]   23:     0x5a132e7dc9c7 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:21:26
[INFO] [stdout]   24:     0x5a132e7dd666 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv7_2' (57) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd14e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv7_2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:91:5
[INFO] [stdout]   23:     0x5a132e7dcb47 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv7_2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:90:26
[INFO] [stdout]   24:     0x5a132e7dd866 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv7_2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv8_2' (60) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd1ae - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:115:5
[INFO] [stdout]   23:     0x5a132e7dcbd7 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:114:26
[INFO] [stdout]   24:     0x5a132e7dd926 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv2' (47) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd00e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:17:5
[INFO] [stdout]   23:     0x5a132e7dc967 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:16:24
[INFO] [stdout]   24:     0x5a132e7dd5e6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv3_3' (50) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd08e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_3
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:38:5
[INFO] [stdout]   23:     0x5a132e7dca27 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_3::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:37:26
[INFO] [stdout]   24:     0x5a132e7dd6e6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_3::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv3_2' (49) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd06e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:30:5
[INFO] [stdout]   23:     0x5a132e7dc9f7 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:29:26
[INFO] [stdout]   24:     0x5a132e7dd6a6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv3_2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv5' (53) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd02e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv5
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:62:5
[INFO] [stdout]   23:     0x5a132e7dc997 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv5::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:61:24
[INFO] [stdout]   24:     0x5a132e7dd626 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv5::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv4_2' (52) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd0ce - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv4_2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:54:5
[INFO] [stdout]   23:     0x5a132e7dca87 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv4_2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:53:26
[INFO] [stdout]   24:     0x5a132e7dd766 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv4_2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv8_3' (61) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd1ce - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_3
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:123:5
[INFO] [stdout]   23:     0x5a132e7dcc07 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_3::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:122:26
[INFO] [stdout]   24:     0x5a132e7dd966 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_3::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv8_1' (59) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd18e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:107:5
[INFO] [stdout]   23:     0x5a132e7dcba7 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:106:26
[INFO] [stdout]   24:     0x5a132e7dd8e6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv9_1' (62) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd1ee - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_1
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:131:5
[INFO] [stdout]   23:     0x5a132e7dcc37 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_1::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:130:26
[INFO] [stdout]   24:     0x5a132e7dd9a6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_1::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv9_2' (63) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd20e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_2
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:139:5
[INFO] [stdout]   23:     0x5a132e7dcc67 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_2::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:138:26
[INFO] [stdout]   24:     0x5a132e7dd9e6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_2::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] 
[INFO] [stdout] thread 'koopa_mod_test_lv8_0' (58) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd16e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_0
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:99:5
[INFO] [stdout]   23:     0x5a132e7dcb77 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_0::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:98:26
[INFO] [stdout]   24:     0x5a132e7dd8a6 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv8_0::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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] [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] [stderr] error: test failed, to rerun pass `--test koopa_test`
[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] 
[INFO] [stdout] thread 'koopa_mod_test_lv9_3' (64) 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:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a132e9f583a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized::<std[1209cfb42f6d497f]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a132e9f583a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a132e9f583a - <<std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a132ea09fea - <core[4a92201981c6b77a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a132ea09fea - core[4a92201981c6b77a]::fmt::write
[INFO] [stdout]    6:     0x5a132e9fa142 - std[1209cfb42f6d497f]::io::default_write_fmt::<alloc[420bb310a727dfd7]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x5a132e9fa142 - <alloc[420bb310a727dfd7]::vec::Vec<u8> as std[1209cfb42f6d497f]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x5a132e9d431f - <std[1209cfb42f6d497f]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a132e9d431f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a132e9ed779 - std[1209cfb42f6d497f]::panicking::default_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a132e7ea7ec - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x5a132e7ea7ec - test[59e67a9bc0e119f1]::test_main_inner::<test[59e67a9bc0e119f1]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5a132e9ed932 - <alloc[420bb310a727dfd7]::boxed::Box<dyn for<'a, 'b> core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x5a132e9ed932 - std[1209cfb42f6d497f]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a132e9d43d8 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a132e9c9469 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace::<std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a132e9d50ed - __rustc[4effac393e9f3da6]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a132ea0a82c - core[4a92201981c6b77a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a132ea0a5a2 - core[4a92201981c6b77a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x5a132e7dcd70 - <core[4a92201981c6b77a]::result::Result<(), sysy_compiler[fb3e6f7a85b7d49]::RunError>>::unwrap
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x5a132e7dcd70 - koopa_test[20a6ce77dc028e39]::koopa_mod_test
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:5:37
[INFO] [stdout]   22:     0x5a132e7dd22e - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_3
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:147:5
[INFO] [stdout]   23:     0x5a132e7dcc97 - koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_3::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/koopa_test.rs:146:26
[INFO] [stdout]   24:     0x5a132e7dda26 - <koopa_test[20a6ce77dc028e39]::koopa_mod_test_lv9_3::{closure#0} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5a132e7ddacb - <fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5a132e7ddacb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18
[INFO] [stdout]   27:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74
[INFO] [stdout]   28:     0x5a132e7eb2bb - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   29:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panicking::catch_unwind::<core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5a132e7eb2bb - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<test[59e67a9bc0e119f1]::run_test_in_process::{closure#0}>, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test_in_process
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27
[INFO] [stdout]   33:     0x5a132e7eb2bb - test[59e67a9bc0e119f1]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43
[INFO] [stdout]   34:     0x5a132e7e49d4 - test[59e67a9bc0e119f1]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41
[INFO] [stdout]   35:     0x5a132e7e49d4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   37:     0x5a132e7edec2 - <core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   38:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x5a132e7edec2 - std[1209cfb42f6d497f]::panic::catch_unwind::<core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe<std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x5a132e7edec2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   42:     0x5a132e7edec2 - <std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked<test[59e67a9bc0e119f1]::run_test::{closure#1}, ()>::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x5a132e9f4c2f - <alloc[420bb310a727dfd7]::boxed::Box<dyn core[4a92201981c6b77a]::ops::function::FnOnce<(), Output = ()> + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9
[INFO] [stdout]   44:     0x5a132e9f4c2f - <std[1209cfb42f6d497f]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7a4227591aa4 - <unknown>
[INFO] [stdout]   46:     0x7a422761ea64 - 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.12s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "94219a5817a73413d7bf04daf4272ce19486b5ac32ad0cb02303a8bd222a5451", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94219a5817a73413d7bf04daf4272ce19486b5ac32ad0cb02303a8bd222a5451", kill_on_drop: false }`
[INFO] [stdout] 94219a5817a73413d7bf04daf4272ce19486b5ac32ad0cb02303a8bd222a5451
