[INFO] fetching crate rv-asm 0.2.1... [INFO] testing rv-asm-0.2.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rv-asm 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rv-asm 0.2.1 [INFO] finished tweaking crates.io crate rv-asm 0.2.1 [INFO] tweaked toml for crates.io crate rv-asm 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rv-asm 0.2.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rv-asm 0.2.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded errno v0.3.12 [INFO] [stderr] Downloaded twox-hash v1.6.3 [INFO] [stderr] Downloaded ruzstd v0.7.3 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded flate2 v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47695778b4d590c454b9c665be13c5e66937b904fdfb9392c03c56cf66aac2c5 [INFO] running `Command { std: "docker" "start" "-a" "47695778b4d590c454b9c665be13c5e66937b904fdfb9392c03c56cf66aac2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47695778b4d590c454b9c665be13c5e66937b904fdfb9392c03c56cf66aac2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47695778b4d590c454b9c665be13c5e66937b904fdfb9392c03c56cf66aac2c5", kill_on_drop: false }` [INFO] [stdout] 47695778b4d590c454b9c665be13c5e66937b904fdfb9392c03c56cf66aac2c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64f3ef9f1ba772f234ad2dbdb531b0aec92acbe7d57439c7cf6ba5e1adaa2dc5 [INFO] running `Command { std: "docker" "start" "-a" "64f3ef9f1ba772f234ad2dbdb531b0aec92acbe7d57439c7cf6ba5e1adaa2dc5", kill_on_drop: false }` [INFO] [stderr] Compiling rv-asm v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "64f3ef9f1ba772f234ad2dbdb531b0aec92acbe7d57439c7cf6ba5e1adaa2dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f3ef9f1ba772f234ad2dbdb531b0aec92acbe7d57439c7cf6ba5e1adaa2dc5", kill_on_drop: false }` [INFO] [stdout] 64f3ef9f1ba772f234ad2dbdb531b0aec92acbe7d57439c7cf6ba5e1adaa2dc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b616ce3956c62fdbaccef01734d77004251fc530d2d826dc88c17636c890f55 [INFO] running `Command { std: "docker" "start" "-a" "9b616ce3956c62fdbaccef01734d77004251fc530d2d826dc88c17636c890f55", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ruzstd v0.7.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rv-asm v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `panic` is ambiguous [INFO] [stdout] --> src/lib.rs:2356:13 [INFO] [stdout] | [INFO] [stdout] 2356 | panic!( [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `panic` could refer to the macro imported here [INFO] [stdout] --> src/lib.rs:2086:9 [INFO] [stdout] | [INFO] [stdout] 2086 | use std::prelude::rust_2024::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stdout] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stdout] note: `panic` could also refer to a macro from prelude [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:59:12 [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #147319 [INFO] [stdout] = note: `#[warn(ambiguous_panic_imports)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.70s [INFO] running `Command { std: "docker" "inspect" "9b616ce3956c62fdbaccef01734d77004251fc530d2d826dc88c17636c890f55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b616ce3956c62fdbaccef01734d77004251fc530d2d826dc88c17636c890f55", kill_on_drop: false }` [INFO] [stdout] 9b616ce3956c62fdbaccef01734d77004251fc530d2d826dc88c17636c890f55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f7c18c2a06c7b8bf82d9ff15b2f07149eca83a68ffffbec2f82b8e21cb4cde6 [INFO] running `Command { std: "docker" "start" "-a" "5f7c18c2a06c7b8bf82d9ff15b2f07149eca83a68ffffbec2f82b8e21cb4cde6", kill_on_drop: false }` [INFO] [stderr] warning: `panic` is ambiguous [INFO] [stderr] --> src/lib.rs:2356:13 [INFO] [stderr] | [INFO] [stderr] 2356 | panic!( [INFO] [stderr] | ^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stderr] note: `panic` could refer to the macro imported here [INFO] [stderr] --> src/lib.rs:2086:9 [INFO] [stderr] | [INFO] [stderr] 2086 | use std::prelude::rust_2024::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: consider adding an explicit import of `panic` to disambiguate [INFO] [stderr] = help: or use `self::panic` to refer to this macro unambiguously [INFO] [stderr] note: `panic` could also refer to a macro from prelude [INFO] [stderr] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/prelude/mod.rs:59:12 [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #147319 [INFO] [stderr] = note: `#[warn(ambiguous_panic_imports)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rv-asm` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rv_asm-da062c321a9077af) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::compressed_clang_roundtrip ... ignored, this doesn't quite work yet because there is often a non-canonical encoding [INFO] [stdout] test tests::exhaustive_decode_no_panic_32 ... ignored, cfg(slow_tests) not enabled [INFO] [stdout] test tests::exhaustive_decode_no_panic_64 ... ignored, cfg(slow_tests) not enabled [INFO] [stdout] test tests::normal_clang_roundtrip ... ignored, cfg(slow_tests) not enabled [INFO] [stdout] test tests::ensure_no_chunks_are_skipped ... ok [INFO] [stderr] Doc-tests rv_asm [INFO] [stdout] test tests::size_of_instruction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/../README.md - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - Inst::first_byte_is_compressed (line 1011) ... FAILED [INFO] [stdout] test src/lib.rs - Inst::first_byte_is_compressed (line 1003) ... FAILED [INFO] [stdout] test src/../README.md - (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - Inst::decode_compressed (line 1043) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 36) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 39 + let expected = Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::Imm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Imm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 39 + let expected = rvdc::Inst::Addi { imm: Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:39:73 [INFO] [stdout] | [INFO] [stdout] 39 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 39 + let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:39:94 [INFO] [stdout] | [INFO] [stdout] 39 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 39 + let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 41 + let (inst, is_compressed) = Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::Xlen; [INFO] [stdout] | [INFO] [stdout] help: if you import `Xlen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 41 + let (inst, is_compressed) = rvdc::Inst::decode(x, Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(is_compressed, rvdc::IsCompressed::Yes); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 36 + use rv_asm::IsCompressed; [INFO] [stdout] | [INFO] [stdout] help: if you import `IsCompressed`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - assert_eq!(is_compressed, rvdc::IsCompressed::Yes); [INFO] [stdout] 43 + assert_eq!(is_compressed, IsCompressed::Yes); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Inst::first_byte_is_compressed (line 1011) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1014:10 [INFO] [stdout] | [INFO] [stdout] 1014 | assert!(!rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1011 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1014 - assert!(!rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] 1014 + assert!(!Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Inst::first_byte_is_compressed (line 1003) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1006:9 [INFO] [stdout] | [INFO] [stdout] 1006 | assert!(rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1003 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1006 - assert!(rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] 1006 + assert!(Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 1008 | assert!(rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1003 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1008 - assert!(rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] 1008 + assert!(Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 47) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 47 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] 50 + let expected = Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 + use rv_asm::Imm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Imm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] 50 + let expected = rvdc::Inst::Auipc { uimm: Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:50:79 [INFO] [stdout] | [INFO] [stdout] 50 | let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] 50 + let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: Reg::T1 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 47 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 52 + let (inst, is_compressed) = Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 47 + use rv_asm::Xlen; [INFO] [stdout] | [INFO] [stdout] help: if you import `Xlen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 52 + let (inst, is_compressed) = rvdc::Inst::decode(x, Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/../README.md:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(is_compressed, rvdc::IsCompressed::No); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 47 + use rv_asm::IsCompressed; [INFO] [stdout] | [INFO] [stdout] help: if you import `IsCompressed`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - assert_eq!(is_compressed, rvdc::IsCompressed::No); [INFO] [stdout] 54 + assert_eq!(is_compressed, IsCompressed::No); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Inst::decode_compressed (line 1043) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1046:16 [INFO] [stdout] | [INFO] [stdout] 1046 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1043 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1046 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 1046 + let expected = Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1046:40 [INFO] [stdout] | [INFO] [stdout] 1046 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1043 + use rv_asm::Imm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Imm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1046 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 1046 + let expected = rvdc::Inst::Addi { imm: Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1046:73 [INFO] [stdout] | [INFO] [stdout] 1046 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1043 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1046 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 1046 + let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1046:94 [INFO] [stdout] | [INFO] [stdout] 1046 | let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1043 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1046 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 1046 + let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: Reg::SP }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1048:12 [INFO] [stdout] | [INFO] [stdout] 1048 | let inst = rvdc::Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1043 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1048 - let inst = rvdc::Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 1048 + let inst = Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rvdc` in this scope [INFO] [stdout] --> src/lib.rs:1048:45 [INFO] [stdout] | [INFO] [stdout] 1048 | let inst = rvdc::Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rvdc`, use `cargo add rvdc` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1043 + use rv_asm::Xlen; [INFO] [stdout] | [INFO] [stdout] help: if you import `Xlen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1048 - let inst = rvdc::Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 1048 + let inst = rvdc::Inst::decode_compressed(x, Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 36) [INFO] [stdout] src/../README.md - (line 47) [INFO] [stdout] src/lib.rs - Inst::decode_compressed (line 1043) [INFO] [stdout] src/lib.rs - Inst::first_byte_is_compressed (line 1003) [INFO] [stdout] src/lib.rs - Inst::first_byte_is_compressed (line 1011) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.79s; merged doctests compilation took 0.26s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5f7c18c2a06c7b8bf82d9ff15b2f07149eca83a68ffffbec2f82b8e21cb4cde6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7c18c2a06c7b8bf82d9ff15b2f07149eca83a68ffffbec2f82b8e21cb4cde6", kill_on_drop: false }` [INFO] [stdout] 5f7c18c2a06c7b8bf82d9ff15b2f07149eca83a68ffffbec2f82b8e21cb4cde6