[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] checking jakeec/aoc_2019_intcode against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] /workspace/builds/worker-5-tc2/source/.git: No space left on device [INFO] checking jakeec/aoc_2019_intcode against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] /workspace/builds/worker-5-tc2/source/.git: No space left on device [INFO] checking jakeec/aoc_2019_intcode against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-5-tc2/source': No space left on device [INFO] checking jakeec/aoc_2019_intcode against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakeec%2Faoc_2019_intcode" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakeec/aoc_2019_intcode on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75cd5fb255cda7505444fa445b235d782ad7e9cb740a2a0946fc1c681dcbf3ab [INFO] running `Command { std: "docker" "start" "-a" "75cd5fb255cda7505444fa445b235d782ad7e9cb740a2a0946fc1c681dcbf3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75cd5fb255cda7505444fa445b235d782ad7e9cb740a2a0946fc1c681dcbf3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75cd5fb255cda7505444fa445b235d782ad7e9cb740a2a0946fc1c681dcbf3ab", kill_on_drop: false }` [INFO] [stdout] 75cd5fb255cda7505444fa445b235d782ad7e9cb740a2a0946fc1c681dcbf3ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a34631b4bceb0d08c5b5e446c394bffd1415539e9818e94c7afd12bd44005b1 [INFO] running `Command { std: "docker" "start" "-a" "1a34631b4bceb0d08c5b5e446c394bffd1415539e9818e94c7afd12bd44005b1", kill_on_drop: false }` [INFO] [stderr] Checking aoc_2019_intcode v0.1.0 (/opt/rustwide/workdir) [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 = 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: 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: function `runWithInput` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn runWithInput(program: &str, input: Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_dead_memory` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn trim_dead_memory(mem: &Vec) -> Vec { [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) -> (Vec, Vec) { [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut codes: Vec = 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: 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: function `trim_dead_memory` is never used [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn trim_dead_memory(mem: &Vec) -> Vec { [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) -> (Vec, Vec) { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "1a34631b4bceb0d08c5b5e446c394bffd1415539e9818e94c7afd12bd44005b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a34631b4bceb0d08c5b5e446c394bffd1415539e9818e94c7afd12bd44005b1", kill_on_drop: false }` [INFO] [stdout] 1a34631b4bceb0d08c5b5e446c394bffd1415539e9818e94c7afd12bd44005b1