[INFO] fetching crate ckb-system-scripts 0.4.0-alpha.16+multisig-with-since2... [INFO] checking ckb-system-scripts-0.4.0-alpha.16+multisig-with-since2 against beta-2019-10-27 for pr-65897 [INFO] extracting crate ckb-system-scripts 0.4.0-alpha.16+multisig-with-since2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ckb-system-scripts 0.4.0-alpha.16+multisig-with-since2 on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ckb-system-scripts 0.4.0-alpha.16+multisig-with-since2 [INFO] finished tweaking crates.io crate ckb-system-scripts 0.4.0-alpha.16+multisig-with-since2 [INFO] tweaked toml for crates.io crate ckb-system-scripts 0.4.0-alpha.16+multisig-with-since2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c8f15474c618e1d64643c0f068a24d050709aa802ef4d5abfb4e302ff18c4aa3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c8f15474c618e1d64643c0f068a24d050709aa802ef4d5abfb4e302ff18c4aa3"` [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling faster-hex v0.3.1 [INFO] [stderr] Compiling blake2b-rs v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking includedir v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling includedir_codegen v0.5.0 [INFO] [stderr] Compiling ckb-system-scripts v0.4.0-alpha.16+multisig-with-since2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_types` [INFO] [stderr] --> src/tests/dao.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_types` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_types` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_types` [INFO] [stderr] --> src/tests/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_crypto` [INFO] [stderr] --> src/tests/dao.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_crypto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::sign_tx`, `super::DummyDataLoader`, `super::DAO_BIN`, `super::MAX_CYCLES`, `super::SECP256K1_DATA_BIN`, `super::SIGHASH_ALL_BIN`, `ckb_crypto::secp::Generator`, `ckb_crypto::secp::Privkey`, `ckb_dao_utils` [INFO] [stderr] --> src/tests/dao.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{sign_tx, DummyDataLoader, DAO_BIN, MAX_CYCLES, SECP256K1_DATA_BIN, SIGHASH_ALL_BIN}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stderr] 3 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] 4 | use ckb_dao_utils::pack_dao_data; [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `ckb_dao_utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ckb_error` [INFO] [stderr] --> src/tests/dao.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ckb_error::assert_error_eq; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_error` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_crypto` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_crypto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_script`, `ckb_types::bytes::Bytes`, `ckb_types::core::cell::CellMeta`, `ckb_types::core::cell::CellMetaBuilder`, `ckb_types::core::cell::ResolvedTransaction`, `ckb_types::core::BlockNumber`, `ckb_types::core::Capacity`, `ckb_types::core::DepType`, `ckb_types::core::EpochExt`, `ckb_types::core::EpochNumber`, `ckb_types::core::EpochNumberWithFraction`, `ckb_types::core::HeaderBuilder`, `ckb_types::core::HeaderView`, `ckb_types::core::ScriptHashType`, `ckb_types::core::TransactionBuilder`, `ckb_types::core::TransactionInfo`, `ckb_types::core::TransactionView`, `ckb_types::packed::Byte32`, `ckb_types::packed::CellDep`, `ckb_types::packed::CellInput`, `ckb_types::packed::CellOutput`, `ckb_types::packed::OutPoint`, `ckb_types::packed::Script`, `ckb_types::packed::WitnessArgs`, `super::blake160`, `super::DummyDataLoader`, `super::MAX_CYCLES`, `super::MULTISIG_ALL_BIN`, `super::SECP256K1_DATA_BIN`, `ckb_crypto::secp::Generator`, `ckb_crypto::secp::Privkey` [INFO] [stderr] --> src/tests/dao.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ckb_script::{ScriptError, TransactionScriptsVerifier}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_script` [INFO] [stderr] 7 | use ckb_types::{ [INFO] [stderr] 8 | bytes::Bytes, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 9 | core::{ [INFO] [stderr] 10 | cell::{CellMeta, CellMetaBuilder, ResolvedTransaction}, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | BlockNumber, Capacity, DepType, EpochExt, EpochNumber, EpochNumberWithFraction, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | HeaderBuilder, HeaderView, ScriptHashType, TransactionBuilder, TransactionInfo, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | TransactionView, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | }, [INFO] [stderr] 15 | packed::{Byte32, CellDep, CellInput, CellOutput, OutPoint, Script, WitnessArgs}, [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/tests/secp256k1_blake160_multisig_all.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{blake160, DummyDataLoader, MAX_CYCLES, MULTISIG_ALL_BIN, SECP256K1_DATA_BIN}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ckb_error` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ckb_error::{assert_error_eq, Error}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_error` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_script`, `ckb_types::bytes::Bytes`, `ckb_types::core::cell::CellMetaBuilder`, `ckb_types::core::cell::ResolvedTransaction`, `ckb_types::core::Capacity`, `ckb_types::core::DepType`, `ckb_types::core::ScriptHashType`, `ckb_types::core::TransactionBuilder`, `ckb_types::core::TransactionView` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ckb_script::{ScriptError, TransactionScriptsVerifier}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_script` [INFO] [stderr] 5 | use ckb_types::{ [INFO] [stderr] 6 | bytes::Bytes, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 7 | core::{ [INFO] [stderr] 8 | cell::{CellMetaBuilder, ResolvedTransaction}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | Capacity, DepType, ScriptHashType, TransactionBuilder, TransactionView, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_crypto` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_crypto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_types`, `ckb_types::packed::CellDep`, `ckb_types::packed::CellInput`, `ckb_types::packed::CellOutput`, `ckb_types::packed::OutPoint`, `ckb_types::packed::Script`, `ckb_types::packed::WitnessArgs`, `super::blake160`, `super::sign_tx`, `super::sign_tx_by_input_group`, `super::DummyDataLoader`, `super::MAX_CYCLES`, `super::SECP256K1_DATA_BIN`, `super::SIGHASH_ALL_BIN`, `ckb_crypto::secp::Generator`, `ckb_crypto::secp::Privkey` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] ... [INFO] [stderr] 11 | packed::{self, CellDep, CellInput, CellOutput, OutPoint, Script, WitnessArgs}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/tests/secp256k1_blake160_sighash_all.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | blake160, sign_tx, sign_tx_by_input_group, DummyDataLoader, MAX_CYCLES, SECP256K1_DATA_BIN, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | SIGHASH_ALL_BIN, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | }; [INFO] [stderr] 5 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ckb_error` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ckb_error::assert_error_eq; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_error` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_script`, `ckb_types::bytes::Bytes`, `ckb_types::core::cell::CellMetaBuilder`, `ckb_types::core::cell::ResolvedTransaction`, `ckb_types::core::Capacity`, `ckb_types::core::DepType`, `ckb_types::core::ScriptHashType`, `ckb_types::core::TransactionBuilder`, `ckb_types::core::TransactionView`, `ckb_types::packed::CellDep`, `ckb_types::packed::CellInput`, `ckb_types::packed::CellOutput`, `ckb_types::packed::OutPoint`, `ckb_types::packed::Script`, `ckb_types::packed::WitnessArgs`, `ckb_types::packed::WitnessArgsBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ckb_script::{ScriptError, TransactionScriptsVerifier}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_script` [INFO] [stderr] 8 | use ckb_types::{ [INFO] [stderr] 9 | bytes::Bytes, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 10 | core::{ [INFO] [stderr] 11 | cell::{CellMetaBuilder, ResolvedTransaction}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | Capacity, DepType, ScriptHashType, TransactionBuilder, TransactionView, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 13 | }, [INFO] [stderr] 14 | packed::{CellDep, CellInput, CellOutput, OutPoint, Script, WitnessArgs, WitnessArgsBuilder}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_crypto` [INFO] [stderr] --> src/tests/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ckb_crypto::secp::Privkey; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_crypto` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_types`, `ckb_crypto::secp::Privkey` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] | [INFO] [stderr] ::: src/tests/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use ckb_crypto::secp::Privkey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_script`, `ckb_types::bytes::Bytes`, `ckb_types::core::cell::CellMeta`, `ckb_types::core::BlockExt`, `ckb_types::core::EpochExt`, `ckb_types::core::HeaderView`, `ckb_types::core::TransactionView` [INFO] [stderr] --> src/tests/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ckb_script::DataLoader; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `ckb_script` [INFO] [stderr] 7 | use ckb_types::{ [INFO] [stderr] 8 | bytes::Bytes, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 9 | core::{cell::CellMeta, BlockExt, EpochExt, HeaderView, TransactionView}, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `ckb_types`, `ckb_types::packed::Byte32`, `ckb_types::packed::CellOutput`, `ckb_types::packed::OutPoint`, `ckb_types::packed::WitnessArgs` [INFO] [stderr] --> src/tests/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ckb_types::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ckb_types` [INFO] [stderr] ... [INFO] [stderr] 10 | packed::{self, Byte32, CellOutput, OutPoint, WitnessArgs}, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/dao.rs:768:5 [INFO] [stderr] | [INFO] [stderr] 768 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/dao.rs:830:5 [INFO] [stderr] | [INFO] [stderr] 830 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/dao.rs:900:5 [INFO] [stderr] | [INFO] [stderr] 900 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/dao.rs:970:5 [INFO] [stderr] | [INFO] [stderr] 970 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/dao.rs:1041:5 [INFO] [stderr] | [INFO] [stderr] 1041 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:306:9 [INFO] [stderr] | [INFO] [stderr] 306 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:390:9 [INFO] [stderr] | [INFO] [stderr] 390 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:404:9 [INFO] [stderr] | [INFO] [stderr] 404 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:418:9 [INFO] [stderr] | [INFO] [stderr] 418 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:352:5 [INFO] [stderr] | [INFO] [stderr] 352 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:390:5 [INFO] [stderr] | [INFO] [stderr] 390 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:456:5 [INFO] [stderr] | [INFO] [stderr] 456 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:500:5 [INFO] [stderr] | [INFO] [stderr] 500 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:546:5 [INFO] [stderr] | [INFO] [stderr] 546 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:587:5 [INFO] [stderr] | [INFO] [stderr] 587 | assert_error_eq!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/dao.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | .capacity(Capacity::shannons(shannons).pack()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/dao.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | let out_point = OutPoint::new(tx_hash, 0); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/dao.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | let cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | Capacity::bytes(script_data.len()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/dao.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | CellOutput::calc_data_hash(&SIGHASH_ALL_BIN) [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/dao.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | CellOutput::calc_data_hash(&DAO_BIN) [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/dao.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | let out_point = OutPoint::new(tx_hash, 0); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Script` [INFO] [stderr] --> src/tests/dao.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | let lock = Script::new_builder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Script` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ScriptHashType` [INFO] [stderr] --> src/tests/dao.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | .hash_type(ScriptHashType::Data.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `ScriptHashType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Script` [INFO] [stderr] --> src/tests/dao.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | let type_ = Script::new_builder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Script` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | .args(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ScriptHashType` [INFO] [stderr] --> src/tests/dao.rs:79:20 [INFO] [stderr] | [INFO] [stderr] 79 | .hash_type(ScriptHashType::Data.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `ScriptHashType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/dao.rs:81:16 [INFO] [stderr] | [INFO] [stderr] 81 | let cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:88:51 [INFO] [stderr] | [INFO] [stderr] 88 | .insert(out_point.clone(), (cell.clone(), Bytes::new())); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochExt` [INFO] [stderr] --> src/tests/dao.rs:100:21 [INFO] [stderr] | [INFO] [stderr] 100 | let epoch_ext = EpochExt::new_builder() [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EpochExt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HeaderBuilder` [INFO] [stderr] --> src/tests/dao.rs:105:18 [INFO] [stderr] | [INFO] [stderr] 105 | let header = HeaderBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `HeaderBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | Capacity::shannons(0), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | Capacity::shannons(0), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | Capacity::shannons(0), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/dao.rs:119:19 [INFO] [stderr] | [INFO] [stderr] 119 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_hash` [INFO] [stderr] --> src/tests/dao.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | ckb_hash::blake2b_256(ser_pk)[..20].to_vec() [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ckb_hash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 139 | CellMetaBuilder::from_cell_output(secp_cell.clone(), SIGHASH_ALL_BIN.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:143:9 [INFO] [stderr] | [INFO] [stderr] 143 | CellMetaBuilder::from_cell_output(secp_data_cell.clone(), SECP256K1_DATA_BIN.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | let dao_cell_meta = CellMetaBuilder::from_cell_output(dao_cell.clone(), DAO_BIN.clone()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/dao.rs:163:13 [INFO] [stderr] | [INFO] [stderr] 163 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/dao.rs:165:27 [INFO] [stderr] | [INFO] [stderr] 165 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/dao.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/dao.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/dao.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/dao.rs:177:27 [INFO] [stderr] | [INFO] [stderr] 177 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:216:27 [INFO] [stderr] | [INFO] [stderr] 216 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:216:67 [INFO] [stderr] | [INFO] [stderr] 216 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:221:26 [INFO] [stderr] | [INFO] [stderr] 221 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:231:19 [INFO] [stderr] | [INFO] [stderr] 231 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:232:16 [INFO] [stderr] | [INFO] [stderr] 232 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:234:19 [INFO] [stderr] | [INFO] [stderr] 234 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:235:16 [INFO] [stderr] | [INFO] [stderr] 235 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:237:22 [INFO] [stderr] | [INFO] [stderr] 237 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:266:9 [INFO] [stderr] | [INFO] [stderr] 266 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:283:27 [INFO] [stderr] | [INFO] [stderr] 283 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:283:67 [INFO] [stderr] | [INFO] [stderr] 283 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:288:26 [INFO] [stderr] | [INFO] [stderr] 288 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:298:19 [INFO] [stderr] | [INFO] [stderr] 298 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:299:16 [INFO] [stderr] | [INFO] [stderr] 299 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:301:19 [INFO] [stderr] | [INFO] [stderr] 301 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:304:22 [INFO] [stderr] | [INFO] [stderr] 304 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:333:9 [INFO] [stderr] | [INFO] [stderr] 333 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:350:27 [INFO] [stderr] | [INFO] [stderr] 350 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:350:67 [INFO] [stderr] | [INFO] [stderr] 350 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:355:26 [INFO] [stderr] | [INFO] [stderr] 355 | block_epoch: EpochNumberWithFraction::new(35, 0, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:365:19 [INFO] [stderr] | [INFO] [stderr] 365 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:366:16 [INFO] [stderr] | [INFO] [stderr] 366 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:368:19 [INFO] [stderr] | [INFO] [stderr] 368 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:369:16 [INFO] [stderr] | [INFO] [stderr] 369 | .input(CellInput::new(previous_out_point, 0x2003e800000002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:371:22 [INFO] [stderr] | [INFO] [stderr] 371 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:400:9 [INFO] [stderr] | [INFO] [stderr] 400 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:417:27 [INFO] [stderr] | [INFO] [stderr] 417 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:417:67 [INFO] [stderr] | [INFO] [stderr] 417 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:422:26 [INFO] [stderr] | [INFO] [stderr] 422 | block_epoch: EpochNumberWithFraction::new(35, 999, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:432:19 [INFO] [stderr] | [INFO] [stderr] 432 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:433:16 [INFO] [stderr] | [INFO] [stderr] 433 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:435:19 [INFO] [stderr] | [INFO] [stderr] 435 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:436:16 [INFO] [stderr] | [INFO] [stderr] 436 | .input(CellInput::new(previous_out_point, 0x2003e803e70002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:438:22 [INFO] [stderr] | [INFO] [stderr] 438 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:467:9 [INFO] [stderr] | [INFO] [stderr] 467 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:484:27 [INFO] [stderr] | [INFO] [stderr] 484 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:484:67 [INFO] [stderr] | [INFO] [stderr] 484 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:489:26 [INFO] [stderr] | [INFO] [stderr] 489 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:499:19 [INFO] [stderr] | [INFO] [stderr] 499 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:500:16 [INFO] [stderr] | [INFO] [stderr] 500 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:502:19 [INFO] [stderr] | [INFO] [stderr] 502 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:503:16 [INFO] [stderr] | [INFO] [stderr] 503 | .input(CellInput::new(previous_out_point, 0x2003e800000002f4)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:505:22 [INFO] [stderr] | [INFO] [stderr] 505 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:534:9 [INFO] [stderr] | [INFO] [stderr] 534 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:551:27 [INFO] [stderr] | [INFO] [stderr] 551 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:551:67 [INFO] [stderr] | [INFO] [stderr] 551 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:556:26 [INFO] [stderr] | [INFO] [stderr] 556 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:566:19 [INFO] [stderr] | [INFO] [stderr] 566 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:567:16 [INFO] [stderr] | [INFO] [stderr] 567 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Script` [INFO] [stderr] --> src/tests/dao.rs:569:17 [INFO] [stderr] | [INFO] [stderr] 569 | let type_ = Script::new_builder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Script` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ScriptHashType` [INFO] [stderr] --> src/tests/dao.rs:571:20 [INFO] [stderr] | [INFO] [stderr] 571 | .hash_type(ScriptHashType::Data.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `ScriptHashType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:573:19 [INFO] [stderr] | [INFO] [stderr] 573 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:574:16 [INFO] [stderr] | [INFO] [stderr] 574 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:581:22 [INFO] [stderr] | [INFO] [stderr] 581 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:612:9 [INFO] [stderr] | [INFO] [stderr] 612 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:617:9 [INFO] [stderr] | [INFO] [stderr] 617 | Capacity::shannons(123456781000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:646:27 [INFO] [stderr] | [INFO] [stderr] 646 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:646:67 [INFO] [stderr] | [INFO] [stderr] 646 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:651:26 [INFO] [stderr] | [INFO] [stderr] 651 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:655:28 [INFO] [stderr] | [INFO] [stderr] 655 | let input_cell_meta2 = CellMetaBuilder::from_cell_output(cell2, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:655:69 [INFO] [stderr] | [INFO] [stderr] 655 | let input_cell_meta2 = CellMetaBuilder::from_cell_output(cell2, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:660:26 [INFO] [stderr] | [INFO] [stderr] 660 | block_epoch: EpochNumberWithFraction::new(35, 564, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:670:19 [INFO] [stderr] | [INFO] [stderr] 670 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:671:16 [INFO] [stderr] | [INFO] [stderr] 671 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:675:20 [INFO] [stderr] | [INFO] [stderr] 675 | let witness2 = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:676:16 [INFO] [stderr] | [INFO] [stderr] 676 | .type_(Bytes::from(&b2[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:678:19 [INFO] [stderr] | [INFO] [stderr] 678 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:679:16 [INFO] [stderr] | [INFO] [stderr] 679 | .input(CellInput::new(previous_out_point, 0x2003e800000002f4)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:680:16 [INFO] [stderr] | [INFO] [stderr] 680 | .input(CellInput::new(previous_out_point2, 0x2003e802340002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:683:28 [INFO] [stderr] | [INFO] [stderr] 683 | .outputs_data(vec![Bytes::new(); 2].pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:715:9 [INFO] [stderr] | [INFO] [stderr] 715 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/dao.rs:726:30 [INFO] [stderr] | [INFO] [stderr] 726 | let previous_out_point = OutPoint::new_builder() [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:731:27 [INFO] [stderr] | [INFO] [stderr] 731 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:731:67 [INFO] [stderr] | [INFO] [stderr] 731 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:736:26 [INFO] [stderr] | [INFO] [stderr] 736 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:746:19 [INFO] [stderr] | [INFO] [stderr] 746 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:747:16 [INFO] [stderr] | [INFO] [stderr] 747 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:749:19 [INFO] [stderr] | [INFO] [stderr] 749 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:750:16 [INFO] [stderr] | [INFO] [stderr] 750 | .input(CellInput::new(previous_out_point, 0x2003e80000000320)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:752:22 [INFO] [stderr] | [INFO] [stderr] 752 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:782:9 [INFO] [stderr] | [INFO] [stderr] 782 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:793:27 [INFO] [stderr] | [INFO] [stderr] 793 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:793:67 [INFO] [stderr] | [INFO] [stderr] 793 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:798:26 [INFO] [stderr] | [INFO] [stderr] 798 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:808:19 [INFO] [stderr] | [INFO] [stderr] 808 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:809:16 [INFO] [stderr] | [INFO] [stderr] 809 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:811:19 [INFO] [stderr] | [INFO] [stderr] 811 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:812:16 [INFO] [stderr] | [INFO] [stderr] 812 | .input(CellInput::new(previous_out_point, 0x2003e80000000320)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:814:22 [INFO] [stderr] | [INFO] [stderr] 814 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:845:9 [INFO] [stderr] | [INFO] [stderr] 845 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:862:27 [INFO] [stderr] | [INFO] [stderr] 862 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:862:67 [INFO] [stderr] | [INFO] [stderr] 862 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:867:26 [INFO] [stderr] | [INFO] [stderr] 867 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:877:19 [INFO] [stderr] | [INFO] [stderr] 877 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:878:16 [INFO] [stderr] | [INFO] [stderr] 878 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:880:19 [INFO] [stderr] | [INFO] [stderr] 880 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:881:16 [INFO] [stderr] | [INFO] [stderr] 881 | .input(CellInput::new(previous_out_point, 0x2003e80000000320)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:883:22 [INFO] [stderr] | [INFO] [stderr] 883 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:915:9 [INFO] [stderr] | [INFO] [stderr] 915 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:932:27 [INFO] [stderr] | [INFO] [stderr] 932 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:932:67 [INFO] [stderr] | [INFO] [stderr] 932 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:937:26 [INFO] [stderr] | [INFO] [stderr] 937 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:947:19 [INFO] [stderr] | [INFO] [stderr] 947 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:948:16 [INFO] [stderr] | [INFO] [stderr] 948 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:950:19 [INFO] [stderr] | [INFO] [stderr] 950 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:951:16 [INFO] [stderr] | [INFO] [stderr] 951 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:953:22 [INFO] [stderr] | [INFO] [stderr] 953 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/dao.rs:985:9 [INFO] [stderr] | [INFO] [stderr] 985 | Capacity::shannons(123456780000), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/dao.rs:1002:27 [INFO] [stderr] | [INFO] [stderr] 1002 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:1002:67 [INFO] [stderr] | [INFO] [stderr] 1002 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::new()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] --> src/tests/dao.rs:1007:26 [INFO] [stderr] | [INFO] [stderr] 1007 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `EpochNumberWithFraction` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/dao.rs:1017:19 [INFO] [stderr] | [INFO] [stderr] 1017 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:1018:16 [INFO] [stderr] | [INFO] [stderr] 1018 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/dao.rs:1020:19 [INFO] [stderr] | [INFO] [stderr] 1020 | let builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/dao.rs:1021:16 [INFO] [stderr] | [INFO] [stderr] 1021 | .input(CellInput::new(previous_out_point, 0x2003e802290002f3)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/dao.rs:1023:22 [INFO] [stderr] | [INFO] [stderr] 1023 | .output_data(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:208:29 [INFO] [stderr] | [INFO] [stderr] 208 | .set_witnesses(vec![WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:209:20 [INFO] [stderr] | [INFO] [stderr] 209 | .extra(Bytes::from(extract_witness).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_hash` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:325:35 [INFO] [stderr] | [INFO] [stderr] 325 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ckb_hash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:328:31 [INFO] [stderr] | [INFO] [stderr] 328 | let witness = WitnessArgs::new_unchecked(Unpack::::unpack( [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:328:58 [INFO] [stderr] | [INFO] [stderr] 328 | let witness = WitnessArgs::new_unchecked(Unpack::::unpack( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:341:27 [INFO] [stderr] | [INFO] [stderr] 341 | .lock(Bytes::from(lock_without_sig).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:360:27 [INFO] [stderr] | [INFO] [stderr] 360 | .lock(Bytes::from(lock).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:384:9 [INFO] [stderr] | [INFO] [stderr] 384 | Bytes::from(buf) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:473:20 [INFO] [stderr] | [INFO] [stderr] 473 | let capacity = Capacity::shannons(42); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:474:30 [INFO] [stderr] | [INFO] [stderr] 474 | let previous_out_point = OutPoint::new(previous_tx_hash.clone(), previous_index); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:482:30 [INFO] [stderr] | [INFO] [stderr] 482 | let contract_out_point = OutPoint::new(contract_tx_hash.clone(), contract_index); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:484:20 [INFO] [stderr] | [INFO] [stderr] 484 | let dep_cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:486:13 [INFO] [stderr] | [INFO] [stderr] 486 | Capacity::bytes(MULTISIG_ALL_BIN.len()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:491:30 [INFO] [stderr] | [INFO] [stderr] 491 | let dep_cell_data_hash = CellOutput::calc_data_hash(&MULTISIG_ALL_BIN); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:504:9 [INFO] [stderr] | [INFO] [stderr] 504 | OutPoint::new(tx_hash, 0) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:506:31 [INFO] [stderr] | [INFO] [stderr] 506 | let secp256k1_data_cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:508:13 [INFO] [stderr] | [INFO] [stderr] 508 | Capacity::bytes(SECP256K1_DATA_BIN.len()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Script` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:518:18 [INFO] [stderr] | [INFO] [stderr] 518 | let script = Script::new_builder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Script` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ScriptHashType` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:521:20 [INFO] [stderr] | [INFO] [stderr] 521 | .hash_type(ScriptHashType::Data.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `ScriptHashType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:523:32 [INFO] [stderr] | [INFO] [stderr] 523 | let previous_output_cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:529:40 [INFO] [stderr] | [INFO] [stderr] 529 | (previous_output_cell.clone(), Bytes::new()), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:531:22 [INFO] [stderr] | [INFO] [stderr] 531 | let tx_builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:532:16 [INFO] [stderr] | [INFO] [stderr] 532 | .input(CellInput::new(previous_out_point.clone(), 0)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:534:13 [INFO] [stderr] | [INFO] [stderr] 534 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:536:27 [INFO] [stderr] | [INFO] [stderr] 536 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:540:13 [INFO] [stderr] | [INFO] [stderr] 540 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:542:27 [INFO] [stderr] | [INFO] [stderr] 542 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:545:17 [INFO] [stderr] | [INFO] [stderr] 545 | .output(CellOutput::new_builder().capacity(capacity.pack()).build()) [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:546:22 [INFO] [stderr] | [INFO] [stderr] 546 | .output_data(Bytes::new().pack()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:550:45 [INFO] [stderr] | [INFO] [stderr] 550 | extra_inputs_tx_builder.witness(WitnessArgs::new_builder().build().as_bytes().pack()); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:553:35 [INFO] [stderr] | [INFO] [stderr] 553 | let extra_out_point = OutPoint::new(previous_tx_hash.clone(), i); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:556:48 [INFO] [stderr] | [INFO] [stderr] 556 | (previous_output_cell.clone(), Bytes::new()), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:561:24 [INFO] [stderr] | [INFO] [stderr] 561 | .input(CellInput::new(extra_out_point, 0)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:563:21 [INFO] [stderr] | [INFO] [stderr] 563 | WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:564:32 [INFO] [stderr] | [INFO] [stderr] 564 | .extra(Bytes::from(random_extra.to_vec()).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:573:22 [INFO] [stderr] | [INFO] [stderr] 573 | .witness(WitnessArgs::new_builder().build().as_bytes().pack()) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:590:13 [INFO] [stderr] | [INFO] [stderr] 590 | CellMetaBuilder::from_cell_output(dep_output.to_owned(), dep_data.to_owned()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:601:13 [INFO] [stderr] | [INFO] [stderr] 601 | CellMetaBuilder::from_cell_output(input_output.to_owned(), input_data.to_owned()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:617:19 [INFO] [stderr] | [INFO] [stderr] 617 | keys.push(Generator::random_privkey()); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | OutPoint::new(contract_tx_hash.clone(), 0) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | let sighash_all_cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | Capacity::bytes(SIGHASH_ALL_BIN.len()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:51:38 [INFO] [stderr] | [INFO] [stderr] 51 | let sighash_all_cell_data_hash = CellOutput::calc_data_hash(&SIGHASH_ALL_BIN); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | OutPoint::new(tx_hash, 0) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:65:31 [INFO] [stderr] | [INFO] [stderr] 65 | let secp256k1_data_cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | Capacity::bytes(SECP256K1_DATA_BIN.len()) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Capacity` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:77:26 [INFO] [stderr] | [INFO] [stderr] 77 | let dummy_capacity = Capacity::shannons(42); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Capacity` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TransactionBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:78:26 [INFO] [stderr] | [INFO] [stderr] 78 | let mut tx_builder = TransactionBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `TransactionBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:82:27 [INFO] [stderr] | [INFO] [stderr] 82 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellDep` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | CellDep::new_builder() [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `CellDep` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DepType` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | .dep_type(DepType::Code.into()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `DepType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:96:22 [INFO] [stderr] | [INFO] [stderr] 96 | .output_data(Bytes::new().pack()); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OutPoint` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:106:38 [INFO] [stderr] | [INFO] [stderr] 106 | let previous_out_point = OutPoint::new(previous_tx_hash, 0); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `OutPoint` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Script` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | let script = Script::new_builder() [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Script` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ScriptHashType` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | .hash_type(ScriptHashType::Data.into()) [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `ScriptHashType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:112:40 [INFO] [stderr] | [INFO] [stderr] 112 | let previous_output_cell = CellOutput::new_builder() [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:118:48 [INFO] [stderr] | [INFO] [stderr] 118 | (previous_output_cell.clone(), Bytes::new()), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgsBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:122:32 [INFO] [stderr] | [INFO] [stderr] 122 | let witness_args = WitnessArgsBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `WitnessArgsBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:123:24 [INFO] [stderr] | [INFO] [stderr] 123 | .extra(Bytes::from(random_extra_witness.to_vec()).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellInput` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:126:24 [INFO] [stderr] | [INFO] [stderr] 126 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `CellInput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_hash` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:136:23 [INFO] [stderr] | [INFO] [stderr] 136 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ckb_hash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgsBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | let witness_args = WitnessArgsBuilder::default() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `WitnessArgsBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:143:15 [INFO] [stderr] | [INFO] [stderr] 143 | .lock(Bytes::from(sig.serialize()).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | CellMetaBuilder::from_cell_output(dep_output.to_owned(), dep_data.to_owned()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | CellMetaBuilder::from_cell_output(input_output.to_owned(), input_data.to_owned()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `CellMetaBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:186:19 [INFO] [stderr] | [INFO] [stderr] 186 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:200:19 [INFO] [stderr] | [INFO] [stderr] 200 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:207:29 [INFO] [stderr] | [INFO] [stderr] 207 | .set_witnesses(vec![WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:208:20 [INFO] [stderr] | [INFO] [stderr] 208 | .extra(Bytes::from(extract_witness).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | WitnessArgs::new_unchecked(w.unpack()) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:228:28 [INFO] [stderr] | [INFO] [stderr] 228 | .extra(Bytes::from(vec![0]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:250:19 [INFO] [stderr] | [INFO] [stderr] 250 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:267:17 [INFO] [stderr] | [INFO] [stderr] 267 | WitnessArgs::new_unchecked(w.unpack()) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:269:28 [INFO] [stderr] | [INFO] [stderr] 269 | .extra(Bytes::from(vec![0]).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:295:19 [INFO] [stderr] | [INFO] [stderr] 295 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:299:20 [INFO] [stderr] | [INFO] [stderr] 299 | let privkey2 = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:321:19 [INFO] [stderr] | [INFO] [stderr] 321 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:322:25 [INFO] [stderr] | [INFO] [stderr] 322 | let wrong_privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:339:19 [INFO] [stderr] | [INFO] [stderr] 339 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:361:19 [INFO] [stderr] | [INFO] [stderr] 361 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:369:30 [INFO] [stderr] | [INFO] [stderr] 369 | let super_long_message = Bytes::from(&buffer[..]); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_hash` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:371:23 [INFO] [stderr] | [INFO] [stderr] 371 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ckb_hash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:378:19 [INFO] [stderr] | [INFO] [stderr] 378 | let witness = WitnessArgs::new_builder() [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:379:15 [INFO] [stderr] | [INFO] [stderr] 379 | .lock(Bytes::from(sig.serialize()).pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:401:25 [INFO] [stderr] | [INFO] [stderr] 401 | let mut generator = Generator::non_crypto_safe_prng(42); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:433:19 [INFO] [stderr] | [INFO] [stderr] 433 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:440:33 [INFO] [stderr] | [INFO] [stderr] 440 | let mut witnesses: Vec<_> = Unpack::>::unpack(&tx.witnesses()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:471:19 [INFO] [stderr] | [INFO] [stderr] 471 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:477:29 [INFO] [stderr] | [INFO] [stderr] 477 | let witnesses: Vec<_> = Unpack::>::unpack(&tx.witnesses()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:482:27 [INFO] [stderr] | [INFO] [stderr] 482 | let witness = WitnessArgs::new_unchecked(witness); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:486:24 [INFO] [stderr] | [INFO] [stderr] 486 | .extra(Bytes::new().pack()) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:515:19 [INFO] [stderr] | [INFO] [stderr] 515 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:520:19 [INFO] [stderr] | [INFO] [stderr] 520 | let witness = Unpack::>::unpack(&tx.witnesses()).remove(0); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:525:13 [INFO] [stderr] | [INFO] [stderr] 525 | Bytes::new().pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:526:13 [INFO] [stderr] | [INFO] [stderr] 526 | Bytes::from(vec![42]).pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:532:19 [INFO] [stderr] | [INFO] [stderr] 532 | let witness = Unpack::>::unpack(&tx.witnesses()).remove(0); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:537:13 [INFO] [stderr] | [INFO] [stderr] 537 | Bytes::from(vec![42]).pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:538:13 [INFO] [stderr] | [INFO] [stderr] 538 | Bytes::new().pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Generator` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:556:19 [INFO] [stderr] | [INFO] [stderr] 556 | let privkey = Generator::random_privkey(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Generator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:561:19 [INFO] [stderr] | [INFO] [stderr] 561 | let witness = Unpack::>::unpack(&tx.witnesses()).remove(0); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:566:13 [INFO] [stderr] | [INFO] [stderr] 566 | Bytes::from(vec![42]).pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:567:13 [INFO] [stderr] | [INFO] [stderr] 567 | Bytes::new().pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Unpack` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:574:25 [INFO] [stderr] | [INFO] [stderr] 574 | let mut witnesses = Unpack::>::unpack(&tx.witnesses()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Unpack` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:580:13 [INFO] [stderr] | [INFO] [stderr] 580 | Bytes::from(vec![0]).pack(), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/mod.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | Bytes::from(&include_bytes!("../../specs/cells/secp256k1_blake160_sighash_all")[..]); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/mod.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | Bytes::from(&include_bytes!("../../specs/cells/secp256k1_data")[..]); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/mod.rs:25:37 [INFO] [stderr] | [INFO] [stderr] 25 | pub static ref DAO_BIN: Bytes = Bytes::from(&include_bytes!("../../specs/cells/dao")[..]); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/mod.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | Bytes::from(&include_bytes!("../../specs/cells/secp256k1_blake160_multisig_all")[..]); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `CellOutput` [INFO] [stderr] --> src/tests/mod.rs:49:49 [INFO] [stderr] | [INFO] [stderr] 49 | .map(|(_, data)| (data.clone(), CellOutput::calc_data_hash(&data))) [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `CellOutput` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Bytes` [INFO] [stderr] --> src/tests/mod.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | Bytes::from(&ckb_hash::blake2b_256(message)[..20]) [INFO] [stderr] | ^^^^^ use of undeclared type or module `Bytes` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_hash` [INFO] [stderr] --> src/tests/mod.rs:69:18 [INFO] [stderr] | [INFO] [stderr] 69 | Bytes::from(&ckb_hash::blake2b_256(message)[..20]) [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ckb_hash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ckb_hash` [INFO] [stderr] --> src/tests/mod.rs:90:35 [INFO] [stderr] | [INFO] [stderr] 90 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `ckb_hash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WitnessArgs` [INFO] [stderr] --> src/tests/mod.rs:94:31 [INFO] [stderr] | [INFO] [stderr] 94 | let witness = WitnessArgs::new_unchecked(tx.witnesses().get(i).unwrap().unpack()); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `WitnessArgs` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stderr] --> src/tests/dao.rs:24:53 [INFO] [stderr] | [INFO] [stderr] 24 | fn cell_output_with_only_capacity(shannons: u64) -> CellOutput { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/dao.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | fn script_cell(script_data: &Bytes) -> (CellOutput, OutPoint) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stderr] --> src/tests/dao.rs:30:41 [INFO] [stderr] | [INFO] [stderr] 30 | fn script_cell(script_data: &Bytes) -> (CellOutput, OutPoint) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stderr] --> src/tests/dao.rs:30:53 [INFO] [stderr] | [INFO] [stderr] 30 | fn script_cell(script_data: &Bytes) -> (CellOutput, OutPoint) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/dao.rs:50:24 [INFO] [stderr] | [INFO] [stderr] 50 | fn secp_code_hash() -> Byte32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/dao.rs:54:23 [INFO] [stderr] | [INFO] [stderr] 54 | fn dao_code_hash() -> Byte32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Capacity` in this scope [INFO] [stderr] --> src/tests/dao.rs:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | capacity: Capacity, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/dao.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | lock_args: Bytes, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stderr] --> src/tests/dao.rs:62:7 [INFO] [stderr] | [INFO] [stderr] 62 | ) -> (CellOutput, OutPoint) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stderr] --> src/tests/dao.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | ) -> (CellOutput, OutPoint) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stderr] --> src/tests/dao.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | number: BlockNumber, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EpochNumber` in this scope [INFO] [stderr] --> src/tests/dao.rs:96:19 [INFO] [stderr] | [INFO] [stderr] 96 | epoch_number: EpochNumber, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stderr] --> src/tests/dao.rs:97:31 [INFO] [stderr] | [INFO] [stderr] 97 | epoch_start_block_number: BlockNumber, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stderr] --> src/tests/dao.rs:98:19 [INFO] [stderr] | [INFO] [stderr] 98 | epoch_length: BlockNumber, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HeaderView` in this scope [INFO] [stderr] --> src/tests/dao.rs:99:7 [INFO] [stderr] | [INFO] [stderr] 99 | ) -> (HeaderView, EpochExt) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EpochExt` in this scope [INFO] [stderr] --> src/tests/dao.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | ) -> (HeaderView, EpochExt) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/dao.rs:118:19 [INFO] [stderr] | [INFO] [stderr] 118 | fn gen_lock() -> (Privkey, Bytes) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/dao.rs:118:28 [INFO] [stderr] | [INFO] [stderr] 118 | fn gen_lock() -> (Privkey, Bytes) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionBuilder` in this scope [INFO] [stderr] --> src/tests/dao.rs:132:14 [INFO] [stderr] | [INFO] [stderr] 132 | builder: TransactionBuilder, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/dao.rs:133:7 [INFO] [stderr] | [INFO] [stderr] 133 | ) -> (TransactionView, Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellMeta` in this scope [INFO] [stderr] --> src/tests/dao.rs:133:28 [INFO] [stderr] | [INFO] [stderr] 133 | ) -> (TransactionView, Vec) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:218:27 [INFO] [stderr] | [INFO] [stderr] 218 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:246:15 [INFO] [stderr] | [INFO] [stderr] 246 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:285:27 [INFO] [stderr] | [INFO] [stderr] 285 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:313:15 [INFO] [stderr] | [INFO] [stderr] 313 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:352:27 [INFO] [stderr] | [INFO] [stderr] 352 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:380:15 [INFO] [stderr] | [INFO] [stderr] 380 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:419:27 [INFO] [stderr] | [INFO] [stderr] 419 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:447:15 [INFO] [stderr] | [INFO] [stderr] 447 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:486:27 [INFO] [stderr] | [INFO] [stderr] 486 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:514:15 [INFO] [stderr] | [INFO] [stderr] 514 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:553:27 [INFO] [stderr] | [INFO] [stderr] 553 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:590:15 [INFO] [stderr] | [INFO] [stderr] 590 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:648:27 [INFO] [stderr] | [INFO] [stderr] 648 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:657:27 [INFO] [stderr] | [INFO] [stderr] 657 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:695:15 [INFO] [stderr] | [INFO] [stderr] 695 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:733:27 [INFO] [stderr] | [INFO] [stderr] 733 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:760:15 [INFO] [stderr] | [INFO] [stderr] 760 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:795:27 [INFO] [stderr] | [INFO] [stderr] 795 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:822:15 [INFO] [stderr] | [INFO] [stderr] 822 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:864:27 [INFO] [stderr] | [INFO] [stderr] 864 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:892:15 [INFO] [stderr] | [INFO] [stderr] 892 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:934:27 [INFO] [stderr] | [INFO] [stderr] 934 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:962:15 [INFO] [stderr] | [INFO] [stderr] 962 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stderr] --> src/tests/dao.rs:1004:27 [INFO] [stderr] | [INFO] [stderr] 1004 | .transaction_info(TransactionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/dao.rs:1033:15 [INFO] [stderr] | [INFO] [stderr] 1033 | let rtx = ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:314:9 [INFO] [stderr] | [INFO] [stderr] 314 | tx: TransactionView, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:315:25 [INFO] [stderr] | [INFO] [stderr] 315 | multi_sign_script: &Bytes, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:316:14 [INFO] [stderr] | [INFO] [stderr] 316 | keys: &[&Privkey], [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:317:6 [INFO] [stderr] | [INFO] [stderr] 317 | ) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:328:67 [INFO] [stderr] | [INFO] [stderr] 328 | let witness = WitnessArgs::new_unchecked(Unpack::::unpack( [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:347:34 [INFO] [stderr] | [INFO] [stderr] 347 | let witness: Bytes = tx.witnesses().get(n).unwrap().unpack(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:396:25 [INFO] [stderr] | [INFO] [stderr] 396 | let inputs: Vec = raw_tx [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:410:25 [INFO] [stderr] | [INFO] [stderr] 410 | let inputs: Vec = raw_tx [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:424:25 [INFO] [stderr] | [INFO] [stderr] 424 | let inputs: Vec = raw_tx [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:438:25 [INFO] [stderr] | [INFO] [stderr] 438 | let inputs: Vec = raw_tx [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:449:34 [INFO] [stderr] | [INFO] [stderr] 449 | fn gen_multi_sign_script(keys: &[Privkey], threshold: u8, require_first_n: u8) -> Bytes { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:449:83 [INFO] [stderr] | [INFO] [stderr] 449 | fn gen_multi_sign_script(keys: &[Privkey], threshold: u8, require_first_n: u8) -> Bytes { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:463:16 [INFO] [stderr] | [INFO] [stderr] 463 | lock_args: Bytes, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:465:6 [INFO] [stderr] | [INFO] [stderr] 465 | ) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:578:51 [INFO] [stderr] | [INFO] [stderr] 578 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:578:61 [INFO] [stderr] | [INFO] [stderr] 578 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:582:58 [INFO] [stderr] | [INFO] [stderr] 582 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:582:78 [INFO] [stderr] | [INFO] [stderr] 582 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:606:5 [INFO] [stderr] | [INFO] [stderr] 606 | ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:614:35 [INFO] [stderr] | [INFO] [stderr] 614 | fn generate_keys(n: usize) -> Vec { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_multisig_all.rs:623:47 [INFO] [stderr] | [INFO] [stderr] 623 | fn verify(data_loader: &DummyDataLoader, tx: &TransactionView) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:24:51 [INFO] [stderr] | [INFO] [stderr] 24 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:24:61 [INFO] [stderr] | [INFO] [stderr] 24 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | grouped_args: Vec<(Bytes, usize)>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:134:21 [INFO] [stderr] | [INFO] [stderr] 134 | fn sign_tx_hash(tx: TransactionView, key: &Privkey, tx_hash: &[u8]) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:134:44 [INFO] [stderr] | [INFO] [stderr] 134 | fn sign_tx_hash(tx: TransactionView, key: &Privkey, tx_hash: &[u8]) -> TransactionView { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:134:72 [INFO] [stderr] | [INFO] [stderr] 134 | fn sign_tx_hash(tx: TransactionView, key: &Privkey, tx_hash: &[u8]) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:150:58 [INFO] [stderr] | [INFO] [stderr] 150 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:150:78 [INFO] [stderr] | [INFO] [stderr] 150 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stderr] --> src/tests/secp256k1_blake160_sighash_all.rs:175:5 [INFO] [stderr] | [INFO] [stderr] 175 | ResolvedTransaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | pub static ref SIGHASH_ALL_BIN: Bytes = [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:23:40 [INFO] [stderr] | [INFO] [stderr] 23 | pub static ref SECP256K1_DATA_BIN: Bytes = [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:25:29 [INFO] [stderr] | [INFO] [stderr] 25 | pub static ref DAO_BIN: Bytes = Bytes::from(&include_bytes!("../../specs/cells/dao")[..]); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | pub static ref MULTISIG_ALL_BIN: Bytes = [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stderr] --> src/tests/mod.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | pub cells: HashMap, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stderr] --> src/tests/mod.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | pub cells: HashMap, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:32:47 [INFO] [stderr] | [INFO] [stderr] 32 | pub cells: HashMap, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/mod.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | pub headers: HashMap, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HeaderView` in this scope [INFO] [stderr] --> src/tests/mod.rs:33:34 [INFO] [stderr] | [INFO] [stderr] 33 | pub headers: HashMap, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/mod.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | pub epoches: HashMap, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EpochExt` in this scope [INFO] [stderr] --> src/tests/mod.rs:34:34 [INFO] [stderr] | [INFO] [stderr] 34 | pub epoches: HashMap, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CellMeta` in this scope [INFO] [stderr] --> src/tests/mod.rs:45:37 [INFO] [stderr] | [INFO] [stderr] 45 | fn load_cell_data(&self, cell: &CellMeta) -> Option<(Bytes, Byte32)> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:45:58 [INFO] [stderr] | [INFO] [stderr] 45 | fn load_cell_data(&self, cell: &CellMeta) -> Option<(Bytes, Byte32)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/mod.rs:45:65 [INFO] [stderr] | [INFO] [stderr] 45 | fn load_cell_data(&self, cell: &CellMeta) -> Option<(Bytes, Byte32)> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/mod.rs:53:37 [INFO] [stderr] | [INFO] [stderr] 53 | fn get_block_ext(&self, _hash: &Byte32) -> Option { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockExt` in this scope [INFO] [stderr] --> src/tests/mod.rs:53:55 [INFO] [stderr] | [INFO] [stderr] 53 | fn get_block_ext(&self, _hash: &Byte32) -> Option { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/mod.rs:58:39 [INFO] [stderr] | [INFO] [stderr] 58 | fn get_header(&self, block_hash: &Byte32) -> Option { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HeaderView` in this scope [INFO] [stderr] --> src/tests/mod.rs:58:57 [INFO] [stderr] | [INFO] [stderr] 58 | fn get_header(&self, block_hash: &Byte32) -> Option { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stderr] --> src/tests/mod.rs:63:44 [INFO] [stderr] | [INFO] [stderr] 63 | fn get_block_epoch(&self, block_hash: &Byte32) -> Option { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EpochExt` in this scope [INFO] [stderr] --> src/tests/mod.rs:63:62 [INFO] [stderr] | [INFO] [stderr] 63 | fn get_block_epoch(&self, block_hash: &Byte32) -> Option { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn blake160(message: &[u8]) -> Bytes { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/mod.rs:72:20 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn sign_tx(tx: TransactionView, key: &Privkey) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/mod.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn sign_tx(tx: TransactionView, key: &Privkey) -> TransactionView { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/mod.rs:72:55 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn sign_tx(tx: TransactionView, key: &Privkey) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/mod.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | tx: TransactionView, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stderr] --> src/tests/mod.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | key: &Privkey, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stderr] --> src/tests/mod.rs:82:6 [INFO] [stderr] | [INFO] [stderr] 82 | ) -> TransactionView { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stderr] --> src/tests/mod.rs:95:32 [INFO] [stderr] | [INFO] [stderr] 95 | let zero_lock: Bytes = { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 5 | use core::str::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Bytes; [INFO] [stderr] | [INFO] [stderr] 5 | use std::str::Bytes; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 419 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `ckb-system-scripts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c8f15474c618e1d64643c0f068a24d050709aa802ef4d5abfb4e302ff18c4aa3"` [INFO] running `"docker" "rm" "-f" "c8f15474c618e1d64643c0f068a24d050709aa802ef4d5abfb4e302ff18c4aa3"` [INFO] [stdout] c8f15474c618e1d64643c0f068a24d050709aa802ef4d5abfb4e302ff18c4aa3