[INFO] cloning repository https://github.com/faassen/evoby [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faassen/evoby" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaassen%2Fevoby", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaassen%2Fevoby'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84a3a37053b90678f0248ff1c9dd94400da193f0 [INFO] checking faassen/evoby against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaassen%2Fevoby" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/faassen/evoby [INFO] finished tweaking git repo https://github.com/faassen/evoby [INFO] tweaked toml for git repo https://github.com/faassen/evoby written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/faassen/evoby on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/faassen/evoby 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac5f9c59306c029ff7eacd87e26dc0b8b5e1e4ce36ce331c4aaa655805e221d6 [INFO] running `Command { std: "docker" "start" "-a" "ac5f9c59306c029ff7eacd87e26dc0b8b5e1e4ce36ce331c4aaa655805e221d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac5f9c59306c029ff7eacd87e26dc0b8b5e1e4ce36ce331c4aaa655805e221d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5f9c59306c029ff7eacd87e26dc0b8b5e1e4ce36ce331c4aaa655805e221d6", kill_on_drop: false }` [INFO] [stdout] ac5f9c59306c029ff7eacd87e26dc0b8b5e1e4ce36ce331c4aaa655805e221d6 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d823d7265408625d06055909ebac052c6776d9aecd3008cb40b73541edbaa86 [INFO] running `Command { std: "docker" "start" "-a" "0d823d7265408625d06055909ebac052c6776d9aecd3008cb40b73541edbaa86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking evoby v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | fn if_(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | fn repeat(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | fn not(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | fn push(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | fn pop(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | fn inc(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | fn dec(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/core.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let address = self.registers[r0 as usize] as usize & self.main_memory_mask; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn load(&mut self, r0: u8, r1: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | fn add(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | fn add(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | fn sub(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | fn sub(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | fn mul(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | fn mul(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | fn div(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | fn div(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | fn eq(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | fn eq(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | fn gt(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn gt(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | fn and(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | fn and(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | fn or(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | fn or(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | fn xor(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | fn xor(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | fn unknown0(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | fn unknown0(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | fn unknown1(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | fn unknown1(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockId` is never constructed [INFO] [stdout] --> src/blockid.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct BlockId { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/blockid.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl BlockId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 8 | pub(crate) fn new(strand_id: usize, block_index: usize) -> BlockId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockPattern` is never constructed [INFO] [stdout] --> src/blockpattern.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct BlockPattern(u32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `decode_forward`, `decode_backward`, `decode_byte_forward`, `decode_byte_backward`, and `get` are never used [INFO] [stdout] --> src/blockpattern.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl BlockPattern { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 5 | pub(crate) fn new(data: u32) -> BlockPattern { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) fn decode_forward(data: &[u8], index: usize) -> BlockPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn decode_backward(data: &[u8], index: usize) -> BlockPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn decode_byte_forward(data: &[u8], index: usize) -> (u8, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn decode_byte_backward(data: &[u8], index: usize) -> (u8, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(crate) fn get(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_pattern_byte` is never used [INFO] [stdout] --> src/blockpattern.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_pattern_byte(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> src/core.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute` is never used [INFO] [stdout] --> src/core.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn execute(executor: &mut E, instruction: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_special0` is never used [INFO] [stdout] --> src/core.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn execute_special0(executor: &mut E, instruction: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_special1` is never used [INFO] [stdout] --> src/core.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn execute_special1(executor: &mut E, instruction: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_operand` is never used [INFO] [stdout] --> src/core.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn register_operand(instruction: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Processor` is never constructed [INFO] [stdout] --> src/core.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct Processor<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> Processor<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 123 | fn new(main_memory: &'a mut [u8]) -> Processor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyBitMap` is never constructed [INFO] [stdout] --> src/fuzzy.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct FuzzyBitMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `matching`, and `get` are never used [INFO] [stdout] --> src/fuzzy.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl FuzzyBitMap { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(max_distance: u32, match_chance: f64) -> FuzzyBitMap { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn insert(&mut self, pattern: u32, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn matching(&self, pattern: u32, index: usize) -> Vec<&V> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub(crate) fn get(&self, pattern: u32, index: usize, rng: &mut impl Rng) -> Option<&V> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hamming_distance` is never used [INFO] [stdout] --> src/fuzzy.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn hamming_distance(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterId` is never constructed [INFO] [stdout] --> src/instruction.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct RegisterId(u8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BlockRef` is never used [INFO] [stdout] --> src/instruction.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum BlockRef { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/instruction.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 41 | fn decode(slice: &[u8], index: usize) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Strand` is never constructed [INFO] [stdout] --> src/structure.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Strand<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blocks` is never constructed [INFO] [stdout] --> src/structure.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct Blocks { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> src/structure.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Block<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/structure.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> Strand<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 22 | pub(crate) fn from_bytes(data: &'a [u8]) -> Strand<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lookup` are never used [INFO] [stdout] --> src/structure.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 39 | impl Blocks { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 40 | pub(crate) fn new(max_distance: u32, match_chance: f64, strands: &[Strand]) -> Blocks { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn lookup( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | fn new(main_memory: &'a mut [u8]) -> Processor { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 123 | fn new(main_memory: &'a mut [u8]) -> Processor<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | fn if_(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | fn repeat(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | fn not(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | fn push(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | fn pop(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | fn inc(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | fn dec(&mut self, r0: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/core.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let address = self.registers[r0 as usize] as usize & self.main_memory_mask; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn load(&mut self, r0: u8, r1: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | fn add(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 170 | fn add(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | fn sub(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | fn sub(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | fn mul(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | fn mul(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | fn div(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | fn div(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | fn eq(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | fn eq(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | fn gt(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn gt(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | fn and(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | fn and(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | fn or(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | fn or(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | fn xor(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 178 | fn xor(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | fn unknown0(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | fn unknown0(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/core.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | fn unknown1(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/core.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | fn unknown1(&mut self, r0: u8, r1: u8) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Processor` is never constructed [INFO] [stdout] --> src/core.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct Processor<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> Processor<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 123 | fn new(main_memory: &'a mut [u8]) -> Processor { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Id` is never constructed [INFO] [stdout] --> src/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum BlockRef { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 10 | Pattern(BlockPattern), [INFO] [stdout] 11 | Id(BlockId), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slice` is never read [INFO] [stdout] --> src/structure.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Block<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pattern: BlockPattern, [INFO] [stdout] 18 | slice: &'a [u8], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/core.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | fn new(main_memory: &'a mut [u8]) -> Processor { [INFO] [stdout] | ^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 123 | fn new(main_memory: &'a mut [u8]) -> Processor<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.47s [INFO] running `Command { std: "docker" "inspect" "0d823d7265408625d06055909ebac052c6776d9aecd3008cb40b73541edbaa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d823d7265408625d06055909ebac052c6776d9aecd3008cb40b73541edbaa86", kill_on_drop: false }` [INFO] [stdout] 0d823d7265408625d06055909ebac052c6776d9aecd3008cb40b73541edbaa86