[INFO] fetching crate ckb-system-scripts 0.5.1... [INFO] checking ckb-system-scripts-0.5.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate ckb-system-scripts 0.5.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ckb-system-scripts 0.5.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-system-scripts 0.5.1 [INFO] finished tweaking crates.io crate ckb-system-scripts 0.5.1 [INFO] tweaked toml for crates.io crate ckb-system-scripts 0.5.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a16cff0c8806c42bbd3bb05f4b7511c98a561b6cbe6e9d067e02f763bf43198b [INFO] running `Command { std: "docker" "start" "-a" "a16cff0c8806c42bbd3bb05f4b7511c98a561b6cbe6e9d067e02f763bf43198b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a16cff0c8806c42bbd3bb05f4b7511c98a561b6cbe6e9d067e02f763bf43198b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16cff0c8806c42bbd3bb05f4b7511c98a561b6cbe6e9d067e02f763bf43198b", kill_on_drop: false }` [INFO] [stdout] a16cff0c8806c42bbd3bb05f4b7511c98a561b6cbe6e9d067e02f763bf43198b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67b2d9417ec6403de78bda45d7d459219e5d5b9dda78e07071cabef12cb105a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "67b2d9417ec6403de78bda45d7d459219e5d5b9dda78e07071cabef12cb105a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling faster-hex v0.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling blake2b-rs v0.1.5 [INFO] [stderr] Compiling secp256k1 v0.15.5 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking includedir v0.5.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling includedir_codegen v0.5.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_types` [INFO] [stdout] --> src/tests/dao.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_types` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_types` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_types` [INFO] [stdout] --> src/tests/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_crypto` [INFO] [stdout] --> src/tests/dao.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/tests/dao.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{sign_tx, DummyDataLoader, DAO_BIN, MAX_CYCLES, SECP256K1_DATA_BIN, SIGHASH_ALL_BIN}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] 3 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 4 | use ckb_dao_utils::pack_dao_data; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `ckb_dao_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ckb_error` [INFO] [stdout] --> src/tests/dao.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ckb_error::assert_error_eq; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_crypto` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/tests/dao.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ckb_script::{ScriptError, TransactionScriptsVerifier}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_script` [INFO] [stdout] 7 | use ckb_types::{ [INFO] [stdout] 8 | bytes::Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | core::{ [INFO] [stdout] 10 | cell::{CellMeta, CellMetaBuilder, ResolvedTransaction}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | BlockNumber, Capacity, DepType, EpochExt, EpochNumber, EpochNumberWithFraction, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | HeaderBuilder, HeaderView, ScriptHashType, TransactionBuilder, TransactionInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | TransactionView, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | }, [INFO] [stdout] 15 | packed::{Byte32, CellDep, CellInput, CellOutput, OutPoint, Script, WitnessArgs}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/secp256k1_blake160_multisig_all.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{blake160, DummyDataLoader, MAX_CYCLES, MULTISIG_ALL_BIN, SECP256K1_DATA_BIN}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ckb_error` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ckb_error::{assert_error_eq, Error}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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::EpochNumberWithFraction`, `ckb_types::core::ScriptHashType`, `ckb_types::core::TransactionBuilder`, `ckb_types::core::TransactionView` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_script::{ScriptError, TransactionScriptsVerifier}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_script` [INFO] [stdout] 5 | use ckb_types::{ [INFO] [stdout] 6 | bytes::Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | core::{ [INFO] [stdout] 8 | cell::{CellMetaBuilder, ResolvedTransaction}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Capacity, DepType, EpochNumberWithFraction, ScriptHashType, TransactionBuilder, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | TransactionView, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_crypto` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] ... [INFO] [stdout] 12 | packed::{self, CellDep, CellInput, CellOutput, OutPoint, Script, WitnessArgs}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/secp256k1_blake160_sighash_all.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | blake160, sign_tx, sign_tx_by_input_group, DummyDataLoader, MAX_CYCLES, SECP256K1_DATA_BIN, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | SIGHASH_ALL_BIN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | }; [INFO] [stdout] 5 | use ckb_crypto::secp::{Generator, Privkey}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ckb_error` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ckb_error::assert_error_eq; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ckb_script::{ScriptError, TransactionScriptsVerifier}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_script` [INFO] [stdout] 8 | use ckb_types::{ [INFO] [stdout] 9 | bytes::Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | core::{ [INFO] [stdout] 11 | cell::{CellMetaBuilder, ResolvedTransaction}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | Capacity, DepType, ScriptHashType, TransactionBuilder, TransactionView, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | packed::{CellDep, CellInput, CellOutput, OutPoint, Script, WitnessArgs, WitnessArgsBuilder}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_crypto` [INFO] [stdout] --> src/tests/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ckb_crypto::secp::Privkey; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ckb_types`, `ckb_crypto::secp::Privkey` [INFO] [stdout] --> src/tests/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ckb_crypto::secp::Privkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/secp256k1_blake160_sighash_all.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/tests/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ckb_script::DataLoader; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ckb_script` [INFO] [stdout] 7 | use ckb_types::{ [INFO] [stdout] 8 | bytes::Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | core::{cell::CellMeta, BlockExt, EpochExt, HeaderView, TransactionView}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ckb_types`, `ckb_types::packed::Byte32`, `ckb_types::packed::CellOutput`, `ckb_types::packed::OutPoint`, `ckb_types::packed::WitnessArgs` [INFO] [stdout] --> src/tests/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ckb_types::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `ckb_types` [INFO] [stdout] ... [INFO] [stdout] 10 | packed::{self, Byte32, CellOutput, OutPoint, WitnessArgs}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:810:5 [INFO] [stdout] | [INFO] [stdout] 810 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:875:5 [INFO] [stdout] | [INFO] [stdout] 875 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:946:5 [INFO] [stdout] | [INFO] [stdout] 946 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1018:5 [INFO] [stdout] | [INFO] [stdout] 1018 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1161:5 [INFO] [stdout] | [INFO] [stdout] 1161 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1262:5 [INFO] [stdout] | [INFO] [stdout] 1262 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1314:5 [INFO] [stdout] | [INFO] [stdout] 1314 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1507:5 [INFO] [stdout] | [INFO] [stdout] 1507 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1573:5 [INFO] [stdout] | [INFO] [stdout] 1573 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1636:5 [INFO] [stdout] | [INFO] [stdout] 1636 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/dao.rs:1711:5 [INFO] [stdout] | [INFO] [stdout] 1711 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 546 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_error_eq` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | assert_error_eq!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/dao.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | .capacity(Capacity::shannons(shannons).pack()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/dao.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | OutPoint::new(tx_hash, 0) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/dao.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Capacity::bytes(script_data.len()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/dao.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | CellOutput::calc_data_hash(&SIGHASH_ALL_BIN) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/dao.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | CellOutput::calc_data_hash(&DAO_BIN) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/dao.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | let lock = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/dao.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/dao.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | let cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/dao.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | let lock = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/dao.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/dao.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let type_ = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/dao.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/dao.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | let cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochExt` [INFO] [stdout] --> src/tests/dao.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let epoch_ext = EpochExt::new_builder() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EpochExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderBuilder` [INFO] [stdout] --> src/tests/dao.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | let header = HeaderBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `HeaderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Capacity::shannons(0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Capacity::shannons(0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | Capacity::shannons(0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_hash` [INFO] [stdout] --> src/tests/dao.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | ckb_hash::blake2b_256(ser_pk)[..20].to_vec() [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ckb_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | CellMetaBuilder::from_cell_output(secp_cell.clone(), SIGHASH_ALL_BIN.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | CellMetaBuilder::from_cell_output(secp_data_cell.clone(), SECP256K1_DATA_BIN.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | let dao_cell_meta = CellMetaBuilder::from_cell_output(dao_cell.clone(), DAO_BIN.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/dao.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/dao.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/dao.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/dao.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/dao.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/dao.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:312:27 [INFO] [stdout] | [INFO] [stdout] 312 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | block_epoch: EpochNumberWithFraction::new(575, 555, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 330 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:381:27 [INFO] [stdout] | [INFO] [stdout] 381 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:386:26 [INFO] [stdout] | [INFO] [stdout] 386 | block_epoch: EpochNumberWithFraction::new(575, 1, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:399:19 [INFO] [stdout] | [INFO] [stdout] 399 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | .input(CellInput::new(previous_out_point, 0x2003e800000002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:450:27 [INFO] [stdout] | [INFO] [stdout] 450 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:455:26 [INFO] [stdout] | [INFO] [stdout] 455 | block_epoch: EpochNumberWithFraction::new(576, 0, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:465:19 [INFO] [stdout] | [INFO] [stdout] 465 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 468 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:469:16 [INFO] [stdout] | [INFO] [stdout] 469 | .input(CellInput::new(previous_out_point, 0x2003e803e70002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:524:26 [INFO] [stdout] | [INFO] [stdout] 524 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:534:19 [INFO] [stdout] | [INFO] [stdout] 534 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:537:19 [INFO] [stdout] | [INFO] [stdout] 537 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:538:16 [INFO] [stdout] | [INFO] [stdout] 538 | .input(CellInput::new(previous_out_point, 0x2003e800000002f4)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:588:27 [INFO] [stdout] | [INFO] [stdout] 588 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:593:26 [INFO] [stdout] | [INFO] [stdout] 593 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:603:19 [INFO] [stdout] | [INFO] [stdout] 603 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/dao.rs:606:17 [INFO] [stdout] | [INFO] [stdout] 606 | let type_ = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/dao.rs:608:20 [INFO] [stdout] | [INFO] [stdout] 608 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:610:19 [INFO] [stdout] | [INFO] [stdout] 610 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:611:16 [INFO] [stdout] | [INFO] [stdout] 611 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | Capacity::shannons(123456781000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:685:27 [INFO] [stdout] | [INFO] [stdout] 685 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:690:26 [INFO] [stdout] | [INFO] [stdout] 690 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:696:28 [INFO] [stdout] | [INFO] [stdout] 696 | let input_cell_meta2 = CellMetaBuilder::from_cell_output(cell2, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:701:26 [INFO] [stdout] | [INFO] [stdout] 701 | block_epoch: EpochNumberWithFraction::new(575, 621, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:711:19 [INFO] [stdout] | [INFO] [stdout] 711 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:716:20 [INFO] [stdout] | [INFO] [stdout] 716 | let witness2 = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:719:19 [INFO] [stdout] | [INFO] [stdout] 719 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:720:16 [INFO] [stdout] | [INFO] [stdout] 720 | .input(CellInput::new(previous_out_point, 0x2003e800000002f4)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:721:16 [INFO] [stdout] | [INFO] [stdout] 721 | .input(CellInput::new(previous_out_point2, 0x2003e802340002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/dao.rs:766:30 [INFO] [stdout] | [INFO] [stdout] 766 | let previous_out_point = OutPoint::new_builder() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:773:27 [INFO] [stdout] | [INFO] [stdout] 773 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:778:26 [INFO] [stdout] | [INFO] [stdout] 778 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:788:19 [INFO] [stdout] | [INFO] [stdout] 788 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:791:19 [INFO] [stdout] | [INFO] [stdout] 791 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:792:16 [INFO] [stdout] | [INFO] [stdout] 792 | .input(CellInput::new(previous_out_point, 0x2003e80000000320)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:838:27 [INFO] [stdout] | [INFO] [stdout] 838 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:843:26 [INFO] [stdout] | [INFO] [stdout] 843 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:856:19 [INFO] [stdout] | [INFO] [stdout] 856 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:857:16 [INFO] [stdout] | [INFO] [stdout] 857 | .input(CellInput::new(previous_out_point, 0x2003e80000000320)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:890:9 [INFO] [stdout] | [INFO] [stdout] 890 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:909:27 [INFO] [stdout] | [INFO] [stdout] 909 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:914:26 [INFO] [stdout] | [INFO] [stdout] 914 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:924:19 [INFO] [stdout] | [INFO] [stdout] 924 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:927:19 [INFO] [stdout] | [INFO] [stdout] 927 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:928:16 [INFO] [stdout] | [INFO] [stdout] 928 | .input(CellInput::new(previous_out_point, 0x2003e80000000320)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:980:27 [INFO] [stdout] | [INFO] [stdout] 980 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:985:26 [INFO] [stdout] | [INFO] [stdout] 985 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:995:19 [INFO] [stdout] | [INFO] [stdout] 995 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:998:19 [INFO] [stdout] | [INFO] [stdout] 998 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:999:16 [INFO] [stdout] | [INFO] [stdout] 999 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1033 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1052:27 [INFO] [stdout] | [INFO] [stdout] 1052 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1057:26 [INFO] [stdout] | [INFO] [stdout] 1057 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1067:19 [INFO] [stdout] | [INFO] [stdout] 1067 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1070:19 [INFO] [stdout] | [INFO] [stdout] 1070 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1071:16 [INFO] [stdout] | [INFO] [stdout] 1071 | .input(CellInput::new(previous_out_point, 0x2003e802290002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1123:27 [INFO] [stdout] | [INFO] [stdout] 1123 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1128:26 [INFO] [stdout] | [INFO] [stdout] 1128 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1138:19 [INFO] [stdout] | [INFO] [stdout] 1138 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1141:19 [INFO] [stdout] | [INFO] [stdout] 1141 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1142:16 [INFO] [stdout] | [INFO] [stdout] 1142 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1174:9 [INFO] [stdout] | [INFO] [stdout] 1174 | Capacity::shannons(1234567890), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1178:27 [INFO] [stdout] | [INFO] [stdout] 1178 | let input_cell_meta = CellMetaBuilder::from_cell_output(input_cell, Bytes::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1183:26 [INFO] [stdout] | [INFO] [stdout] 1183 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1192:40 [INFO] [stdout] | [INFO] [stdout] 1192 | gen_dao_cell(&mut data_loader, Capacity::shannons(1234567890), lock_args); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1194:19 [INFO] [stdout] | [INFO] [stdout] 1194 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1195:19 [INFO] [stdout] | [INFO] [stdout] 1195 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1196:16 [INFO] [stdout] | [INFO] [stdout] 1196 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1223 | Capacity::shannons(1234567890), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1227:27 [INFO] [stdout] | [INFO] [stdout] 1227 | let input_cell_meta = CellMetaBuilder::from_cell_output(input_cell, Bytes::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1232:26 [INFO] [stdout] | [INFO] [stdout] 1232 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1241:40 [INFO] [stdout] | [INFO] [stdout] 1241 | gen_dao_cell(&mut data_loader, Capacity::shannons(1234567890), lock_args); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1243:19 [INFO] [stdout] | [INFO] [stdout] 1243 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1244:19 [INFO] [stdout] | [INFO] [stdout] 1244 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1245:16 [INFO] [stdout] | [INFO] [stdout] 1245 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1275:9 [INFO] [stdout] | [INFO] [stdout] 1275 | Capacity::shannons(1234567890), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1279:27 [INFO] [stdout] | [INFO] [stdout] 1279 | let input_cell_meta = CellMetaBuilder::from_cell_output(input_cell, Bytes::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1284:26 [INFO] [stdout] | [INFO] [stdout] 1284 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1293:40 [INFO] [stdout] | [INFO] [stdout] 1293 | gen_dao_cell(&mut data_loader, Capacity::shannons(1234567890), lock_args); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1295:19 [INFO] [stdout] | [INFO] [stdout] 1295 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1296:19 [INFO] [stdout] | [INFO] [stdout] 1296 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1297:16 [INFO] [stdout] | [INFO] [stdout] 1297 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1339:27 [INFO] [stdout] | [INFO] [stdout] 1339 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1344:26 [INFO] [stdout] | [INFO] [stdout] 1344 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1354:9 [INFO] [stdout] | [INFO] [stdout] 1354 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1360:19 [INFO] [stdout] | [INFO] [stdout] 1360 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1361:19 [INFO] [stdout] | [INFO] [stdout] 1361 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1362:16 [INFO] [stdout] | [INFO] [stdout] 1362 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1392:9 [INFO] [stdout] | [INFO] [stdout] 1392 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1403:27 [INFO] [stdout] | [INFO] [stdout] 1403 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1408:26 [INFO] [stdout] | [INFO] [stdout] 1408 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1418:9 [INFO] [stdout] | [INFO] [stdout] 1418 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1424:19 [INFO] [stdout] | [INFO] [stdout] 1424 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1425:19 [INFO] [stdout] | [INFO] [stdout] 1425 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1426:16 [INFO] [stdout] | [INFO] [stdout] 1426 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1455:9 [INFO] [stdout] | [INFO] [stdout] 1455 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1466:27 [INFO] [stdout] | [INFO] [stdout] 1466 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1471:26 [INFO] [stdout] | [INFO] [stdout] 1471 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1481:9 [INFO] [stdout] | [INFO] [stdout] 1481 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1487:19 [INFO] [stdout] | [INFO] [stdout] 1487 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1488:19 [INFO] [stdout] | [INFO] [stdout] 1488 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1489:16 [INFO] [stdout] | [INFO] [stdout] 1489 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1521:9 [INFO] [stdout] | [INFO] [stdout] 1521 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1532:27 [INFO] [stdout] | [INFO] [stdout] 1532 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1537:26 [INFO] [stdout] | [INFO] [stdout] 1537 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1547:9 [INFO] [stdout] | [INFO] [stdout] 1547 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1553:19 [INFO] [stdout] | [INFO] [stdout] 1553 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1554:19 [INFO] [stdout] | [INFO] [stdout] 1554 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1555:16 [INFO] [stdout] | [INFO] [stdout] 1555 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1587:9 [INFO] [stdout] | [INFO] [stdout] 1587 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1598:27 [INFO] [stdout] | [INFO] [stdout] 1598 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1603:26 [INFO] [stdout] | [INFO] [stdout] 1603 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1612:40 [INFO] [stdout] | [INFO] [stdout] 1612 | gen_dao_cell(&mut data_loader, Capacity::shannons(1234567800), lock_args); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1616:19 [INFO] [stdout] | [INFO] [stdout] 1616 | let witness = WitnessArgs::new_builder().build(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1617:19 [INFO] [stdout] | [INFO] [stdout] 1617 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1618:16 [INFO] [stdout] | [INFO] [stdout] 1618 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1651:9 [INFO] [stdout] | [INFO] [stdout] 1651 | Capacity::shannons(1234567800 * 65), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1670:27 [INFO] [stdout] | [INFO] [stdout] 1670 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1675:26 [INFO] [stdout] | [INFO] [stdout] 1675 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1688:19 [INFO] [stdout] | [INFO] [stdout] 1688 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1691:19 [INFO] [stdout] | [INFO] [stdout] 1691 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1692:16 [INFO] [stdout] | [INFO] [stdout] 1692 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1726:9 [INFO] [stdout] | [INFO] [stdout] 1726 | Capacity::shannons(123456780000), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1731:9 [INFO] [stdout] | [INFO] [stdout] 1731 | Capacity::shannons(1234567890), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1750:27 [INFO] [stdout] | [INFO] [stdout] 1750 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1755:26 [INFO] [stdout] | [INFO] [stdout] 1755 | block_epoch: EpochNumberWithFraction::new(575, 610, 1100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/dao.rs:1759:28 [INFO] [stdout] | [INFO] [stdout] 1759 | let input_cell_meta2 = CellMetaBuilder::from_cell_output(cell2, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/dao.rs:1764:26 [INFO] [stdout] | [INFO] [stdout] 1764 | block_epoch: EpochNumberWithFraction::new(35, 554, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/dao.rs:1773:40 [INFO] [stdout] | [INFO] [stdout] 1773 | gen_dao_cell(&mut data_loader, Capacity::shannons(1234567890), lock_args); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1779:19 [INFO] [stdout] | [INFO] [stdout] 1779 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/dao.rs:1782:17 [INFO] [stdout] | [INFO] [stdout] 1782 | let type_ = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/dao.rs:1784:20 [INFO] [stdout] | [INFO] [stdout] 1784 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/dao.rs:1786:19 [INFO] [stdout] | [INFO] [stdout] 1786 | let builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1787:16 [INFO] [stdout] | [INFO] [stdout] 1787 | .input(CellInput::new(previous_out_point, 0x2003e8022a0002f3)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/dao.rs:1788:16 [INFO] [stdout] | [INFO] [stdout] 1788 | .input(CellInput::new(previous_out_point2, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1803:18 [INFO] [stdout] | [INFO] [stdout] 1803 | .witness(WitnessArgs::new_builder().build().as_bytes().pack()) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/dao.rs:1804:18 [INFO] [stdout] | [INFO] [stdout] 1804 | .witness(WitnessArgs::new_builder().build().as_bytes().pack()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | .set_witnesses(vec![WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_hash` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:327:35 [INFO] [stdout] | [INFO] [stdout] 327 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ckb_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | let witness = WitnessArgs::new_unchecked(Unpack::::unpack( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:330:58 [INFO] [stdout] | [INFO] [stdout] 330 | let witness = WitnessArgs::new_unchecked(Unpack::::unpack( [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | let since_epoch = EpochNumberWithFraction::new(200, 5, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | let epoch = EpochNumberWithFraction::new(200, 2, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | let epoch = EpochNumberWithFraction::new(200, 1, 600); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | let epoch = EpochNumberWithFraction::new(200, 6, 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:555:21 [INFO] [stdout] | [INFO] [stdout] 555 | let epoch = EpochNumberWithFraction::new(200, 1, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | let epoch = EpochNumberWithFraction::new(200, 6, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EpochNumberWithFraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:630:20 [INFO] [stdout] | [INFO] [stdout] 630 | let capacity = Capacity::shannons(42); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:631:30 [INFO] [stdout] | [INFO] [stdout] 631 | let previous_out_point = OutPoint::new(previous_tx_hash.clone(), previous_index); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:639:30 [INFO] [stdout] | [INFO] [stdout] 639 | let contract_out_point = OutPoint::new(contract_tx_hash.clone(), contract_index); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:641:20 [INFO] [stdout] | [INFO] [stdout] 641 | let dep_cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | Capacity::bytes(MULTISIG_ALL_BIN.len()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:648:30 [INFO] [stdout] | [INFO] [stdout] 648 | let dep_cell_data_hash = CellOutput::calc_data_hash(&MULTISIG_ALL_BIN); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | OutPoint::new(tx_hash, 0) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:663:31 [INFO] [stdout] | [INFO] [stdout] 663 | let secp256k1_data_cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:665:13 [INFO] [stdout] | [INFO] [stdout] 665 | Capacity::bytes(SECP256K1_DATA_BIN.len()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:675:18 [INFO] [stdout] | [INFO] [stdout] 675 | let script = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:678:20 [INFO] [stdout] | [INFO] [stdout] 678 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:680:32 [INFO] [stdout] | [INFO] [stdout] 680 | let previous_output_cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:688:22 [INFO] [stdout] | [INFO] [stdout] 688 | let tx_builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:689:16 [INFO] [stdout] | [INFO] [stdout] 689 | .input(CellInput::new(previous_out_point.clone(), 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:693:27 [INFO] [stdout] | [INFO] [stdout] 693 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | .output(CellOutput::new_builder().capacity(capacity.pack()).build()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:707:45 [INFO] [stdout] | [INFO] [stdout] 707 | extra_inputs_tx_builder.witness(WitnessArgs::new_builder().build().as_bytes().pack()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:710:35 [INFO] [stdout] | [INFO] [stdout] 710 | let extra_out_point = OutPoint::new(previous_tx_hash.clone(), i); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:718:24 [INFO] [stdout] | [INFO] [stdout] 718 | .input(CellInput::new(extra_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:720:21 [INFO] [stdout] | [INFO] [stdout] 720 | WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:730:22 [INFO] [stdout] | [INFO] [stdout] 730 | .witness(WitnessArgs::new_builder().build().as_bytes().pack()) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | CellMetaBuilder::from_cell_output(dep_output.to_owned(), dep_data.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:758:13 [INFO] [stdout] | [INFO] [stdout] 758 | CellMetaBuilder::from_cell_output(input_output.to_owned(), input_data.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | OutPoint::new(contract_tx_hash.clone(), 0) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let sighash_all_cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Capacity::bytes(SIGHASH_ALL_BIN.len()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | let sighash_all_cell_data_hash = CellOutput::calc_data_hash(&SIGHASH_ALL_BIN); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | OutPoint::new(tx_hash, 0) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let secp256k1_data_cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Capacity::bytes(SECP256K1_DATA_BIN.len()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacity` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | let dummy_capacity = Capacity::shannons(42); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | let mut tx_builder = TransactionBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellDep` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | CellDep::new_builder() [INFO] [stdout] | ^^^^^^^ use of undeclared type `CellDep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DepType` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | .dep_type(DepType::Code.into()) [INFO] [stdout] | ^^^^^^^ use of undeclared type `DepType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | let previous_out_point = OutPoint::new(previous_tx_hash, 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Script` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let script = Script::new_builder() [INFO] [stdout] | ^^^^^^ use of undeclared type `Script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptHashType` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | .hash_type(ScriptHashType::Data.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ScriptHashType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | let previous_output_cell = CellOutput::new_builder() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgsBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | let witness_args = WitnessArgsBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `WitnessArgsBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellInput` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | .input(CellInput::new(previous_out_point, 0)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CellInput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_hash` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ckb_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgsBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | let witness_args = WitnessArgsBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `WitnessArgsBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | CellMetaBuilder::from_cell_output(dep_output.to_owned(), dep_data.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellMetaBuilder` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | CellMetaBuilder::from_cell_output(input_output.to_owned(), input_data.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CellMetaBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | .set_witnesses(vec![WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | WitnessArgs::new_unchecked(w.unpack()) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | WitnessArgs::new_unchecked(w.unpack()) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_hash` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ckb_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 378 | let witness = WitnessArgs::new_builder() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | let mut witnesses: Vec<_> = Unpack::>::unpack(&tx.witnesses()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:477:29 [INFO] [stdout] | [INFO] [stdout] 477 | let witnesses: Vec<_> = Unpack::>::unpack(&tx.witnesses()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:482:27 [INFO] [stdout] | [INFO] [stdout] 482 | let witness = WitnessArgs::new_unchecked(witness); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | let witness = Unpack::>::unpack(&tx.witnesses()).remove(0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:532:19 [INFO] [stdout] | [INFO] [stdout] 532 | let witness = Unpack::>::unpack(&tx.witnesses()).remove(0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:561:19 [INFO] [stdout] | [INFO] [stdout] 561 | let witness = Unpack::>::unpack(&tx.witnesses()).remove(0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unpack` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:574:25 [INFO] [stdout] | [INFO] [stdout] 574 | let mut witnesses = Unpack::>::unpack(&tx.witnesses()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Unpack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CellOutput` [INFO] [stdout] --> src/tests/mod.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|(_, data)| (data.clone(), CellOutput::calc_data_hash(&data))) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CellOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_hash` [INFO] [stdout] --> src/tests/mod.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | Bytes::from(&ckb_hash::blake2b_256(message)[..20]) [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ckb_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ckb_hash` [INFO] [stdout] --> src/tests/mod.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | let mut blake2b = ckb_hash::new_blake2b(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `ckb_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WitnessArgs` [INFO] [stdout] --> src/tests/mod.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | let witness = WitnessArgs::new_unchecked(tx.witnesses().get(i).unwrap().unpack()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `WitnessArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stdout] --> src/tests/dao.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | fn cell_output_with_only_capacity(shannons: u64) -> CellOutput { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stdout] --> src/tests/dao.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | fn generate_random_out_point() -> OutPoint { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/dao.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn script_cell(script_data: &Bytes) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stdout] --> src/tests/dao.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn script_cell(script_data: &Bytes) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stdout] --> src/tests/dao.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | fn script_cell(script_data: &Bytes) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/dao.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn secp_code_hash() -> Byte32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/dao.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | fn dao_code_hash() -> Byte32 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Capacity` in this scope [INFO] [stdout] --> src/tests/dao.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | capacity: Capacity, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/dao.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | lock_args: Bytes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stdout] --> src/tests/dao.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stdout] --> src/tests/dao.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | .insert(out_point.clone(), (cell.clone(), Bytes::new())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Capacity` in this scope [INFO] [stdout] --> src/tests/dao.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | capacity: Capacity, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/dao.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | lock_args: Bytes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stdout] --> src/tests/dao.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | ) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stdout] --> src/tests/dao.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | ) -> (CellOutput, OutPoint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | .args(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | .insert(out_point.clone(), (cell.clone(), Bytes::new())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests/dao.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | number: BlockNumber, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EpochNumber` in this scope [INFO] [stdout] --> src/tests/dao.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | epoch_number: EpochNumber, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests/dao.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | epoch_start_block_number: BlockNumber, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockNumber` in this scope [INFO] [stdout] --> src/tests/dao.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | epoch_length: BlockNumber, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderView` in this scope [INFO] [stdout] --> src/tests/dao.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> (HeaderView, EpochExt) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EpochExt` in this scope [INFO] [stdout] --> src/tests/dao.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> (HeaderView, EpochExt) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/dao.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_lock() -> (Privkey, Bytes) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/dao.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | fn gen_lock() -> (Privkey, Bytes) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/dao.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 144 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionBuilder` in this scope [INFO] [stdout] --> src/tests/dao.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | builder: TransactionBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/dao.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | ) -> (TransactionView, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellMeta` in this scope [INFO] [stdout] --> src/tests/dao.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 155 | fn complete_tx( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 158 | ) -> (TransactionView, Vec) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:243:67 [INFO] [stdout] | [INFO] [stdout] 243 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:245:27 [INFO] [stdout] | [INFO] [stdout] 245 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:312:67 [INFO] [stdout] | [INFO] [stdout] 312 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 314 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:342:15 [INFO] [stdout] | [INFO] [stdout] 342 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:381:67 [INFO] [stdout] | [INFO] [stdout] 381 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:383:27 [INFO] [stdout] | [INFO] [stdout] 383 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:397:16 [INFO] [stdout] | [INFO] [stdout] 397 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:411:15 [INFO] [stdout] | [INFO] [stdout] 411 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:450:67 [INFO] [stdout] | [INFO] [stdout] 450 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:452:27 [INFO] [stdout] | [INFO] [stdout] 452 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:466:16 [INFO] [stdout] | [INFO] [stdout] 466 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:471:22 [INFO] [stdout] | [INFO] [stdout] 471 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:480:15 [INFO] [stdout] | [INFO] [stdout] 480 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:519:67 [INFO] [stdout] | [INFO] [stdout] 519 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:521:27 [INFO] [stdout] | [INFO] [stdout] 521 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:535:16 [INFO] [stdout] | [INFO] [stdout] 535 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:540:22 [INFO] [stdout] | [INFO] [stdout] 540 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:549:15 [INFO] [stdout] | [INFO] [stdout] 549 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:588:67 [INFO] [stdout] | [INFO] [stdout] 588 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:590:27 [INFO] [stdout] | [INFO] [stdout] 590 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:604:16 [INFO] [stdout] | [INFO] [stdout] 604 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:618:22 [INFO] [stdout] | [INFO] [stdout] 618 | .output_data(Bytes::from(&[0u8; 8][..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:627:15 [INFO] [stdout] | [INFO] [stdout] 627 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:685:67 [INFO] [stdout] | [INFO] [stdout] 685 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 687 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:696:69 [INFO] [stdout] | [INFO] [stdout] 696 | let input_cell_meta2 = CellMetaBuilder::from_cell_output(cell2, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:698:27 [INFO] [stdout] | [INFO] [stdout] 698 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:712:16 [INFO] [stdout] | [INFO] [stdout] 712 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:717:16 [INFO] [stdout] | [INFO] [stdout] 717 | .type_(Bytes::from(&b2[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:724:28 [INFO] [stdout] | [INFO] [stdout] 724 | .outputs_data(vec![Bytes::new(); 2].pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:736:15 [INFO] [stdout] | [INFO] [stdout] 736 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:773:67 [INFO] [stdout] | [INFO] [stdout] 773 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:775:27 [INFO] [stdout] | [INFO] [stdout] 775 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:789:16 [INFO] [stdout] | [INFO] [stdout] 789 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:794:22 [INFO] [stdout] | [INFO] [stdout] 794 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:802:15 [INFO] [stdout] | [INFO] [stdout] 802 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:838:67 [INFO] [stdout] | [INFO] [stdout] 838 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:854:16 [INFO] [stdout] | [INFO] [stdout] 854 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:859:22 [INFO] [stdout] | [INFO] [stdout] 859 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:867:15 [INFO] [stdout] | [INFO] [stdout] 867 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:909:67 [INFO] [stdout] | [INFO] [stdout] 909 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:911:27 [INFO] [stdout] | [INFO] [stdout] 911 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:925:16 [INFO] [stdout] | [INFO] [stdout] 925 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:930:22 [INFO] [stdout] | [INFO] [stdout] 930 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:938:15 [INFO] [stdout] | [INFO] [stdout] 938 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:980:67 [INFO] [stdout] | [INFO] [stdout] 980 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:982:27 [INFO] [stdout] | [INFO] [stdout] 982 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:996:16 [INFO] [stdout] | [INFO] [stdout] 996 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1001:22 [INFO] [stdout] | [INFO] [stdout] 1001 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1010:15 [INFO] [stdout] | [INFO] [stdout] 1010 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1052:67 [INFO] [stdout] | [INFO] [stdout] 1052 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1054:27 [INFO] [stdout] | [INFO] [stdout] 1054 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1068:16 [INFO] [stdout] | [INFO] [stdout] 1068 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1073:22 [INFO] [stdout] | [INFO] [stdout] 1073 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1083:15 [INFO] [stdout] | [INFO] [stdout] 1083 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1123:67 [INFO] [stdout] | [INFO] [stdout] 1123 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1125:27 [INFO] [stdout] | [INFO] [stdout] 1125 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1139:16 [INFO] [stdout] | [INFO] [stdout] 1139 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1144:22 [INFO] [stdout] | [INFO] [stdout] 1144 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1153:15 [INFO] [stdout] | [INFO] [stdout] 1153 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1178:73 [INFO] [stdout] | [INFO] [stdout] 1178 | let input_cell_meta = CellMetaBuilder::from_cell_output(input_cell, Bytes::new()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1180:27 [INFO] [stdout] | [INFO] [stdout] 1180 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1198:22 [INFO] [stdout] | [INFO] [stdout] 1198 | .output_data(Bytes::from(&[0; 8][..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1205:15 [INFO] [stdout] | [INFO] [stdout] 1205 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1227:73 [INFO] [stdout] | [INFO] [stdout] 1227 | let input_cell_meta = CellMetaBuilder::from_cell_output(input_cell, Bytes::new()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1229:27 [INFO] [stdout] | [INFO] [stdout] 1229 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1247:22 [INFO] [stdout] | [INFO] [stdout] 1247 | .output_data(Bytes::from(&[1; 8][..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1254:15 [INFO] [stdout] | [INFO] [stdout] 1254 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1279:73 [INFO] [stdout] | [INFO] [stdout] 1279 | let input_cell_meta = CellMetaBuilder::from_cell_output(input_cell, Bytes::new()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1281:27 [INFO] [stdout] | [INFO] [stdout] 1281 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1299:22 [INFO] [stdout] | [INFO] [stdout] 1299 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1306:15 [INFO] [stdout] | [INFO] [stdout] 1306 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1339:67 [INFO] [stdout] | [INFO] [stdout] 1339 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1341:27 [INFO] [stdout] | [INFO] [stdout] 1341 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1364:22 [INFO] [stdout] | [INFO] [stdout] 1364 | .output_data(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1372:15 [INFO] [stdout] | [INFO] [stdout] 1372 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1403:67 [INFO] [stdout] | [INFO] [stdout] 1403 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1405:27 [INFO] [stdout] | [INFO] [stdout] 1405 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1428:22 [INFO] [stdout] | [INFO] [stdout] 1428 | .output_data(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1436:15 [INFO] [stdout] | [INFO] [stdout] 1436 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1466:67 [INFO] [stdout] | [INFO] [stdout] 1466 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1468:27 [INFO] [stdout] | [INFO] [stdout] 1468 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1491:22 [INFO] [stdout] | [INFO] [stdout] 1491 | .output_data(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1499:15 [INFO] [stdout] | [INFO] [stdout] 1499 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1532:67 [INFO] [stdout] | [INFO] [stdout] 1532 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1534:27 [INFO] [stdout] | [INFO] [stdout] 1534 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1557:22 [INFO] [stdout] | [INFO] [stdout] 1557 | .output_data(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1565:15 [INFO] [stdout] | [INFO] [stdout] 1565 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1598:67 [INFO] [stdout] | [INFO] [stdout] 1598 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1600:27 [INFO] [stdout] | [INFO] [stdout] 1600 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1620:22 [INFO] [stdout] | [INFO] [stdout] 1620 | .output_data(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1628:15 [INFO] [stdout] | [INFO] [stdout] 1628 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1670:67 [INFO] [stdout] | [INFO] [stdout] 1670 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1672:27 [INFO] [stdout] | [INFO] [stdout] 1672 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1684:29 [INFO] [stdout] | [INFO] [stdout] 1684 | let outputs_data = vec![Bytes::new().pack(); 65]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1689:16 [INFO] [stdout] | [INFO] [stdout] 1689 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1703:15 [INFO] [stdout] | [INFO] [stdout] 1703 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1750:67 [INFO] [stdout] | [INFO] [stdout] 1750 | let input_cell_meta = CellMetaBuilder::from_cell_output(cell, Bytes::from(&b[..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1752:27 [INFO] [stdout] | [INFO] [stdout] 1752 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1759:69 [INFO] [stdout] | [INFO] [stdout] 1759 | let input_cell_meta2 = CellMetaBuilder::from_cell_output(cell2, Bytes::from(&[0; 8][..])) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TransactionInfo` in this scope [INFO] [stdout] --> src/tests/dao.rs:1761:27 [INFO] [stdout] | [INFO] [stdout] 1761 | .transaction_info(TransactionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1780:16 [INFO] [stdout] | [INFO] [stdout] 1780 | .type_(Bytes::from(&b[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1797:22 [INFO] [stdout] | [INFO] [stdout] 1797 | .output_data(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1798:22 [INFO] [stdout] | [INFO] [stdout] 1798 | .output_data(Bytes::from(&b2[..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/dao.rs:1799:22 [INFO] [stdout] | [INFO] [stdout] 1799 | .output_data(Bytes::from(&[0u8; 8][..]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/dao.rs:1810:15 [INFO] [stdout] | [INFO] [stdout] 1810 | let rtx = ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | .extra(Bytes::from(extract_witness).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | tx: TransactionView, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | multi_sign_script: &Bytes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | keys: &[&Privkey], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:319:6 [INFO] [stdout] | [INFO] [stdout] 319 | ) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:330:67 [INFO] [stdout] | [INFO] [stdout] 330 | let witness = WitnessArgs::new_unchecked(Unpack::::unpack( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:343:27 [INFO] [stdout] | [INFO] [stdout] 343 | .lock(Bytes::from(lock_without_sig).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:349:34 [INFO] [stdout] | [INFO] [stdout] 349 | let witness: Bytes = tx.witnesses().get(n).unwrap().unpack(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | .lock(Bytes::from(lock).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | Bytes::from(buf) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:398:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 398 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 412 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 427 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 445 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 378 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 455 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | Bytes::from(buf) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 489 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:507:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 507 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 522 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 541 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 556 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:571:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 571 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:585:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 585 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:595:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 595 | let inputs: Vec = raw_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:606:34 [INFO] [stdout] | [INFO] [stdout] 606 | fn gen_multi_sign_script(keys: &[Privkey], threshold: u8, require_first_n: u8) -> Bytes { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:606:83 [INFO] [stdout] | [INFO] [stdout] 606 | fn gen_multi_sign_script(keys: &[Privkey], threshold: u8, require_first_n: u8) -> Bytes { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:620:16 [INFO] [stdout] | [INFO] [stdout] 620 | lock_args: Bytes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:622:6 [INFO] [stdout] | [INFO] [stdout] 622 | ) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:686:40 [INFO] [stdout] | [INFO] [stdout] 686 | (previous_output_cell.clone(), Bytes::new()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:703:22 [INFO] [stdout] | [INFO] [stdout] 703 | .output_data(Bytes::new().pack()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:713:48 [INFO] [stdout] | [INFO] [stdout] 713 | (previous_output_cell.clone(), Bytes::new()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | .extra(Bytes::from(random_extra.to_vec()).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:735:51 [INFO] [stdout] | [INFO] [stdout] 735 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:735:61 [INFO] [stdout] | [INFO] [stdout] 735 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:739:58 [INFO] [stdout] | [INFO] [stdout] 739 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:739:78 [INFO] [stdout] | [INFO] [stdout] 739 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:763:5 [INFO] [stdout] | [INFO] [stdout] 763 | ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:771:35 [INFO] [stdout] | [INFO] [stdout] 771 | fn generate_keys(n: usize) -> Vec { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:774:19 [INFO] [stdout] | [INFO] [stdout] 774 | keys.push(Generator::random_privkey()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 774 | keys.push(Iterator::random_privkey()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:780:47 [INFO] [stdout] | [INFO] [stdout] 780 | fn verify(data_loader: &DummyDataLoader, tx: &TransactionView) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 24 | fn gen_tx(dummy: &mut DummyDataLoader, lock_args: Bytes) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | grouped_args: Vec<(Bytes, usize)>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | .output_data(Bytes::new().pack()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | (previous_output_cell.clone(), Bytes::new()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | .extra(Bytes::from(random_extra_witness.to_vec()).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | fn sign_tx_hash(tx: TransactionView, key: &Privkey, tx_hash: &[u8]) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:134:44 [INFO] [stdout] | [INFO] [stdout] 134 | fn sign_tx_hash(tx: TransactionView, key: &Privkey, tx_hash: &[u8]) -> TransactionView { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | fn sign_tx_hash(tx: TransactionView, key: &Privkey, tx_hash: &[u8]) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | .lock(Bytes::from(sig.serialize()).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:150:58 [INFO] [stdout] | [INFO] [stdout] 150 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:150:78 [INFO] [stdout] | [INFO] [stdout] 150 | fn build_resolved_tx(data_loader: &DummyDataLoader, tx: &TransactionView) -> ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResolvedTransaction` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | ResolvedTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 186 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 200 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | .extra(Bytes::from(extract_witness).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:228:28 [INFO] [stdout] | [INFO] [stdout] 228 | .extra(Bytes::from(vec![0]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 250 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | .extra(Bytes::from(vec![0]).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 295 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | let privkey2 = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 299 | let privkey2 = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:321:19 [INFO] [stdout] | [INFO] [stdout] 321 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 321 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | let wrong_privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 322 | let wrong_privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:339:19 [INFO] [stdout] | [INFO] [stdout] 339 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 339 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 361 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:369:30 [INFO] [stdout] | [INFO] [stdout] 369 | let super_long_message = Bytes::from(&buffer[..]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:379:15 [INFO] [stdout] | [INFO] [stdout] 379 | .lock(Bytes::from(sig.serialize()).pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | let mut generator = Generator::non_crypto_safe_prng(42); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 401 | let mut generator = Iterator::non_crypto_safe_prng(42); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 433 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:471:19 [INFO] [stdout] | [INFO] [stdout] 471 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 471 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | .extra(Bytes::new().pack()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:515:19 [INFO] [stdout] | [INFO] [stdout] 515 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 515 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | Bytes::new().pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | Bytes::from(vec![42]).pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | Bytes::from(vec![42]).pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | Bytes::new().pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Generator` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:556:19 [INFO] [stdout] | [INFO] [stdout] 556 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 556 | let privkey = Iterator::random_privkey(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Generator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Generator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | Bytes::from(vec![42]).pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:567:13 [INFO] [stdout] | [INFO] [stdout] 567 | Bytes::new().pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/secp256k1_blake160_sighash_all.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | Bytes::from(vec![0]).pack(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub static ref SIGHASH_ALL_BIN: Bytes = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | Bytes::from(&include_bytes!("../../specs/cells/secp256k1_blake160_sighash_all")[..]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | pub static ref SECP256K1_DATA_BIN: Bytes = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Bytes::from(&include_bytes!("../../specs/cells/secp256k1_data")[..]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub static ref DAO_BIN: Bytes = Bytes::from(&include_bytes!("../../specs/cells/dao")[..]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/mod.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | pub static ref DAO_BIN: Bytes = Bytes::from(&include_bytes!("../../specs/cells/dao")[..]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub static ref MULTISIG_ALL_BIN: Bytes = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Bytes::from(&include_bytes!("../../specs/cells/secp256k1_blake160_multisig_all")[..]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OutPoint` in this scope [INFO] [stdout] --> src/tests/mod.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 32 | pub cells: HashMap, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellOutput` in this scope [INFO] [stdout] --> src/tests/mod.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 32 | pub cells: HashMap, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | pub cells: HashMap, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/mod.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 32 | pub cells: HashMap, [INFO] [stdout] 33 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderView` in this scope [INFO] [stdout] --> src/tests/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 32 | pub cells: HashMap, [INFO] [stdout] 33 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/mod.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | pub epoches: HashMap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EpochExt` in this scope [INFO] [stdout] --> src/tests/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | pub epoches: HashMap, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CellMeta` in this scope [INFO] [stdout] --> src/tests/mod.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | fn load_cell_data(&self, cell: &CellMeta) -> Option<(Bytes, Byte32)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:45:58 [INFO] [stdout] | [INFO] [stdout] 45 | fn load_cell_data(&self, cell: &CellMeta) -> Option<(Bytes, Byte32)> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/mod.rs:45:65 [INFO] [stdout] | [INFO] [stdout] 43 | impl DataLoader for DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 44 | // load Cell Data [INFO] [stdout] 45 | fn load_cell_data(&self, cell: &CellMeta) -> Option<(Bytes, Byte32)> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/mod.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_block_ext(&self, _hash: &Byte32) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockExt` in this scope [INFO] [stdout] --> src/tests/mod.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 43 | impl DataLoader for DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_block_ext(&self, _hash: &Byte32) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/mod.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_header(&self, block_hash: &Byte32) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderView` in this scope [INFO] [stdout] --> src/tests/mod.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 43 | impl DataLoader for DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 58 | fn get_header(&self, block_hash: &Byte32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Byte32` in this scope [INFO] [stdout] --> src/tests/mod.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_block_epoch(&self, block_hash: &Byte32) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EpochExt` in this scope [INFO] [stdout] --> src/tests/mod.rs:63:62 [INFO] [stdout] | [INFO] [stdout] 43 | impl DataLoader for DummyDataLoader { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_block_epoch(&self, block_hash: &Byte32) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn blake160(message: &[u8]) -> Bytes { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes` [INFO] [stdout] --> src/tests/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Bytes::from(&ckb_hash::blake2b_256(message)[..20]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/mod.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn sign_tx(tx: TransactionView, key: &Privkey) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/mod.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn sign_tx(tx: TransactionView, key: &Privkey) -> TransactionView { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/mod.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn sign_tx(tx: TransactionView, key: &Privkey) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | tx: TransactionView, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Privkey` in this scope [INFO] [stdout] --> src/tests/mod.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | key: &Privkey, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransactionView` in this scope [INFO] [stdout] --> src/tests/mod.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> TransactionView { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/tests/mod.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let zero_lock: Bytes = { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 588 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-system-scripts` [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "67b2d9417ec6403de78bda45d7d459219e5d5b9dda78e07071cabef12cb105a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b2d9417ec6403de78bda45d7d459219e5d5b9dda78e07071cabef12cb105a7", kill_on_drop: false }` [INFO] [stdout] 67b2d9417ec6403de78bda45d7d459219e5d5b9dda78e07071cabef12cb105a7