[INFO] cloning repository https://github.com/seal9055/sfuzz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seal9055/sfuzz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseal9055%2Fsfuzz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseal9055%2Fsfuzz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dc701b16d8cc05f557ad151adb20a0bae30b453 [INFO] checking seal9055/sfuzz against master#18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb for pr-96970 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseal9055%2Fsfuzz" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seal9055/sfuzz on toolchain 18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seal9055/sfuzz [INFO] finished tweaking git repo https://github.com/seal9055/sfuzz [INFO] tweaked toml for git repo https://github.com/seal9055/sfuzz written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/seal9055/sfuzz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/seal9055/local_crates/` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xoshiro v0.6.0 [INFO] [stderr] Downloaded iced-x86 v1.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08eadf1cba7f0fa3696639b941352d7ca1a8df0042faa3884f5ca83e908be026 [INFO] running `Command { std: "docker" "start" "-a" "08eadf1cba7f0fa3696639b941352d7ca1a8df0042faa3884f5ca83e908be026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08eadf1cba7f0fa3696639b941352d7ca1a8df0042faa3884f5ca83e908be026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08eadf1cba7f0fa3696639b941352d7ca1a8df0042faa3884f5ca83e908be026", kill_on_drop: false }` [INFO] [stdout] 08eadf1cba7f0fa3696639b941352d7ca1a8df0042faa3884f5ca83e908be026 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+18bd2dd5cda08b09ace6e37c1a0312e9b2bb4beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14fe3c40757c6753a5c86002b9b552fb93176975ad522845842c13cec9008367 [INFO] running `Command { std: "docker" "start" "-a" "14fe3c40757c6753a5c86002b9b552fb93176975ad522845842c13cec9008367", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking iced-x86 v1.17.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking elfparser v0.1.0 (https://github.com/seal9055/local_crates/?branch=main#332d1668) [INFO] [stderr] Checking my_libs v0.1.0 (https://github.com/seal9055/local_crates/?branch=main#332d1668) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Checking num-format v0.4.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking xoroshiro128 v0.3.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking fasthash v0.4.0 [INFO] [stderr] Checking sfuzz v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | assert_eq!(decode_instr(0x0), Instr::Nil) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | assert_eq!(decode_instr(0x73), Instr::Ecall) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | assert_eq!(decode_instr(0x100073), Instr::Ebreak) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:547:40 [INFO] [stdout] | [INFO] [stdout] 547 | match decode_instr(0xf70733) { Instr::Add{ rd, rs1 , rs2} => { [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 547 | match decode_instr(0xf70733) { Ok(Instr::Add{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:550:42 [INFO] [stdout] | [INFO] [stdout] 550 | match decode_instr(0x40c685b3) { Instr::Sub{ rd, rs1 , rs2} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 550 | match decode_instr(0x40c685b3) { Ok(Instr::Sub{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:553:41 [INFO] [stdout] | [INFO] [stdout] 553 | match decode_instr(0x2f48a33) { Instr::Mul{ rd, rs1 , rs2} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 553 | match decode_instr(0x2f48a33) { Ok(Instr::Mul{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:556:41 [INFO] [stdout] | [INFO] [stdout] 556 | match decode_instr(0x2f48a33) { Instr::Mul{ rd, rs1 , rs2} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 556 | match decode_instr(0x2f48a33) { Ok(Instr::Mul{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:559:41 [INFO] [stdout] | [INFO] [stdout] 559 | match decode_instr(0x299f7b3) { Instr::Remu{ rd, rs1 , rs2} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 559 | match decode_instr(0x299f7b3) { Ok(Instr::Remu{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:562:41 [INFO] [stdout] | [INFO] [stdout] 562 | match decode_instr(0x299f7b3) { Instr::Remu{ rd, rs1 , rs2} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 562 | match decode_instr(0x299f7b3) { Ok(Instr::Remu{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:565:41 [INFO] [stdout] | [INFO] [stdout] 565 | match decode_instr(0x2b6c6bb) { Instr::Divw{ rd, rs1 , rs2} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 565 | match decode_instr(0x2b6c6bb) { Ok(Instr::Divw{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:568:41 [INFO] [stdout] | [INFO] [stdout] 568 | match decode_instr(0x2c5b7b3) { Instr::Mulhu{ rd, rs1 , rs2} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 568 | match decode_instr(0x2c5b7b3) { Ok(Instr::Mulhu{ rd, rs1 , rs2}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:575:41 [INFO] [stdout] | [INFO] [stdout] 575 | match decode_instr(0x1259583) { Instr::Lh{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 575 | match decode_instr(0x1259583) { Ok(Instr::Lh{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:578:41 [INFO] [stdout] | [INFO] [stdout] 578 | match decode_instr(0x1099703) { Instr::Lh{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 578 | match decode_instr(0x1099703) { Ok(Instr::Lh{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:581:42 [INFO] [stdout] | [INFO] [stdout] 581 | match decode_instr(0x0ac42683) { Instr::Lw{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 581 | match decode_instr(0x0ac42683) { Ok(Instr::Lw{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:584:42 [INFO] [stdout] | [INFO] [stdout] 584 | match decode_instr(0x3107a883) { Instr::Lw{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 584 | match decode_instr(0x3107a883) { Ok(Instr::Lw{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:587:42 [INFO] [stdout] | [INFO] [stdout] 587 | match decode_instr(0x01813083) { Instr::Ld{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 587 | match decode_instr(0x01813083) { Ok(Instr::Ld{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | match decode_instr(0x6714603) { Instr::Lbu{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 590 | match decode_instr(0x6714603) { Ok(Instr::Lbu{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:593:39 [INFO] [stdout] | [INFO] [stdout] 593 | match decode_instr(0xd4583) { Instr::Lbu{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 593 | match decode_instr(0xd4583) { Ok(Instr::Lbu{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:596:41 [INFO] [stdout] | [INFO] [stdout] 596 | match decode_instr(0x1015783) { Instr::Lhu{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 596 | match decode_instr(0x1015783) { Ok(Instr::Lhu{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:599:42 [INFO] [stdout] | [INFO] [stdout] 599 | match decode_instr(0x15015783) { Instr::Lhu{ rd, rs1 , imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 599 | match decode_instr(0x15015783) { Ok(Instr::Lhu{ rd, rs1 , imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:602:42 [INFO] [stdout] | [INFO] [stdout] 602 | match decode_instr(0xf98680e7) { Instr::Jalr{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 602 | match decode_instr(0xf98680e7) { Ok(Instr::Jalr{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:605:39 [INFO] [stdout] | [INFO] [stdout] 605 | match decode_instr(0x700e7) { Instr::Jalr{ rd, rs1 , imm} => { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 605 | match decode_instr(0x700e7) { Ok(Instr::Jalr{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:608:36 [INFO] [stdout] | [INFO] [stdout] 608 | match decode_instr(0xe7) { Instr::Jalr{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 608 | match decode_instr(0xe7) { Ok(Instr::Jalr{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:611:42 [INFO] [stdout] | [INFO] [stdout] 611 | match decode_instr(0xc0070713) { Instr::Addi{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 611 | match decode_instr(0xc0070713) { Ok(Instr::Addi{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:614:42 [INFO] [stdout] | [INFO] [stdout] 614 | match decode_instr(0xfff78693) { Instr::Addi{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 614 | match decode_instr(0xfff78693) { Ok(Instr::Addi{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:617:42 [INFO] [stdout] | [INFO] [stdout] 617 | match decode_instr(0x8307c793) { Instr::Xori{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 617 | match decode_instr(0x8307c793) { Ok(Instr::Xori{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:620:41 [INFO] [stdout] | [INFO] [stdout] 620 | match decode_instr(0x807e793) { Instr::Ori{ rd, rs1 , imm} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 620 | match decode_instr(0x807e793) { Ok(Instr::Ori{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:623:42 [INFO] [stdout] | [INFO] [stdout] 623 | match decode_instr(0x7ff7f793) { Instr::Andi{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 623 | match decode_instr(0x7ff7f793) { Ok(Instr::Andi{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:626:42 [INFO] [stdout] | [INFO] [stdout] 626 | match decode_instr(0xfc37071b) { Instr::Addiw{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 626 | match decode_instr(0xfc37071b) { Ok(Instr::Addiw{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:629:42 [INFO] [stdout] | [INFO] [stdout] 629 | match decode_instr(0x4147d69b) { Instr::Sraiw{ rd, rs1 , imm} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 629 | match decode_instr(0x4147d69b) { Ok(Instr::Sraiw{ rd, rs1 , imm}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:637:42 [INFO] [stdout] | [INFO] [stdout] 637 | match decode_instr(0xfedd8fa3) { Instr::Sb{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 637 | match decode_instr(0xfedd8fa3) { Ok(Instr::Sb{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:640:41 [INFO] [stdout] | [INFO] [stdout] 640 | match decode_instr(0x60103a3) { Instr::Sb{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 640 | match decode_instr(0x60103a3) { Ok(Instr::Sb{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:643:41 [INFO] [stdout] | [INFO] [stdout] 643 | match decode_instr(0xef11023) { Instr::Sh{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 643 | match decode_instr(0xef11023) { Ok(Instr::Sh{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:646:40 [INFO] [stdout] | [INFO] [stdout] 646 | match decode_instr(0xf69023) { Instr::Sh{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 646 | match decode_instr(0xf69023) { Ok(Instr::Sh{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:649:42 [INFO] [stdout] | [INFO] [stdout] 649 | match decode_instr(0x7801a823) { Instr::Sw{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 649 | match decode_instr(0x7801a823) { Ok(Instr::Sw{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:652:40 [INFO] [stdout] | [INFO] [stdout] 652 | match decode_instr(0x852023) { Instr::Sw{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 652 | match decode_instr(0x852023) { Ok(Instr::Sw{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:659:39 [INFO] [stdout] | [INFO] [stdout] 659 | match decode_instr(0x78c63) { Instr::Beq{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 659 | match decode_instr(0x78c63) { Ok(Instr::Beq{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:662:40 [INFO] [stdout] | [INFO] [stdout] 662 | match decode_instr(0xf70c63) { Instr::Beq{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 662 | match decode_instr(0xf70c63) { Ok(Instr::Beq{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:665:42 [INFO] [stdout] | [INFO] [stdout] 665 | match decode_instr(0x1d041463) { Instr::Bne{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 665 | match decode_instr(0x1d041463) { Ok(Instr::Bne{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:668:41 [INFO] [stdout] | [INFO] [stdout] 668 | match decode_instr(0x2071463) { Instr::Bne{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 668 | match decode_instr(0x2071463) { Ok(Instr::Bne{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:671:42 [INFO] [stdout] | [INFO] [stdout] 671 | match decode_instr(0x12d8ce63) { Instr::Blt{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 671 | match decode_instr(0x12d8ce63) { Ok(Instr::Blt{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:674:42 [INFO] [stdout] | [INFO] [stdout] 674 | match decode_instr(0xfe06c2e3) { Instr::Blt{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 674 | match decode_instr(0xfe06c2e3) { Ok(Instr::Blt{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:677:42 [INFO] [stdout] | [INFO] [stdout] 677 | match decode_instr(0x36f6dee3) { Instr::Bge{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 677 | match decode_instr(0x36f6dee3) { Ok(Instr::Bge{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:680:39 [INFO] [stdout] | [INFO] [stdout] 680 | match decode_instr(0x9d463) { Instr::Bge{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 680 | match decode_instr(0x9d463) { Ok(Instr::Bge{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:683:42 [INFO] [stdout] | [INFO] [stdout] 683 | match decode_instr(0xa6eb60e3) { Instr::Bltu{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 683 | match decode_instr(0xa6eb60e3) { Ok(Instr::Bltu{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:686:41 [INFO] [stdout] | [INFO] [stdout] 686 | match decode_instr(0x2d76063) { Instr::Bltu{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 686 | match decode_instr(0x2d76063) { Ok(Instr::Bltu{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:689:42 [INFO] [stdout] | [INFO] [stdout] 689 | match decode_instr(0xf966fae3) { Instr::Bgeu{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 689 | match decode_instr(0xf966fae3) { Ok(Instr::Bgeu{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:692:41 [INFO] [stdout] | [INFO] [stdout] 692 | match decode_instr(0x1d7f6e3) { Instr::Bgeu{ rs1, rs2, imm, mode: _} => { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 692 | match decode_instr(0x1d7f6e3) { Ok(Instr::Bgeu{ rs1, rs2, imm, mode: _}) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:699:39 [INFO] [stdout] | [INFO] [stdout] 699 | match decode_instr(0x22637) { Instr::Lui{ rd, imm } => { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 699 | match decode_instr(0x22637) { Ok(Instr::Lui{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:701:38 [INFO] [stdout] | [INFO] [stdout] 701 | match decode_instr(0x8837) { Instr::Lui{ rd, imm } => { [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 701 | match decode_instr(0x8837) { Ok(Instr::Lui{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:703:42 [INFO] [stdout] | [INFO] [stdout] 703 | match decode_instr(0xffffc9b7) { Instr::Lui{ rd, imm } => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 703 | match decode_instr(0xffffc9b7) { Ok(Instr::Lui{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:705:39 [INFO] [stdout] | [INFO] [stdout] 705 | match decode_instr(0x14197) { Instr::Auipc{ rd, imm } => { [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 705 | match decode_instr(0x14197) { Ok(Instr::Auipc{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:707:36 [INFO] [stdout] | [INFO] [stdout] 707 | match decode_instr(0x97) { Instr::Auipc{ rd, imm } => { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 707 | match decode_instr(0x97) { Ok(Instr::Auipc{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:709:38 [INFO] [stdout] | [INFO] [stdout] 709 | match decode_instr(0xe517) { Instr::Auipc{ rd, imm } => { [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 709 | match decode_instr(0xe517) { Ok(Instr::Auipc{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:715:42 [INFO] [stdout] | [INFO] [stdout] 715 | match decode_instr(0x7a0000ef) { Instr::Jal{ rd, imm } => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 715 | match decode_instr(0x7a0000ef) { Ok(Instr::Jal{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:717:42 [INFO] [stdout] | [INFO] [stdout] 717 | match decode_instr(0x428010ef) { Instr::Jal{ rd, imm } => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 717 | match decode_instr(0x428010ef) { Ok(Instr::Jal{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:719:42 [INFO] [stdout] | [INFO] [stdout] 719 | match decode_instr(0x358010ef) { Instr::Jal{ rd, imm } => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 719 | match decode_instr(0x358010ef) { Ok(Instr::Jal{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/riscv.rs:721:42 [INFO] [stdout] | [INFO] [stdout] 721 | match decode_instr(0xf6dff06f) { Instr::Jal{ rd, imm } => { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `riscv::Instr` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `riscv::Instr` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 721 | match decode_instr(0xf6dff06f) { Ok(Instr::Jal{ rd, imm }) => { [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Box<[AtomicUsize]>` in the current scope [INFO] [stdout] --> src/jit.rs:1265:42 [INFO] [stdout] | [INFO] [stdout] 1265 | in("r15") jit.lookup_arr.read().unwrap().as_ptr() as u64, [INFO] [stdout] | ^^^^ method not found in `Box<[AtomicUsize]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 59 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sfuzz` due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "14fe3c40757c6753a5c86002b9b552fb93176975ad522845842c13cec9008367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fe3c40757c6753a5c86002b9b552fb93176975ad522845842c13cec9008367", kill_on_drop: false }` [INFO] [stdout] 14fe3c40757c6753a5c86002b9b552fb93176975ad522845842c13cec9008367