[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] testing linusconcepcion/advent2020 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linusconcepcion/advent2020 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-94/source/Cargo.toml [INFO] crate git repo https://github.com/linusconcepcion/advent2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 667c5661e08519adae383ab0096e0bd0c545b5fa0663492a540f20e88eb2c088 [INFO] running `Command { std: "docker" "start" "-a" "667c5661e08519adae383ab0096e0bd0c545b5fa0663492a540f20e88eb2c088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "667c5661e08519adae383ab0096e0bd0c545b5fa0663492a540f20e88eb2c088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667c5661e08519adae383ab0096e0bd0c545b5fa0663492a540f20e88eb2c088", kill_on_drop: false }` [INFO] [stdout] 667c5661e08519adae383ab0096e0bd0c545b5fa0663492a540f20e88eb2c088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31beb7c8e62c57db5918802cff946909c1c60222636ed6900df062abdeddd985 [INFO] running `Command { std: "docker" "start" "-a" "31beb7c8e62c57db5918802cff946909c1c60222636ed6900df062abdeddd985", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling 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] = note: expected fn pointer `for<'r> fn(&'r str) -> Vec` [INFO] [stdout] found closure `[closure@src/day19.rs:77:77: 77:132]` [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2020` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "31beb7c8e62c57db5918802cff946909c1c60222636ed6900df062abdeddd985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31beb7c8e62c57db5918802cff946909c1c60222636ed6900df062abdeddd985", kill_on_drop: false }` [INFO] [stdout] 31beb7c8e62c57db5918802cff946909c1c60222636ed6900df062abdeddd985