[INFO] cloning repository https://github.com/KevinMGranger/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinMGranger/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinMGranger%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinMGranger%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7073f6279353e615cf9fb52f87e7deeadb2d47bd [INFO] checking KevinMGranger/aoc2019 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinMGranger%2Faoc2019" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KevinMGranger/aoc2019 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KevinMGranger/aoc2019 [INFO] finished tweaking git repo https://github.com/KevinMGranger/aoc2019 [INFO] tweaked toml for git repo https://github.com/KevinMGranger/aoc2019 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/KevinMGranger/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cf14b7a7774ad50751466f65568db599fd49103a9e537d350efb022ce37c98a [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" "0cf14b7a7774ad50751466f65568db599fd49103a9e537d350efb022ce37c98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cf14b7a7774ad50751466f65568db599fd49103a9e537d350efb022ce37c98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf14b7a7774ad50751466f65568db599fd49103a9e537d350efb022ce37c98a", kill_on_drop: false }` [INFO] [stdout] 0cf14b7a7774ad50751466f65568db599fd49103a9e537d350efb022ce37c98a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cf78e92d279269ebac8ee839fdfcde0313ad68e844ba073ded678390f153e81 [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" "1cf78e92d279269ebac8ee839fdfcde0313ad68e844ba073ded678390f153e81", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.25 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stdout] warning: function is never used: `stdin_range` [INFO] [stdout] --> day04/src/main.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn stdin_range() -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stdin_range` [INFO] [stdout] --> day04/src/main.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn stdin_range() -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day04/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | reader.read_line(&mut line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day04/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | reader.read_line(&mut line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `closest_crossing` [INFO] [stdout] --> day03/src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | closest_crossing: (isize, isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `closest_crossing` [INFO] [stdout] --> day03/src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | closest_crossing: (isize, isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking thiserror v1.0.9 [INFO] [stderr] Checking intcode v0.1.0 (/opt/rustwide/workdir/intcode) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode/src/lib.rs:357:44 [INFO] [stdout] | [INFO] [stdout] 357 | assert_eq!(cpu.execute(None).unwrap(), Event::Halted); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected mutable reference, found enum `Option` [INFO] [stdout] | help: consider mutably borrowing here: `&mut None` [INFO] [stdout] ... [INFO] [stdout] 397 | / tests! { [INFO] [stdout] 398 | | day02_main_example { [INFO] [stdout] 399 | | prog: vec![1,9,10,3,2,3,11,0,99,30,40,50], [INFO] [stdout] 400 | | final: vec![3500,9,10,70, 2,3,11,0,99,30,40,50], [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn FnMut() -> Option` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode/src/lib.rs:382:47 [INFO] [stdout] | [INFO] [stdout] 382 | let res = cpu.execute(input).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected mutable reference, found enum `Option` [INFO] [stdout] | help: consider mutably borrowing here: `&mut input` [INFO] [stdout] ... [INFO] [stdout] 428 | / iotests! { [INFO] [stdout] 429 | | day05_custom_io { [INFO] [stdout] 430 | | prog: vec![3, 5, 4, 5, 99, 0], [INFO] [stdout] 431 | | final: vec![3, 5, 4, 5, 99, 6], [INFO] [stdout] ... | [INFO] [stdout] 440 | | }; [INFO] [stdout] 441 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn FnMut() -> Option` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> intcode/src/lib.rs:445:36 [INFO] [stdout] | [INFO] [stdout] 445 | assert_eq!(cpu.execute(input).unwrap(), event); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected mutable reference, found enum `Option` [INFO] [stdout] | help: consider mutably borrowing here: `&mut input` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn FnMut() -> Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `intcode` [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: build failed [INFO] running `Command { std: "docker" "inspect" "1cf78e92d279269ebac8ee839fdfcde0313ad68e844ba073ded678390f153e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf78e92d279269ebac8ee839fdfcde0313ad68e844ba073ded678390f153e81", kill_on_drop: false }` [INFO] [stdout] 1cf78e92d279269ebac8ee839fdfcde0313ad68e844ba073ded678390f153e81