[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbalc%2Fturinglike-oversophisticated-calculator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mbalc/turinglike-oversophisticated-calculator on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded intbits v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96949f2e3542e816a78a168a9549d1fe5c32dfa5551a1e8be7492496424146a6 [INFO] running `Command { std: "docker" "start" "-a" "96949f2e3542e816a78a168a9549d1fe5c32dfa5551a1e8be7492496424146a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96949f2e3542e816a78a168a9549d1fe5c32dfa5551a1e8be7492496424146a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96949f2e3542e816a78a168a9549d1fe5c32dfa5551a1e8be7492496424146a6", kill_on_drop: false }` [INFO] [stdout] 96949f2e3542e816a78a168a9549d1fe5c32dfa5551a1e8be7492496424146a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a100d266c108c3ac0505e14146ba43ed9786b82f1d0a5b9d93b7ece9f777b25 [INFO] running `Command { std: "docker" "start" "-a" "9a100d266c108c3ac0505e14146ba43ed9786b82f1d0a5b9d93b7ece9f777b25", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.48 [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` and `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 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 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` and `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 imports: `Bound` and `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 imports: `Bound` and `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: method `to_string` is never used [INFO] [stdout] --> src/machine/component/transition.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- method in this implementation [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 `two_tape_transitions_from_description` is never used [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: struct `DoubleTransition` is never constructed [INFO] [stdout] --> src/machine/translation/double_transition.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DoubleTransition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleTransition` 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: associated function `from_description` is never used [INFO] [stdout] --> src/machine/translation/double_transition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DoubleTransition { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TranslatorInput` is never constructed [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 `new` is never used [INFO] [stdout] --> src/machine/translation/translator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TranslatorInput { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MachineTranslator` is never constructed [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: multiple associated items are never used [INFO] [stdout] --> src/machine/translation/translator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl MachineTranslator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn wrap_original_state(state: &State) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn customized_state(data: &str, values: Vec) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn initial_start_setup_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn get_data_to_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_data_to_read_and_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn initialize_two_tape_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn go_to_start_to_read_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn reach_q_for_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn read_value_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn handle_q_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn go_to_start_to_write_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn reach_p_for_write(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn write_value_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn handle_p_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn teardown_accepting_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn translate(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/machine/component/tape.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Tape { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(initial_content: String) -> Tape { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write_to_head(&mut self, value: &TapeEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn read_from_head(&self) -> &TapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn trim_single_trailing_blank(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn move_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn move_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn move_head(&mut self, direction: &HeadMoveDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 31 | pub const BLANK: TapeEntry = TapeEntry(0); [INFO] [stdout] 32 | pub const MAX_BIT_COUNT: Number = 30; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn bits(&self, range: std::ops::Range) -> Number { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn with_bit(&mut self, i: Number, bit: bool) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn with_bits(&mut self, range: Range, bits: Number) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/machine/component/tape.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Tape { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(initial_content: String) -> Tape { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write_to_head(&mut self, value: &TapeEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn read_from_head(&self) -> &TapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn trim_single_trailing_blank(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn move_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn move_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn move_head(&mut self, direction: &HeadMoveDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_description` and `applicable_to` are never used [INFO] [stdout] --> src/machine/component/transition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn applicable_to(&self, cfg: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `direction_to_string` is never used [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: function `transitions_from_description` is never used [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 items `from_description` and `applicable_to` are never used [INFO] [stdout] --> src/machine/component/transition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn applicable_to(&self, cfg: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Run` is never constructed [INFO] [stdout] --> src/machine/classic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Run { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transitions_from_description` is never used [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: struct `Run` is never constructed [INFO] [stdout] --> src/machine/classic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Run { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 88 | const TAPE_ENTRY_DATA_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | const FIRST_LETTER_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | const SECOND_LETTER_RANGE: Range = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | TapeEntry::MAX_BIT_COUNT..2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] 92 | const HAS_FIRST_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | const HAS_SECOND_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | const IS_START_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | pub fn encoded(&self) -> TapeEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_transitions` and `is_accepting_run_reached` are never used [INFO] [stdout] --> src/machine/classic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Run { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 14 | pub fn apply_transitions(mut self, transitions: &Vec) -> Run { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_accepting_run_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_transitions` and `is_accepting_run_reached` are never used [INFO] [stdout] --> src/machine/classic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Run { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 14 | pub fn apply_transitions(mut self, transitions: &Vec) -> Run { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_accepting_run_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_config_from_after_transition` and `apply` are never used [INFO] [stdout] --> src/machine/classic.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 45 | pub fn get_config_from_after_transition(&self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn apply(mut self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_config_from_after_transition` and `apply` are never used [INFO] [stdout] --> src/machine/classic.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 45 | pub fn get_config_from_after_transition(&self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn apply(mut self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassicMachine` is never constructed [INFO] [stdout] --> src/machine/classic.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ClassicMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassicMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/machine/component/transition.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- method in this implementation [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: associated items `new`, `time_limit_reached`, and `run_with_limit` are never used [INFO] [stdout] --> src/machine/classic.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl ClassicMachine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 67 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn time_limit_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn run_with_limit(mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_tape_transitions_from_description` is never used [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: field `states` is never read [INFO] [stdout] --> src/machine/translation/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct TranslatorInput { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | transitions: Vec, [INFO] [stdout] 10 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoubleTransition` is never constructed [INFO] [stdout] --> src/machine/translation/double_transition.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DoubleTransition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleTransition` 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: methods `bit`, `set_bit`, and `set_bits` are never used [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [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 `from_description` is never used [INFO] [stdout] --> src/machine/translation/double_transition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DoubleTransition { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TranslatorInput` is never constructed [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 `decode` is never used [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/machine/translation/translator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TranslatorInput { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MachineTranslator` is never constructed [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: struct `ClassicMachine` is never constructed [INFO] [stdout] --> src/machine/classic.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ClassicMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassicMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `time_limit_reached`, and `run_with_limit` are never used [INFO] [stdout] --> src/machine/classic.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl ClassicMachine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 67 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn time_limit_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn run_with_limit(mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/machine/translation/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct TranslatorInput { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | transitions: Vec, [INFO] [stdout] 10 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bit`, `set_bit`, and `set_bits` are never used [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [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 `decode` is never used [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/machine/translation/translator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl MachineTranslator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn wrap_original_state(state: &State) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn customized_state(data: &str, values: Vec) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn initial_start_setup_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn get_data_to_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_data_to_read_and_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn initialize_two_tape_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn go_to_start_to_read_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn reach_q_for_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn read_value_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn handle_q_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn go_to_start_to_write_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn reach_p_for_write(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn write_value_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn handle_p_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn teardown_accepting_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn translate(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 31 | pub const BLANK: TapeEntry = TapeEntry(0); [INFO] [stdout] 32 | pub const MAX_BIT_COUNT: Number = 30; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn bits(&self, range: std::ops::Range) -> Number { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn with_bit(&mut self, i: Number, bit: bool) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^ [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 `direction_to_string` is never used [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: multiple associated items are never used [INFO] [stdout] --> src/types.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 88 | const TAPE_ENTRY_DATA_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | const FIRST_LETTER_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | const SECOND_LETTER_RANGE: Range = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | TapeEntry::MAX_BIT_COUNT..2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] 92 | const HAS_FIRST_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | const HAS_SECOND_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | const IS_START_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | pub fn encoded(&self) -> TapeEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "9a100d266c108c3ac0505e14146ba43ed9786b82f1d0a5b9d93b7ece9f777b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a100d266c108c3ac0505e14146ba43ed9786b82f1d0a5b9d93b7ece9f777b25", kill_on_drop: false }` [INFO] [stdout] 9a100d266c108c3ac0505e14146ba43ed9786b82f1d0a5b9d93b7ece9f777b25 [INFO] checking mbalc/turinglike-oversophisticated-calculator against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbalc%2Fturinglike-oversophisticated-calculator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mbalc/turinglike-oversophisticated-calculator on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12ca26a9e46010cf14fadd31f182fc0a3f9c3ba698d311f8888a99b6eb9a2f48 [INFO] running `Command { std: "docker" "start" "-a" "12ca26a9e46010cf14fadd31f182fc0a3f9c3ba698d311f8888a99b6eb9a2f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12ca26a9e46010cf14fadd31f182fc0a3f9c3ba698d311f8888a99b6eb9a2f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ca26a9e46010cf14fadd31f182fc0a3f9c3ba698d311f8888a99b6eb9a2f48", kill_on_drop: false }` [INFO] [stdout] 12ca26a9e46010cf14fadd31f182fc0a3f9c3ba698d311f8888a99b6eb9a2f48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ba90a053f5f96579d5ef172b67bc9a5d4e7c604c680746651f70497c51477f [INFO] running `Command { std: "docker" "start" "-a" "12ba90a053f5f96579d5ef172b67bc9a5d4e7c604c680746651f70497c51477f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 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` and `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 imports: `Bound` and `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 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` and `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 imports: `Bound` and `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: `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: multiple associated items are never used [INFO] [stdout] --> src/machine/component/tape.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Tape { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(initial_content: String) -> Tape { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write_to_head(&mut self, value: &TapeEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn read_from_head(&self) -> &TapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn trim_single_trailing_blank(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn move_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn move_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn move_head(&mut self, direction: &HeadMoveDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_description` and `applicable_to` are never used [INFO] [stdout] --> src/machine/component/transition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn applicable_to(&self, cfg: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transitions_from_description` is never used [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: struct `Run` is never constructed [INFO] [stdout] --> src/machine/classic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Run { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_transitions` and `is_accepting_run_reached` are never used [INFO] [stdout] --> src/machine/classic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Run { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 14 | pub fn apply_transitions(mut self, transitions: &Vec) -> Run { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_accepting_run_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_config_from_after_transition` and `apply` are never used [INFO] [stdout] --> src/machine/classic.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 45 | pub fn get_config_from_after_transition(&self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn apply(mut self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassicMachine` is never constructed [INFO] [stdout] --> src/machine/classic.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ClassicMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassicMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `time_limit_reached`, and `run_with_limit` are never used [INFO] [stdout] --> src/machine/classic.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl ClassicMachine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 67 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn time_limit_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn run_with_limit(mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/machine/translation/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct TranslatorInput { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | transitions: Vec, [INFO] [stdout] 10 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bit`, `set_bit`, and `set_bits` are never used [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [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 `decode` is never used [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/machine/classic.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 72 | let mut step_configs = HashSet::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let initial_run_data = Run { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(ClassicMachine { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | run: initial_run_data, [INFO] [stdout] 86 | | transitions: loader::transitions_from_description(machine_description)?, [INFO] [stdout] 87 | | execution_limit, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/machine/component/transition.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- method in this implementation [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 `two_tape_transitions_from_description` is never used [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: struct `DoubleTransition` is never constructed [INFO] [stdout] --> src/machine/translation/double_transition.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DoubleTransition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleTransition` 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: associated function `from_description` is never used [INFO] [stdout] --> src/machine/translation/double_transition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DoubleTransition { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TranslatorInput` is never constructed [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 `new` is never used [INFO] [stdout] --> src/machine/translation/translator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TranslatorInput { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MachineTranslator` is never constructed [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: multiple associated items are never used [INFO] [stdout] --> src/machine/translation/translator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl MachineTranslator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn wrap_original_state(state: &State) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn customized_state(data: &str, values: Vec) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn initial_start_setup_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn get_data_to_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_data_to_read_and_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn initialize_two_tape_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn go_to_start_to_read_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn reach_q_for_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn read_value_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn handle_q_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn go_to_start_to_write_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn reach_p_for_write(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn write_value_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn handle_p_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn teardown_accepting_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn translate(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/machine/component/transition.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- method in this implementation [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: method `to_string` is never used [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_tape_transitions_from_description` is never used [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: struct `DoubleTransition` is never constructed [INFO] [stdout] --> src/machine/translation/double_transition.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DoubleTransition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DoubleTransition` 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: associated function `from_description` is never used [INFO] [stdout] --> src/machine/translation/double_transition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DoubleTransition { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 31 | pub const BLANK: TapeEntry = TapeEntry(0); [INFO] [stdout] 32 | pub const MAX_BIT_COUNT: Number = 30; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn bits(&self, range: std::ops::Range) -> Number { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn with_bit(&mut self, i: Number, bit: bool) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn with_bits(&mut self, range: Range, bits: Number) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TranslatorInput` is never constructed [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: function `direction_to_string` is never used [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 function `new` is never used [INFO] [stdout] --> src/machine/translation/translator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TranslatorInput { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MachineTranslator` is never constructed [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: multiple associated items are never used [INFO] [stdout] --> src/types.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 88 | const TAPE_ENTRY_DATA_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | const FIRST_LETTER_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | const SECOND_LETTER_RANGE: Range = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | TapeEntry::MAX_BIT_COUNT..2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] 92 | const HAS_FIRST_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | const HAS_SECOND_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | const IS_START_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | pub fn encoded(&self) -> TapeEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/machine/component/tape.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Tape { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(initial_content: String) -> Tape { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write_to_head(&mut self, value: &TapeEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn read_from_head(&self) -> &TapeEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn trim_single_trailing_blank(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn move_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn move_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn move_head(&mut self, direction: &HeadMoveDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/machine/classic.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 72 | let mut step_configs = HashSet::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let initial_run_data = Run { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(ClassicMachine { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | run: initial_run_data, [INFO] [stdout] 86 | | transitions: loader::transitions_from_description(machine_description)?, [INFO] [stdout] 87 | | execution_limit, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_description` and `applicable_to` are never used [INFO] [stdout] --> src/machine/component/transition.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transition { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn from_description(description: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn applicable_to(&self, cfg: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transitions_from_description` is never used [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: multiple associated items are never used [INFO] [stdout] --> src/machine/translation/translator.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl MachineTranslator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(machine_description: String) -> AppResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn wrap_original_state(state: &State) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn customized_state(data: &str, values: Vec) -> State { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn initial_start_setup_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn get_data_to_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_data_to_read_and_write(trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn initialize_two_tape_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn go_to_start_to_read_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn reach_q_for_read(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn read_value_from_q(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn handle_q_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn go_to_start_to_write_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn reach_p_for_write(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn write_value_to_p(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn handle_p_head_moved(&self, trans: &DoubleTransition) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn teardown_accepting_transitions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn translate(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Run` is never constructed [INFO] [stdout] --> src/machine/classic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Run { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/types.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply_transitions` and `is_accepting_run_reached` are never used [INFO] [stdout] --> src/machine/classic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Run { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 14 | pub fn apply_transitions(mut self, transitions: &Vec) -> Run { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_accepting_run_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_config_from_after_transition` and `apply` are never used [INFO] [stdout] --> src/machine/classic.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 45 | pub fn get_config_from_after_transition(&self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn apply(mut self, trans: &Transition) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 31 | pub const BLANK: TapeEntry = TapeEntry(0); [INFO] [stdout] 32 | pub const MAX_BIT_COUNT: Number = 30; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn bits(&self, range: std::ops::Range) -> Number { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn with_bit(&mut self, i: Number, bit: bool) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn with_bits(&mut self, range: Range, bits: Number) -> TapeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassicMachine` is never constructed [INFO] [stdout] --> src/machine/classic.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ClassicMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassicMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `direction_to_string` is never used [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 items `new`, `time_limit_reached`, and `run_with_limit` are never used [INFO] [stdout] --> src/machine/classic.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl ClassicMachine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 67 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn time_limit_reached(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn run_with_limit(mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 88 | const TAPE_ENTRY_DATA_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | const FIRST_LETTER_RANGE: Range = 0..TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | const SECOND_LETTER_RANGE: Range = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | TapeEntry::MAX_BIT_COUNT..2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] 92 | const HAS_FIRST_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | const HAS_SECOND_TAPE_HEAD_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | const IS_START_ID: Number = 2 * TapeEntry::MAX_BIT_COUNT + 2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 95 | [INFO] [stdout] 96 | pub fn encoded(&self) -> TapeEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/machine/translation/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct TranslatorInput { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | transitions: Vec, [INFO] [stdout] 10 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bit`, `set_bit`, and `set_bits` are never used [INFO] [stdout] --> src/types.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl TapeEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn bit(&self, i: Number) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_bit(&mut self, i: Number, bit: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn set_bits(&mut self, range: Range, bits: Number) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/machine/classic.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 72 | let mut step_configs = HashSet::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let initial_run_data = Run { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(ClassicMachine { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | run: initial_run_data, [INFO] [stdout] 86 | | transitions: loader::transitions_from_description(machine_description)?, [INFO] [stdout] 87 | | execution_limit, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/types.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl SuperTapeEntry { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn decode(entry: TapeEntry) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/machine/classic.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 72 | let mut step_configs = HashSet::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let initial_run_data = Run { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(ClassicMachine { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | run: initial_run_data, [INFO] [stdout] 86 | | transitions: loader::transitions_from_description(machine_description)?, [INFO] [stdout] 87 | | execution_limit, [INFO] [stdout] 88 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/types.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | self.value().clone().to_string() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `turinglike-oversophisticated-calculator` (bin "translate") due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `turinglike-oversophisticated-calculator` (bin "interpreter") due to 2 previous errors; 16 warnings emitted [INFO] [stderr] error: could not compile `turinglike-oversophisticated-calculator` (bin "interpreter" test) due to 2 previous errors; 16 warnings emitted [INFO] [stderr] error: could not compile `turinglike-oversophisticated-calculator` (bin "translate" test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "12ba90a053f5f96579d5ef172b67bc9a5d4e7c604c680746651f70497c51477f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ba90a053f5f96579d5ef172b67bc9a5d4e7c604c680746651f70497c51477f", kill_on_drop: false }` [INFO] [stdout] 12ba90a053f5f96579d5ef172b67bc9a5d4e7c604c680746651f70497c51477f