[INFO] fetching crate rv-asm 0.2.1... [INFO] testing rv-asm-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rv-asm 0.2.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rv-asm 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae0402abdc66dbe25e9f57375fbdea9881d3fe70a0e3f10d49897aad7d5978ee [INFO] running `Command { std: "docker" "start" "-a" "ae0402abdc66dbe25e9f57375fbdea9881d3fe70a0e3f10d49897aad7d5978ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae0402abdc66dbe25e9f57375fbdea9881d3fe70a0e3f10d49897aad7d5978ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0402abdc66dbe25e9f57375fbdea9881d3fe70a0e3f10d49897aad7d5978ee", kill_on_drop: false }` [INFO] [stdout] ae0402abdc66dbe25e9f57375fbdea9881d3fe70a0e3f10d49897aad7d5978ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697f3b9fa87f52b1680eda3f115b787e148196cdbebb46826800d9ac2b713aa3 [INFO] running `Command { std: "docker" "start" "-a" "697f3b9fa87f52b1680eda3f115b787e148196cdbebb46826800d9ac2b713aa3", 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.63s [INFO] running `Command { std: "docker" "inspect" "697f3b9fa87f52b1680eda3f115b787e148196cdbebb46826800d9ac2b713aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697f3b9fa87f52b1680eda3f115b787e148196cdbebb46826800d9ac2b713aa3", kill_on_drop: false }` [INFO] [stdout] 697f3b9fa87f52b1680eda3f115b787e148196cdbebb46826800d9ac2b713aa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf7abb6d1b10e1b09c09f05192a6a12385b2b2570bb5f42b8c09107990c3abb8 [INFO] running `Command { std: "docker" "start" "-a" "cf7abb6d1b10e1b09c09f05192a6a12385b2b2570bb5f42b8c09107990c3abb8", kill_on_drop: false }` [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ruzstd v0.7.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rv-asm v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.55s [INFO] running `Command { std: "docker" "inspect" "cf7abb6d1b10e1b09c09f05192a6a12385b2b2570bb5f42b8c09107990c3abb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7abb6d1b10e1b09c09f05192a6a12385b2b2570bb5f42b8c09107990c3abb8", kill_on_drop: false }` [INFO] [stdout] cf7abb6d1b10e1b09c09f05192a6a12385b2b2570bb5f42b8c09107990c3abb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 807f6bb9d1e90629bd5d0b66cbb6ec74e3560e62f20b9574827c52eb14d51ce2 [INFO] running `Command { std: "docker" "start" "-a" "807f6bb9d1e90629bd5d0b66cbb6ec74e3560e62f20b9574827c52eb14d51ce2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [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::decode_compressed (line 1043) ... 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/../README.md - (line 36) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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] ---- 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] 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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/../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] 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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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]: failed to resolve: use of unresolved module or unlinked crate `rvdc` [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] [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.39s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.54s; merged doctests compilation took 0.15s [INFO] running `Command { std: "docker" "inspect" "807f6bb9d1e90629bd5d0b66cbb6ec74e3560e62f20b9574827c52eb14d51ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807f6bb9d1e90629bd5d0b66cbb6ec74e3560e62f20b9574827c52eb14d51ce2", kill_on_drop: false }` [INFO] [stdout] 807f6bb9d1e90629bd5d0b66cbb6ec74e3560e62f20b9574827c52eb14d51ce2