[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] testing JayTee42/rusty-mimasim against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJayTee42%2Frusty-mimasim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JayTee42/rusty-mimasim on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] 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 (available: v8.0.0) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b21bee0593be35c4174105f57334187743248404da0973c5f774d61461c4de [INFO] running `Command { std: "docker" "start" "-a" "84b21bee0593be35c4174105f57334187743248404da0973c5f774d61461c4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b21bee0593be35c4174105f57334187743248404da0973c5f774d61461c4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b21bee0593be35c4174105f57334187743248404da0973c5f774d61461c4de", kill_on_drop: false }` [INFO] [stdout] 84b21bee0593be35c4174105f57334187743248404da0973c5f774d61461c4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 595312ebb23b33ba2554020d457714ceb842a5d6f12a45fcb731a7206ac50356 [INFO] running `Command { std: "docker" "start" "-a" "595312ebb23b33ba2554020d457714ceb842a5d6f12a45fcb731a7206ac50356", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling 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] 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<_>>` [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-1949cf8c6b5b557f/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>>` [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-1949cf8c6b5b557f/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, ...), ...>: Parser<..., ..., ...>` 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>>` [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mimasim-1ebb2aab5ec39085.long-type-10970876475350515675.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, ...), ...>: Parser<..., ..., ...>` 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>>` [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mimasim-1ebb2aab5ec39085.long-type-10970876475350515675.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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>>` [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-1949cf8c6b5b557f/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, ...), ...>: Parser<..., ..., ...>` 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>>` [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mimasim-1ebb2aab5ec39085.long-type-6873873968885375443.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, ...), ...>: Parser<..., ..., ...>` 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>>` [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mimasim-1ebb2aab5ec39085.long-type-6873873968885375443.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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>>` [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-1949cf8c6b5b557f/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, ...), ...>: Parser<..., ..., ...>` 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>>` [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mimasim-1ebb2aab5ec39085.long-type-5394695963035073141.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&impl FnMut(&str) -> Result<(&str, ...), ...>: Parser<..., ..., ...>` 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>>` [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-1949cf8c6b5b557f/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] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mimasim-1ebb2aab5ec39085.long-type-5394695963035073141.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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>>` [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-1949cf8c6b5b557f/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] 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 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "595312ebb23b33ba2554020d457714ceb842a5d6f12a45fcb731a7206ac50356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595312ebb23b33ba2554020d457714ceb842a5d6f12a45fcb731a7206ac50356", kill_on_drop: false }` [INFO] [stdout] 595312ebb23b33ba2554020d457714ceb842a5d6f12a45fcb731a7206ac50356