[INFO] cloning repository https://github.com/jakeec/aoc_2019_intcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakeec/aoc_2019_intcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a13fbb99d1fbc85bc22d70d41dc1c2b118ccd40
[INFO] testing jakeec/aoc_2019_intcode against 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jakeec/aoc_2019_intcode on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jakeec/aoc_2019_intcode
[INFO] finished tweaking git repo https://github.com/jakeec/aoc_2019_intcode
[INFO] tweaked toml for git repo https://github.com/jakeec/aoc_2019_intcode written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/jakeec/aoc_2019_intcode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e64213ae529d0e9f21a755d4099f27ae44be3e2d48c77a681dde63eece8c2ba4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e64213ae529d0e9f21a755d4099f27ae44be3e2d48c77a681dde63eece8c2ba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e64213ae529d0e9f21a755d4099f27ae44be3e2d48c77a681dde63eece8c2ba4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e64213ae529d0e9f21a755d4099f27ae44be3e2d48c77a681dde63eece8c2ba4", kill_on_drop: false }`
[INFO] [stdout] e64213ae529d0e9f21a755d4099f27ae44be3e2d48c77a681dde63eece8c2ba4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 235b0bcf3d6f816f078df90d773662895e4255a9f0ddfc4df50d3eff88caaa66
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "235b0bcf3d6f816f078df90d773662895e4255a9f0ddfc4df50d3eff88caaa66", kill_on_drop: false }`
[INFO] [stderr]    Compiling aoc_2019_intcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     for i in 0..last {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:122:23
[INFO] [stdout]     |
[INFO] [stdout] 122 |             (a, b, c, d, 1) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |             (a, b, c, d, 2) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |             (a, b, c, d, 3) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout] 140 |             (a, b, c, d, 4) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |             (a, b, c, d, 5) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_addr`
[INFO] [stdout]    --> src/main.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |             (a, b, c, d, 6) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_addr`
[INFO] [stdout]    --> src/main.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:163:23
[INFO] [stdout]     |
[INFO] [stdout] 163 |             (a, b, c, d, 7) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:173:23
[INFO] [stdout]     |
[INFO] [stdout] 173 |             (a, b, c, d, 8) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 d => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_addr`
[INFO] [stdout]    --> src/main.rs:186:26
[INFO] [stdout]     |
[INFO] [stdout] 186 |                     let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rand_2_addr`
[INFO] [stdout]    --> src/main.rs:186:49
[INFO] [stdout]     |
[INFO] [stdout] 186 |                     let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_2_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut codes: Vec<isize> = program
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `runWithInput`
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn runWithInput(program: &str, input: Vec<isize>) -> (Vec<isize>, Vec<isize>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `trim_dead_memory`
[INFO] [stdout]   --> src/main.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn trim_dead_memory(mem: &Vec<isize>) -> Vec<isize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runWithInput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn runWithInput(program: &str, input: Vec<isize>) -> (Vec<isize>, Vec<isize>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `run_with_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.21s
[INFO] running `Command { std: "docker" "inspect" "235b0bcf3d6f816f078df90d773662895e4255a9f0ddfc4df50d3eff88caaa66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "235b0bcf3d6f816f078df90d773662895e4255a9f0ddfc4df50d3eff88caaa66", kill_on_drop: false }`
[INFO] [stdout] 235b0bcf3d6f816f078df90d773662895e4255a9f0ddfc4df50d3eff88caaa66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78c3b68d9b282c6b8ecbdb23911c3ed2a4bb7c2887a17d33163344efbf90c1d8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "78c3b68d9b282c6b8ecbdb23911c3ed2a4bb7c2887a17d33163344efbf90c1d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling aoc_2019_intcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     for i in 0..last {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:122:23
[INFO] [stdout]     |
[INFO] [stdout] 122 |             (a, b, c, d, 1) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |             (a, b, c, d, 2) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:134:23
[INFO] [stdout]     |
[INFO] [stdout] 134 |             (a, b, c, d, 3) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:140:23
[INFO] [stdout]     |
[INFO] [stdout] 140 |             (a, b, c, d, 4) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |             (a, b, c, d, 5) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_addr`
[INFO] [stdout]    --> src/main.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |             (a, b, c, d, 6) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_addr`
[INFO] [stdout]    --> src/main.rs:155:22
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:163:23
[INFO] [stdout]     |
[INFO] [stdout] 163 |             (a, b, c, d, 7) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:173:23
[INFO] [stdout]     |
[INFO] [stdout] 173 |             (a, b, c, d, 8) => {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/main.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |                 d => {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_addr`
[INFO] [stdout]    --> src/main.rs:186:26
[INFO] [stdout]     |
[INFO] [stdout] 186 |                     let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rand_2_addr`
[INFO] [stdout]    --> src/main.rs:186:49
[INFO] [stdout]     |
[INFO] [stdout] 186 |                     let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_2_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:279:14
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let (memory, output) = intcode(vec![3, 0, 4, 0, 99], vec![1]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/main.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (memory, output) = intcode(vec![1002, 4, 3, 4, 33], vec![1]);
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/main.rs:291:22
[INFO] [stdout]     |
[INFO] [stdout] 291 |         let (memory, output) = intcode(vec![1101, 100, -1, 4, 0], vec![1]);
[INFO] [stdout]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:298:14
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let (memory, output) = runWithInput(&input, vec![1]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:304:14
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let (memory, output) = intcode(vec![3, 9, 8, 9, 10, 9, 4, 9, 99, -1, 8], vec![8]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:310:14
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let (memory, output) = intcode(vec![3, 9, 8, 9, 10, 9, 4, 9, 99, -1, 8], vec![7]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:316:14
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let (memory, output) = intcode(vec![3, 9, 7, 9, 10, 9, 4, 9, 99, -1, 8], vec![7]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let (memory, output) = intcode(vec![3, 9, 7, 9, 10, 9, 4, 9, 99, -1, 8], vec![8]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:328:14
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let (memory, output) = intcode(vec![3, 3, 1108, -1, 8, 3, 4, 3, 99], vec![8]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:334:14
[INFO] [stdout]     |
[INFO] [stdout] 334 |         let (memory, output) = intcode(vec![3, 3, 1108, -1, 8, 3, 4, 3, 99], vec![7]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:340:14
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let (memory, output) = intcode(vec![3, 3, 1107, -1, 8, 3, 4, 3, 99], vec![4]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:346:14
[INFO] [stdout]     |
[INFO] [stdout] 346 |         let (memory, output) = intcode(vec![3, 3, 1107, -1, 8, 3, 4, 3, 99], vec![9]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:352:14
[INFO] [stdout]     |
[INFO] [stdout] 352 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:361:14
[INFO] [stdout]     |
[INFO] [stdout] 361 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:370:14
[INFO] [stdout]     |
[INFO] [stdout] 370 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:379:14
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:388:14
[INFO] [stdout]     |
[INFO] [stdout] 388 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:401:14
[INFO] [stdout]     |
[INFO] [stdout] 401 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:414:14
[INFO] [stdout]     |
[INFO] [stdout] 414 |         let (memory, output) = intcode(
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:428:14
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let (memory, output) = runWithInput(&input, vec![5]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:442:14
[INFO] [stdout]     |
[INFO] [stdout] 442 |         let (memory, output) = intcode(input.clone(), vec![]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:449:14
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let (memory, output) = intcode(input.clone(), vec![]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:460:14
[INFO] [stdout]     |
[INFO] [stdout] 460 |         let (memory, output) = intcode(input.clone(), vec![]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:468:14
[INFO] [stdout]     |
[INFO] [stdout] 468 |         let (memory, output) = runWithInput(&input, vec![1]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/main.rs:476:14
[INFO] [stdout]     |
[INFO] [stdout] 476 |         let (memory, output) = runWithInput(&input, vec![2]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut codes: Vec<isize> = program
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `trim_dead_memory`
[INFO] [stdout]   --> src/main.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn trim_dead_memory(mem: &Vec<isize>) -> Vec<isize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runWithInput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn runWithInput(program: &str, input: Vec<isize>) -> (Vec<isize>, Vec<isize>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `run_with_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.52s
[INFO] running `Command { std: "docker" "inspect" "78c3b68d9b282c6b8ecbdb23911c3ed2a4bb7c2887a17d33163344efbf90c1d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78c3b68d9b282c6b8ecbdb23911c3ed2a4bb7c2887a17d33163344efbf90c1d8", kill_on_drop: false }`
[INFO] [stdout] 78c3b68d9b282c6b8ecbdb23911c3ed2a4bb7c2887a17d33163344efbf90c1d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0d6fdbcf516d4f3df2860ec13f24371a9cc50c93a436f5b03385ce8a4c691138
[INFO] running `Command { std: "docker" "start" "-a" "0d6fdbcf516d4f3df2860ec13f24371a9cc50c93a436f5b03385ce8a4c691138", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/main.rs:96:9
[INFO] [stderr]    |
[INFO] [stderr] 96 |     for i in 0..last {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:122:23
[INFO] [stderr]     |
[INFO] [stderr] 122 |             (a, b, c, d, 1) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:128:23
[INFO] [stderr]     |
[INFO] [stderr] 128 |             (a, b, c, d, 2) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:134:23
[INFO] [stderr]     |
[INFO] [stderr] 134 |             (a, b, c, d, 3) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:140:23
[INFO] [stderr]     |
[INFO] [stderr] 140 |             (a, b, c, d, 4) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:145:23
[INFO] [stderr]     |
[INFO] [stderr] 145 |             (a, b, c, d, 5) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out_addr`
[INFO] [stderr]    --> src/main.rs:146:22
[INFO] [stderr]     |
[INFO] [stderr] 146 |                 let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stderr]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:154:23
[INFO] [stderr]     |
[INFO] [stderr] 154 |             (a, b, c, d, 6) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out_addr`
[INFO] [stderr]    --> src/main.rs:155:22
[INFO] [stderr]     |
[INFO] [stderr] 155 |                 let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stderr]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:163:23
[INFO] [stderr]     |
[INFO] [stderr] 163 |             (a, b, c, d, 7) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:173:23
[INFO] [stderr]     |
[INFO] [stderr] 173 |             (a, b, c, d, 8) => {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]    --> src/main.rs:185:17
[INFO] [stderr]     |
[INFO] [stderr] 185 |                 d => {
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `out_addr`
[INFO] [stderr]    --> src/main.rs:186:26
[INFO] [stderr]     |
[INFO] [stderr] 186 |                     let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stderr]     |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rand_2_addr`
[INFO] [stderr]    --> src/main.rs:186:49
[INFO] [stderr]     |
[INFO] [stderr] 186 |                     let (out_addr, rand_1_addr, rand_2_addr) =
[INFO] [stderr]     |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rand_2_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:279:14
[INFO] [stderr]     |
[INFO] [stderr] 279 |         let (memory, output) = intcode(vec![3, 0, 4, 0, 99], vec![1]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `output`
[INFO] [stderr]    --> src/main.rs:285:22
[INFO] [stderr]     |
[INFO] [stderr] 285 |         let (memory, output) = intcode(vec![1002, 4, 3, 4, 33], vec![1]);
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `output`
[INFO] [stderr]    --> src/main.rs:291:22
[INFO] [stderr]     |
[INFO] [stderr] 291 |         let (memory, output) = intcode(vec![1101, 100, -1, 4, 0], vec![1]);
[INFO] [stderr]     |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:298:14
[INFO] [stderr]     |
[INFO] [stderr] 298 |         let (memory, output) = runWithInput(&input, vec![1]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:304:14
[INFO] [stderr]     |
[INFO] [stderr] 304 |         let (memory, output) = intcode(vec![3, 9, 8, 9, 10, 9, 4, 9, 99, -1, 8], vec![8]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:310:14
[INFO] [stderr]     |
[INFO] [stderr] 310 |         let (memory, output) = intcode(vec![3, 9, 8, 9, 10, 9, 4, 9, 99, -1, 8], vec![7]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:316:14
[INFO] [stderr]     |
[INFO] [stderr] 316 |         let (memory, output) = intcode(vec![3, 9, 7, 9, 10, 9, 4, 9, 99, -1, 8], vec![7]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:322:14
[INFO] [stderr]     |
[INFO] [stderr] 322 |         let (memory, output) = intcode(vec![3, 9, 7, 9, 10, 9, 4, 9, 99, -1, 8], vec![8]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:328:14
[INFO] [stderr]     |
[INFO] [stderr] 328 |         let (memory, output) = intcode(vec![3, 3, 1108, -1, 8, 3, 4, 3, 99], vec![8]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:334:14
[INFO] [stderr]     |
[INFO] [stderr] 334 |         let (memory, output) = intcode(vec![3, 3, 1108, -1, 8, 3, 4, 3, 99], vec![7]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:340:14
[INFO] [stderr]     |
[INFO] [stderr] 340 |         let (memory, output) = intcode(vec![3, 3, 1107, -1, 8, 3, 4, 3, 99], vec![4]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:346:14
[INFO] [stderr]     |
[INFO] [stderr] 346 |         let (memory, output) = intcode(vec![3, 3, 1107, -1, 8, 3, 4, 3, 99], vec![9]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:352:14
[INFO] [stderr]     |
[INFO] [stderr] 352 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:361:14
[INFO] [stderr]     |
[INFO] [stderr] 361 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:370:14
[INFO] [stderr]     |
[INFO] [stderr] 370 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:379:14
[INFO] [stderr]     |
[INFO] [stderr] 379 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:388:14
[INFO] [stderr]     |
[INFO] [stderr] 388 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:401:14
[INFO] [stderr]     |
[INFO] [stderr] 401 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:414:14
[INFO] [stderr]     |
[INFO] [stderr] 414 |         let (memory, output) = intcode(
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:428:14
[INFO] [stderr]     |
[INFO] [stderr] 428 |         let (memory, output) = runWithInput(&input, vec![5]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:442:14
[INFO] [stderr]     |
[INFO] [stderr] 442 |         let (memory, output) = intcode(input.clone(), vec![]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:449:14
[INFO] [stderr]     |
[INFO] [stderr] 449 |         let (memory, output) = intcode(input.clone(), vec![]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:460:14
[INFO] [stderr]     |
[INFO] [stderr] 460 |         let (memory, output) = intcode(input.clone(), vec![]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:468:14
[INFO] [stderr]     |
[INFO] [stderr] 468 |         let (memory, output) = runWithInput(&input, vec![1]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/main.rs:476:14
[INFO] [stderr]     |
[INFO] [stderr] 476 |         let (memory, output) = runWithInput(&input, vec![2]);
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let mut codes: Vec<isize> = program
[INFO] [stderr]    |         ----^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `trim_dead_memory`
[INFO] [stderr]   --> src/main.rs:91:4
[INFO] [stderr]    |
[INFO] [stderr] 91 | fn trim_dead_memory(mem: &Vec<isize>) -> Vec<isize> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `runWithInput` should have a snake case name
[INFO] [stderr]   --> src/main.rs:28:4
[INFO] [stderr]    |
[INFO] [stderr] 28 | fn runWithInput(program: &str, input: Vec<isize>) -> (Vec<isize>, Vec<isize>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `run_with_input`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 42 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.45s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/aoc_2019_intcode-4ac056bf8b93f75f
[INFO] [stdout] 
[INFO] [stdout] running 33 tests
[INFO] [stdout] test day_2::part_1_example_1 ... ok
[INFO] [stdout] test day_2::part_1_example_4 ... ok
[INFO] [stdout] test day_2::part_1_example_6 ... ok
[INFO] [stdout] test day_2::part_1_puzzle ... ok
[INFO] [stdout] test day_5::part_1_example_2 ... ok
[INFO] [stdout] test day_5::part_1_puzzle ... ok
[INFO] [stdout] test day_5::part_2_example_1_match ... ok
[INFO] [stdout] test day_5::part_2_example_2_lt ... ok
[INFO] [stdout] test day_5::part_1_example_3 ... ok
[INFO] [stdout] test day_5::part_2_example_1_no_match ... ok
[INFO] [stdout] test day_5::part_2_example_4_lt ... ok
[INFO] [stdout] test day_5::part_2_example_6_not_0 ... ok
[INFO] [stdout] test day_5::part_2_example_7_eq_8 ... ok
[INFO] [stdout] test day_5::part_2_example_2_not_lt ... ok
[INFO] [stdout] test day_5::part_2_example_7_gt_8 ... ok
[INFO] [stdout] test day_5::part_2_example_7_lt_8 ... ok
[INFO] [stdout] test day_9::part_1_example_1 ... ok
[INFO] [stdout] test day_5::part_2_example_3_no_match ... ok
[INFO] [stdout] test day_5::part_2_example_3_match ... ok
[INFO] [stdout] test day_5::part_2_example_5_not_0 ... ok
[INFO] [stdout] test day_5::part_2_puzzle ... ok
[INFO] [stdout] test day_9::part_1_example_2 ... ok
[INFO] [stdout] test day_9::part_1_example_3 ... ok
[INFO] [stdout] test day_2::part_1_example_3 ... ok
[INFO] [stdout] test day_5::part_2_example_6_0 ... ok
[INFO] [stdout] test day_2::part_1_example_2 ... ok
[INFO] [stdout] test day_5::part_1_example_1 ... ok
[INFO] [stdout] test day_2::part_1_example_5 ... ok
[INFO] [stdout] test day_5::part_2_example_5_0 ... ok
[INFO] [stdout] test day_9::part_1_puzzle ... ok
[INFO] [stdout] test day_5::part_2_example_4_not_lt ... ok
[INFO] [stdout] test day_9::part_2_puzzle ... ok
[INFO] [stdout] test day_2::part_2_puzzle ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0d6fdbcf516d4f3df2860ec13f24371a9cc50c93a436f5b03385ce8a4c691138", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d6fdbcf516d4f3df2860ec13f24371a9cc50c93a436f5b03385ce8a4c691138", kill_on_drop: false }`
[INFO] [stdout] 0d6fdbcf516d4f3df2860ec13f24371a9cc50c93a436f5b03385ce8a4c691138
