[INFO] updating cached repository https://github.com/ivansandrk/AdventOfCode2019 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 73f80d2d16582a71ad34674342f525902b4bd051 [INFO] checking ivansandrk/AdventOfCode2019 against try#d93021f5faa26e4f9d2719e79f9974e06aa40e17 for pr-71873 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivansandrk%2FAdventOfCode2019" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivansandrk/AdventOfCode2019 on toolchain d93021f5faa26e4f9d2719e79f9974e06aa40e17 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d93021f5faa26e4f9d2719e79f9974e06aa40e17" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ivansandrk/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/ivansandrk/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/ivansandrk/AdventOfCode2019 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ivansandrk/AdventOfCode2019 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d93021f5faa26e4f9d2719e79f9974e06aa40e17" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d93021f5faa26e4f9d2719e79f9974e06aa40e17" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c36657220bd0dc33181305c484aa8bfac35bdf5a564a87bb4a9a8ebb95686b3 [INFO] running `"docker" "start" "-a" "8c36657220bd0dc33181305c484aa8bfac35bdf5a564a87bb4a9a8ebb95686b3"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/main.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | fn foo(v: &mut Vec) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/bin/main.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | fn foo(v: &mut Vec) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/bin/day5.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | let mut computer = cpu::Computer::new(mem.clone(), vec![1]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stderr] | -------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/bin/day5.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | println!("{:?}", computer.run()); [INFO] [stderr] | ^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stderr] | ---------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/bin/day5.rs:17:24 [INFO] [stderr] | [INFO] [stderr] 17 | let mut computer = cpu::Computer::new(mem.clone(), vec![5]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stderr] | -------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/bin/day5.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | println!("{:?}", computer.run()); [INFO] [stderr] | ^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stderr] | ---------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | let mut computer = cpu::Computer::new(mem.clone(), vec![1]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stderr] | -------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | println!("{:?}", computer.run()); [INFO] [stderr] | ^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stderr] | ---------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | let mut computer = cpu::Computer::new(mem.clone(), vec![2]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stderr] | -------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | println!("{:?}", computer.run()); [INFO] [stderr] | ^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stderr] | ---------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | let mut computer = cpu::Computer::new(mem.clone(), vec![1]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stderr] | -------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | println!("{:?}", computer.run()); [INFO] [stderr] | ^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stderr] | ---------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | let mut computer = cpu::Computer::new(mem.clone(), vec![2]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ----------- ------- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn new(memory: Vec) -> Computer { [INFO] [stderr] | -------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/bin/day9.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | println!("{:?}", computer.run()); [INFO] [stderr] | ^^^- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] | [INFO] [stderr] ::: src/bin/cpu.rs:171:3 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn run(&mut self, input: Vec) -> Vec { [INFO] [stderr] | ---------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/day13.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let mut joystick; [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] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `aoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/day2.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | println!("{:?}", run_program(mem.clone(), 12, 2)); [INFO] [stderr] | ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0061`. [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `aoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/day2.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | if run_program(mem.clone(), noun, verb) == TARGET_OUTPUT { [INFO] [stderr] | ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dump` [INFO] [stderr] --> src/bin/day17.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn dump(V: &Vec>, row: i32, col: i32, dir: usize) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `determine_drawing_function` [INFO] [stderr] --> src/bin/day17.rs:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | fn determine_drawing_function(V: &Vec>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:7:40 [INFO] [stderr] | [INFO] [stderr] 7 | fn is_intersection(i: usize, j: usize, V: &Vec>) -> bool { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dump` [INFO] [stderr] --> src/bin/day17.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn dump(V: &Vec>, row: i32, col: i32, dir: usize) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | fn dump(V: &Vec>, row: i32, col: i32, dir: usize) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | fn determine_drawing_function(V: &Vec>) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:65:11 [INFO] [stderr] | [INFO] [stderr] 65 | let mut V = Vec::new(); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:89:7 [INFO] [stderr] | [INFO] [stderr] 89 | let V = output_to_vector(&cpu.run(vec![])); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `determine_drawing_function` [INFO] [stderr] --> src/bin/day17.rs:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | fn determine_drawing_function(V: &Vec>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:7:40 [INFO] [stderr] | [INFO] [stderr] 7 | fn is_intersection(i: usize, j: usize, V: &Vec>) -> bool { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | fn dump(V: &Vec>, row: i32, col: i32, dir: usize) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:30:31 [INFO] [stderr] | [INFO] [stderr] 30 | fn determine_drawing_function(V: &Vec>) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:65:11 [INFO] [stderr] | [INFO] [stderr] 65 | let mut V = Vec::new(); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] warning: variable `V` should have a snake case name [INFO] [stderr] --> src/bin/day17.rs:89:7 [INFO] [stderr] | [INFO] [stderr] 89 | let V = output_to_vector(&cpu.run(vec![])); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stderr] [INFO] [stderr] error: could not compile `aoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/day2.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | println!("{:?}", run_program(mem.clone(), 12, 2)); [INFO] [stderr] | ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/day2.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | if run_program(mem.clone(), noun, verb) == TARGET_OUTPUT { [INFO] [stderr] | ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `aoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8c36657220bd0dc33181305c484aa8bfac35bdf5a564a87bb4a9a8ebb95686b3"` [INFO] running `"docker" "rm" "-f" "8c36657220bd0dc33181305c484aa8bfac35bdf5a564a87bb4a9a8ebb95686b3"` [INFO] [stdout] 8c36657220bd0dc33181305c484aa8bfac35bdf5a564a87bb4a9a8ebb95686b3