[INFO] cloning repository https://github.com/seal9055/baby_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seal9055/baby_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseal9055%2Fbaby_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseal9055%2Fbaby_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 221ee1aceca1e87adc64eeef0c817a81de90daa2 [INFO] checking seal9055/baby_interpreter against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseal9055%2Fbaby_interpreter" "/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/seal9055/baby_interpreter 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/seal9055/baby_interpreter [INFO] finished tweaking git repo https://github.com/seal9055/baby_interpreter [INFO] tweaked toml for git repo https://github.com/seal9055/baby_interpreter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/seal9055/baby_interpreter 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] 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] eb5b5c0c9848196dfdd868c799c70c9a9a915caa1b992196c58440eb374a2d65 [INFO] running `Command { std: "docker" "start" "-a" "eb5b5c0c9848196dfdd868c799c70c9a9a915caa1b992196c58440eb374a2d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb5b5c0c9848196dfdd868c799c70c9a9a915caa1b992196c58440eb374a2d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5b5c0c9848196dfdd868c799c70c9a9a915caa1b992196c58440eb374a2d65", kill_on_drop: false }` [INFO] [stdout] eb5b5c0c9848196dfdd868c799c70c9a9a915caa1b992196c58440eb374a2d65 [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] b6bbe167ef74e6cfb5a942dad11270e7124002b622a1b41caadb1fda827af1a4 [INFO] running `Command { std: "docker" "start" "-a" "b6bbe167ef74e6cfb5a942dad11270e7124002b622a1b41caadb1fda827af1a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking baby_interp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vm::Interpreter` [INFO] [stdout] --> src/ai.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | vm::Interpreter, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vm::Interpreter` [INFO] [stdout] --> src/ai.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | vm::Interpreter, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/ai.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let reg = self.fetch_val(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ai.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let v = self.fetch_val(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/ai.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | fn loadi(&mut self, label: Label) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/ai.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let reg = self.fetch_val(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ai.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let v = self.fetch_val(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/ai.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | fn loadi(&mut self, label: Label) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `right` are never read [INFO] [stdout] --> src/ast.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | Unary { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 30 | op: Token, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `while_blocks` is never read [INFO] [stdout] --> src/codegen.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | while_blocks: FxHashMap)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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: enum `BlockType` is never used [INFO] [stdout] --> src/codegen.rs:127:6 [INFO] [stdout] | [INFO] [stdout] 127 | enum BlockType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `R` and `P` are never constructed [INFO] [stdout] --> src/ai.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum MemVal { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 12 | R(u16), [INFO] [stdout] | ^ [INFO] [stdout] 13 | P(u16), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MemVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interval` is never constructed [INFO] [stdout] --> src/ai.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interval` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ai.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Interval { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(bottom: usize, top: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/ai.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Label(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntervalDomain` is never constructed [INFO] [stdout] --> src/ai.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct IntervalDomain { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntervalDomain` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/ai.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl IntervalDomain { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 42 | fn add(&mut self, label: Label, val: Value, interval: Interval) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbstractInterpreter` is never constructed [INFO] [stdout] --> src/ai.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AbstractInterpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbstractInterpreter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `fetch_val`, `handle_label`, and `loadi` are never used [INFO] [stdout] --> src/ai.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl AbstractInterpreter { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 70 | pub fn new(program: &Program) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn fetch_val(&mut self) -> BcArr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn handle_label(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn loadi(&mut self, label: Label) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bottom` and `top` are never read [INFO] [stdout] --> src/comp_ai.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct Interval { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | bottom: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | top: usize [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interval` has derived impls for the traits `Default`, `Debug`, and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `T`, `F`, and `Either` are never constructed [INFO] [stdout] --> src/comp_ai.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | enum BoolState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 58 | #[default] Unknown, [INFO] [stdout] 59 | T, [INFO] [stdout] | ^ [INFO] [stdout] 60 | F, [INFO] [stdout] | ^ [INFO] [stdout] 61 | Either, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/comp_ai.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | I(Interval), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | I(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/comp_ai.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | B(BoolState), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 | B(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `advance_ip` is never used [INFO] [stdout] --> src/comp_ai.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl AbstractInterpreter { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn advance_ip(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `right` are never read [INFO] [stdout] --> src/ast.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | Unary { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 30 | op: Token, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `while_blocks` is never read [INFO] [stdout] --> src/codegen.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Metadata { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | while_blocks: FxHashMap)>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` 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: enum `BlockType` is never used [INFO] [stdout] --> src/codegen.rs:127:6 [INFO] [stdout] | [INFO] [stdout] 127 | enum BlockType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `R` and `P` are never constructed [INFO] [stdout] --> src/ai.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum MemVal { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 12 | R(u16), [INFO] [stdout] | ^ [INFO] [stdout] 13 | P(u16), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MemVal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interval` is never constructed [INFO] [stdout] --> src/ai.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interval` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ai.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Interval { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(bottom: usize, top: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/ai.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Label(usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntervalDomain` is never constructed [INFO] [stdout] --> src/ai.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct IntervalDomain { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntervalDomain` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/ai.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl IntervalDomain { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 42 | fn add(&mut self, label: Label, val: Value, interval: Interval) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbstractInterpreter` is never constructed [INFO] [stdout] --> src/ai.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AbstractInterpreter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AbstractInterpreter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, `fetch_val`, `handle_label`, and `loadi` are never used [INFO] [stdout] --> src/ai.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl AbstractInterpreter { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 70 | pub fn new(program: &Program) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn fetch_val(&mut self) -> BcArr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn handle_label(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn loadi(&mut self, label: Label) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bottom` and `top` are never read [INFO] [stdout] --> src/comp_ai.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct Interval { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 42 | bottom: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | top: usize [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interval` has derived impls for the traits `Default`, `Debug`, and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `T`, `F`, and `Either` are never constructed [INFO] [stdout] --> src/comp_ai.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | enum BoolState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 58 | #[default] Unknown, [INFO] [stdout] 59 | T, [INFO] [stdout] | ^ [INFO] [stdout] 60 | F, [INFO] [stdout] | ^ [INFO] [stdout] 61 | Either, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoolState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/comp_ai.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | I(Interval), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | I(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/comp_ai.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | B(BoolState), [INFO] [stdout] | - ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Mem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 | B(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `advance_ip` is never used [INFO] [stdout] --> src/comp_ai.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl AbstractInterpreter { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | fn advance_ip(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "b6bbe167ef74e6cfb5a942dad11270e7124002b622a1b41caadb1fda827af1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6bbe167ef74e6cfb5a942dad11270e7124002b622a1b41caadb1fda827af1a4", kill_on_drop: false }` [INFO] [stdout] b6bbe167ef74e6cfb5a942dad11270e7124002b622a1b41caadb1fda827af1a4