[INFO] cloning repository https://github.com/zacgeis/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zacgeis/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzacgeis%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzacgeis%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92fe2d4866198f6b91ea7025b3e31c451f712bd9 [INFO] testing zacgeis/aoc-2021 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzacgeis%2Faoc-2021" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zacgeis/aoc-2021 [INFO] finished tweaking git repo https://github.com/zacgeis/aoc-2021 [INFO] tweaked toml for git repo https://github.com/zacgeis/aoc-2021 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zacgeis/aoc-2021 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zacgeis/aoc-2021 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ddced76d60639a628a1e36b9adf5268800987ef9ffd5794131cdbaa6cd11b19 [INFO] running `Command { std: "docker" "start" "-a" "3ddced76d60639a628a1e36b9adf5268800987ef9ffd5794131cdbaa6cd11b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ddced76d60639a628a1e36b9adf5268800987ef9ffd5794131cdbaa6cd11b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ddced76d60639a628a1e36b9adf5268800987ef9ffd5794131cdbaa6cd11b19", kill_on_drop: false }` [INFO] [stdout] 3ddced76d60639a628a1e36b9adf5268800987ef9ffd5794131cdbaa6cd11b19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bf3ae4f6abee8117b49ddee71324f54c02e7cd5a5941e055ce2098d2e953eda5 [INFO] running `Command { std: "docker" "start" "-a" "bf3ae4f6abee8117b49ddee71324f54c02e7cd5a5941e055ce2098d2e953eda5", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `insts` [INFO] [stdout] --> src/bin/24.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | fn run_program(&mut self, insts: &[Inst]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_insts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | Inst::Inp(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | Inst::Add(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | Inst::Add(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | Inst::Mul(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | Inst::Mul(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | Inst::Div(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | Inst::Div(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | Inst::Mod(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | Inst::Mod(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | Inst::Eql(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Inst::Eql(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/24.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Reg(Reg), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegOrIm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 27 - Reg(Reg), [INFO] [stdout] 27 + Reg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/24.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | Im(i64), [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegOrIm` has a derived impl for the trait `Debug`, but this is 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] 28 - Im(i64), [INFO] [stdout] 28 + Im(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/24.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Inp(Reg), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is 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] 44 - Inp(Reg), [INFO] [stdout] 44 + Inp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Add(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 - Add(Reg, RegOrIm), [INFO] [stdout] 45 + Add((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Mul(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 46 - Mul(Reg, RegOrIm), [INFO] [stdout] 46 + Mul((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Div(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 47 - Div(Reg, RegOrIm), [INFO] [stdout] 47 + Div((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Mod(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 48 - Mod(Reg, RegOrIm), [INFO] [stdout] 48 + Mod((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Eql(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 49 - Eql(Reg, RegOrIm), [INFO] [stdout] 49 + Eql((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alu` is never constructed [INFO] [stdout] --> src/bin/24.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Alu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_program`, `run_inst`, `get_reg`, and `set_reg` are never used [INFO] [stdout] --> src/bin/24.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl Alu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 90 | fn run_program(&mut self, insts: &[Inst]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn run_inst(&mut self, inst: &Inst) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_reg(&self, r: Reg) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn set_reg(&mut self, r: Reg, v: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/04.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn row_iter<'a>(&'a self, row: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | fn row_iter<'a>(&'a self, row: usize) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/04.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn col_iter<'a>(&'a self, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn col_iter<'a>(&'a self, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "bf3ae4f6abee8117b49ddee71324f54c02e7cd5a5941e055ce2098d2e953eda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3ae4f6abee8117b49ddee71324f54c02e7cd5a5941e055ce2098d2e953eda5", kill_on_drop: false }` [INFO] [stdout] bf3ae4f6abee8117b49ddee71324f54c02e7cd5a5941e055ce2098d2e953eda5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 57af63008ffbee8fdb564daf222cf1ef3d25c8e71cff6c2871acea3032b36579 [INFO] running `Command { std: "docker" "start" "-a" "57af63008ffbee8fdb564daf222cf1ef3d25c8e71cff6c2871acea3032b36579", kill_on_drop: false }` [INFO] [stderr] Compiling aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `insts` [INFO] [stdout] --> src/bin/24.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | fn run_program(&mut self, insts: &[Inst]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_insts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | Inst::Inp(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | Inst::Add(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | Inst::Add(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | Inst::Mul(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | Inst::Mul(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | Inst::Div(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | Inst::Div(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | Inst::Mod(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | Inst::Mod(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/24.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | Inst::Eql(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/bin/24.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Inst::Eql(r, v) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/24.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Reg(Reg), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegOrIm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 27 - Reg(Reg), [INFO] [stdout] 27 + Reg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/24.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | Im(i64), [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RegOrIm` has a derived impl for the trait `Debug`, but this is 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] 28 - Im(i64), [INFO] [stdout] 28 + Im(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/24.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Inp(Reg), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is 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] 44 - Inp(Reg), [INFO] [stdout] 44 + Inp(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Add(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 - Add(Reg, RegOrIm), [INFO] [stdout] 45 + Add((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Mul(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 46 - Mul(Reg, RegOrIm), [INFO] [stdout] 46 + Mul((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Div(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 47 - Div(Reg, RegOrIm), [INFO] [stdout] 47 + Div((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Mod(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 48 - Mod(Reg, RegOrIm), [INFO] [stdout] 48 + Mod((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/24.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Eql(Reg, RegOrIm), [INFO] [stdout] | --- ^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 49 - Eql(Reg, RegOrIm), [INFO] [stdout] 49 + Eql((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alu` is never constructed [INFO] [stdout] --> src/bin/24.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Alu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_program`, `run_inst`, `get_reg`, and `set_reg` are never used [INFO] [stdout] --> src/bin/24.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl Alu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 90 | fn run_program(&mut self, insts: &[Inst]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn run_inst(&mut self, inst: &Inst) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn get_reg(&self, r: Reg) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn set_reg(&mut self, r: Reg, v: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/04.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn row_iter<'a>(&'a self, row: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | fn row_iter<'a>(&'a self, row: usize) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bin/04.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn col_iter<'a>(&'a self, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn col_iter<'a>(&'a self, col: usize) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "57af63008ffbee8fdb564daf222cf1ef3d25c8e71cff6c2871acea3032b36579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57af63008ffbee8fdb564daf222cf1ef3d25c8e71cff6c2871acea3032b36579", kill_on_drop: false }` [INFO] [stdout] 57af63008ffbee8fdb564daf222cf1ef3d25c8e71cff6c2871acea3032b36579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a764257f8516cd7967a2bb4eccdd7bed719dd7141410b8ae179bf11f32700cc9 [INFO] running `Command { std: "docker" "start" "-a" "a764257f8516cd7967a2bb4eccdd7bed719dd7141410b8ae179bf11f32700cc9", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bin/04.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | fn row_iter<'a>(&'a self, row: usize) -> impl Iterator + 'a { [INFO] [stderr] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 14 | fn row_iter<'a>(&'a self, row: usize) -> impl Iterator + 'a { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/bin/04.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | fn col_iter<'a>(&'a self, col: usize) -> impl Iterator + 'a { [INFO] [stderr] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 18 | fn col_iter<'a>(&'a self, col: usize) -> impl Iterator + 'a { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `aoc-2021` (bin "04" test) generated 2 warnings (run `cargo fix --bin "04" --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `insts` [INFO] [stderr] --> src/bin/24.rs:90:31 [INFO] [stderr] | [INFO] [stderr] 90 | fn run_program(&mut self, insts: &[Inst]) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_insts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/bin/24.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | Inst::Inp(r) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/bin/24.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | Inst::Add(r, v) => (), [INFO] [stdout] [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/24.rs:97:26 [INFO] [stderr] | [INFO] [stderr] 97 | Inst::Add(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/bin/24.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | Inst::Mul(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/24.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | Inst::Mul(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/bin/24.rs:99:23 [INFO] [stderr] | [INFO] [stderr] 99 | Inst::Div(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/24.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | Inst::Div(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/bin/24.rs:100:23 [INFO] [stderr] | [INFO] [stderr] 100 | Inst::Mod(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/24.rs:100:26 [INFO] [stderr] | [INFO] [stderr] 100 | Inst::Mod(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/bin/24.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | Inst::Eql(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/24.rs:101:26 [INFO] [stderr] | [INFO] [stderr] 101 | Inst::Eql(r, v) => (), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bin/24.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | Reg(Reg), [INFO] [stderr] | --- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RegOrIm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 27 - Reg(Reg), [INFO] [stderr] 27 + Reg(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bin/24.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | Im(i64), [INFO] [stderr] | -- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RegOrIm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 28 - Im(i64), [INFO] [stderr] 28 + Im(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/bin/24.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | Inp(Reg), [INFO] [stderr] | --- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 44 - Inp(Reg), [INFO] [stderr] 44 + Inp(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/bin/24.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | Add(Reg, RegOrIm), [INFO] [stderr] | --- ^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 45 - Add(Reg, RegOrIm), [INFO] [stderr] 45 + Add((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/bin/24.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | Mul(Reg, RegOrIm), [INFO] [stderr] | --- ^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 46 - Mul(Reg, RegOrIm), [INFO] [stderr] 46 + Mul((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/bin/24.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | Div(Reg, RegOrIm), [INFO] [stderr] | --- ^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 47 - Div(Reg, RegOrIm), [INFO] [stderr] 47 + Div((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/bin/24.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | Mod(Reg, RegOrIm), [INFO] [stderr] | --- ^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 48 - Mod(Reg, RegOrIm), [INFO] [stderr] 48 + Mod((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/bin/24.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | Eql(Reg, RegOrIm), [INFO] [stderr] | --- ^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Inst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 49 - Eql(Reg, RegOrIm), [INFO] [stderr] 49 + Eql((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `Alu` is never constructed [INFO] [stderr] --> src/bin/24.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | struct Alu { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `run_program`, `run_inst`, `get_reg`, and `set_reg` are never used [INFO] [stderr] --> src/bin/24.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 89 | impl Alu { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] 90 | fn run_program(&mut self, insts: &[Inst]) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | fn run_inst(&mut self, inst: &Inst) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | fn get_reg(&self, r: Reg) -> i64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | fn set_reg(&mut self, r: Reg, v: i64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aoc-2021` (bin "24" test) generated 22 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aoc_2021-83631613a986c918) [INFO] [stderr] Running unittests src/bin/01.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/01-3f7221d01a32c72a) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/02.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/02-a66cc0c5da0052de) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/03.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/03-469b3652cda6b852) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::test_filter_logic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/04.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/04-186bcb0b96a9face) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/05.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/05-b9f429b3bf84c712) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/06.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/06-903da2b6f0d5e37b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/07.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/07-0a060ed193cf3c7f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/08.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/08-97c558c8cac92e8b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/09.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/09-6eb72d78abdb03b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/10.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/10-d16f2aed638f97db) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/11.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/11-3db6acfe189a1a61) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/12.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/12-efe25c4340dc64f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/13.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/13-92d734eea8cd88b3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/14.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/14-8a99508e03b76842) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/15.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/15-ba003e238c6c0f03) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/16.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/16-55972518f8e2293a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/17.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/17-bf68208a7edd1bf6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/18.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/18-bb7caa7c222023b6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/19.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/19-f308d3ba4e92eb55) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_apply_transform ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/20.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/20-f00e8b6c10b89b42) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/21.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/21-20f115c6b709b4d6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/22.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/22-ab8e0aafe992dad3) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/bin/23.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/23-37ef268c33ca98a2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/23b.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/23b-e7c20a855236cefa) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/24.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/24-b68dc2e614883897) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a764257f8516cd7967a2bb4eccdd7bed719dd7141410b8ae179bf11f32700cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a764257f8516cd7967a2bb4eccdd7bed719dd7141410b8ae179bf11f32700cc9", kill_on_drop: false }` [INFO] [stdout] a764257f8516cd7967a2bb4eccdd7bed719dd7141410b8ae179bf11f32700cc9