[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 against master#a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayTee42%2Frusty-mimasim" "/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/JayTee42/rusty-mimasim on toolchain a42d94ebb883116f2867cbe3016d9bde9ca6d3f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "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-5-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" "+a42d94ebb883116f2867cbe3016d9bde9ca6d3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking JayTee42/rusty-mimasim against try#031b389f0c31c0f91c9464d26313ae513dbe8d36 for pr-117593 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayTee42%2Frusty-mimasim" "/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/JayTee42/rusty-mimasim on toolchain 031b389f0c31c0f91c9464d26313ae513dbe8d36 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "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-5-tc2/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" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37603a57d91875c4f2f0997a5dbf086bfe738aca365a3dc8dcbdeda87c0a399c [INFO] running `Command { std: "docker" "start" "-a" "37603a57d91875c4f2f0997a5dbf086bfe738aca365a3dc8dcbdeda87c0a399c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37603a57d91875c4f2f0997a5dbf086bfe738aca365a3dc8dcbdeda87c0a399c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37603a57d91875c4f2f0997a5dbf086bfe738aca365a3dc8dcbdeda87c0a399c", kill_on_drop: false }` [INFO] [stdout] 37603a57d91875c4f2f0997a5dbf086bfe738aca365a3dc8dcbdeda87c0a399c [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+031b389f0c31c0f91c9464d26313ae513dbe8d36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e9a3dd71a5878cbdb225b95777b5c6f8e14ad1ea02f2456863fe436e02e6a93 [INFO] running `Command { std: "docker" "start" "-a" "1e9a3dd71a5878cbdb225b95777b5c6f8e14ad1ea02f2456863fe436e02e6a93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking termion v1.5.6 [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 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 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 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]: expected a `Fn(_)` closure, found `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` [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] | -------------- ^^^^^^^^^ expected an `Fn(_)` closure, found `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(_,)>` is not implemented for `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 260 | let prefixed_word_token_bin = separated_pair(*&opt_sign, tag("0b"), word_token_bin); [INFO] [stdout] | + [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:49 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(*&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | + [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:50 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&*opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | + [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:49 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(*&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | + [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:50 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&*opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | + [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:39 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(*&opt_sign, word_token_dec); [INFO] [stdout] | + [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:40 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&*opt_sign, word_token_dec); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` [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] | -------------- ^^^^^^^^^ expected an `Fn(_)` closure, found `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(_,)>` is not implemented for `impl FnMut(_) -> Result<(_, Option), nom::Err<_>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 260 | let prefixed_word_token_bin = separated_pair(*&opt_sign, tag("0b"), word_token_bin); [INFO] [stdout] | + [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:49 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(*&opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | + [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:50 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 261 | let prefixed_word_token_dec = separated_pair(&*opt_sign, tag("0d"), word_token_dec); [INFO] [stdout] | + [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:49 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(*&opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | + [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:50 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 262 | let prefixed_word_token_hex = separated_pair(&*opt_sign, tag("0x"), word_token_hex); [INFO] [stdout] | + [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:39 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(*&opt_sign, word_token_dec); [INFO] [stdout] | + [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:40 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(&str,)>` is not implemented for `impl FnMut(&str) -> Result<(&str, Option), nom::Err>>` [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] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 263 | let unprefixed_word_token_dec = pair(&*opt_sign, word_token_dec); [INFO] [stdout] | + [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 8 previous errors; 2 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 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 2 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 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e9a3dd71a5878cbdb225b95777b5c6f8e14ad1ea02f2456863fe436e02e6a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e9a3dd71a5878cbdb225b95777b5c6f8e14ad1ea02f2456863fe436e02e6a93", kill_on_drop: false }` [INFO] [stdout] 1e9a3dd71a5878cbdb225b95777b5c6f8e14ad1ea02f2456863fe436e02e6a93