[INFO] cloning repository https://github.com/sYnfo/brainfuckvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sYnfo/brainfuckvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsYnfo%2Fbrainfuckvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsYnfo%2Fbrainfuckvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e34e9970cf280c4a446a33676be023a8a12450bf [INFO] testing sYnfo/brainfuckvm against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsYnfo%2Fbrainfuckvm" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sYnfo/brainfuckvm on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sYnfo/brainfuckvm [INFO] finished tweaking git repo https://github.com/sYnfo/brainfuckvm [INFO] tweaked toml for git repo https://github.com/sYnfo/brainfuckvm written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sYnfo/brainfuckvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52d510bf9f4ed84e2962577a225fb83a241fe40c835a6fd7293bd4b703ad7d41 [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" "52d510bf9f4ed84e2962577a225fb83a241fe40c835a6fd7293bd4b703ad7d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52d510bf9f4ed84e2962577a225fb83a241fe40c835a6fd7293bd4b703ad7d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d510bf9f4ed84e2962577a225fb83a241fe40c835a6fd7293bd4b703ad7d41", kill_on_drop: false }` [INFO] [stdout] 52d510bf9f4ed84e2962577a225fb83a241fe40c835a6fd7293bd4b703ad7d41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4378c3b4eebdca2f25ff8c72309dccdef9871fbaf86373258b19779c09c400f6 [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" "4378c3b4eebdca2f25ff8c72309dccdef9871fbaf86373258b19779c09c400f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling brainfuckvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetZero` [INFO] [stdout] --> src/parse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | SetZero, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | profile: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(duration_as_u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 117 | | ... "Data pointer overflow! (pointer = {}, offset = {})", [INFO] [stdout] 118 | | ... self.pointer, n [INFO] [stdout] 119 | | ... )) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 116 ~ panic!( [INFO] [stdout] 117 | "Data pointer overflow! (pointer = {}, offset = {})", [INFO] [stdout] 118 | self.pointer, n [INFO] [stdout] 119 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 126 | | ... "Data pointer underflow! (pointer = {}, offset = {})", [INFO] [stdout] 127 | | ... self.pointer, n [INFO] [stdout] 128 | | ... )) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 125 ~ panic!( [INFO] [stdout] 126 | "Data pointer underflow! (pointer = {}, offset = {})", [INFO] [stdout] 127 | self.pointer, n [INFO] [stdout] 128 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 156 | | "Attempted to execute unknown instruction {:?}", [INFO] [stdout] 157 | | instruction [INFO] [stdout] 158 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 155 ~ _ => panic!( [INFO] [stdout] 156 | "Attempted to execute unknown instruction {:?}", [INFO] [stdout] 157 | instruction [INFO] [stdout] 158 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.47s [INFO] running `Command { std: "docker" "inspect" "4378c3b4eebdca2f25ff8c72309dccdef9871fbaf86373258b19779c09c400f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4378c3b4eebdca2f25ff8c72309dccdef9871fbaf86373258b19779c09c400f6", kill_on_drop: false }` [INFO] [stdout] 4378c3b4eebdca2f25ff8c72309dccdef9871fbaf86373258b19779c09c400f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ab305e0065c516f72e054dc2ecaa7ca74cb61c240f20591209831c12245b6b [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" "c1ab305e0065c516f72e054dc2ecaa7ca74cb61c240f20591209831c12245b6b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling brainfuckvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `profile` [INFO] [stdout] --> src/main.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | profile: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(duration_as_u128)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 117 | | ... "Data pointer overflow! (pointer = {}, offset = {})", [INFO] [stdout] 118 | | ... self.pointer, n [INFO] [stdout] 119 | | ... )) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 116 ~ panic!( [INFO] [stdout] 117 | "Data pointer overflow! (pointer = {}, offset = {})", [INFO] [stdout] 118 | self.pointer, n [INFO] [stdout] 119 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 126 | | ... "Data pointer underflow! (pointer = {}, offset = {})", [INFO] [stdout] 127 | | ... self.pointer, n [INFO] [stdout] 128 | | ... )) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 125 ~ panic!( [INFO] [stdout] 126 | "Data pointer underflow! (pointer = {}, offset = {})", [INFO] [stdout] 127 | self.pointer, n [INFO] [stdout] 128 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 156 | | "Attempted to execute unknown instruction {:?}", [INFO] [stdout] 157 | | instruction [INFO] [stdout] 158 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 155 ~ _ => panic!( [INFO] [stdout] 156 | "Attempted to execute unknown instruction {:?}", [INFO] [stdout] 157 | instruction [INFO] [stdout] 158 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "c1ab305e0065c516f72e054dc2ecaa7ca74cb61c240f20591209831c12245b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ab305e0065c516f72e054dc2ecaa7ca74cb61c240f20591209831c12245b6b", kill_on_drop: false }` [INFO] [stdout] c1ab305e0065c516f72e054dc2ecaa7ca74cb61c240f20591209831c12245b6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6186010f853c4e93598049cefca4b6593cf86d837263fc01c7e9cf936c0a9aac [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" "6186010f853c4e93598049cefca4b6593cf86d837263fc01c7e9cf936c0a9aac", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | use std::time::{Instant, Duration}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `profile` [INFO] [stderr] --> src/main.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | profile: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `duration_as_u128` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(duration_as_u128)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | ... panic!(format!( [INFO] [stderr] | ______________________________^ [INFO] [stderr] 117 | | ... "Data pointer overflow! (pointer = {}, offset = {})", [INFO] [stderr] 118 | | ... self.pointer, n [INFO] [stderr] 119 | | ... )) [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 116 ~ panic!( [INFO] [stderr] 117 | "Data pointer overflow! (pointer = {}, offset = {})", [INFO] [stderr] 118 | self.pointer, n [INFO] [stderr] 119 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:125:36 [INFO] [stderr] | [INFO] [stderr] 125 | ... panic!(format!( [INFO] [stderr] | ______________________________^ [INFO] [stderr] 126 | | ... "Data pointer underflow! (pointer = {}, offset = {})", [INFO] [stderr] 127 | | ... self.pointer, n [INFO] [stderr] 128 | | ... )) [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 125 ~ panic!( [INFO] [stderr] 126 | "Data pointer underflow! (pointer = {}, offset = {})", [INFO] [stderr] 127 | self.pointer, n [INFO] [stderr] 128 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:155:29 [INFO] [stderr] | [INFO] [stderr] 155 | _ => panic!(format!( [INFO] [stderr] | _____________________________^ [INFO] [stderr] 156 | | "Attempted to execute unknown instruction {:?}", [INFO] [stderr] 157 | | instruction [INFO] [stderr] 158 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 155 ~ _ => panic!( [INFO] [stderr] 156 | "Attempted to execute unknown instruction {:?}", [INFO] [stderr] 157 | instruction [INFO] [stderr] 158 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `brainfuckvm` (bin "brainfuckvm" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/brainfuckvm-c90177f53f914331) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test annotate::tests::it_annotates ... ok [INFO] [stdout] test optimize::tests::it_colapses_adds ... ok [INFO] [stdout] test optimize::tests::it_colapses_moves ... ok [INFO] [stdout] test annotate::tests::it_annotates_with_profile ... ok [INFO] [stdout] test optimize::tests::it_links_jumps ... ok [INFO] [stdout] test parse::tests::it_ignores_unknown_token ... ok [INFO] [stdout] test parse::tests::bench_parsing_complicated_program ... ok [INFO] [stdout] test parse::tests::it_parses_backward_move ... ok [INFO] [stdout] test parse::tests::it_parses_forward_move ... ok [INFO] [stdout] test parse::tests::it_links_jumps ... ok [INFO] [stdout] test parse::tests::it_parses_jump ... ok [INFO] [stdout] test parse::tests::it_parses_multiple_instructions ... ok [INFO] [stdout] test parse::tests::it_parses_positive_add ... ok [INFO] [stdout] test parse::tests::it_parses_negative_add ... ok [INFO] [stdout] test parse::tests::it_parses_print ... ok [INFO] [stdout] test parse::tests::it_parses_read ... ok [INFO] [stdout] test tests::it_moves ... ok [INFO] [stdout] test tests::test_complex_program ... ok [INFO] [stdout] test tests::it_prints ... ok [INFO] [stdout] test tests::it_sets_zero ... ok [INFO] [stdout] test tests::it_adds ... ok [INFO] [stdout] test parse::tests::it_panics_on_unbalanced_jiz - should panic ... ok [INFO] [stdout] test parse::tests::it_panics_on_unbalanced_jinz - should panic ... ok [INFO] [stdout] test tests::it_panics_on_move_overflow - should panic ... ok [INFO] [stdout] test tests::it_panics_on_move_underflow - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6186010f853c4e93598049cefca4b6593cf86d837263fc01c7e9cf936c0a9aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6186010f853c4e93598049cefca4b6593cf86d837263fc01c7e9cf936c0a9aac", kill_on_drop: false }` [INFO] [stdout] 6186010f853c4e93598049cefca4b6593cf86d837263fc01c7e9cf936c0a9aac