[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiohub%2Fpiece" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iohub/piece on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-9/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e46ec8e0f89320c8d3d33646025ca032ed259cf263b925bdaf5b88a6040a82cf [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" "e46ec8e0f89320c8d3d33646025ca032ed259cf263b925bdaf5b88a6040a82cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e46ec8e0f89320c8d3d33646025ca032ed259cf263b925bdaf5b88a6040a82cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e46ec8e0f89320c8d3d33646025ca032ed259cf263b925bdaf5b88a6040a82cf", kill_on_drop: false }` [INFO] [stdout] e46ec8e0f89320c8d3d33646025ca032ed259cf263b925bdaf5b88a6040a82cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c088478ad511c4de293d65169d38fa5a831817d6f200eba424b22145a58a01 [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" "46c088478ad511c4de293d65169d38fa5a831817d6f200eba424b22145a58a01", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.2 [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 unicode-width v0.1.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [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 rand v0.6.5 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [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 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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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 2m 35s [INFO] running `Command { std: "docker" "inspect" "46c088478ad511c4de293d65169d38fa5a831817d6f200eba424b22145a58a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c088478ad511c4de293d65169d38fa5a831817d6f200eba424b22145a58a01", kill_on_drop: false }` [INFO] [stdout] 46c088478ad511c4de293d65169d38fa5a831817d6f200eba424b22145a58a01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47258daca7e61f0375f7a453b69ceb90e9ca58f2f0ac8908122e6c3003d2cce [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" "d47258daca7e61f0375f7a453b69ceb90e9ca58f2f0ac8908122e6c3003d2cce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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 8.23s [INFO] running `Command { std: "docker" "inspect" "d47258daca7e61f0375f7a453b69ceb90e9ca58f2f0ac8908122e6c3003d2cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47258daca7e61f0375f7a453b69ceb90e9ca58f2f0ac8908122e6c3003d2cce", kill_on_drop: false }` [INFO] [stdout] d47258daca7e61f0375f7a453b69ceb90e9ca58f2f0ac8908122e6c3003d2cce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 1c0bd0e81a9e5b5e183fab2b5627702a2e21a56a28ab58689453a903bb4e3eed [INFO] running `Command { std: "docker" "start" "-a" "1c0bd0e81a9e5b5e183fab2b5627702a2e21a56a28ab58689453a903bb4e3eed", 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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-b10d168471af5b38/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-56cd6df2793c462b [INFO] [stdout] [INFO] [stdout] running 1 test [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\17\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\17\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\17\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\17\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: 0x55cd30a33b50 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55cd30a33b50 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55cd30a33b50 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55cd30a33b50 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55cd30a59d9c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55cd30a2fff2 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55cd30a36385 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55cd30a36385 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55cd30a36385 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55cd30a35f12 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55cd30a36b21 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55cd30a36667 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x55cd30a3400c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55cd30a365c9 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55cd30a57d31 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55cd30a57b53 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x55cd30971e5f - core::result::Result::expect::h15ea99c2f937a624 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:933:23 [INFO] [stdout] 17: 0x55cd307e3ffb - do_lang::codegen::LLVMGenerator::run::hf44c4516bed0b92f [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:120:9 [INFO] [stdout] 18: 0x55cd307e804a - do_lang::codegen::codegen_test::hf8f7e73db7928bc8 [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:555:5 [INFO] [stdout] 19: 0x55cd307e7f3a - do_lang::codegen::codegen_test::{{closure}}::h985cab7d1df6eb7d [INFO] [stdout] at /opt/rustwide/workdir/src/codegen.rs:509:1 [INFO] [stdout] 20: 0x55cd307ee9ae - core::ops::function::FnOnce::call_once::h4ac719cf85951f43 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55cd30959e03 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55cd30959e03 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 23: 0x55cd309584f8 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 24: 0x55cd309584f8 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 25: 0x55cd309584f8 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 26: 0x55cd309584f8 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 27: 0x55cd309584f8 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 28: 0x55cd309584f8 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] 29: 0x55cd309584f8 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 30: 0x55cd30932ae6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55cd309372ad - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 32: 0x55cd309372ad - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 33: 0x55cd309372ad - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 34: 0x55cd309372ad - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 35: 0x55cd309372ad - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 36: 0x55cd309372ad - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 37: 0x55cd309372ad - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55cd30a3c58a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 39: 0x55cd30a3c58a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 40: 0x55cd30a3c58a - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7f1707373609 - start_thread [INFO] [stdout] 42: 0x7f1706f4d293 - 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin do-lang' [INFO] running `Command { std: "docker" "inspect" "1c0bd0e81a9e5b5e183fab2b5627702a2e21a56a28ab58689453a903bb4e3eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0bd0e81a9e5b5e183fab2b5627702a2e21a56a28ab58689453a903bb4e3eed", kill_on_drop: false }` [INFO] [stdout] 1c0bd0e81a9e5b5e183fab2b5627702a2e21a56a28ab58689453a903bb4e3eed