[INFO] cloning repository https://github.com/iohub/piece [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iohub/piece" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiohub%2Fpiece", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiohub%2Fpiece'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2435d7c783184f70c410675578b16fbfc6330da2 [INFO] testing iohub/piece against 1.55.0 for beta-1.56-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiohub%2Fpiece" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iohub/piece on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iohub/piece [INFO] finished tweaking git repo https://github.com/iohub/piece [INFO] tweaked toml for git repo https://github.com/iohub/piece written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/iohub/piece already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f562b0e49c43e27024d602ba65eba102be3031867e7de55640b83ea8574a8484 [INFO] running `Command { std: "docker" "start" "-a" "f562b0e49c43e27024d602ba65eba102be3031867e7de55640b83ea8574a8484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f562b0e49c43e27024d602ba65eba102be3031867e7de55640b83ea8574a8484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f562b0e49c43e27024d602ba65eba102be3031867e7de55640b83ea8574a8484", kill_on_drop: false }` [INFO] [stdout] f562b0e49c43e27024d602ba65eba102be3031867e7de55640b83ea8574a8484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37db69bfceb99861469d5b9726e7f62cd685bf947c936b528a9995255c9cc518 [INFO] running `Command { std: "docker" "start" "-a" "37db69bfceb99861469d5b9726e7f62cd685bf947c936b528a9995255c9cc518", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling llvm-sys v60.3.0 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling do-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/codegen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16144:5 [INFO] [stdout] | [INFO] [stdout] 16144 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16155:5 [INFO] [stdout] | [INFO] [stdout] 16155 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16166:5 [INFO] [stdout] | [INFO] [stdout] 16166 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17246:5 [INFO] [stdout] | [INFO] [stdout] 17246 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17304:5 [INFO] [stdout] | [INFO] [stdout] 17304 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17380:5 [INFO] [stdout] | [INFO] [stdout] 17380 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17414:5 [INFO] [stdout] | [INFO] [stdout] 17414 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17553:5 [INFO] [stdout] | [INFO] [stdout] 17553 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "37db69bfceb99861469d5b9726e7f62cd685bf947c936b528a9995255c9cc518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37db69bfceb99861469d5b9726e7f62cd685bf947c936b528a9995255c9cc518", kill_on_drop: false }` [INFO] [stdout] 37db69bfceb99861469d5b9726e7f62cd685bf947c936b528a9995255c9cc518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75d664c19726244e0f30f414d41d276e1bc0625531f021072bfa5c7dcd9a8d11 [INFO] running `Command { std: "docker" "start" "-a" "75d664c19726244e0f30f414d41d276e1bc0625531f021072bfa5c7dcd9a8d11", kill_on_drop: false }` [INFO] [stderr] Compiling do-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/codegen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/codegen.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16144:5 [INFO] [stdout] | [INFO] [stdout] 16144 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16155:5 [INFO] [stdout] | [INFO] [stdout] 16155 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16166:5 [INFO] [stdout] | [INFO] [stdout] 16166 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17246:5 [INFO] [stdout] | [INFO] [stdout] 17246 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17304:5 [INFO] [stdout] | [INFO] [stdout] 17304 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17380:5 [INFO] [stdout] | [INFO] [stdout] 17380 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17414:5 [INFO] [stdout] | [INFO] [stdout] 17414 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17553:5 [INFO] [stdout] | [INFO] [stdout] 17553 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "75d664c19726244e0f30f414d41d276e1bc0625531f021072bfa5c7dcd9a8d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d664c19726244e0f30f414d41d276e1bc0625531f021072bfa5c7dcd9a8d11", kill_on_drop: false }` [INFO] [stdout] 75d664c19726244e0f30f414d41d276e1bc0625531f021072bfa5c7dcd9a8d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22ec91e4d703c772b4c435ba63f0171998d4438963ccb658b9ea3062247274bf [INFO] running `Command { std: "docker" "start" "-a" "22ec91e4d703c772b4c435ba63f0171998d4438963ccb658b9ea3062247274bf", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `std::ptr` [INFO] [stdout] running 1 test [INFO] [stderr] --> src/codegen.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::ptr; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::ast::*` [INFO] [stderr] --> src/codegen.rs:510:9 [INFO] [stderr] | [INFO] [stderr] 510 | use crate::ast::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16144:5 [INFO] [stderr] | [INFO] [stderr] 16144 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16155:5 [INFO] [stderr] | [INFO] [stderr] 16155 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:16166:5 [INFO] [stderr] | [INFO] [stderr] 16166 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17246:5 [INFO] [stderr] | [INFO] [stderr] 17246 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17304:5 [INFO] [stderr] | [INFO] [stderr] 17304 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17380:5 [INFO] [stderr] | [INFO] [stderr] 17380 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17414:5 [INFO] [stderr] | [INFO] [stderr] 17414 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/do-lang-ecf187b48128a855/out/grammar.rs:17553:5 [INFO] [stderr] | [INFO] [stderr] 17553 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: `do-lang` (bin "do-lang" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/do_lang-ccd58a8c6b9b6e63) [INFO] [stdout] test codegen::codegen_test ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--bin do-lang' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- codegen::codegen_test stdout ---- [INFO] [stdout] ; ModuleID = '__module' [INFO] [stdout] source_filename = "__module" [INFO] [stdout] [INFO] [stdout] define i64 @"foo1\95\7F"(i64 %0, i64 %1) { [INFO] [stdout] entry: [INFO] [stdout] %a = alloca i64 [INFO] [stdout] store i64 %0, i64* %a [INFO] [stdout] %b = alloca i64 [INFO] [stdout] store i64 %1, i64* %b [INFO] [stdout] %c = alloca i64 [INFO] [stdout] %2 = load i64, i64* %a [INFO] [stdout] %3 = add i64 %2, 1001 [INFO] [stdout] store i64 %3, i64* %c [INFO] [stdout] %d = alloca i64 [INFO] [stdout] %ok = alloca float [INFO] [stdout] store float 0x405EDD2F20000000, float* %ok [INFO] [stdout] %4 = load float, float* %ok [INFO] [stdout] %5 = fcmp ogt float %4, 0x405907DF40000000 [INFO] [stdout] br i1 %5, label %"if:then", label %"if:else" [INFO] [stdout] [INFO] [stdout] "if:then": ; preds = %entry [INFO] [stdout] %val = alloca float [INFO] [stdout] store float 0x405ECF5C20000000, float* %val [INFO] [stdout] %6 = load i64, i64* %b [INFO] [stdout] %7 = add i64 %6, 1992 [INFO] [stdout] %8 = load i64, i64* %c [INFO] [stdout] %9 = add i64 %7, %8 [INFO] [stdout] %10 = load i64, i64* %a [INFO] [stdout] %11 = add i64 %9, %10 [INFO] [stdout] store i64 %11, i64* %d [INFO] [stdout] %12 = load float, float* %val [INFO] [stdout] %13 = fadd float %12, 0x3FEBD70A40000000 [INFO] [stdout] store float %13, float* %val [INFO] [stdout] br label %"if:merge" [INFO] [stdout] [INFO] [stdout] "if:else": ; preds = %entry [INFO] [stdout] br label %"if:merge" [INFO] [stdout] [INFO] [stdout] "if:merge": ; preds = %"if:else", %"if:then" [INFO] [stdout] %14 = load i64, i64* %c [INFO] [stdout] %15 = icmp sgt i64 %14, 100 [INFO] [stdout] br i1 %15, label %"if:then1", label %"if:else2" [INFO] [stdout] [INFO] [stdout] "if:then1": ; preds = %"if:merge" [INFO] [stdout] %bv = alloca i64 [INFO] [stdout] store i64 1002, i64* %bv [INFO] [stdout] %16 = load i64, i64* %bv [INFO] [stdout] %17 = load i64, i64* %c [INFO] [stdout] %18 = add i64 %16, %17 [INFO] [stdout] store i64 %18, i64* %c [INFO] [stdout] br label %"if:merge3" [INFO] [stdout] [INFO] [stdout] "if:else2": ; preds = %"if:merge" [INFO] [stdout] br label %"if:merge3" [INFO] [stdout] [INFO] [stdout] "if:merge3": ; preds = %"if:else2", %"if:then1" [INFO] [stdout] %19 = load i64, i64* %a [INFO] [stdout] ret i64 %19 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] define i1 @"foo2\95\7F"(i64 %0) { [INFO] [stdout] entry: [INFO] [stdout] %a = alloca i64 [INFO] [stdout] store i64 %0, i64* %a [INFO] [stdout] %1 = load i64, i64* %a [INFO] [stdout] %2 = icmp eq i64 %1, 100 [INFO] [stdout] ret i1 %2 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] define i64 @"fact\95\7F"(i64 %0) { [INFO] [stdout] entry: [INFO] [stdout] %n = alloca i64 [INFO] [stdout] store i64 %0, i64* %n [INFO] [stdout] %1 = load i64, i64* %n [INFO] [stdout] %2 = icmp eq i64 %1, 1 [INFO] [stdout] br i1 %2, label %"if:then", label %"if:else" [INFO] [stdout] [INFO] [stdout] "if:then": ; preds = %entry [INFO] [stdout] ret i64 1 [INFO] [stdout] [INFO] [stdout] "if:else": ; preds = %entry [INFO] [stdout] %3 = load i64, i64* %n [INFO] [stdout] %4 = sub i64 %3, 1 [INFO] [stdout] %5 = call i64 @"fact\95\7F"(i64 %4) [INFO] [stdout] %6 = load i64, i64* %n [INFO] [stdout] %7 = mul i64 %5, %6 [INFO] [stdout] ret i64 %7 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] define i64 @"main\95\7F"() { [INFO] [stdout] entry: [INFO] [stdout] %a = alloca i64 [INFO] [stdout] store i64 1010, i64* %a [INFO] [stdout] %b = alloca i64 [INFO] [stdout] %0 = load i64, i64* %a [INFO] [stdout] %1 = call i64 @"foo1\95\7F"(i64 %0, i64 1001) [INFO] [stdout] %2 = add i64 %1, 123 [INFO] [stdout] %3 = load i64, i64* %a [INFO] [stdout] %4 = call i64 @"foo1\95\7F"(i64 %3, i64 201) [INFO] [stdout] %5 = add i64 %2, %4 [INFO] [stdout] store i64 %5, i64* %a [INFO] [stdout] %6 = load i64, i64* %a [INFO] [stdout] %7 = call i64 @"foo1\95\7F"(i64 123, i64 %6) [INFO] [stdout] store i64 %7, i64* %b [INFO] [stdout] br label %"while:cond" [INFO] [stdout] [INFO] [stdout] "while:cond": ; preds = %"while:body", %entry [INFO] [stdout] %8 = load i64, i64* %b [INFO] [stdout] %9 = add i64 %8, 100 [INFO] [stdout] %10 = load i64, i64* %a [INFO] [stdout] %11 = icmp sgt i64 %10, %9 [INFO] [stdout] br i1 %11, label %"while:body", label %"while:merge" [INFO] [stdout] [INFO] [stdout] "while:body": ; preds = %"while:cond" [INFO] [stdout] %12 = load i64, i64* %a [INFO] [stdout] %13 = load i64, i64* %b [INFO] [stdout] %14 = call i64 @"foo1\95\7F"(i64 %12, i64 %13) [INFO] [stdout] %15 = load i64, i64* %a [INFO] [stdout] %16 = add i64 %15, %14 [INFO] [stdout] store i64 %16, i64* %b [INFO] [stdout] br label %"while:cond" [INFO] [stdout] [INFO] [stdout] "while:merge": ; preds = %"while:cond" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] thread 'codegen::codegen_test' panicked at '[err] write demo: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/codegen.rs:120:59 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ec4c72ba80 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55ec4c72ba80 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55ec4c72ba80 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55ec4c72ba80 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55ec4c74ffcc - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55ec4c728b35 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55ec4c72dbeb - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55ec4c72dbeb - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55ec4c72dbeb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55ec4c72d6fc - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55ec4c72e2b4 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55ec4c72dd97 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55ec4c72bf7c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55ec4c72dcf9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55ec4c49ed01 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55ec4c49edf3 - core::result::unwrap_failed::h2d8d0952e3250de9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x55ec4c666fb9 - core::result::Result::expect::h814fc7ff2ed4e754 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1241:23 [INFO] [stdout] 17: 0x55ec4c4ce570 - do_lang::codegen::LLVMGenerator::run::h77cdfc1921f6587c [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:120:9 [INFO] [stdout] 18: 0x55ec4c4d2586 - do_lang::codegen::codegen_test::hd81956f49076c421 [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:555:5 [INFO] [stdout] 19: 0x55ec4c4d23fa - do_lang::codegen::codegen_test::{{closure}}::h532ad88ced21b01f [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:509:1 [INFO] [stdout] 20: 0x55ec4c4f798e - core::ops::function::FnOnce::call_once::h1c47aac461150e40 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55ec4c660b13 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55ec4c660b13 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x55ec4c65f5c8 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x55ec4c65f5c8 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x55ec4c65f5c8 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55ec4c65f5c8 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55ec4c65f5c8 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x55ec4c65f5c8 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x55ec4c65f5c8 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x55ec4c62dd5d - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x55ec4c62dd5d - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55ec4c632538 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x55ec4c632538 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x55ec4c632538 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55ec4c632538 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55ec4c632538 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x55ec4c632538 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x55ec4c632538 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55ec4c732ec7 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55ec4c732ec7 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x55ec4c732ec7 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 42: 0x7f960054a609 - start_thread [INFO] [stdout] 43: 0x7f9600123293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] codegen::codegen_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22ec91e4d703c772b4c435ba63f0171998d4438963ccb658b9ea3062247274bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ec91e4d703c772b4c435ba63f0171998d4438963ccb658b9ea3062247274bf", kill_on_drop: false }` [INFO] [stdout] 22ec91e4d703c772b4c435ba63f0171998d4438963ccb658b9ea3062247274bf