[INFO] cloning repository https://github.com/reese/rox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reese/rox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freese%2Frox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freese%2Frox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a09e9bce6f7fc47f13389991e3d459fb4da3f86c [INFO] testing reese/rox against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freese%2Frox" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reese/rox on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/reese/rox [INFO] finished tweaking git repo https://github.com/reese/rox [INFO] tweaked toml for git repo https://github.com/reese/rox written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/reese/rox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df5335fa4cb3e7354989dc8f51a6612f13169785570c4ab66cea90a3d575c863 [INFO] running `Command { std: "docker" "start" "-a" "df5335fa4cb3e7354989dc8f51a6612f13169785570c4ab66cea90a3d575c863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df5335fa4cb3e7354989dc8f51a6612f13169785570c4ab66cea90a3d575c863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5335fa4cb3e7354989dc8f51a6612f13169785570c4ab66cea90a3d575c863", kill_on_drop: false }` [INFO] [stdout] df5335fa4cb3e7354989dc8f51a6612f13169785570c4ab66cea90a3d575c863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6aedf0a98137e086062776bdbbf5ada718e41702f8f1680521cd9859850e200 [INFO] running `Command { std: "docker" "start" "-a" "b6aedf0a98137e086062776bdbbf5ada718e41702f8f1680521cd9859850e200", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#4e8c101e) [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling codespan-reporting v0.9.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling lalrpop-util v0.19.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling llvm-sys v100.2.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling inkwell_internals v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#4e8c101e) [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Compiling structopt v0.3.15 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Compiling rox-lang v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `no_link` [INFO] [stdout] --> src/bin/rox.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | no_link: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Roxc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/rox.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "b6aedf0a98137e086062776bdbbf5ada718e41702f8f1680521cd9859850e200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6aedf0a98137e086062776bdbbf5ada718e41702f8f1680521cd9859850e200", kill_on_drop: false }` [INFO] [stdout] b6aedf0a98137e086062776bdbbf5ada718e41702f8f1680521cd9859850e200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc4e9eeb96c104773e68eff293dd9a25bab57f7dcfba7a53cb933b8c3516206 [INFO] running `Command { std: "docker" "start" "-a" "fdc4e9eeb96c104773e68eff293dd9a25bab57f7dcfba7a53cb933b8c3516206", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling oorandom v11.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stdout] warning: field is never read: `no_link` [INFO] [stdout] --> src/bin/rox.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | no_link: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Roxc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/rox.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling plotters v0.2.14 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling rox-lang v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `no_link` [INFO] [stdout] --> src/bin/rox.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | no_link: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Roxc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/rox.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rox-47650387c334d6c2) [INFO] [stderr] Executable unittests src/bin/rox.rs (/opt/rustwide/target/debug/deps/rox-6ebfd4dd5e9a7db4) [INFO] [stderr] Executable tests/compilation_test.rs (/opt/rustwide/target/debug/deps/compilation_test-65d302fc21d7408b) [INFO] running `Command { std: "docker" "inspect" "fdc4e9eeb96c104773e68eff293dd9a25bab57f7dcfba7a53cb933b8c3516206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc4e9eeb96c104773e68eff293dd9a25bab57f7dcfba7a53cb933b8c3516206", kill_on_drop: false }` [INFO] [stdout] fdc4e9eeb96c104773e68eff293dd9a25bab57f7dcfba7a53cb933b8c3516206 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57a6f7bbe2069c58dd94387c83e4086891fe04a0fcd4a21437a31cd33c9c9391 [INFO] running `Command { std: "docker" "start" "-a" "57a6f7bbe2069c58dd94387c83e4086891fe04a0fcd4a21437a31cd33c9c9391", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `no_link` [INFO] [stderr] --> src/bin/rox.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | no_link: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Roxc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bin/rox.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rox-lang` (bin "rox" test) generated 1 warning [INFO] [stderr] warning: `rox-lang` (bin "rox") generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rox-47650387c334d6c2) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test roxc::parser::tests::it_parses_type_declaration_with_fields ... ok [INFO] [stdout] test roxc::parser::tests::it_parses_functions_with_arguments ... ok [INFO] [stderr] Running unittests src/bin/rox.rs (/opt/rustwide/target/debug/deps/rox-6ebfd4dd5e9a7db4) [INFO] [stdout] test roxc::parser::tests::it_parses_functions_with_no_arguments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [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/compilation_test.rs (/opt/rustwide/target/debug/deps/compilation_test-65d302fc21d7408b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] ; ModuleID = 'rox' [INFO] [stderr] source_filename = "rox" [INFO] [stderr] [INFO] [stderr] define i32 @main() { [INFO] [stderr] entry: [INFO] [stderr] %0 = alloca [0 x i32], i32 5 [INFO] [stderr] %1 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 0 [INFO] [stderr] store i32 5, i32* %1 [INFO] [stderr] %2 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 1 [INFO] [stderr] store i32 4, i32* %2 [INFO] [stderr] %3 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 2 [INFO] [stderr] store i32 3, i32* %3 [INFO] [stderr] %4 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 3 [INFO] [stderr] store i32 2, i32* %4 [INFO] [stderr] %5 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 4 [INFO] [stderr] store i32 0, i32* %5 [INFO] [stderr] %6 = alloca { [0 x i32]*, i32 } [INFO] [stderr] %7 = getelementptr inbounds { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %6, i32 0, i32 0 [INFO] [stderr] store [0 x i32]* %0, [0 x i32]** %7 [INFO] [stderr] %8 = getelementptr inbounds { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %6, i32 0, i32 1 [INFO] [stderr] store i32 5, i32* %8 [INFO] [stderr] %9 = load { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %6 [INFO] [stderr] ret i32 0 [INFO] [stderr] } [INFO] [stderr] ; ModuleID = 'rox' [INFO] [stderr] source_filename = "rox" [INFO] [stderr] [INFO] [stderr] define { [0 x i32]*, i32 } @get_array() { [INFO] [stderr] entry: [INFO] [stderr] %0 = alloca [0 x i32], i32 5 [INFO] [stderr] %1 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 0 [INFO] [stderr] store i32 5, i32* %1 [INFO] [stderr] %2 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 1 [INFO] [stderr] store i32 4, i32* %2 [INFO] [stderr] %3 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 2 [INFO] [stderr] store i32 3, i32* %3 [INFO] [stderr] %4 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 3 [INFO] [stderr] store i32 2, i32* %4 [INFO] [stderr] %5 = getelementptr inbounds [0 x i32], [0 x i32]* %0, i64 1, i16 4 [INFO] [stderr] store i32 0, i32* %5 [INFO] [stderr] %6 = alloca { [0 x i32]*, i32 } [INFO] [stderr] %7 = getelementptr inbounds { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %6, i32 0, i32 0 [INFO] [stderr] store [0 x i32]* %0, [0 x i32]** %7 [INFO] [stderr] %8 = getelementptr inbounds { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %6, i32 0, i32 1 [INFO] [stderr] store i32 5, i32* %8 [INFO] [stderr] %9 = load { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %6 [INFO] [stderr] ret { [0 x i32]*, i32 } %9 [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] define i32 @main() { [INFO] [stderr] entry: [INFO] [stderr] %tmp = call { [0 x i32]*, i32 } @get_array() [INFO] [stderr] %x = alloca { [0 x i32]*, i32 } [INFO] [stderr] store { [0 x i32]*, i32 } %tmp, { [0 x i32]*, i32 }* %x [INFO] [stderr] %0 = getelementptr inbounds { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %x, i32 0, i32 1 [INFO] [stderr] %1 = getelementptr inbounds { [0 x i32]*, i32 }, { [0 x i32]*, i32 }* %x, i32 0, i32 0 [INFO] [stderr] %2 = load [0 x i32]*, [0 x i32]** %1 [INFO] [stderr] %3 = getelementptr inbounds [0 x i32], [0 x i32]* %2, i64 1, i32 0 [INFO] [stderr] %4 = load i32, i32* %3 [INFO] [stderr] ret i32 0 [INFO] [stderr] } [INFO] [stderr] Doc-tests rox [INFO] [stdout] test rox_compile_test_examples_array_array_assignment ... ok [INFO] [stdout] test rox_compile_test_examples_array_array_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.72s [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "57a6f7bbe2069c58dd94387c83e4086891fe04a0fcd4a21437a31cd33c9c9391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a6f7bbe2069c58dd94387c83e4086891fe04a0fcd4a21437a31cd33c9c9391", kill_on_drop: false }` [INFO] [stdout] 57a6f7bbe2069c58dd94387c83e4086891fe04a0fcd4a21437a31cd33c9c9391