[INFO] cloning repository https://github.com/Fryuni/advent-of-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fryuni/advent-of-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFryuni%2Fadvent-of-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFryuni%2Fadvent-of-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20c0298666f9e426087a13076730896814fd9533 [INFO] checking Fryuni/advent-of-rust against master#1280928a99ad3ef2c5735b42dc8852456ae3b974 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFryuni%2Fadvent-of-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/Fryuni/advent-of-rust on toolchain 1280928a99ad3ef2c5735b42dc8852456ae3b974 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Fryuni/advent-of-rust [INFO] finished tweaking git repo https://github.com/Fryuni/advent-of-rust [INFO] tweaked toml for git repo https://github.com/Fryuni/advent-of-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Fryuni/advent-of-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" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.42.3 [INFO] [stderr] Downloaded minisat v0.4.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97ff52b9db20a12bd94151ebef2aac44664c61d07b3274b2f6c4e07600732fee [INFO] running `Command { std: "docker" "start" "-a" "97ff52b9db20a12bd94151ebef2aac44664c61d07b3274b2f6c4e07600732fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97ff52b9db20a12bd94151ebef2aac44664c61d07b3274b2f6c4e07600732fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ff52b9db20a12bd94151ebef2aac44664c61d07b3274b2f6c4e07600732fee", kill_on_drop: false }` [INFO] [stdout] 97ff52b9db20a12bd94151ebef2aac44664c61d07b3274b2f6c4e07600732fee [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 115f5bb169acb6a5004a45be9abad0c59d4c7747d4595b736a9b098b37d79701 [INFO] running `Command { std: "docker" "start" "-a" "115f5bb169acb6a5004a45be9abad0c59d4c7747d4595b736a9b098b37d79701", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling minisat v0.4.4 [INFO] [stderr] Checking advent-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "115f5bb169acb6a5004a45be9abad0c59d4c7747d4595b736a9b098b37d79701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115f5bb169acb6a5004a45be9abad0c59d4c7747d4595b736a9b098b37d79701", kill_on_drop: false }` [INFO] [stdout] 115f5bb169acb6a5004a45be9abad0c59d4c7747d4595b736a9b098b37d79701 [INFO] checking Fryuni/advent-of-rust against try#9b9e20bc79549d80ab413f49d990713851172cc1 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFryuni%2Fadvent-of-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fryuni/advent-of-rust on toolchain 9b9e20bc79549d80ab413f49d990713851172cc1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Fryuni/advent-of-rust [INFO] finished tweaking git repo https://github.com/Fryuni/advent-of-rust [INFO] tweaked toml for git repo https://github.com/Fryuni/advent-of-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Fryuni/advent-of-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" "+9b9e20bc79549d80ab413f49d990713851172cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fbdb5b71ae3d92fefd5297656cb72eef4d6152dc1ce03bff9d53de8bc0dee0c [INFO] running `Command { std: "docker" "start" "-a" "1fbdb5b71ae3d92fefd5297656cb72eef4d6152dc1ce03bff9d53de8bc0dee0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fbdb5b71ae3d92fefd5297656cb72eef4d6152dc1ce03bff9d53de8bc0dee0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbdb5b71ae3d92fefd5297656cb72eef4d6152dc1ce03bff9d53de8bc0dee0c", kill_on_drop: false }` [INFO] [stdout] 1fbdb5b71ae3d92fefd5297656cb72eef4d6152dc1ce03bff9d53de8bc0dee0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9b9e20bc79549d80ab413f49d990713851172cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 248f93326bf72eae431803bea3eae4fa93227c359e67ce2f6e77e26bcf930f7f [INFO] running `Command { std: "docker" "start" "-a" "248f93326bf72eae431803bea3eae4fa93227c359e67ce2f6e77e26bcf930f7f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bindgen v0.42.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling minisat v0.4.4 [INFO] [stderr] Checking advent-of-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/advent_2020/day19_with_nom.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | Some(rule) => helper::nom::owned_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the function `owned_context` [INFO] [stdout] 141 | format!("Rule::Ref({})", idx), [INFO] [stdout] 142 | self.rule_to_parser(rule), [INFO] [stdout] | ------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Parser<&str, (), nom::VerboseError<&str>>` [INFO] [stdout] = help: the following types implement trait `Parser`: [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] + 'a)> as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] note: required by a bound in `owned_context` [INFO] [stdout] --> src/helper/nom.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn owned_context( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 143 | F: Parser>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `owned_context` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 140 | Some(rule) => helper::nom::owned_context::<&str, F, ()>( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/advent_2020/day19_with_nom.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | Some(rule) => helper::nom::owned_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the function `owned_context` [INFO] [stdout] 141 | format!("Rule::Ref({})", idx), [INFO] [stdout] 142 | self.rule_to_parser(rule), [INFO] [stdout] | ------------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Parser<&str, (), nom::VerboseError<&str>>` [INFO] [stdout] = help: the following types implement trait `Parser`: [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] + 'a)> as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] as Parser> [INFO] [stdout] note: required by a bound in `owned_context` [INFO] [stdout] --> src/helper/nom.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn owned_context( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 143 | F: Parser>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `owned_context` [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 140 | Some(rule) => helper::nom::owned_context::<&str, F, ()>( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: concrete type differs from previous defining opaque type use [INFO] [stdout] --> src/advent_2020/day19_with_nom.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / { [INFO] [stdout] 129 | | move |input| match rule { [INFO] [stdout] 130 | | Rule::Lit(lit) => helper::nom::owned_context( [INFO] [stdout] 131 | | format!("rule {:?}", rule), [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ expected `{type error}`, got `{closure@src/advent_2020/day19_with_nom.rs:129:9: 129:21}` [INFO] [stdout] | [INFO] [stdout] note: previous use here [INFO] [stdout] --> src/advent_2020/day19_with_nom.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | self.rule_to_parser(rule), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error: concrete type differs from previous defining opaque type use [INFO] [stdout] --> src/advent_2020/day19_with_nom.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / { [INFO] [stdout] 129 | | move |input| match rule { [INFO] [stdout] 130 | | Rule::Lit(lit) => helper::nom::owned_context( [INFO] [stdout] 131 | | format!("rule {:?}", rule), [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____^ expected `{type error}`, got `{closure@src/advent_2020/day19_with_nom.rs:129:9: 129:21}` [INFO] [stdout] | [INFO] [stdout] note: previous use here [INFO] [stdout] --> src/advent_2020/day19_with_nom.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | self.rule_to_parser(rule), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-rust` (bin "advent-of-rust") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent-of-rust` (bin "advent-of-rust" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "248f93326bf72eae431803bea3eae4fa93227c359e67ce2f6e77e26bcf930f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248f93326bf72eae431803bea3eae4fa93227c359e67ce2f6e77e26bcf930f7f", kill_on_drop: false }` [INFO] [stdout] 248f93326bf72eae431803bea3eae4fa93227c359e67ce2f6e77e26bcf930f7f