[INFO] fetching crate ckb-system-scripts 0.5.4... [INFO] testing ckb-system-scripts-0.5.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ckb-system-scripts 0.5.4 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate ckb-system-scripts 0.5.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-system-scripts 0.5.4 [INFO] finished tweaking crates.io crate ckb-system-scripts 0.5.4 [INFO] tweaked toml for crates.io crate ckb-system-scripts 0.5.4 written to /workspace/builds/worker-114/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7183ba32ee550f34559f03e472e7c432966b0137601352451ac31dc5ba537404 [INFO] running `Command { std: "docker" "start" "-a" "7183ba32ee550f34559f03e472e7c432966b0137601352451ac31dc5ba537404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7183ba32ee550f34559f03e472e7c432966b0137601352451ac31dc5ba537404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7183ba32ee550f34559f03e472e7c432966b0137601352451ac31dc5ba537404", kill_on_drop: false }` [INFO] [stdout] 7183ba32ee550f34559f03e472e7c432966b0137601352451ac31dc5ba537404 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc032126eee375d3ef5c67f413e9646200da42a6a141ee1da8278f9c4e89d1ab [INFO] running `Command { std: "docker" "start" "-a" "fc032126eee375d3ef5c67f413e9646200da42a6a141ee1da8278f9c4e89d1ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling includedir v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling includedir_codegen v0.6.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.32s [INFO] running `Command { std: "docker" "inspect" "fc032126eee375d3ef5c67f413e9646200da42a6a141ee1da8278f9c4e89d1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc032126eee375d3ef5c67f413e9646200da42a6a141ee1da8278f9c4e89d1ab", kill_on_drop: false }` [INFO] [stdout] fc032126eee375d3ef5c67f413e9646200da42a6a141ee1da8278f9c4e89d1ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bc54225af17418e0434369b16fecb6df6a33af965d2e01ff637bd1dd2b2c1cd [INFO] running `Command { std: "docker" "start" "-a" "3bc54225af17418e0434369b16fecb6df6a33af965d2e01ff637bd1dd2b2c1cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling secp256k1 v0.15.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ckb-system-scripts v0.5.4 (/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:807:5 [INFO] [stdout] | [INFO] [stdout] 807 | 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:872:5 [INFO] [stdout] | [INFO] [stdout] 872 | 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:943:5 [INFO] [stdout] | [INFO] [stdout] 943 | 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:1015:5 [INFO] [stdout] | [INFO] [stdout] 1015 | 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:1088:5 [INFO] [stdout] | [INFO] [stdout] 1088 | 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:1158:5 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:1259:5 [INFO] [stdout] | [INFO] [stdout] 1259 | 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:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | 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:1504:5 [INFO] [stdout] | [INFO] [stdout] 1504 | 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:1570:5 [INFO] [stdout] | [INFO] [stdout] 1570 | 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:1633:5 [INFO] [stdout] | [INFO] [stdout] 1633 | 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:1708:5 [INFO] [stdout] | [INFO] [stdout] 1708 | 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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | 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:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | 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:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | 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:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | 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:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | 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:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | 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:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | 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:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | 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:390:9 [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_multisig_all.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | 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:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | 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:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | 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:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | 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:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | 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:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | 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: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_sighash_all.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | 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:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | 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:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | 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:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | 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:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | 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:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | 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:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | 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:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | 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:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | 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:245:26 [INFO] [stdout] | [INFO] [stdout] 245 | 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:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | 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:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | 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:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | .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:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | 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:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | 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:314:26 [INFO] [stdout] | [INFO] [stdout] 314 | 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:324:19 [INFO] [stdout] | [INFO] [stdout] 324 | 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:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | 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:328:16 [INFO] [stdout] | [INFO] [stdout] 328 | .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:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | 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:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | 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:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | 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:393:19 [INFO] [stdout] | [INFO] [stdout] 393 | 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:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | 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:397:16 [INFO] [stdout] | [INFO] [stdout] 397 | .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:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | 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:447:27 [INFO] [stdout] | [INFO] [stdout] 447 | 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:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | 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:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | 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:465:19 [INFO] [stdout] | [INFO] [stdout] 465 | 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:466:16 [INFO] [stdout] | [INFO] [stdout] 466 | .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:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | 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:516:27 [INFO] [stdout] | [INFO] [stdout] 516 | 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:521:26 [INFO] [stdout] | [INFO] [stdout] 521 | 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:531:19 [INFO] [stdout] | [INFO] [stdout] 531 | 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:534:19 [INFO] [stdout] | [INFO] [stdout] 534 | 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:535:16 [INFO] [stdout] | [INFO] [stdout] 535 | .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:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | 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:585:27 [INFO] [stdout] | [INFO] [stdout] 585 | 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:590:26 [INFO] [stdout] | [INFO] [stdout] 590 | 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:600:19 [INFO] [stdout] | [INFO] [stdout] 600 | 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:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | 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:605:20 [INFO] [stdout] | [INFO] [stdout] 605 | .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:607:19 [INFO] [stdout] | [INFO] [stdout] 607 | 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:608:16 [INFO] [stdout] | [INFO] [stdout] 608 | .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:646:9 [INFO] [stdout] | [INFO] [stdout] 646 | 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:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | 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:682:27 [INFO] [stdout] | [INFO] [stdout] 682 | 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:687:26 [INFO] [stdout] | [INFO] [stdout] 687 | 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:693:28 [INFO] [stdout] | [INFO] [stdout] 693 | 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:698:26 [INFO] [stdout] | [INFO] [stdout] 698 | 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:708:19 [INFO] [stdout] | [INFO] [stdout] 708 | 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:713:20 [INFO] [stdout] | [INFO] [stdout] 713 | 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:716:19 [INFO] [stdout] | [INFO] [stdout] 716 | 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:717:16 [INFO] [stdout] | [INFO] [stdout] 717 | .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:718:16 [INFO] [stdout] | [INFO] [stdout] 718 | .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:752:9 [INFO] [stdout] | [INFO] [stdout] 752 | 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:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | 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:770:27 [INFO] [stdout] | [INFO] [stdout] 770 | 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:775:26 [INFO] [stdout] | [INFO] [stdout] 775 | 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:785:19 [INFO] [stdout] | [INFO] [stdout] 785 | 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:788:19 [INFO] [stdout] | [INFO] [stdout] 788 | 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:789:16 [INFO] [stdout] | [INFO] [stdout] 789 | .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:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | 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:835:27 [INFO] [stdout] | [INFO] [stdout] 835 | 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:840:26 [INFO] [stdout] | [INFO] [stdout] 840 | 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:850:19 [INFO] [stdout] | [INFO] [stdout] 850 | 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:853:19 [INFO] [stdout] | [INFO] [stdout] 853 | 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:854:16 [INFO] [stdout] | [INFO] [stdout] 854 | .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:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | 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:906:27 [INFO] [stdout] | [INFO] [stdout] 906 | 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:911:26 [INFO] [stdout] | [INFO] [stdout] 911 | 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:921:19 [INFO] [stdout] | [INFO] [stdout] 921 | 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:924:19 [INFO] [stdout] | [INFO] [stdout] 924 | 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:925:16 [INFO] [stdout] | [INFO] [stdout] 925 | .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:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | 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:977:27 [INFO] [stdout] | [INFO] [stdout] 977 | 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:982:26 [INFO] [stdout] | [INFO] [stdout] 982 | 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:992:19 [INFO] [stdout] | [INFO] [stdout] 992 | 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:995:19 [INFO] [stdout] | [INFO] [stdout] 995 | 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:996:16 [INFO] [stdout] | [INFO] [stdout] 996 | .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:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1049:27 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1054:26 [INFO] [stdout] | [INFO] [stdout] 1054 | 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:1064:19 [INFO] [stdout] | [INFO] [stdout] 1064 | 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:1067:19 [INFO] [stdout] | [INFO] [stdout] 1067 | 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:1068:16 [INFO] [stdout] | [INFO] [stdout] 1068 | .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:1103:9 [INFO] [stdout] | [INFO] [stdout] 1103 | 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:1120:27 [INFO] [stdout] | [INFO] [stdout] 1120 | 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:1125:26 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1135:19 [INFO] [stdout] | [INFO] [stdout] 1135 | 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:1138:19 [INFO] [stdout] | [INFO] [stdout] 1138 | 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:1139:16 [INFO] [stdout] | [INFO] [stdout] 1139 | .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:1171:9 [INFO] [stdout] | [INFO] [stdout] 1171 | 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:1175:27 [INFO] [stdout] | [INFO] [stdout] 1175 | 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:1180:26 [INFO] [stdout] | [INFO] [stdout] 1180 | 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:1189:40 [INFO] [stdout] | [INFO] [stdout] 1189 | 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:1191:19 [INFO] [stdout] | [INFO] [stdout] 1191 | 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:1192:19 [INFO] [stdout] | [INFO] [stdout] 1192 | 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:1193:16 [INFO] [stdout] | [INFO] [stdout] 1193 | .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:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | 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:1224:27 [INFO] [stdout] | [INFO] [stdout] 1224 | 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:1229:26 [INFO] [stdout] | [INFO] [stdout] 1229 | 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:1238:40 [INFO] [stdout] | [INFO] [stdout] 1238 | 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:1240:19 [INFO] [stdout] | [INFO] [stdout] 1240 | 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:1241:19 [INFO] [stdout] | [INFO] [stdout] 1241 | 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:1242:16 [INFO] [stdout] | [INFO] [stdout] 1242 | .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:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | 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:1276:27 [INFO] [stdout] | [INFO] [stdout] 1276 | 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:1281:26 [INFO] [stdout] | [INFO] [stdout] 1281 | 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:1290:40 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1292:19 [INFO] [stdout] | [INFO] [stdout] 1292 | 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:1293:19 [INFO] [stdout] | [INFO] [stdout] 1293 | 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:1294:16 [INFO] [stdout] | [INFO] [stdout] 1294 | .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:1325:9 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1336:27 [INFO] [stdout] | [INFO] [stdout] 1336 | 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:1341:26 [INFO] [stdout] | [INFO] [stdout] 1341 | 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:1351:9 [INFO] [stdout] | [INFO] [stdout] 1351 | 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:1357:19 [INFO] [stdout] | [INFO] [stdout] 1357 | 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:1358:19 [INFO] [stdout] | [INFO] [stdout] 1358 | 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:1359:16 [INFO] [stdout] | [INFO] [stdout] 1359 | .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:1389:9 [INFO] [stdout] | [INFO] [stdout] 1389 | 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:1400:27 [INFO] [stdout] | [INFO] [stdout] 1400 | 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:1405:26 [INFO] [stdout] | [INFO] [stdout] 1405 | 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:1415:9 [INFO] [stdout] | [INFO] [stdout] 1415 | 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:1421:19 [INFO] [stdout] | [INFO] [stdout] 1421 | 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:1422:19 [INFO] [stdout] | [INFO] [stdout] 1422 | 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:1423:16 [INFO] [stdout] | [INFO] [stdout] 1423 | .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:1452:9 [INFO] [stdout] | [INFO] [stdout] 1452 | 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:1463:27 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1468:26 [INFO] [stdout] | [INFO] [stdout] 1468 | 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:1478:9 [INFO] [stdout] | [INFO] [stdout] 1478 | 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:1484:19 [INFO] [stdout] | [INFO] [stdout] 1484 | 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:1485:19 [INFO] [stdout] | [INFO] [stdout] 1485 | 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:1486:16 [INFO] [stdout] | [INFO] [stdout] 1486 | .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:1518:9 [INFO] [stdout] | [INFO] [stdout] 1518 | 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:1529:27 [INFO] [stdout] | [INFO] [stdout] 1529 | 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:1534:26 [INFO] [stdout] | [INFO] [stdout] 1534 | 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:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | 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:1550:19 [INFO] [stdout] | [INFO] [stdout] 1550 | 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:1551:19 [INFO] [stdout] | [INFO] [stdout] 1551 | 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:1552:16 [INFO] [stdout] | [INFO] [stdout] 1552 | .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:1584:9 [INFO] [stdout] | [INFO] [stdout] 1584 | 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:1595:27 [INFO] [stdout] | [INFO] [stdout] 1595 | 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:1600:26 [INFO] [stdout] | [INFO] [stdout] 1600 | 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:1609:40 [INFO] [stdout] | [INFO] [stdout] 1609 | 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:1613:19 [INFO] [stdout] | [INFO] [stdout] 1613 | 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:1614:19 [INFO] [stdout] | [INFO] [stdout] 1614 | 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:1615:16 [INFO] [stdout] | [INFO] [stdout] 1615 | .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:1648:9 [INFO] [stdout] | [INFO] [stdout] 1648 | 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:1667:27 [INFO] [stdout] | [INFO] [stdout] 1667 | 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:1672:26 [INFO] [stdout] | [INFO] [stdout] 1672 | 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:1685:19 [INFO] [stdout] | [INFO] [stdout] 1685 | 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:1688:19 [INFO] [stdout] | [INFO] [stdout] 1688 | 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:1689:16 [INFO] [stdout] | [INFO] [stdout] 1689 | .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:1723:9 [INFO] [stdout] | [INFO] [stdout] 1723 | 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:1728:9 [INFO] [stdout] | [INFO] [stdout] 1728 | 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:1747:27 [INFO] [stdout] | [INFO] [stdout] 1747 | 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:1752:26 [INFO] [stdout] | [INFO] [stdout] 1752 | 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:1756:28 [INFO] [stdout] | [INFO] [stdout] 1756 | 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:1761:26 [INFO] [stdout] | [INFO] [stdout] 1761 | 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:1770:40 [INFO] [stdout] | [INFO] [stdout] 1770 | 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:1776:19 [INFO] [stdout] | [INFO] [stdout] 1776 | 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:1779:17 [INFO] [stdout] | [INFO] [stdout] 1779 | 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:1781:20 [INFO] [stdout] | [INFO] [stdout] 1781 | .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:1783:19 [INFO] [stdout] | [INFO] [stdout] 1783 | 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:1784:16 [INFO] [stdout] | [INFO] [stdout] 1784 | .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:1785:16 [INFO] [stdout] | [INFO] [stdout] 1785 | .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:1800:18 [INFO] [stdout] | [INFO] [stdout] 1800 | .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:1801:18 [INFO] [stdout] | [INFO] [stdout] 1801 | .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:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | .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:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | 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:314:31 [INFO] [stdout] | [INFO] [stdout] 314 | 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:314:58 [INFO] [stdout] | [INFO] [stdout] 314 | 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:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | 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:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | 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:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | 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:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | 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:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | 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:554:21 [INFO] [stdout] | [INFO] [stdout] 554 | 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 `Privkey` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 611 | vec![Privkey::from_slice(privkey_buffer.as_slice())] [INFO] [stdout] | ^^^^^^^ use of undeclared type `Privkey` [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:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | let epoch = EpochNumberWithFraction::new(555, 899, 1800); [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:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | let epoch = EpochNumberWithFraction::new(555, 900, 1800); [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:679:20 [INFO] [stdout] | [INFO] [stdout] 679 | 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:680:30 [INFO] [stdout] | [INFO] [stdout] 680 | 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:688:30 [INFO] [stdout] | [INFO] [stdout] 688 | let contract_out_point = OutPoint::new(contract_tx_hash, 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:690:20 [INFO] [stdout] | [INFO] [stdout] 690 | 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:692:13 [INFO] [stdout] | [INFO] [stdout] 692 | 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:697:30 [INFO] [stdout] | [INFO] [stdout] 697 | 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:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | 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:712:31 [INFO] [stdout] | [INFO] [stdout] 712 | 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:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | 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:724:18 [INFO] [stdout] | [INFO] [stdout] 724 | 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:727:20 [INFO] [stdout] | [INFO] [stdout] 727 | .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:729:32 [INFO] [stdout] | [INFO] [stdout] 729 | 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:737:22 [INFO] [stdout] | [INFO] [stdout] 737 | 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:738:16 [INFO] [stdout] | [INFO] [stdout] 738 | .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 `CellDep` [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | 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:742:27 [INFO] [stdout] | [INFO] [stdout] 742 | .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:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | 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:748:27 [INFO] [stdout] | [INFO] [stdout] 748 | .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:751:17 [INFO] [stdout] | [INFO] [stdout] 751 | .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:756:45 [INFO] [stdout] | [INFO] [stdout] 756 | 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:759:35 [INFO] [stdout] | [INFO] [stdout] 759 | 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:767:24 [INFO] [stdout] | [INFO] [stdout] 767 | .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:769:21 [INFO] [stdout] | [INFO] [stdout] 769 | 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:779:22 [INFO] [stdout] | [INFO] [stdout] 779 | .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:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | 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:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | 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, 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:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | 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:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | 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:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | .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:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | 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:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | 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:370:23 [INFO] [stdout] | [INFO] [stdout] 370 | 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:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | 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:439:33 [INFO] [stdout] | [INFO] [stdout] 439 | 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:476:29 [INFO] [stdout] | [INFO] [stdout] 476 | 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:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | 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:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | 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:531:19 [INFO] [stdout] | [INFO] [stdout] 531 | 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:560:19 [INFO] [stdout] | [INFO] [stdout] 560 | 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:573:25 [INFO] [stdout] | [INFO] [stdout] 573 | 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:240:67 [INFO] [stdout] | [INFO] [stdout] 240 | 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:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | .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:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | .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:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | .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:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | 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:309:67 [INFO] [stdout] | [INFO] [stdout] 309 | 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:311:27 [INFO] [stdout] | [INFO] [stdout] 311 | .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:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | .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:330:22 [INFO] [stdout] | [INFO] [stdout] 330 | .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:339:15 [INFO] [stdout] | [INFO] [stdout] 339 | 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:378:67 [INFO] [stdout] | [INFO] [stdout] 378 | 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:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | .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:394:16 [INFO] [stdout] | [INFO] [stdout] 394 | .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:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | .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:408:15 [INFO] [stdout] | [INFO] [stdout] 408 | 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:447:67 [INFO] [stdout] | [INFO] [stdout] 447 | 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:449:27 [INFO] [stdout] | [INFO] [stdout] 449 | .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:463:16 [INFO] [stdout] | [INFO] [stdout] 463 | .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:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | .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:477:15 [INFO] [stdout] | [INFO] [stdout] 477 | 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:516:67 [INFO] [stdout] | [INFO] [stdout] 516 | 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:518:27 [INFO] [stdout] | [INFO] [stdout] 518 | .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:532:16 [INFO] [stdout] | [INFO] [stdout] 532 | .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:537:22 [INFO] [stdout] | [INFO] [stdout] 537 | .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:546:15 [INFO] [stdout] | [INFO] [stdout] 546 | 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:585:67 [INFO] [stdout] | [INFO] [stdout] 585 | 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:587:27 [INFO] [stdout] | [INFO] [stdout] 587 | .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:601:16 [INFO] [stdout] | [INFO] [stdout] 601 | .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:615:22 [INFO] [stdout] | [INFO] [stdout] 615 | .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:624:15 [INFO] [stdout] | [INFO] [stdout] 624 | 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:682:67 [INFO] [stdout] | [INFO] [stdout] 682 | 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:684:27 [INFO] [stdout] | [INFO] [stdout] 684 | .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:693:69 [INFO] [stdout] | [INFO] [stdout] 693 | 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:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | .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:709:16 [INFO] [stdout] | [INFO] [stdout] 709 | .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:714:16 [INFO] [stdout] | [INFO] [stdout] 714 | .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:721:28 [INFO] [stdout] | [INFO] [stdout] 721 | .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:733:15 [INFO] [stdout] | [INFO] [stdout] 733 | 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:770:67 [INFO] [stdout] | [INFO] [stdout] 770 | 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:772:27 [INFO] [stdout] | [INFO] [stdout] 772 | .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:786:16 [INFO] [stdout] | [INFO] [stdout] 786 | .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:791:22 [INFO] [stdout] | [INFO] [stdout] 791 | .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:799:15 [INFO] [stdout] | [INFO] [stdout] 799 | 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:835:67 [INFO] [stdout] | [INFO] [stdout] 835 | 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:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | .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:851:16 [INFO] [stdout] | [INFO] [stdout] 851 | .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:856:22 [INFO] [stdout] | [INFO] [stdout] 856 | .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:864:15 [INFO] [stdout] | [INFO] [stdout] 864 | 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:906:67 [INFO] [stdout] | [INFO] [stdout] 906 | 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:908:27 [INFO] [stdout] | [INFO] [stdout] 908 | .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:922:16 [INFO] [stdout] | [INFO] [stdout] 922 | .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:927:22 [INFO] [stdout] | [INFO] [stdout] 927 | .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:935:15 [INFO] [stdout] | [INFO] [stdout] 935 | 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:977:67 [INFO] [stdout] | [INFO] [stdout] 977 | 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:979:27 [INFO] [stdout] | [INFO] [stdout] 979 | .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:993:16 [INFO] [stdout] | [INFO] [stdout] 993 | .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:998:22 [INFO] [stdout] | [INFO] [stdout] 998 | .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:1007:15 [INFO] [stdout] | [INFO] [stdout] 1007 | 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:1049:67 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1051:27 [INFO] [stdout] | [INFO] [stdout] 1051 | .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:1065:16 [INFO] [stdout] | [INFO] [stdout] 1065 | .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:1070:22 [INFO] [stdout] | [INFO] [stdout] 1070 | .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:1080:15 [INFO] [stdout] | [INFO] [stdout] 1080 | 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:1120:67 [INFO] [stdout] | [INFO] [stdout] 1120 | 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:1122:27 [INFO] [stdout] | [INFO] [stdout] 1122 | .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:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | .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:1141:22 [INFO] [stdout] | [INFO] [stdout] 1141 | .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:1150:15 [INFO] [stdout] | [INFO] [stdout] 1150 | 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:1175:73 [INFO] [stdout] | [INFO] [stdout] 1175 | 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:1177:27 [INFO] [stdout] | [INFO] [stdout] 1177 | .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:1195:22 [INFO] [stdout] | [INFO] [stdout] 1195 | .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:1202:15 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1224:73 [INFO] [stdout] | [INFO] [stdout] 1224 | 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:1226:27 [INFO] [stdout] | [INFO] [stdout] 1226 | .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:1244:22 [INFO] [stdout] | [INFO] [stdout] 1244 | .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:1251:15 [INFO] [stdout] | [INFO] [stdout] 1251 | 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:1276:73 [INFO] [stdout] | [INFO] [stdout] 1276 | 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:1278:27 [INFO] [stdout] | [INFO] [stdout] 1278 | .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:1296:22 [INFO] [stdout] | [INFO] [stdout] 1296 | .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:1303:15 [INFO] [stdout] | [INFO] [stdout] 1303 | 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:1336:67 [INFO] [stdout] | [INFO] [stdout] 1336 | 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:1338:27 [INFO] [stdout] | [INFO] [stdout] 1338 | .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:1361:22 [INFO] [stdout] | [INFO] [stdout] 1361 | .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:1369:15 [INFO] [stdout] | [INFO] [stdout] 1369 | 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:1400:67 [INFO] [stdout] | [INFO] [stdout] 1400 | 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:1402:27 [INFO] [stdout] | [INFO] [stdout] 1402 | .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:1425:22 [INFO] [stdout] | [INFO] [stdout] 1425 | .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:1433:15 [INFO] [stdout] | [INFO] [stdout] 1433 | 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:1463:67 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1465:27 [INFO] [stdout] | [INFO] [stdout] 1465 | .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:1488:22 [INFO] [stdout] | [INFO] [stdout] 1488 | .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:1496:15 [INFO] [stdout] | [INFO] [stdout] 1496 | 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:1529:67 [INFO] [stdout] | [INFO] [stdout] 1529 | 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:1531:27 [INFO] [stdout] | [INFO] [stdout] 1531 | .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:1554:22 [INFO] [stdout] | [INFO] [stdout] 1554 | .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:1562:15 [INFO] [stdout] | [INFO] [stdout] 1562 | 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:1595:67 [INFO] [stdout] | [INFO] [stdout] 1595 | 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:1597:27 [INFO] [stdout] | [INFO] [stdout] 1597 | .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:1617:22 [INFO] [stdout] | [INFO] [stdout] 1617 | .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:1625:15 [INFO] [stdout] | [INFO] [stdout] 1625 | 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:1667:67 [INFO] [stdout] | [INFO] [stdout] 1667 | 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:1669:27 [INFO] [stdout] | [INFO] [stdout] 1669 | .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:1681:29 [INFO] [stdout] | [INFO] [stdout] 1681 | 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:1686:16 [INFO] [stdout] | [INFO] [stdout] 1686 | .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:1700:15 [INFO] [stdout] | [INFO] [stdout] 1700 | 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:1747:67 [INFO] [stdout] | [INFO] [stdout] 1747 | 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:1749:27 [INFO] [stdout] | [INFO] [stdout] 1749 | .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:1756:69 [INFO] [stdout] | [INFO] [stdout] 1756 | 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:1758:27 [INFO] [stdout] | [INFO] [stdout] 1758 | .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:1777:16 [INFO] [stdout] | [INFO] [stdout] 1777 | .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:1794:22 [INFO] [stdout] | [INFO] [stdout] 1794 | .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:1795:22 [INFO] [stdout] | [INFO] [stdout] 1795 | .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:1796:22 [INFO] [stdout] | [INFO] [stdout] 1796 | .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:1807:15 [INFO] [stdout] | [INFO] [stdout] 1807 | 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:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | .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:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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:301:25 [INFO] [stdout] | [INFO] [stdout] 301 | 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:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | 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:303:6 [INFO] [stdout] | [INFO] [stdout] 303 | ) -> 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:314:67 [INFO] [stdout] | [INFO] [stdout] 314 | 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:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | .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:333:34 [INFO] [stdout] | [INFO] [stdout] 333 | 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:346:27 [INFO] [stdout] | [INFO] [stdout] 346 | .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:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | 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:382:25 [INFO] [stdout] | [INFO] [stdout] 362 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 382 | 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:396:25 [INFO] [stdout] | [INFO] [stdout] 362 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 396 | 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:411:25 [INFO] [stdout] | [INFO] [stdout] 362 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 411 | 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:429:25 [INFO] [stdout] | [INFO] [stdout] 362 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 429 | 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:439:25 [INFO] [stdout] | [INFO] [stdout] 362 | fn test_multisig_0_2_3_unlock_with_since() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 439 | 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:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | 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:473:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 473 | 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:491:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 491 | 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:506:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 506 | 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:525:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 525 | 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:540:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 540 | 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:555:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 555 | 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:569:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 569 | 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:579:25 [INFO] [stdout] | [INFO] [stdout] 451 | fn test_multisig_0_2_3_unlock_with_since_epoch() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 579 | 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:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | Bytes::from(args_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[E0412]: cannot find type `CellInput` in this scope [INFO] [stdout] --> src/tests/secp256k1_blake160_multisig_all.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 591 | fn test_genesis_time_locked_cell() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 621 | 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:640:25 [INFO] [stdout] | [INFO] [stdout] 591 | fn test_genesis_time_locked_cell() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 640 | 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:655:34 [INFO] [stdout] | [INFO] [stdout] 655 | 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:655:83 [INFO] [stdout] | [INFO] [stdout] 655 | 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:669:16 [INFO] [stdout] | [INFO] [stdout] 669 | 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:671:6 [INFO] [stdout] | [INFO] [stdout] 671 | ) -> 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:735:40 [INFO] [stdout] | [INFO] [stdout] 735 | (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:752:22 [INFO] [stdout] | [INFO] [stdout] 752 | .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:762:48 [INFO] [stdout] | [INFO] [stdout] 762 | (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:770:32 [INFO] [stdout] | [INFO] [stdout] 770 | .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:784:51 [INFO] [stdout] | [INFO] [stdout] 784 | 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:784:61 [INFO] [stdout] | [INFO] [stdout] 784 | 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:788:58 [INFO] [stdout] | [INFO] [stdout] 788 | 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:788:78 [INFO] [stdout] | [INFO] [stdout] 788 | 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:811:5 [INFO] [stdout] | [INFO] [stdout] 811 | 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:819:35 [INFO] [stdout] | [INFO] [stdout] 819 | 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:822:19 [INFO] [stdout] | [INFO] [stdout] 822 | keys.push(Generator::random_privkey()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 822 | 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:828:47 [INFO] [stdout] | [INFO] [stdout] 828 | 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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | 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:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 | 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:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 199 | 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:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | .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:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | .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:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 249 | 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:268:28 [INFO] [stdout] | [INFO] [stdout] 268 | .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:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 294 | 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:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | let privkey2 = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 298 | 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:320:19 [INFO] [stdout] | [INFO] [stdout] 320 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 320 | 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:321:25 [INFO] [stdout] | [INFO] [stdout] 321 | let wrong_privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 321 | 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:338:19 [INFO] [stdout] | [INFO] [stdout] 338 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 338 | 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:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 360 | 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:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | 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:378:15 [INFO] [stdout] | [INFO] [stdout] 378 | .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:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | 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] 400 | 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:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 432 | 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:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 470 | 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:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | .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:514:19 [INFO] [stdout] | [INFO] [stdout] 514 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 514 | 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:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | 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:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | 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:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | 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::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:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | let privkey = Generator::random_privkey(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 555 | 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:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | 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:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | 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:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | 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 595 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-system-scripts` due to 596 previous errors [INFO] running `Command { std: "docker" "inspect" "3bc54225af17418e0434369b16fecb6df6a33af965d2e01ff637bd1dd2b2c1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc54225af17418e0434369b16fecb6df6a33af965d2e01ff637bd1dd2b2c1cd", kill_on_drop: false }` [INFO] [stdout] 3bc54225af17418e0434369b16fecb6df6a33af965d2e01ff637bd1dd2b2c1cd