[INFO] cloning repository https://github.com/linusconcepcion/advent2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linusconcepcion/advent2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b204bf228fdb176c49b277a2ee9919345356a6c [INFO] checking linusconcepcion/advent2020 against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/linusconcepcion/advent2020 [INFO] finished tweaking git repo https://github.com/linusconcepcion/advent2020 [INFO] tweaked toml for git repo https://github.com/linusconcepcion/advent2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/linusconcepcion/advent2020 on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/linusconcepcion/advent2020 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking linusconcepcion/advent2020 against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/linusconcepcion/advent2020 [INFO] finished tweaking git repo https://github.com/linusconcepcion/advent2020 [INFO] tweaked toml for git repo https://github.com/linusconcepcion/advent2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/linusconcepcion/advent2020 on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/linusconcepcion/advent2020 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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98edf74c67394bdf3d727486cd7c56ca072833d39a3ed7a09d20dc9f3d29472b [INFO] running `Command { std: "docker" "start" "-a" "98edf74c67394bdf3d727486cd7c56ca072833d39a3ed7a09d20dc9f3d29472b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98edf74c67394bdf3d727486cd7c56ca072833d39a3ed7a09d20dc9f3d29472b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98edf74c67394bdf3d727486cd7c56ca072833d39a3ed7a09d20dc9f3d29472b", kill_on_drop: false }` [INFO] [stdout] 98edf74c67394bdf3d727486cd7c56ca072833d39a3ed7a09d20dc9f3d29472b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95f00d67d596ed32603f2b9bcb156ca01516d5e34b4a0e883550a4c4f53113b7 [INFO] running `Command { std: "docker" "start" "-a" "95f00d67d596ed32603f2b9bcb156ca01516d5e34b4a0e883550a4c4f53113b7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking advent2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day19.rs:77:77 [INFO] [stdout] | [INFO] [stdout] 77 | None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) }) [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a str) -> Vec` [INFO] [stdout] found closure `{closure@src/day19.rs:77:77: 77:82}` [INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables [INFO] [stdout] --> src/day19.rs:77:109 [INFO] [stdout] | [INFO] [stdout] 77 | None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) }) [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^ `counters` captured here [INFO] [stdout] | | | [INFO] [stdout] | | `cache` captured here [INFO] [stdout] | `all` captured here [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/day19.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day19.rs:77:77 [INFO] [stdout] | [INFO] [stdout] 77 | None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) }) [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found closure [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a> fn(&'a str) -> Vec` [INFO] [stdout] found closure `{closure@src/day19.rs:77:77: 77:82}` [INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables [INFO] [stdout] --> src/day19.rs:77:109 [INFO] [stdout] | [INFO] [stdout] 77 | None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) }) [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^ `counters` captured here [INFO] [stdout] | | | [INFO] [stdout] | | `cache` captured here [INFO] [stdout] | `all` captured here [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/day19.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | for mut field in fields { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/day19.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day16.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | for mut field in fields { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/day19.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2020` (bin "advent2020" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent2020` (bin "advent2020") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95f00d67d596ed32603f2b9bcb156ca01516d5e34b4a0e883550a4c4f53113b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f00d67d596ed32603f2b9bcb156ca01516d5e34b4a0e883550a4c4f53113b7", kill_on_drop: false }` [INFO] [stdout] 95f00d67d596ed32603f2b9bcb156ca01516d5e34b4a0e883550a4c4f53113b7