[INFO] cloning repository https://github.com/cpdean/aoc_2019_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpdean/aoc_2019_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89ebae6331d4ed3de8e75ea5f7d595cbc71db266 [INFO] checking cpdean/aoc_2019_rust/89ebae6331d4ed3de8e75ea5f7d595cbc71db266 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpdean%2Faoc_2019_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cpdean/aoc_2019_rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cpdean/aoc_2019_rust [INFO] finished tweaking git repo https://github.com/cpdean/aoc_2019_rust [INFO] tweaked toml for git repo https://github.com/cpdean/aoc_2019_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cpdean/aoc_2019_rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acaee725ce88942787c1f651e2df9619def9d4f1b2664aef2aa4b1d6488c8f8f [INFO] running `Command { std: "docker" "start" "-a" "acaee725ce88942787c1f651e2df9619def9d4f1b2664aef2aa4b1d6488c8f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acaee725ce88942787c1f651e2df9619def9d4f1b2664aef2aa4b1d6488c8f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acaee725ce88942787c1f651e2df9619def9d4f1b2664aef2aa4b1d6488c8f8f", kill_on_drop: false }` [INFO] [stdout] acaee725ce88942787c1f651e2df9619def9d4f1b2664aef2aa4b1d6488c8f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 779d4ea6479fe758bdf5a79add57a520de486581f43c281071e82efa23efb981 [INFO] running `Command { std: "docker" "start" "-a" "779d4ea6479fe758bdf5a79add57a520de486581f43c281071e82efa23efb981", kill_on_drop: false }` [INFO] [stderr] Checking old_days v0.1.0 (/opt/rustwide/workdir/old_days) [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stderr] Checking day20 v0.1.0 (/opt/rustwide/workdir/day20) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> day14/src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | quantity, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `quantity: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_rule` [INFO] [stdout] --> day14/src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let target_rule = all_rules [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number_of_ore` [INFO] [stdout] --> day14/src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | fn how_many_fuel(number_of_ore: i32, target: Ingredient, all_rules: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_number_of_ore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quantity` and `identifier` are never read [INFO] [stdout] --> day14/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Ingredient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 22 | quantity: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | identifier: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ingredient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `output` are never read [INFO] [stdout] --> day14/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct ProductionRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 28 | input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | output: Ingredient, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionRule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `how_many_fuel` is never used [INFO] [stdout] --> day14/src/main.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn how_many_fuel(number_of_ore: i32, target: Ingredient, all_rules: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `i8` [INFO] [stdout] --> day16/src/main.rs:265:51 [INFO] [stdout] | [INFO] [stdout] 265 | let b: Vec = base_pattern(1).take(8).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `i8` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day16/src/main.rs:265:43 [INFO] [stdout] | [INFO] [stdout] 265 | let b: Vec = base_pattern(1).take(8).collect(); [INFO] [stdout] | --------------- ^^^^^^^ `Iterator::Item` is `i8` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Iterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `i8` [INFO] [stdout] --> day16/src/main.rs:271:51 [INFO] [stdout] | [INFO] [stdout] 271 | let b: Vec = base_pattern(2).take(8).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `i8` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day16/src/main.rs:271:43 [INFO] [stdout] | [INFO] [stdout] 271 | let b: Vec = base_pattern(2).take(8).collect(); [INFO] [stdout] | --------------- ^^^^^^^ `Iterator::Item` is `i8` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Iterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `i8` [INFO] [stdout] --> day16/src/main.rs:276:51 [INFO] [stdout] | [INFO] [stdout] 276 | let b: Vec = base_pattern(3).take(8).collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] = help: the trait `FromIterator` is implemented for `Vec` [INFO] [stdout] = help: for that trait implementation, expected `i32`, found `i8` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> day16/src/main.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | let b: Vec = base_pattern(3).take(8).collect(); [INFO] [stdout] | --------------- ^^^^^^^ `Iterator::Item` is `i8` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Iterator` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:1996:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> day16/src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let len = s.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_little` [INFO] [stdout] --> day16/src/main.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | for (i_little, (left, right)) in self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i_little` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> day16/src/main.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | .filter(|(i, e)| *e != 0) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> day16/src/main.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | .map(|(i, e)| i) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `day16` (bin "day16" test) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> old_days/examples/day07.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asteroid` [INFO] [stdout] --> old_days/examples/day10.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | for asteroid in &non_blocked_asteroids { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asteroid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> old_days/examples/day07.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | let status: Vec<(&InterruptState, &&str, &&RefCell>)> = schedule_cycle [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interrupt_state` [INFO] [stdout] --> old_days/examples/day07.rs:581:15 [INFO] [stdout] | [INFO] [stdout] 581 | let ((interrupt_state, n), p, ix, pipe1, pipe2) = schedule_cycle.remove(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interrupt_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> old_days/examples/day07.rs:587:17 [INFO] [stdout] | [INFO] [stdout] 587 | let status: Vec<(&InterruptState, &&str, &&RefCell>)> = schedule_cycle [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "779d4ea6479fe758bdf5a79add57a520de486581f43c281071e82efa23efb981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "779d4ea6479fe758bdf5a79add57a520de486581f43c281071e82efa23efb981", kill_on_drop: false }` [INFO] [stdout] 779d4ea6479fe758bdf5a79add57a520de486581f43c281071e82efa23efb981