[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 beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiohub%2Fpiece" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iohub/piece on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v60.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 248f49a04ee685348127f8f588075bd5472a8959d319ae501591b55546b7ad56 [INFO] running `Command { std: "docker" "start" "-a" "248f49a04ee685348127f8f588075bd5472a8959d319ae501591b55546b7ad56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "248f49a04ee685348127f8f588075bd5472a8959d319ae501591b55546b7ad56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248f49a04ee685348127f8f588075bd5472a8959d319ae501591b55546b7ad56", kill_on_drop: false }` [INFO] [stdout] 248f49a04ee685348127f8f588075bd5472a8959d319ae501591b55546b7ad56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e78cf10ac60c1ca3fddcc0332641a8c8ba2cbf8e57dd13f8c68bd0c80fe9905 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4e78cf10ac60c1ca3fddcc0332641a8c8ba2cbf8e57dd13f8c68bd0c80fe9905", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling llvm-sys v60.3.0 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.89 [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-0f792df8fc08a576/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-0f792df8fc08a576/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-0f792df8fc08a576/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-0f792df8fc08a576/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-0f792df8fc08a576/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-0f792df8fc08a576/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-0f792df8fc08a576/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-0f792df8fc08a576/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 51s [INFO] running `Command { std: "docker" "inspect" "4e78cf10ac60c1ca3fddcc0332641a8c8ba2cbf8e57dd13f8c68bd0c80fe9905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e78cf10ac60c1ca3fddcc0332641a8c8ba2cbf8e57dd13f8c68bd0c80fe9905", kill_on_drop: false }` [INFO] [stdout] 4e78cf10ac60c1ca3fddcc0332641a8c8ba2cbf8e57dd13f8c68bd0c80fe9905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0e1af069bb0f4b3e2616b8cd104e52a8530739c93387f1d24b4a5a1fa16f04b [INFO] running `Command { std: "docker" "start" "-a" "d0e1af069bb0f4b3e2616b8cd104e52a8530739c93387f1d24b4a5a1fa16f04b", 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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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 7.89s [INFO] running `Command { std: "docker" "inspect" "d0e1af069bb0f4b3e2616b8cd104e52a8530739c93387f1d24b4a5a1fa16f04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e1af069bb0f4b3e2616b8cd104e52a8530739c93387f1d24b4a5a1fa16f04b", kill_on_drop: false }` [INFO] [stdout] d0e1af069bb0f4b3e2616b8cd104e52a8530739c93387f1d24b4a5a1fa16f04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 33f8ef7e0a7fbcfc632bc9c7431aa009fcc1925093bf40564716333d1e4cd395 [INFO] running `Command { std: "docker" "start" "-a" "33f8ef7e0a7fbcfc632bc9c7431aa009fcc1925093bf40564716333d1e4cd395", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ptr` [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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/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-9d82af68564f4dbe/out/grammar.rs:17553:5 [INFO] [stderr] | [INFO] [stderr] 17553 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/do_lang-6a59e91070229078 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--bin do-lang' [INFO] [stdout] test codegen::codegen_test ... FAILED [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(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`\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`\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`\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`\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(i64 %0, i64 1001) [INFO] [stdout] %2 = add i64 %1, 123 [INFO] [stdout] %3 = load i64, i64* %a [INFO] [stdout] %4 = call i64 @foo1(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(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(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: Other, message: "Read-only file system" }', src/codegen.rs:120:59 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557c7eedebe7 - std::backtrace_rs::backtrace::libunwind::trace::hcd6e187547b8deec [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557c7eedebe7 - std::backtrace_rs::backtrace::trace_unsynchronized::hde10036eb783fbc7 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557c7eedebe7 - std::sys_common::backtrace::_print_fmt::h63987b8f86dfc82a [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557c7eedebe7 - ::fmt::hc33f3ac4cc9c4196 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x557c7ef0136c - core::fmt::write::hfdcdeb08fb2b3afa [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x557c7eedb062 - std::io::Write::write_fmt::h28c53dc51251a293 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x557c7eee0e95 - std::sys_common::backtrace::_print::hf179508b01f66878 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x557c7eee0e95 - std::sys_common::backtrace::print::ha97d11adb39266a6 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x557c7eee0e95 - std::panicking::default_hook::{{closure}}::h8da9985a98bd1582 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x557c7eee0a22 - std::panicking::default_hook::hbc0ee792993c2ef2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x557c7eee1631 - std::panicking::rust_panic_with_hook::h9fb9cda33a10f084 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x557c7eee1177 - std::panicking::begin_panic_handler::{{closure}}::hf3e83396e085962e [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x557c7eedf0ac - std::sys_common::backtrace::__rust_end_short_backtrace::hac151ac4c1e3252d [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x557c7eee10d9 - rust_begin_unwind [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x557c7eeff331 - core::panicking::panic_fmt::hf6d8a92b065b8f97 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x557c7eeff153 - core::option::expect_none_failed::ha72f299eca314ad7 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x557c7ee10944 - core::result::Result::expect::h951aad9996b7e024 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/result.rs:933:23 [INFO] [stdout] 17: 0x557c7ec7c2bb - do_lang::codegen::LLVMGenerator::run::h4da6a55c23f33800 [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:120:9 [INFO] [stdout] 18: 0x557c7ec802aa - do_lang::codegen::codegen_test::h79bbc089a1865c42 [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:555:5 [INFO] [stdout] 19: 0x557c7ec8019a - do_lang::codegen::codegen_test::{{closure}}::hc621ea9f16c4f4a1 [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:509:1 [INFO] [stdout] 20: 0x557c7ec8158e - core::ops::function::FnOnce::call_once::h2abf9dcf80e6451d [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557c7edf5823 - core::ops::function::FnOnce::call_once::ha61d5393ae51ae22 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x557c7edf5823 - test::__rust_begin_short_backtrace::h4a8691b5281c1f3b [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:516:5 [INFO] [stdout] 23: 0x557c7edf4116 - as core::ops::function::FnOnce>::call_once::hd25ba61494055ad3 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 24: 0x557c7edf4116 - as core::ops::function::FnOnce<()>>::call_once::h052fde7b846767ba [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:322:9 [INFO] [stdout] 25: 0x557c7edf4116 - std::panicking::try::do_call::h04571a1da6838ba1 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:379:40 [INFO] [stdout] 26: 0x557c7edf4116 - std::panicking::try::h758f090614125cbe [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:343:19 [INFO] [stdout] 27: 0x557c7edf4116 - std::panic::catch_unwind::h0c48513d5a021d3c [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:396:14 [INFO] [stdout] 28: 0x557c7edf4116 - test::run_test_in_process::hee75babaaac3822f [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:538:18 [INFO] [stdout] 29: 0x557c7edf4116 - test::run_test::run_test_inner::{{closure}}::h2920dea75d7f0c1e [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/test/src/lib.rs:449:39 [INFO] [stdout] 30: 0x557c7edcc426 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha23dff608830db13 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x557c7edd11bd - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hacce322dead3a799 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 32: 0x557c7edd11bd - as core::ops::function::FnOnce<()>>::call_once::h4f0bc9c26ead0a27 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:322:9 [INFO] [stdout] 33: 0x557c7edd11bd - std::panicking::try::do_call::h1b9f282fb0c383b3 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:379:40 [INFO] [stdout] 34: 0x557c7edd11bd - std::panicking::try::hed1ebed51b133ee4 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panicking.rs:343:19 [INFO] [stdout] 35: 0x557c7edd11bd - std::panic::catch_unwind::h072a2b19fd39a474 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/panic.rs:396:14 [INFO] [stdout] 36: 0x557c7edd11bd - std::thread::Builder::spawn_unchecked::{{closure}}::hb02c6b2d3ff18bc2 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 37: 0x557c7edd11bd - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb512c5d27b4adb83 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557c7eee760a - as core::ops::function::FnOnce>::call_once::hdbb9ff71143eaad6 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 39: 0x557c7eee760a - as core::ops::function::FnOnce>::call_once::h9dbde95cefb8368c [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/alloc/src/boxed.rs:1328:9 [INFO] [stdout] 40: 0x557c7eee760a - std::sys::unix::thread::Thread::new::thread_start::hc76032c38affd972 [INFO] [stdout] at /rustc/25b3db3aa752d9d4633c983c9d4bf5e48f9baff1/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7f60472c3609 - start_thread [INFO] [stdout] 42: 0x7f6046e9d293 - clone [INFO] [stdout] 43: 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.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33f8ef7e0a7fbcfc632bc9c7431aa009fcc1925093bf40564716333d1e4cd395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f8ef7e0a7fbcfc632bc9c7431aa009fcc1925093bf40564716333d1e4cd395", kill_on_drop: false }` [INFO] [stdout] 33f8ef7e0a7fbcfc632bc9c7431aa009fcc1925093bf40564716333d1e4cd395