[INFO] cloning repository https://github.com/JayTee42/rusty-mimasim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JayTee42/rusty-mimasim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayTee42%2Frusty-mimasim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayTee42%2Frusty-mimasim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91cdec9d1e5b941688cc281bc8f2084b58012149 [INFO] checking JayTee42/rusty-mimasim/91cdec9d1e5b941688cc281bc8f2084b58012149 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayTee42%2Frusty-mimasim" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JayTee42/rusty-mimasim 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/JayTee42/rusty-mimasim [INFO] finished tweaking git repo https://github.com/JayTee42/rusty-mimasim [INFO] tweaked toml for git repo https://github.com/JayTee42/rusty-mimasim written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JayTee42/rusty-mimasim 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding minimal-lexical v0.2.1 [INFO] [stderr] Updating nom v5.1.2 -> v7.1.3 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b2cf0a7c6f6a77f54e3bcebca881b8321e8c2dc8b3d2ab6be1a98fcd7fb1d96 [INFO] running `Command { std: "docker" "start" "-a" "6b2cf0a7c6f6a77f54e3bcebca881b8321e8c2dc8b3d2ab6be1a98fcd7fb1d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b2cf0a7c6f6a77f54e3bcebca881b8321e8c2dc8b3d2ab6be1a98fcd7fb1d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2cf0a7c6f6a77f54e3bcebca881b8321e8c2dc8b3d2ab6be1a98fcd7fb1d96", kill_on_drop: false }` [INFO] [stdout] 6b2cf0a7c6f6a77f54e3bcebca881b8321e8c2dc8b3d2ab6be1a98fcd7fb1d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4147e7d4a26da13ce58d76195e93768651199129ddd407a2b82349003f41e2e9 [INFO] running `Command { std: "docker" "start" "-a" "4147e7d4a26da13ce58d76195e93768651199129ddd407a2b82349003f41e2e9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking mimasim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/types/mod.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | pub const ADDRESS_SPACE_WORDS: usize = (1usize << ADDRESS_SPACE_BITS); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const ADDRESS_SPACE_WORDS: usize = (1usize << ADDRESS_SPACE_BITS); [INFO] [stdout] 23 + pub const ADDRESS_SPACE_WORDS: usize = 1usize << ADDRESS_SPACE_BITS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/types/mod.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | pub const ADDRESS_SPACE_WORDS: usize = (1usize << ADDRESS_SPACE_BITS); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const ADDRESS_SPACE_WORDS: usize = (1usize << ADDRESS_SPACE_BITS); [INFO] [stdout] 23 + pub const ADDRESS_SPACE_WORDS: usize = 1usize << ADDRESS_SPACE_BITS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/assembly/error.rs:60:62 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'src> ParserError<'src> [INFO] [stdout] | ---- lifetime `'src` declared here [INFO] [stdout] 59 | { [INFO] [stdout] 60 | pub fn new(line_number: usize, token: Option<&'src str>) -> ParserError [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/assembly/error.rs:60:62 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'src> ParserError<'src> [INFO] [stdout] | ---- lifetime `'src` declared here [INFO] [stdout] 59 | { [INFO] [stdout] 60 | pub fn new(line_number: usize, token: Option<&'src str>) -> ParserError [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/bus/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | _ => (source_bitmask == Xfer::SOURCE_BITMASK_FULL), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - _ => (source_bitmask == Xfer::SOURCE_BITMASK_FULL), [INFO] [stdout] 93 + _ => source_bitmask == Xfer::SOURCE_BITMASK_FULL, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/bus/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | _ => (source_bitmask == Xfer::SOURCE_BITMASK_FULL), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - _ => (source_bitmask == Xfer::SOURCE_BITMASK_FULL), [INFO] [stdout] 93 + _ => source_bitmask == Xfer::SOURCE_BITMASK_FULL, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>: Parser<_, Option, _>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:260:49 [INFO] [stdout] | [INFO] [stdout] 260 | let prefixed_word_token_bin = separated_pair(&opt_sign, tag("0b"), word_token_bin); [INFO] [stdout] | -------------- ^^^^^^^^^ the trait `Fn(_)` is not implemented for `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>`, which is required by `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` to implement `FnOnce(_)` [INFO] [stdout] = note: required for `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` to implement `Parser<_, Option, _>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>: Parser<_, Option, _>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:260:49 [INFO] [stdout] | [INFO] [stdout] 260 | let prefixed_word_token_bin = separated_pair(&opt_sign, tag("0b"), word_token_bin); [INFO] [stdout] | -------------- ^^^^^^^^^ the trait `Fn(_)` is not implemented for `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>`, which is required by `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` to implement `FnOnce(_)` [INFO] [stdout] = note: required for `&impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` to implement `Parser<_, Option, _>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | let prefixed_word_token_bin = separated_pair(&opt_sign, tag("0b"), word_token_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | let prefixed_word_token_bin = separated_pair(&opt_sign, tag("0b"), word_token_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:261:49 [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | -------------- ^^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:261:49 [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | -------------- ^^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | -------------- ^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnMut(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | -------------- ^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnMut(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:262:49 [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | -------------- ^^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:262:50 [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | -------------- ^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnMut(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:262:49 [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | -------------- ^^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:262:34 [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:262:50 [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | -------------- ^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnMut(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&opt_sign, word_token_dec); [INFO] [stdout] | ---- ^^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn pair, F, G>( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 34 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&opt_sign, word_token_dec); [INFO] [stdout] | ---- ^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnMut(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn pair, F, G>( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 34 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:262:34 [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `separated_pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn separated_pair, F, G, H>( [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 139 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `separated_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&opt_sign, word_token_dec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn pair, F, G>( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 34 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&opt_sign, word_token_dec); [INFO] [stdout] | ---- ^^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn pair, F, G>( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 34 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` is not satisfied [INFO] [stdout] --> src/assembly/parser.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&opt_sign, word_token_dec); [INFO] [stdout] | ---- ^^^^^^^^ the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<_, _, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnMut(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn pair, F, G>( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 34 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] --> src/assembly/parser.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&opt_sign, word_token_dec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `Fn(&str)` closure, found `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(&str)` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>`, which is required by `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>: Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] = note: `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` implements `FnMut`, but it must implement `Fn`, which is more general [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `FnOnce(&str)` [INFO] [stdout] = note: required for `&impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` to implement `Parser<&str, Option, nom::error::Error<&str>>` [INFO] [stdout] note: required by a bound in `pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/sequence/mod.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn pair, F, G>( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 34 | F: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `nom::error::Error<&str>` [INFO] [stdout] --> src/assembly/parser.rs:428:60 [INFO] [stdout] | [INFO] [stdout] 428 | Err::Error(tuple) | Err::Failure(tuple) => Some(tuple.0), [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `input`, `code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `nom::error::Error<&str>` [INFO] [stdout] --> src/assembly/parser.rs:428:60 [INFO] [stdout] | [INFO] [stdout] 428 | Err::Error(tuple) | Err::Failure(tuple) => Some(tuple.0), [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `input`, `code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mimasim` (lib) due to 13 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mimasim` (lib test) due to 13 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4147e7d4a26da13ce58d76195e93768651199129ddd407a2b82349003f41e2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4147e7d4a26da13ce58d76195e93768651199129ddd407a2b82349003f41e2e9", kill_on_drop: false }` [INFO] [stdout] 4147e7d4a26da13ce58d76195e93768651199129ddd407a2b82349003f41e2e9