[INFO] fetching crate rv-asm 0.2.1... [INFO] testing rv-asm-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rv-asm 0.2.1 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rv-asm 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64e460254b639b40acd8efda951fa005bed5698e2f3ae0a17720a30b425b9f64 [INFO] running `Command { std: "docker" "start" "-a" "64e460254b639b40acd8efda951fa005bed5698e2f3ae0a17720a30b425b9f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64e460254b639b40acd8efda951fa005bed5698e2f3ae0a17720a30b425b9f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e460254b639b40acd8efda951fa005bed5698e2f3ae0a17720a30b425b9f64", kill_on_drop: false }` [INFO] [stdout] 64e460254b639b40acd8efda951fa005bed5698e2f3ae0a17720a30b425b9f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97369e649a8bf5651342ef0dd8acb09d7e64f3bf7326a7ac3c3e018ab60b64d3 [INFO] running `Command { std: "docker" "start" "-a" "97369e649a8bf5651342ef0dd8acb09d7e64f3bf7326a7ac3c3e018ab60b64d3", 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.39s [INFO] running `Command { std: "docker" "inspect" "97369e649a8bf5651342ef0dd8acb09d7e64f3bf7326a7ac3c3e018ab60b64d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97369e649a8bf5651342ef0dd8acb09d7e64f3bf7326a7ac3c3e018ab60b64d3", kill_on_drop: false }` [INFO] [stdout] 97369e649a8bf5651342ef0dd8acb09d7e64f3bf7326a7ac3c3e018ab60b64d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ece9c9cf9015dae49e950d0e05153716bb8bde6ce260bd97fc628f128e24f47 [INFO] running `Command { std: "docker" "start" "-a" "8ece9c9cf9015dae49e950d0e05153716bb8bde6ce260bd97fc628f128e24f47", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling ruzstd v0.7.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rv-asm v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.90s [INFO] running `Command { std: "docker" "inspect" "8ece9c9cf9015dae49e950d0e05153716bb8bde6ce260bd97fc628f128e24f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ece9c9cf9015dae49e950d0e05153716bb8bde6ce260bd97fc628f128e24f47", kill_on_drop: false }` [INFO] [stdout] 8ece9c9cf9015dae49e950d0e05153716bb8bde6ce260bd97fc628f128e24f47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cde1c7b563a8f0c3fd03a1011a63f4224f0898d424a7dce98c2c566becc30683 [INFO] running `Command { std: "docker" "start" "-a" "cde1c7b563a8f0c3fd03a1011a63f4224f0898d424a7dce98c2c566becc30683", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rv_asm-ff39f574851fafa1) [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] [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] [stderr] Doc-tests rv_asm [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - Inst::first_byte_is_compressed (line 1003) ... FAILED [INFO] [stdout] test src/lib.rs - Inst::first_byte_is_compressed (line 1011) ... FAILED [INFO] [stdout] test src/../README.md - (line 47) ... FAILED [INFO] [stdout] test src/../README.md - (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - Inst::decode_compressed (line 1043) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Inst::first_byte_is_compressed (line 1003) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1006:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - assert!(rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] 5 + assert!(Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - assert!(rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] 7 + 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/lib.rs - Inst::first_byte_is_compressed (line 1011) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1014:10 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - assert!(!rvdc::Inst::first_byte_is_compressed(x.to_le_bytes()[0])); [INFO] [stdout] 5 + 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/../README.md - (line 47) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:50:16 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] 5 + let expected = Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:50:42 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Imm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Imm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] 5 + let expected = rvdc::Inst::Auipc { uimm: Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:50:79 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: rvdc::Reg::T1 }; [INFO] [stdout] 5 + let expected = rvdc::Inst::Auipc { uimm: rvdc::Imm::new_u32(0xa << 12), dest: Reg::T1 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:52:29 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 7 + let (inst, is_compressed) = Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:52:51 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Xlen; [INFO] [stdout] | [INFO] [stdout] help: if you import `Xlen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 7 + let (inst, is_compressed) = rvdc::Inst::decode(x, Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:54:27 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 2 + use rv_asm::IsCompressed; [INFO] [stdout] | [INFO] [stdout] help: if you import `IsCompressed`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(is_compressed, rvdc::IsCompressed::No); [INFO] [stdout] 9 + 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/../README.md - (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:39:16 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:39:40 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Imm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Imm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:39:73 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:39:94 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:41:29 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 7 + let (inst, is_compressed) = Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:41:51 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Xlen; [INFO] [stdout] | [INFO] [stdout] help: if you import `Xlen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let (inst, is_compressed) = rvdc::Inst::decode(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 7 + let (inst, is_compressed) = rvdc::Inst::decode(x, Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/../README.md:43:27 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 2 + use rv_asm::IsCompressed; [INFO] [stdout] | [INFO] [stdout] help: if you import `IsCompressed`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(is_compressed, rvdc::IsCompressed::Yes); [INFO] [stdout] 9 + 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::decode_compressed (line 1043) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1046:16 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1046:40 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Imm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Imm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1046:73 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1046:94 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rv_asm::Reg; [INFO] [stdout] | [INFO] [stdout] help: if you import `Reg`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let expected = rvdc::Inst::Addi { imm: rvdc::Imm::new_i32(-0x20), dest: rvdc::Reg::SP, src1: rvdc::Reg::SP }; [INFO] [stdout] 5 + 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1048:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Inst; [INFO] [stdout] | [INFO] [stdout] help: if you import `Inst`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let inst = rvdc::Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 7 + let inst = Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [INFO] [stdout] --> src/lib.rs:1048:45 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + use rv_asm::Xlen; [INFO] [stdout] | [INFO] [stdout] help: if you import `Xlen`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let inst = rvdc::Inst::decode_compressed(x, rvdc::Xlen::Rv32).unwrap(); [INFO] [stdout] 7 + 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.07s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.15s; merged doctests compilation took 0.08s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cde1c7b563a8f0c3fd03a1011a63f4224f0898d424a7dce98c2c566becc30683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde1c7b563a8f0c3fd03a1011a63f4224f0898d424a7dce98c2c566becc30683", kill_on_drop: false }` [INFO] [stdout] cde1c7b563a8f0c3fd03a1011a63f4224f0898d424a7dce98c2c566becc30683