[INFO] fetching crate capstone-git 0.13.0-commit4ed86fb... [INFO] testing capstone-git-0.13.0-commit4ed86fb against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate capstone-git 0.13.0-commit4ed86fb into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate capstone-git 0.13.0-commit4ed86fb [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate capstone-git 0.13.0-commit4ed86fb [INFO] tweaked toml for crates.io crate capstone-git 0.13.0-commit4ed86fb written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate capstone-git 0.13.0-commit4ed86fb on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate capstone-git 0.13.0-commit4ed86fb 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettyplease v0.2.19 [INFO] [stderr] Downloaded proc-macro2 v1.0.80 [INFO] [stderr] Downloaded clap v4.4.18 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded clap_builder v4.4.18 [INFO] [stderr] Downloaded syn v2.0.59 [INFO] [stderr] Downloaded capstone-sys-git v0.17.0-commit4ed86fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de2f221d95f7c3cd7f7c9fa831afd7d0c67cc8082f1467e942891a6879c62c6d [INFO] running `Command { std: "docker" "start" "-a" "de2f221d95f7c3cd7f7c9fa831afd7d0c67cc8082f1467e942891a6879c62c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de2f221d95f7c3cd7f7c9fa831afd7d0c67cc8082f1467e942891a6879c62c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2f221d95f7c3cd7f7c9fa831afd7d0c67cc8082f1467e942891a6879c62c6d", kill_on_drop: false }` [INFO] [stdout] de2f221d95f7c3cd7f7c9fa831afd7d0c67cc8082f1467e942891a6879c62c6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3457e1d1921d62b47432bb53edd239efa0e0b362960ebbfdf2c40f37a15d9c68 [INFO] running `Command { std: "docker" "start" "-a" "3457e1d1921d62b47432bb53edd239efa0e0b362960ebbfdf2c40f37a15d9c68", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling capstone-sys-git v0.17.0-commit4ed86fb [INFO] [stderr] Compiling capstone-git v0.13.0-commit4ed86fb (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.18s [INFO] running `Command { std: "docker" "inspect" "3457e1d1921d62b47432bb53edd239efa0e0b362960ebbfdf2c40f37a15d9c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3457e1d1921d62b47432bb53edd239efa0e0b362960ebbfdf2c40f37a15d9c68", kill_on_drop: false }` [INFO] [stdout] 3457e1d1921d62b47432bb53edd239efa0e0b362960ebbfdf2c40f37a15d9c68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f6f6a195d1dfc78a6d587899f5a007b3aa76ef60499a9fae8476084fd0224a4 [INFO] running `Command { std: "docker" "start" "-a" "2f6f6a195d1dfc78a6d587899f5a007b3aa76ef60499a9fae8476084fd0224a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling capstone-git v0.13.0-commit4ed86fb (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 50.35s [INFO] running `Command { std: "docker" "inspect" "2f6f6a195d1dfc78a6d587899f5a007b3aa76ef60499a9fae8476084fd0224a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6f6a195d1dfc78a6d587899f5a007b3aa76ef60499a9fae8476084fd0224a4", kill_on_drop: false }` [INFO] [stdout] 2f6f6a195d1dfc78a6d587899f5a007b3aa76ef60499a9fae8476084fd0224a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 630f313558c2d9c15b2b7177e4327e705b549b922716be510872a88f3cb04ea5 [INFO] running `Command { std: "docker" "start" "-a" "630f313558c2d9c15b2b7177e4327e705b549b922716be510872a88f3cb04ea5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/capstone_git-a47db0f57291713d) [INFO] [stdout] running 87 tests [INFO] [stdout] test arch::arm64::test::test_arm64_op_type ... ok [INFO] [stdout] test arch::arm64::test::test_arm64shift ... ok [INFO] [stdout] test arch::m680x::test::op_idx ... ok [INFO] [stdout] test arch::m680x::test_M680xInsnDetail::is_first_op_in_mnem ... ok [INFO] [stdout] test arch::m680x::test_M680xInsnDetail::is_second_op_in_mnem ... ok [INFO] [stdout] test arch::arm::test::test_armshift ... ok [INFO] [stdout] test arch::arm::test::test_arm_insn_detail_eq ... ok [INFO] [stdout] test arch::m680x::test_M680xOpIdx::is_indirect ... ok [INFO] [stdout] test arch::arm::test::test_arm_op_type ... ok [INFO] [stdout] test arch::m680x::test_M680xOpIdx::is_no_comma ... ok [INFO] [stdout] test arch::m680x::test_M680xOpIdx::is_post_inc_dec ... ok [INFO] [stdout] test arch::m68k::test::extra_info ... ok [INFO] [stdout] test arch::m68k::test::register_bits_from_bitfield ... ok [INFO] [stdout] test arch::m68k::test::op_eq ... ok [INFO] [stdout] test arch::m68k::test::register_bits_as_bits ... ok [INFO] [stdout] test arch::m68k::test::register_bits_from_iter ... ok [INFO] [stdout] test arch::m68k::test::register_bits_mask ... ok [INFO] [stdout] test arch::m68k::test::test_m68k_op_from ... ok [INFO] [stdout] test arch::mips::test::test_mips_op_from ... ok [INFO] [stdout] test arch::ppc::test::test_ppc_op_type ... ok [INFO] [stdout] test arch::tms320c64x::test::tms320c64x_op_from ... ok [INFO] [stdout] test arch::x86::test::test_x86_insn_encoding ... ok [INFO] [stdout] test arch::tms320c64x::test::tms320c64x_insn_detail ... ok [INFO] [stdout] test arch::x86::test::test_x86_insn_eq ... ok [INFO] [stdout] test arch::x86::test::test_x86_op_eq ... ok [INFO] [stdout] test arch::tms320c64x::test::op_mem ... ok [INFO] [stdout] test arch::x86::test::test_x86_op_type ... ok [INFO] [stdout] test constants::test::parse_arch ... ok [INFO] [stdout] test error::test::test_error ... ok [INFO] [stdout] test ffi::test::cstr_convert ... ok [INFO] [stdout] test instruction::test::test_invalid_reg_access ... ok [INFO] [stdout] test arch::m680x::test::m680x_op_type ... ok [INFO] [stdout] test test::test_arch_arm64 ... ok [INFO] [stdout] test test::test_arch_arm64_detail ... ok [INFO] [stdout] test test::test_arch_evm ... ok [INFO] [stdout] test test::test_arch_arm_detail ... ok [INFO] [stdout] test test::test_arch_evm_detail ... ok [INFO] [stdout] test test::test_arch_bpf_ebpf ... ok [INFO] [stdout] test test::test_arch_bpf_detail ... ok [INFO] [stdout] test test::test_arch_m680x_detail ... ok [INFO] [stdout] test test::test_arch_mips ... ok [INFO] [stdout] test test::test_arch_mos65xx_detail ... ok [INFO] [stdout] test test::test_arch_m68k_detail ... ok [INFO] [stdout] test test::test_arch_mips_detail ... ok [INFO] [stdout] test test::test_arch_mos65xx ... ok [INFO] [stdout] test test::test_arch_ppc_detail ... ok [INFO] [stdout] test test::test_arch_riscv ... ok [INFO] [stdout] test test::test_arch_riscv_detail ... ok [INFO] [stdout] test test::test_arch_sh ... ok [INFO] [stdout] test test::test_arch_ppc ... ok [INFO] [stdout] test test::test_arch_sh_detail ... ok [INFO] [stdout] test test::test_arch_tms320c64x_detail ... ok [INFO] [stdout] test test::test_arch_sparc ... ok [INFO] [stdout] test arch::evm::test::test_evm_detail ... ok [INFO] [stdout] test test::test_arch_systemz_detail ... ok [INFO] [stdout] test test::test_arch_sparc_detail ... ok [INFO] [stdout] test test::test_arch_systemz ... ok [INFO] [stdout] test test::test_arch_tricore ... ok [INFO] [stdout] test test::test_arch_bpf_cbpf ... ok [INFO] [stdout] test test::test_arch_tricore_detail ... ok [INFO] [stdout] test test::test_arch_arm ... ok [INFO] [stdout] test test::test_arch_x86 ... ok [INFO] [stdout] test test::test_arch_x86_detail ... ok [INFO] [stdout] test test::test_arch_xcore ... ok [INFO] [stdout] test test::test_arch_xcore_detail ... ok [INFO] [stdout] test test::test_arm64_none ... ok [INFO] [stdout] test test::test_arm_simple ... ok [INFO] [stdout] test test::test_capstone_is_diet ... ok [INFO] [stdout] test test::test_capstone_supports_arch ... ok [INFO] [stdout] test test::test_capstone_version ... ok [INFO] [stdout] test test::test_detail_false_fail ... ok [INFO] [stdout] test test::test_detail_true ... ok [INFO] [stdout] test test::test_extra_mode ... ok [INFO] [stdout] test test::test_invalid_mode ... ignored [INFO] [stdout] test test::test_insn_from_raw ... ok [INFO] [stdout] test test::test_invalid_syntax ... ok [INFO] [stdout] test test::test_insn_size_and_alignment ... ok [INFO] [stdout] test test::test_mnemonic ... ok [INFO] [stdout] test test::test_owned_insn ... ok [INFO] [stdout] test test::test_instruction_details ... ok [INFO] [stdout] test test::test_regs_access_arm ... ok [INFO] [stdout] test test::test_regs_tms320c64x ... ok [INFO] [stdout] test test::test_skipdata ... ok [INFO] [stdout] test test::test_syntax ... ok [INFO] [stdout] test test::test_x86_names ... ok [INFO] [stdout] test test::test_unsigned ... ok [INFO] [stdout] test test::test_x86_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 86 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests capstone_git [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/capstone.rs - capstone::Capstone::new_raw (line 154) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::DisasmIter<'cs,'buf>::addr (line 716) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::DisasmIter<'cs,'buf>::code (line 701) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::Capstone::disasm_all (line 245) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::Capstone::new (line 142) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::DisasmIter<'cs,'buf>::next (line 659) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::DisasmIter<'cs,'buf>::next (line 671) - compile fail ... ok [INFO] [stdout] test src/capstone.rs - capstone::Capstone::disasm_iter (line 212) ... FAILED [INFO] [stdout] test src/lib.rs - prelude (line 41) ... FAILED [INFO] [stdout] test src/instruction.rs - instruction::InsnDetail (line 227) ... FAILED [INFO] [stdout] test src/capstone.rs - capstone::DisasmIter<'cs,'buf>::reset (line 731) ... FAILED [INFO] [stdout] test src/instruction.rs - instruction::Instructions (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/capstone.rs - capstone::Capstone::new_raw (line 154) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `capstone` [INFO] [stdout] --> src/capstone.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | use capstone::{Arch, Capstone, NO_EXTRA_MODE, Mode}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 154 + mod capstone; [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 E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/capstone.rs - capstone::DisasmIter<'cs,'buf>::addr (line 716) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 716 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:718:10 [INFO] [stdout] | [INFO] [stdout] 718 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 716 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:718:37 [INFO] [stdout] | [INFO] [stdout] 718 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 716 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 716 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 716 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 716 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 716 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 718 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 718 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/capstone.rs - capstone::DisasmIter<'cs,'buf>::code (line 701) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 701 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:703:10 [INFO] [stdout] | [INFO] [stdout] 703 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 701 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:703:37 [INFO] [stdout] | [INFO] [stdout] 703 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 701 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 701 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 701 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 701 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 701 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 703 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 703 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/capstone.rs - capstone::Capstone::disasm_all (line 245) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 245 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 245 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 245 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 245 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 245 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 245 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 247 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 247 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/capstone.rs - capstone::Capstone::new (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 142 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 142 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 142 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 142 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 142 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 142 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 142 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 144 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build(); [INFO] [stdout] 144 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/capstone.rs - capstone::DisasmIter<'cs,'buf>::next (line 659) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 659 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:661:10 [INFO] [stdout] | [INFO] [stdout] 661 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 659 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:661:37 [INFO] [stdout] | [INFO] [stdout] 661 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 659 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 659 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 659 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 659 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 659 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 661 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 661 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/capstone.rs - capstone::Capstone::disasm_iter (line 212) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 212 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 212 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 212 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 212 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 212 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 212 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 212 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 214 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 214 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - prelude (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 41 + mod capstone; [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/instruction.rs - instruction::InsnDetail (line 227) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/instruction.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 227 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capstone` [INFO] [stdout] --> src/instruction.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | use capstone::Instructions; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 227 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/instruction.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | let cs = Capstone::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 227 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/instruction.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | .mode(arch::x86::ArchMode::Mode32) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 227 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 227 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 227 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 227 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 227 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 232 - .mode(arch::x86::ArchMode::Mode32) [INFO] [stdout] 232 + .mode(ArchMode::Mode32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InsnDetail` in this scope [INFO] [stdout] --> src/instruction.rs:239:22 [INFO] [stdout] | [INFO] [stdout] 239 | let insn_detail: InsnDetail = cs.insn_detail(insn).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 227 + use capstone_git::InsnDetail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/capstone.rs - capstone::DisasmIter<'cs,'buf>::reset (line 731) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/capstone.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 731 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/capstone.rs:733:10 [INFO] [stdout] | [INFO] [stdout] 733 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 731 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/capstone.rs:733:37 [INFO] [stdout] | [INFO] [stdout] 733 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 731 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 731 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 731 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 731 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 731 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 733 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 733 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/instruction.rs - instruction::Instructions (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `capstone` [INFO] [stdout] --> src/instruction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use capstone::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capstone` [INFO] [stdout] --> src/instruction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use capstone::Instructions; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `capstone` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/capstone.rs, use `mod capstone` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/instruction.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/instruction.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 21 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 21 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 21 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 21 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let cs = Capstone::new().x86().mode(arch::x86::ArchMode::Mode32).build().unwrap(); [INFO] [stdout] 24 + let cs = Capstone::new().x86().mode(ArchMode::Mode32).build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `capstone` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate capstone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Capstone` in this scope [INFO] [stdout] --> src/lib.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn reg_names(cs: &Capstone, regs: &[RegId]) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RegId` in this scope [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | fn reg_names(cs: &Capstone, regs: &[RegId]) -> String { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::RegId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Capstone` in this scope [INFO] [stdout] --> src/lib.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | fn group_names(cs: &Capstone, regs: &[InsnGroupId]) -> String { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InsnGroupId` in this scope [INFO] [stdout] --> src/lib.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | fn group_names(cs: &Capstone, regs: &[InsnGroupId]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::InsnGroupId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capstone` [INFO] [stdout] --> src/lib.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | let cs = Capstone::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capstone` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::Capstone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | .mode(arch::x86::ArchMode::Mode64) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 25 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::arm64::ArchMode; [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::arm::ArchMode; [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::bpf::ArchMode; [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::evm::ArchMode; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchMode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - .mode(arch::x86::ArchMode::Mode64) [INFO] [stdout] 45 + .mode(ArchMode::Mode64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arch` [INFO] [stdout] --> src/lib.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | .syntax(arch::x86::ArchSyntax::Att) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `arch` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/mod.rs, use `mod arch` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 25 + mod arch; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::arm64::ArchSyntax; [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::arm::ArchSyntax; [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::bpf::ArchSyntax; [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::arch::evm::ArchSyntax; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] help: if you import `ArchSyntax`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - .syntax(arch::x86::ArchSyntax::Att) [INFO] [stdout] 46 + .syntax(ArchSyntax::Att) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InsnDetail` in this scope [INFO] [stdout] --> src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let detail: InsnDetail = cs.insn_detail(&i).expect("Failed to get insn detail"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::InsnDetail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArchDetail` in this scope [INFO] [stdout] --> src/lib.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | let arch_detail: ArchDetail = detail.arch_detail(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use capstone_git::prelude::ArchDetail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 63 | ("insn id:", format!("{:?}", i.id().0)), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/capstone.rs - capstone::Capstone::disasm_all (line 245) [INFO] [stdout] src/capstone.rs - capstone::Capstone::disasm_iter (line 212) [INFO] [stdout] src/capstone.rs - capstone::Capstone::new (line 142) [INFO] [stdout] src/capstone.rs - capstone::Capstone::new_raw (line 154) [INFO] [stdout] src/capstone.rs - capstone::DisasmIter<'cs,'buf>::addr (line 716) [INFO] [stdout] src/capstone.rs - capstone::DisasmIter<'cs,'buf>::code (line 701) [INFO] [stdout] src/capstone.rs - capstone::DisasmIter<'cs,'buf>::next (line 659) [INFO] [stdout] src/capstone.rs - capstone::DisasmIter<'cs,'buf>::reset (line 731) [INFO] [stdout] src/instruction.rs - instruction::InsnDetail (line 227) [INFO] [stdout] src/instruction.rs - instruction::Instructions (line 21) [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - prelude (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.47s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "630f313558c2d9c15b2b7177e4327e705b549b922716be510872a88f3cb04ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630f313558c2d9c15b2b7177e4327e705b549b922716be510872a88f3cb04ea5", kill_on_drop: false }` [INFO] [stdout] 630f313558c2d9c15b2b7177e4327e705b549b922716be510872a88f3cb04ea5