[INFO] cloning repository https://github.com/jsdw/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsdw/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsdw%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsdw%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 094c2edfc4880a572ef58cd2fb4618f4551e8ce6 [INFO] checking jsdw/advent-of-code-2019 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsdw%2Fadvent-of-code-2019" "/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/jsdw/advent-of-code-2019 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jsdw/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/jsdw/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/jsdw/advent-of-code-2019 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/jsdw/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded pathfinding v2.0.3 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", 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] cf25c3d7efe510bd39f979f76a5a67f713ebc815edd465f781612a39bafc40ec [INFO] running `Command { std: "docker" "start" "-a" "cf25c3d7efe510bd39f979f76a5a67f713ebc815edd465f781612a39bafc40ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf25c3d7efe510bd39f979f76a5a67f713ebc815edd465f781612a39bafc40ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf25c3d7efe510bd39f979f76a5a67f713ebc815edd465f781612a39bafc40ec", kill_on_drop: false }` [INFO] [stdout] cf25c3d7efe510bd39f979f76a5a67f713ebc815edd465f781612a39bafc40ec [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=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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] a21ccbf34beea832bf22cf599d7cedbd3c5a6c7e7af78a7e8b87e06ae5c59741 [INFO] running `Command { std: "docker" "start" "-a" "a21ccbf34beea832bf22cf599d7cedbd3c5a6c7e7af78a7e8b87e06ae5c59741", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking pathfinding v2.0.3 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> src/days/day15.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | .chain([(end,0)].into_iter().cloned()) [INFO] [stdout] | ^^^^^^ expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected type `((i64, i64), {integer})` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &((i64, i64), usize)` [INFO] [stdout] --> src/days/day15.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | .chain([(end,0)].into_iter().cloned()) [INFO] [stdout] | ^^^^^ expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected type `((i64, i64), {integer})` [INFO] [stdout] found reference `&((i64, i64), usize)` [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `std::iter::Cloned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> src/days/day15.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | .chain([(end,0)].into_iter().cloned()) [INFO] [stdout] | ^^^^^^ expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected type `((i64, i64), {integer})` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &((i64, i64), usize)` [INFO] [stdout] --> src/days/day15.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | .chain([(end,0)].into_iter().cloned()) [INFO] [stdout] | ^^^^^ expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected type `((i64, i64), {integer})` [INFO] [stdout] found reference `&((i64, i64), usize)` [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `std::iter::Cloned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> src/days/day15.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | .chain([(end,0)].into_iter().cloned()) [INFO] [stdout] | ^^^^^ expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected type `((i64, i64), {integer})` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `std::iter::Cloned>` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `std::iter::Cloned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Iterator>::Item == &_` [INFO] [stdout] --> src/days/day15.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | .chain([(end,0)].into_iter().cloned()) [INFO] [stdout] | ^^^^^ expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected type `((i64, i64), {integer})` [INFO] [stdout] found reference `&_` [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `std::iter::Cloned>` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoIterator` for `std::iter::Cloned>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/days/day15.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | .collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Iterator>::Item = ((i64, i64), usize)` [INFO] [stdout] which is required by `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] `std::iter::Cloned>: Iterator` [INFO] [stdout] which is required by `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] which is required by `&mut std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day15.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | .min_by_key(|&&d| *distance_from_end.get(&next_coords(curr, d)).unwrap_or(&std::usize::MAX)) [INFO] [stdout] | ^- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `droid::Direction`, found reference [INFO] [stdout] | help: you can probably remove the explicit borrow: `d` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `droid::Direction` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `droid::Direction` cannot be dereferenced [INFO] [stdout] --> src/days/day15.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let d = *[Direction::North, Direction::East, Direction::South, Direction::West] [INFO] [stdout] | _____________________^ [INFO] [stdout] 117 | | .into_iter() [INFO] [stdout] 118 | | .min_by_key(|&&d| *distance_from_end.get(&next_coords(curr, d)).unwrap_or(&std::usize::MAX)) [INFO] [stdout] 119 | | .unwrap(); [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/days/day15.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | .collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `> as Iterator>::Item = ((i64, i64), usize)` [INFO] [stdout] which is required by `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] `std::iter::Cloned>: Iterator` [INFO] [stdout] which is required by `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] `std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] which is required by `&mut std::iter::Chain, [closure@src/days/day15.rs:109:14: 109:27]>, std::iter::Cloned>>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day15.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | .min_by_key(|&&d| *distance_from_end.get(&next_coords(curr, d)).unwrap_or(&std::usize::MAX)) [INFO] [stdout] | ^- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `droid::Direction`, found reference [INFO] [stdout] | help: you can probably remove the explicit borrow: `d` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `droid::Direction` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `droid::Direction` cannot be dereferenced [INFO] [stdout] --> src/days/day15.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let d = *[Direction::North, Direction::East, Direction::South, Direction::West] [INFO] [stdout] | _____________________^ [INFO] [stdout] 117 | | .into_iter() [INFO] [stdout] 118 | | .min_by_key(|&&d| *distance_from_end.get(&next_coords(curr, d)).unwrap_or(&std::usize::MAX)) [INFO] [stdout] 119 | | .unwrap(); [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day18.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | .map(move |&(xd,yd)| (x+xd,y+yd)) [INFO] [stdout] | ^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `({integer}, {integer})` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day18.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | .map(move |&(xd,yd)| (x+xd,y+yd)) [INFO] [stdout] | ^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] | expected tuple, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `({integer}, {integer})` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day12.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|&d| find_dimension_repeating(moons.clone(), d)) [INFO] [stdout] | ^-- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `Dimension`, found reference [INFO] [stdout] | help: did you mean `d`: `&Dimension` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Dimension` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/days/day12.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|&d| find_dimension_repeating(moons.clone(), d)) [INFO] [stdout] | ^-- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected enum `Dimension`, found reference [INFO] [stdout] | help: did you mean `d`: `&Dimension` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Dimension` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` [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] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a21ccbf34beea832bf22cf599d7cedbd3c5a6c7e7af78a7e8b87e06ae5c59741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a21ccbf34beea832bf22cf599d7cedbd3c5a6c7e7af78a7e8b87e06ae5c59741", kill_on_drop: false }` [INFO] [stdout] a21ccbf34beea832bf22cf599d7cedbd3c5a6c7e7af78a7e8b87e06ae5c59741