[INFO] cloning repository https://github.com/mbalc/turinglike-oversophisticated-calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbalc/turinglike-oversophisticated-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbalc%2Fturinglike-oversophisticated-calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbalc%2Fturinglike-oversophisticated-calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02b04ee9f17ca8aa9afae876d9a55bf8e4645b9f [INFO] checking mbalc/turinglike-oversophisticated-calculator against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbalc%2Fturinglike-oversophisticated-calculator" "/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/mbalc/turinglike-oversophisticated-calculator on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mbalc/turinglike-oversophisticated-calculator [INFO] finished tweaking git repo https://github.com/mbalc/turinglike-oversophisticated-calculator [INFO] tweaked toml for git repo https://github.com/mbalc/turinglike-oversophisticated-calculator written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mbalc/turinglike-oversophisticated-calculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10ce59c640d0b6cb9e2b6e7b49989fc3570a03283587645eddeea014f23b7f6c [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" "10ce59c640d0b6cb9e2b6e7b49989fc3570a03283587645eddeea014f23b7f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10ce59c640d0b6cb9e2b6e7b49989fc3570a03283587645eddeea014f23b7f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ce59c640d0b6cb9e2b6e7b49989fc3570a03283587645eddeea014f23b7f6c", kill_on_drop: false }` [INFO] [stdout] 10ce59c640d0b6cb9e2b6e7b49989fc3570a03283587645eddeea014f23b7f6c [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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4157ce7281039310d2178109921fa00c085ae75d096142b746f6d35ad3045e36 [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" "4157ce7281039310d2178109921fa00c085ae75d096142b746f6d35ad3045e36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking intbits v0.2.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking scan_fmt v0.2.5 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking turinglike-oversophisticated-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::machine::classic::Config` [INFO] [stdout] --> src/machine/translation/double_transition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::machine::classic::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bound`, `RangeBounds` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Bound, Range, RangeBounds}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intbits::Bits` [INFO] [stdout] --> src/translate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use intbits::Bits; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::machine::classic::Config` [INFO] [stdout] --> src/machine/translation/double_transition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::machine::classic::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bound`, `RangeBounds` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Bound, Range, RangeBounds}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::machine::classic::Config` [INFO] [stdout] --> src/machine/translation/double_transition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::machine::classic::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bound`, `RangeBounds` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Bound, Range, RangeBounds}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::machine::classic::Config` [INFO] [stdout] --> src/machine/translation/double_transition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::machine::classic::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bound`, `RangeBounds` [INFO] [stdout] --> src/types.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::{Bound, Range, RangeBounds}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intbits::Bits` [INFO] [stdout] --> src/translate.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use intbits::Bits; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitsIndex` [INFO] [stdout] --> src/types.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use intbits::{Bits, BitsIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitsIndex` [INFO] [stdout] --> src/types.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use intbits::{Bits, BitsIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitsIndex` [INFO] [stdout] --> src/types.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use intbits::{Bits, BitsIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitsIndex` [INFO] [stdout] --> src/types.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use intbits::{Bits, BitsIndex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/component/tape.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(initial_content: String) -> Tape { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_head` [INFO] [stdout] --> src/machine/component/tape.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_to_head(&mut self, value: &TapeEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_from_head` [INFO] [stdout] --> src/machine/component/tape.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_from_head(&self) -> &TapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trim_single_trailing_blank` [INFO] [stdout] --> src/machine/component/tape.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn trim_single_trailing_blank(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_left` [INFO] [stdout] --> src/machine/component/tape.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn move_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_right` [INFO] [stdout] --> src/machine/component/tape.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn move_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_head` [INFO] [stdout] --> src/machine/component/tape.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn move_head(&mut self, direction: &HeadMoveDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_description` [INFO] [stdout] --> src/machine/component/transition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `applicable_to` [INFO] [stdout] --> src/machine/component/transition.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn applicable_to(&self, cfg: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transitions_from_description` [INFO] [stdout] --> src/machine/logic/loader.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn transitions_from_description(machine_description: String) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_transitions` [INFO] [stdout] --> src/machine/classic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn apply_transitions(mut self, transitions: &Vec) -> Run { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_accepting_run_reached` [INFO] [stdout] --> src/machine/classic.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn is_accepting_run_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_config_from_after_transition` [INFO] [stdout] --> src/machine/classic.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_config_from_after_transition(&self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/machine/classic.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn apply(mut self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/classic.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `time_limit_reached` [INFO] [stdout] --> src/machine/classic.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn time_limit_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_with_limit` [INFO] [stdout] --> src/machine/classic.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn run_with_limit(mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/machine/translation/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit` [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bit` [INFO] [stdout] --> src/types.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bits` [INFO] [stdout] --> src/types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/machine/component/transition.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_tape_transitions_from_description` [INFO] [stdout] --> src/machine/logic/loader.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn two_tape_transitions_from_description( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_description` [INFO] [stdout] --> src/machine/translation/double_transition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TranslatorInput` [INFO] [stdout] --> src/machine/translation/translator.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct TranslatorInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/translation/translator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MachineTranslator` [INFO] [stdout] --> src/machine/translation/translator.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct MachineTranslator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/translation/translator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap_original_state` [INFO] [stdout] --> src/machine/translation/translator.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn wrap_original_state(state: &State) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `customized_state` [INFO] [stdout] --> src/machine/translation/translator.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn customized_state(data: &str, values: Vec) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initial_start_setup_transitions` [INFO] [stdout] --> src/machine/translation/translator.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn initial_start_setup_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_to_write` [INFO] [stdout] --> src/machine/translation/translator.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_data_to_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_to_read_and_write` [INFO] [stdout] --> src/machine/translation/translator.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_data_to_read_and_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize_two_tape_read` [INFO] [stdout] --> src/machine/translation/translator.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn initialize_two_tape_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go_to_start_to_read_from_q` [INFO] [stdout] --> src/machine/translation/translator.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn go_to_start_to_read_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reach_q_for_read` [INFO] [stdout] --> src/machine/translation/translator.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn reach_q_for_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_value_from_q` [INFO] [stdout] --> src/machine/translation/translator.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn read_value_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_q_head_moved` [INFO] [stdout] --> src/machine/translation/translator.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn handle_q_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go_to_start_to_write_to_p` [INFO] [stdout] --> src/machine/translation/translator.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn go_to_start_to_write_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reach_p_for_write` [INFO] [stdout] --> src/machine/translation/translator.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn reach_p_for_write(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_value_to_p` [INFO] [stdout] --> src/machine/translation/translator.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn write_value_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_p_head_moved` [INFO] [stdout] --> src/machine/translation/translator.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn handle_p_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `teardown_accepting_transitions` [INFO] [stdout] --> src/machine/translation/translator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn teardown_accepting_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/machine/translation/translator.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn translate(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_BIT_COUNT` [INFO] [stdout] --> src/types.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MAX_BIT_COUNT: Number = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/types.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit` [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bits` [INFO] [stdout] --> src/types.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn bits(&self, range: std::ops::Range) -> Number { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bit` [INFO] [stdout] --> src/types.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bits` [INFO] [stdout] --> src/types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_bit` [INFO] [stdout] --> src/types.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn with_bit(&mut self, i: Number, bit: bool) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_bits` [INFO] [stdout] --> src/types.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn with_bits(&mut self, range: Range, bits: Number) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `direction_to_string` [INFO] [stdout] --> src/types.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn direction_to_string(direction: &HeadMoveDirection) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `TAPE_ENTRY_DATA_RANGE` [INFO] [stdout] --> src/types.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | const TAPE_ENTRY_DATA_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `FIRST_LETTER_RANGE` [INFO] [stdout] --> src/types.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | const FIRST_LETTER_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SECOND_LETTER_RANGE` [INFO] [stdout] --> src/types.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / const SECOND_LETTER_RANGE: Range = [INFO] [stdout] 91 | | TapeEntry::MAX_BIT_COUNT..2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `HAS_FIRST_TAPE_HEAD_ID` [INFO] [stdout] --> src/types.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const HAS_FIRST_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `HAS_SECOND_TAPE_HEAD_ID` [INFO] [stdout] --> src/types.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | const HAS_SECOND_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IS_START_ID` [INFO] [stdout] --> src/types.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | const IS_START_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encoded` [INFO] [stdout] --> src/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn encoded(&self) -> TapeEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/machine/component/transition.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_tape_transitions_from_description` [INFO] [stdout] --> src/machine/logic/loader.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn two_tape_transitions_from_description( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_description` [INFO] [stdout] --> src/machine/translation/double_transition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TranslatorInput` [INFO] [stdout] --> src/machine/translation/translator.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct TranslatorInput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/translation/translator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MachineTranslator` [INFO] [stdout] --> src/machine/translation/translator.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct MachineTranslator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/translation/translator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wrap_original_state` [INFO] [stdout] --> src/machine/translation/translator.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn wrap_original_state(state: &State) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `customized_state` [INFO] [stdout] --> src/machine/translation/translator.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn customized_state(data: &str, values: Vec) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initial_start_setup_transitions` [INFO] [stdout] --> src/machine/translation/translator.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn initial_start_setup_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_to_write` [INFO] [stdout] --> src/machine/translation/translator.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_data_to_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_data_to_read_and_write` [INFO] [stdout] --> src/machine/translation/translator.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_data_to_read_and_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize_two_tape_read` [INFO] [stdout] --> src/machine/translation/translator.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn initialize_two_tape_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go_to_start_to_read_from_q` [INFO] [stdout] --> src/machine/translation/translator.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn go_to_start_to_read_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reach_q_for_read` [INFO] [stdout] --> src/machine/translation/translator.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn reach_q_for_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_value_from_q` [INFO] [stdout] --> src/machine/translation/translator.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn read_value_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_q_head_moved` [INFO] [stdout] --> src/machine/translation/translator.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn handle_q_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `go_to_start_to_write_to_p` [INFO] [stdout] --> src/machine/translation/translator.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn go_to_start_to_write_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reach_p_for_write` [INFO] [stdout] --> src/machine/translation/translator.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn reach_p_for_write(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_value_to_p` [INFO] [stdout] --> src/machine/translation/translator.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn write_value_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_p_head_moved` [INFO] [stdout] --> src/machine/translation/translator.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn handle_p_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `teardown_accepting_transitions` [INFO] [stdout] --> src/machine/translation/translator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | fn teardown_accepting_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/machine/translation/translator.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn translate(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_BIT_COUNT` [INFO] [stdout] --> src/types.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MAX_BIT_COUNT: Number = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/types.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit` [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bits` [INFO] [stdout] --> src/types.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn bits(&self, range: std::ops::Range) -> Number { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bit` [INFO] [stdout] --> src/types.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bits` [INFO] [stdout] --> src/types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_bit` [INFO] [stdout] --> src/types.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn with_bit(&mut self, i: Number, bit: bool) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_bits` [INFO] [stdout] --> src/types.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn with_bits(&mut self, range: Range, bits: Number) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `direction_to_string` [INFO] [stdout] --> src/types.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn direction_to_string(direction: &HeadMoveDirection) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `TAPE_ENTRY_DATA_RANGE` [INFO] [stdout] --> src/types.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | const TAPE_ENTRY_DATA_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `FIRST_LETTER_RANGE` [INFO] [stdout] --> src/types.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | const FIRST_LETTER_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SECOND_LETTER_RANGE` [INFO] [stdout] --> src/types.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / const SECOND_LETTER_RANGE: Range = [INFO] [stdout] 91 | | TapeEntry::MAX_BIT_COUNT..2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `HAS_FIRST_TAPE_HEAD_ID` [INFO] [stdout] --> src/types.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | const HAS_FIRST_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `HAS_SECOND_TAPE_HEAD_ID` [INFO] [stdout] --> src/types.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | const HAS_SECOND_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IS_START_ID` [INFO] [stdout] --> src/types.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | const IS_START_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encoded` [INFO] [stdout] --> src/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn encoded(&self) -> TapeEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/component/tape.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(initial_content: String) -> Tape { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_head` [INFO] [stdout] --> src/machine/component/tape.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn write_to_head(&mut self, value: &TapeEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_from_head` [INFO] [stdout] --> src/machine/component/tape.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read_from_head(&self) -> &TapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trim_single_trailing_blank` [INFO] [stdout] --> src/machine/component/tape.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn trim_single_trailing_blank(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_left` [INFO] [stdout] --> src/machine/component/tape.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn move_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_right` [INFO] [stdout] --> src/machine/component/tape.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn move_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_head` [INFO] [stdout] --> src/machine/component/tape.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn move_head(&mut self, direction: &HeadMoveDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_description` [INFO] [stdout] --> src/machine/component/transition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `applicable_to` [INFO] [stdout] --> src/machine/component/transition.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn applicable_to(&self, cfg: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transitions_from_description` [INFO] [stdout] --> src/machine/logic/loader.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn transitions_from_description(machine_description: String) -> AppResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_transitions` [INFO] [stdout] --> src/machine/classic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn apply_transitions(mut self, transitions: &Vec) -> Run { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_accepting_run_reached` [INFO] [stdout] --> src/machine/classic.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn is_accepting_run_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_config_from_after_transition` [INFO] [stdout] --> src/machine/classic.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_config_from_after_transition(&self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply` [INFO] [stdout] --> src/machine/classic.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn apply(mut self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/machine/classic.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `time_limit_reached` [INFO] [stdout] --> src/machine/classic.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn time_limit_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_with_limit` [INFO] [stdout] --> src/machine/classic.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn run_with_limit(mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/machine/translation/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit` [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bit` [INFO] [stdout] --> src/types.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bits` [INFO] [stdout] --> src/types.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.71s [INFO] running `Command { std: "docker" "inspect" "4157ce7281039310d2178109921fa00c085ae75d096142b746f6d35ad3045e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4157ce7281039310d2178109921fa00c085ae75d096142b746f6d35ad3045e36", kill_on_drop: false }` [INFO] [stdout] 4157ce7281039310d2178109921fa00c085ae75d096142b746f6d35ad3045e36