[INFO] cloning repository https://github.com/Pegasust/text_to_bf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pegasust/text_to_bf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPegasust%2Ftext_to_bf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPegasust%2Ftext_to_bf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15ec7b314cd823cccdd74fe151ac2095569409d1 [INFO] checking Pegasust/text_to_bf/15ec7b314cd823cccdd74fe151ac2095569409d1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPegasust%2Ftext_to_bf" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pegasust/text_to_bf on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pegasust/text_to_bf [INFO] finished tweaking git repo https://github.com/Pegasust/text_to_bf [INFO] tweaked toml for git repo https://github.com/Pegasust/text_to_bf written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pegasust/text_to_bf 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum_dispatch v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16ee6906967d337e74ba35f5caf41bd1b1182549a62428868ecd329bc5ce96f2 [INFO] running `Command { std: "docker" "start" "-a" "16ee6906967d337e74ba35f5caf41bd1b1182549a62428868ecd329bc5ce96f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16ee6906967d337e74ba35f5caf41bd1b1182549a62428868ecd329bc5ce96f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ee6906967d337e74ba35f5caf41bd1b1182549a62428868ecd329bc5ce96f2", kill_on_drop: false }` [INFO] [stdout] 16ee6906967d337e74ba35f5caf41bd1b1182549a62428868ecd329bc5ce96f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9674fe78d91ae10a58c705ec84ee2ae7279cf634801a127169849319de04b5de [INFO] running `Command { std: "docker" "start" "-a" "9674fe78d91ae10a58c705ec84ee2ae7279cf634801a127169849319de04b5de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Checking text_to_bf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{Write, Read}, ops::Index, borrow::Cow}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/bf_interpreter/interpreter_impl.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::interpreter::{BFCommand, Config, Interpreter, ProgramType, RunCompletePayload}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{Write, Read}, ops::Index, borrow::Cow}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/bf_interpreter/interpreter_impl.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::interpreter::{BFCommand, Config, Interpreter, ProgramType, RunCompletePayload}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn create_interpreter_conf(conf: Config) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DynWrite` is never used [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type DynWrite = Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DynRead` is never used [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type DynRead = Box; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum BFCommand { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | IncCell, // increments the current cell by 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | DecCell, // decrements the current cell by 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | NextPtr, // move the current cell to the next cell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | PrevPtr, // move the current cell to the previous cell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | GetChar, // prompts from the user one single byte, put value to current cell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | PutChar, // puts the byte value of the current cell to the terminal [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | BegLoop(usize), // while(*ptr) { (the usize stores the corresponding endloop instr position) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | EndLoop, // } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 19 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IllegalStateError` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum InterpreterError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 19 | IOError(std::io::Error), [INFO] [stdout] 20 | IllegalStateError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ctor` and `default` are never used [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 53 | pub fn ctor(cells_sz: Option, ostream: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn default() -> Config { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Vec` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ProgramType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 68 | Vec(Vec) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Negativity` is never used [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Negativity { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterpreterSpecs` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct InterpreterSpecs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_interpreter` is never used [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_interpreter(conf: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_interpreter_conf` is never used [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn create_interpreter_conf(conf: Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn create_interpreter_conf(conf: Config) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DynWrite` is never used [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type DynWrite = Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DynRead` is never used [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type DynRead = Box; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum BFCommand { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | IncCell, // increments the current cell by 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | DecCell, // decrements the current cell by 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | NextPtr, // move the current cell to the next cell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | PrevPtr, // move the current cell to the previous cell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | GetChar, // prompts from the user one single byte, put value to current cell [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | PutChar, // puts the byte value of the current cell to the terminal [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | BegLoop(usize), // while(*ptr) { (the usize stores the corresponding endloop instr position) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | EndLoop, // } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | IOError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 19 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IllegalStateError` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum InterpreterError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 19 | IOError(std::io::Error), [INFO] [stdout] 20 | IllegalStateError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ctor` and `default` are never used [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 53 | pub fn ctor(cells_sz: Option, ostream: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn default() -> Config { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Vec` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreter.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ProgramType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 68 | Vec(Vec) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Negativity` is never used [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Negativity { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterpreterSpecs` is never constructed [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct InterpreterSpecs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_interpreter` is never used [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn create_interpreter(conf: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_interpreter_conf` is never used [INFO] [stdout] --> src/bf_interpreter/interpreters.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn create_interpreter_conf(conf: Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s [INFO] running `Command { std: "docker" "inspect" "9674fe78d91ae10a58c705ec84ee2ae7279cf634801a127169849319de04b5de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9674fe78d91ae10a58c705ec84ee2ae7279cf634801a127169849319de04b5de", kill_on_drop: false }` [INFO] [stdout] 9674fe78d91ae10a58c705ec84ee2ae7279cf634801a127169849319de04b5de