[INFO] cloning repository https://github.com/dobrakmato/rust-brainfuck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dobrakmato/rust-brainfuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrakmato%2Frust-brainfuck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrakmato%2Frust-brainfuck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fa3572c26c888987b9519d610f3b59b9d5aefee [INFO] testing dobrakmato/rust-brainfuck against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrakmato%2Frust-brainfuck" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dobrakmato/rust-brainfuck [INFO] finished tweaking git repo https://github.com/dobrakmato/rust-brainfuck [INFO] tweaked toml for git repo https://github.com/dobrakmato/rust-brainfuck written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dobrakmato/rust-brainfuck on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dobrakmato/rust-brainfuck already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10d772d7f7c762c3afaaa34124b5fb5dc5e5f31a6052c49f778186b40b87d690 [INFO] running `Command { std: "docker" "start" "-a" "10d772d7f7c762c3afaaa34124b5fb5dc5e5f31a6052c49f778186b40b87d690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d772d7f7c762c3afaaa34124b5fb5dc5e5f31a6052c49f778186b40b87d690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d772d7f7c762c3afaaa34124b5fb5dc5e5f31a6052c49f778186b40b87d690", kill_on_drop: false }` [INFO] [stdout] 10d772d7f7c762c3afaaa34124b5fb5dc5e5f31a6052c49f778186b40b87d690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2df2c58506398706c3d410892bf78faaba1d867d853173cbeac21a0899577841 [INFO] running `Command { std: "docker" "start" "-a" "2df2c58506398706c3d410892bf78faaba1d867d853173cbeac21a0899577841", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bfjit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mul_unsigned` and `mov_to_mem_offset` are never used [INFO] [stdout] --> src/assembler.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'a> Assembler<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn mul_unsigned(&mut self, reg: X64Register) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn mov_to_mem_offset(&mut self, to_memory: X64Register, from_reg: X64Register, offset: i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ir.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | JumpIfNotZero(Link, Link), [INFO] [stdout] | ------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IrOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - JumpIfNotZero(Link, Link), [INFO] [stdout] 24 + JumpIfNotZero(Link, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Noop` is never constructed [INFO] [stdout] --> src/ir.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum IrOp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 11 | Noop(Link), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IrOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ir.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Brainfuck`, which is not FFI-safe [INFO] [stdout] --> src/compiler.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | pub extern "C" fn execute(self) { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/compiler.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Brainfuck { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.98s [INFO] running `Command { std: "docker" "inspect" "2df2c58506398706c3d410892bf78faaba1d867d853173cbeac21a0899577841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2df2c58506398706c3d410892bf78faaba1d867d853173cbeac21a0899577841", kill_on_drop: false }` [INFO] [stdout] 2df2c58506398706c3d410892bf78faaba1d867d853173cbeac21a0899577841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13a60e3db197b62f32a15b52de9e6c4abfdec247a7e2e2cd850155b2773b48b0 [INFO] running `Command { std: "docker" "start" "-a" "13a60e3db197b62f32a15b52de9e6c4abfdec247a7e2e2cd850155b2773b48b0", kill_on_drop: false }` [INFO] [stderr] Compiling bfjit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/main.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/ir.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | JumpIfNotZero(Link, Link), [INFO] [stdout] | ------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IrOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - JumpIfNotZero(Link, Link), [INFO] [stdout] 24 + JumpIfNotZero(Link, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ir.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Brainfuck`, which is not FFI-safe [INFO] [stdout] --> src/compiler.rs:146:31 [INFO] [stdout] | [INFO] [stdout] 146 | pub extern "C" fn execute(self) { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/compiler.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Brainfuck { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | fn make_interpreter(program: &Program) -> Interpreter { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | fn make_interpreter(program: &Program) -> Interpreter<'_, Stdin, Stdout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "13a60e3db197b62f32a15b52de9e6c4abfdec247a7e2e2cd850155b2773b48b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a60e3db197b62f32a15b52de9e6c4abfdec247a7e2e2cd850155b2773b48b0", kill_on_drop: false }` [INFO] [stdout] 13a60e3db197b62f32a15b52de9e6c4abfdec247a7e2e2cd850155b2773b48b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c4681b382c4e47198be6d8d66644bbca8c37a3b0f1925ed1533a47a68a58827 [INFO] running `Command { std: "docker" "start" "-a" "1c4681b382c4e47198be6d8d66644bbca8c37a3b0f1925ed1533a47a68a58827", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg_attr(tarpaulin, skip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stderr] --> src/main.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | #[cfg_attr(tarpaulin, skip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stderr] --> src/main.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | #[cfg_attr(tarpaulin, skip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/ir.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | JumpIfNotZero(Link, Link), [INFO] [stderr] | ------------- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `IrOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 - JumpIfNotZero(Link, Link), [INFO] [stderr] 24 + JumpIfNotZero(Link, ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ir.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 246 | pub fn iter(&self) -> Iter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Brainfuck`, which is not FFI-safe [INFO] [stderr] --> src/compiler.rs:146:31 [INFO] [stderr] | [INFO] [stderr] 146 | pub extern "C" fn execute(self) { [INFO] [stderr] | ^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/compiler.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | pub struct Brainfuck { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/interpreter.rs:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | fn make_interpreter(program: &Program) -> Interpreter { [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | fn make_interpreter(program: &Program) -> Interpreter<'_, Stdin, Stdout> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `bfjit` (bin "bfjit" test) generated 7 warnings (run `cargo fix --bin "bfjit" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bfjit-2fd6ce80470f74ad) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test assembler::test::add_indirect ... ok [INFO] [stdout] test assembler::test::add_to_mem_offset ... ok [INFO] [stdout] test assembler::test::cmp_indirect ... ok [INFO] [stdout] test assembler::test::je ... ok [INFO] [stdout] test assembler::test::call ... ok [INFO] [stdout] test assembler::test::jne ... ok [INFO] [stdout] test assembler::test::mov ... ok [INFO] [stdout] test assembler::test::mov_indirect ... ok [INFO] [stdout] test assembler::test::mul_unsigned ... ok [INFO] [stdout] test assembler::test::push ... ok [INFO] [stdout] test assembler::test::ret ... ok [INFO] [stdout] test assembler::test::sub ... ok [INFO] [stdout] test assembler::test::sub_indirect ... ok [INFO] [stdout] test brainfuck::test::ignores_comments ... ok [INFO] [stdout] test brainfuck::test::find_matching_parentheses ... ok [INFO] [stdout] test assembler::test::mov_to_memory ... ok [INFO] [stdout] test interpreter::test::loops_work ... ok [INFO] [stdout] test assembler::test::mov_to_reg ... ok [INFO] [stdout] test brainfuck::test::check_supported_ops ... ok [INFO] [stdout] test interpreter::test::can_write_output ... ok [INFO] [stdout] test interpreter::test::move_ptr ... ok [INFO] [stdout] test assembler::test::pop ... ok [INFO] [stdout] test ir::test::can_print_debug ... ok [INFO] [stdout] test ir::test::iter ... ok [INFO] [stdout] test interpreter::test::decrement_memory ... ok [INFO] [stdout] test ir::test::len ... ok [INFO] [stdout] test interpreter::test::can_read_input ... ok [INFO] [stdout] test assembler::test::mov_to_mem_offset ... ok [INFO] [stdout] test ir::test::multiplication_loop_negative_bug ... ok [INFO] [stdout] test ir::test::optimizes_adds_following_preceding_clear_loops ... ok [INFO] [stdout] test ir::test::optimizes_clear_loops ... ok [INFO] [stdout] test ir::test::optimizes_consecutive_lefts_rights ... ok [INFO] [stdout] test ir::test::optimizes_consecutive_mixed_adds ... ok [INFO] [stdout] test ir::test::optimizes_consecutive_mixed_lefts_rights ... ok [INFO] [stdout] test compiler::test::does_not_crash ... ok [INFO] [stdout] test ir::test::optimizes_consecutive_adds ... ok [INFO] [stdout] test compiler::test::can_run_pi_bf ... ok [INFO] [stdout] test assembler::test::mul_signed ... ok [INFO] [stdout] test ir::test::optimizes_consecutive_sets ... ok [INFO] [stdout] test ir::test::optimizes_multiplication_loops ... ok [INFO] [stdout] test interpreter::test::increment_memory ... ok [INFO] [stdout] test ir::test::optimizes_consecutive_subtractions ... ok [INFO] [stdout] test ir::test::optimizes_tail_instructions ... ok [INFO] [stdout] test compiler::test::copy_multiplied ... FAILED [INFO] [stdout] test assembler::test::add ... ok [INFO] [stdout] test interpreter::test::can_run_pi_bf ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compiler::test::copy_multiplied stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'compiler::test::copy_multiplied' (48) panicked at src/compiler.rs:193:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 51 [INFO] [stdout] right: 77 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ef847eb9c02 - std::backtrace_rs::backtrace::libunwind::trace::hcbb09259ca22005c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ef847eb9c02 - std::backtrace_rs::backtrace::trace_unsynchronized::h0fac8c223cd6e456 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ef847eb9c02 - std::sys::backtrace::_print_fmt::he5f2b5e0c66ce66e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ef847eb9c02 - ::fmt::haf29e060fb6137a9 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ef847eca15f - core::fmt::rt::Argument::fmt::h596977d9d4f722b0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ef847eca15f - core::fmt::write::h0ee4d44b8e20572d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ef847e86551 - std::io::default_write_fmt::h5f5bf04c08f51588 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ef847e86551 - std::io::Write::write_fmt::he99637cf0d3cbc1c [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ef847e92652 - std::sys::backtrace::BacktraceLock::print::h3db71735b2a2861b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ef847e972df - std::panicking::default_hook::{{closure}}::h0168a26bb62ec69b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ef847e97171 - std::panicking::default_hook::h7454a6fd0ab61b64 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ef847e4f42e - as core::ops::function::Fn>::call::h8dac224212939801 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5ef847e4f42e - test::test_main_with_exit_callback::{{closure}}::h18346b0063635f4a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ef847e9799f - as core::ops::function::Fn>::call::h7e5d21d6123baaaf [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5ef847e9799f - std::panicking::panic_with_hook::h2d45a49bfd4e6ec4 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ef847e977fa - std::panicking::panic_handler::{{closure}}::h37f0f43a266cd34d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5ef847e92789 - std::sys::backtrace::__rust_end_short_backtrace::h1ed0bd8883e4d747 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ef847e7aa4d - __rustc[92da9811a626c906]::rust_begin_unwind [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ef847ed1e30 - core::panicking::panic_fmt::hc1117383da035bf0 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5ef847ed1c33 - core::panicking::assert_failed_inner::h5be295a0a9d76816 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x5ef847e19f7a - core::panicking::assert_failed::heb2c8f675c860003 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x5ef847e1d296 - bfjit::compiler::test::copy_multiplied::hde9abcd8c24e7985 [INFO] [stdout] at /opt/rustwide/workdir/src/compiler.rs:193:9 [INFO] [stdout] 22: 0x5ef847e1d2e7 - bfjit::compiler::test::copy_multiplied::{{closure}}::h27c57494cca9ee1a [INFO] [stdout] at /opt/rustwide/workdir/src/compiler.rs:180:25 [INFO] [stdout] 23: 0x5ef847e1e826 - core::ops::function::FnOnce::call_once::ha7cbfb54b68dd69a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ef847e4f1eb - core::ops::function::FnOnce::call_once::habfa9d6a6bb4aa21 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ef847e4f1eb - test::__rust_begin_short_backtrace::hc119b5350e87269b [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5ef847e64e35 - test::run_test_in_process::{{closure}}::h47f2af3109a35895 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5ef847e64e35 - as core::ops::function::FnOnce<()>>::call_once::h5dba888a302c7fc3 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5ef847e64e35 - std::panicking::catch_unwind::do_call::h245c3fdea830e686 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5ef847e64e35 - std::panicking::catch_unwind::he88149d1cfc3a929 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5ef847e64e35 - std::panic::catch_unwind::hd43a8ff20deb6d7a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ef847e64e35 - test::run_test_in_process::hcf11d509449005e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5ef847e64e35 - test::run_test::{{closure}}::heb13d4899a512502 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5ef847e3b614 - test::run_test::{{closure}}::h3e08e9adf8aad35e [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5ef847e3b614 - std::sys::backtrace::__rust_begin_short_backtrace::h773f9a01402fd17f [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5ef847e3ef1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h408f0520947b97f2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ef847e3ef1a - as core::ops::function::FnOnce<()>>::call_once::h1162a01751e98fdc [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5ef847e3ef1a - std::panicking::catch_unwind::do_call::hf4224593c5d108e2 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5ef847e3ef1a - std::panicking::catch_unwind::h4478d419d6ab8a26 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5ef847e3ef1a - std::panic::catch_unwind::h1e472892204dcfec [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ef847e3ef1a - std::thread::Builder::spawn_unchecked_::{{closure}}::hd555321a5ac5351d [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ef847e3ef1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb9947c3c1cc735ed [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ef847e8d8cf - as core::ops::function::FnOnce>::call_once::hf699f0a3c139bc19 [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x5ef847e8d8cf - std::sys::thread::unix::Thread::new::thread_start::h2d5318761291e34a [INFO] [stdout] at /rustc/028592fec99e54cc92def5a2a849c673b066dd93/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x72c2d1896aa4 - [INFO] [stdout] 45: 0x72c2d1923a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compiler::test::copy_multiplied [INFO] [stdout] [INFO] [stdout] test result: FAILED. 45 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bfjit` [INFO] running `Command { std: "docker" "inspect" "1c4681b382c4e47198be6d8d66644bbca8c37a3b0f1925ed1533a47a68a58827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c4681b382c4e47198be6d8d66644bbca8c37a3b0f1925ed1533a47a68a58827", kill_on_drop: false }` [INFO] [stdout] 1c4681b382c4e47198be6d8d66644bbca8c37a3b0f1925ed1533a47a68a58827