[INFO] cloning repository https://github.com/sunchengzhu/ckb-contract-minitest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunchengzhu/ckb-contract-minitest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunchengzhu%2Fckb-contract-minitest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunchengzhu%2Fckb-contract-minitest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 855be6e30506f1ee6259b5766bb6c67454167f01 [INFO] testing sunchengzhu/ckb-contract-minitest against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunchengzhu%2Fckb-contract-minitest" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunchengzhu/ckb-contract-minitest [INFO] finished tweaking git repo https://github.com/sunchengzhu/ckb-contract-minitest [INFO] tweaked toml for git repo https://github.com/sunchengzhu/ckb-contract-minitest written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunchengzhu/ckb-contract-minitest on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunchengzhu/ckb-contract-minitest already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/XuJiandong/serde_molecule.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded musig2 v0.0.11 [INFO] [stderr] Downloaded ckb-occupied-capacity v0.200.0 [INFO] [stderr] Downloaded ckb-verification-traits v0.200.0 [INFO] [stderr] Downloaded secp v0.2.4 [INFO] [stderr] Downloaded ckb-fixed-hash-core v0.200.0 [INFO] [stderr] Downloaded ckb-logger v0.200.0 [INFO] [stderr] Downloaded ckb-vm-definitions v0.24.13 [INFO] [stderr] Downloaded ckb-systemtime v0.200.0 [INFO] [stderr] Downloaded ckb-dao v0.200.0 [INFO] [stderr] Downloaded ckb-constant v0.200.0 [INFO] [stderr] Downloaded ckb-rational v0.200.0 [INFO] [stderr] Downloaded ckb-types v0.200.0 [INFO] [stderr] Downloaded ckb-mock-tx-types v0.200.1 [INFO] [stderr] Downloaded ckb-std v0.17.2 [INFO] [stderr] Downloaded ckb-vm v0.24.13 [INFO] [stderr] Downloaded ckb-jsonrpc-types v0.200.0 [INFO] [stderr] Downloaded ckb-resource v0.200.0 [INFO] [stderr] Downloaded ckb-chain-spec v0.200.0 [INFO] [stderr] Downloaded ckb-fixed-hash v0.200.0 [INFO] [stderr] Downloaded ckb-crypto v0.200.0 [INFO] [stderr] Downloaded ckb-dao-utils v0.200.0 [INFO] [stderr] Downloaded ckb-pow v0.200.0 [INFO] [stderr] Downloaded ckb-fixed-hash-macros v0.200.0 [INFO] [stderr] Downloaded ckb-traits v0.200.0 [INFO] [stderr] Downloaded ckb-channel v0.200.0 [INFO] [stderr] Downloaded ckb-occupied-capacity-core v0.200.0 [INFO] [stderr] Downloaded ckb-occupied-capacity-macros v0.200.0 [INFO] [stderr] Downloaded ckb-verification v0.200.0 [INFO] [stderr] Downloaded ckb-script v0.200.0 [INFO] [stderr] Downloaded ckb-testtool v0.15.1 [INFO] [stderr] Downloaded ckb-error v0.200.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca18787f21f941f894c89733d90bd4f99fefd7ae8733f7eef5cf1cd50234050 [INFO] running `Command { std: "docker" "start" "-a" "7ca18787f21f941f894c89733d90bd4f99fefd7ae8733f7eef5cf1cd50234050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca18787f21f941f894c89733d90bd4f99fefd7ae8733f7eef5cf1cd50234050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca18787f21f941f894c89733d90bd4f99fefd7ae8733f7eef5cf1cd50234050", kill_on_drop: false }` [INFO] [stdout] 7ca18787f21f941f894c89733d90bd4f99fefd7ae8733f7eef5cf1cd50234050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d6f037b8f53d114bf04e2029418802722518a5821ad37373e3bad2240e6673 [INFO] running `Command { std: "docker" "start" "-a" "39d6f037b8f53d114bf04e2029418802722518a5821ad37373e3bad2240e6673", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling ckb_schemars v0.8.22 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling blake2b-ref v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling golomb-coded-set v0.2.1 [INFO] [stderr] Compiling ckb-merkle-mountain-range v0.5.2 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling ckb-constant v0.200.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling includedir v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling eaglesong v0.1.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling ckb-logger v0.200.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ckb-vm-definitions v0.24.13 [INFO] [stderr] Compiling ckb-script v0.200.0 [INFO] [stderr] Compiling ckb-systemtime v0.200.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ckb-always-success-script v0.0.1 [INFO] [stderr] Compiling buddy-alloc v0.6.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling ckb-channel v0.200.0 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling ckb-vm v0.24.13 [INFO] [stderr] Compiling ckb-std v0.17.2 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling ckb-hash v0.200.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling reflink-copy v0.1.26 [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 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling ckb_schemars_derive v0.8.22 [INFO] [stderr] Compiling goblin v0.4.0 [INFO] [stderr] Compiling goblin v0.2.3 [INFO] [stderr] Compiling secp256k1 v0.30.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling secp v0.2.4 [INFO] [stderr] Compiling musig2 v0.0.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling numext-fixed-uint-core v0.1.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ckb-occupied-capacity-core v0.200.0 [INFO] [stderr] Compiling ssri v9.2.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_molecule v1.0.0 (https://github.com/XuJiandong/serde_molecule.git?rev=07f145d#07f145df) [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.200.0 [INFO] [stderr] Compiling ckb-occupied-capacity v0.200.0 [INFO] [stderr] Compiling ckb-error v0.200.0 [INFO] [stderr] Compiling ckb-verification-traits v0.200.0 [INFO] [stderr] Compiling molecule v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.200.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.200.0 [INFO] [stderr] Compiling ckb-fixed-hash v0.200.0 [INFO] [stderr] Compiling ckb-crypto v0.200.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling cacache v13.1.0 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Compiling numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-gen-types v0.200.0 [INFO] [stderr] Compiling ckb-rational v0.200.0 [INFO] [stderr] Compiling ckb-types v0.200.0 [INFO] [stderr] Compiling ckb-jsonrpc-types v0.200.0 [INFO] [stderr] Compiling ckb-traits v0.200.0 [INFO] [stderr] Compiling ckb-dao-utils v0.200.0 [INFO] [stderr] Compiling ckb-pow v0.200.0 [INFO] [stderr] Compiling ckb-resource v0.200.0 [INFO] [stderr] Compiling ckb-chain-spec v0.200.0 [INFO] [stderr] Compiling ckb-mock-tx-types v0.200.1 [INFO] [stderr] Compiling ckb-dao v0.200.0 [INFO] [stderr] Compiling ckb-verification v0.200.0 [INFO] [stderr] Compiling ckb-testtool v0.15.1 [INFO] [stderr] Compiling ckb-contract-minitest v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "39d6f037b8f53d114bf04e2029418802722518a5821ad37373e3bad2240e6673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d6f037b8f53d114bf04e2029418802722518a5821ad37373e3bad2240e6673", kill_on_drop: false }` [INFO] [stdout] 39d6f037b8f53d114bf04e2029418802722518a5821ad37373e3bad2240e6673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f9559362395bdc9629e8d105ae322134b6b7c06f24c86d43607cd2ad2a459a5 [INFO] running `Command { std: "docker" "start" "-a" "1f9559362395bdc9629e8d105ae322134b6b7c06f24c86d43607cd2ad2a459a5", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling ckb-logger v0.200.0 [INFO] [stderr] Compiling ckb-pow v0.200.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling goblin v0.2.3 [INFO] [stderr] Compiling goblin v0.4.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling ckb-chain-spec v0.200.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling ckb-dao v0.200.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling ckb-vm v0.24.13 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling secp v0.2.4 [INFO] [stderr] Compiling ckb-script v0.200.0 [INFO] [stderr] Compiling musig2 v0.0.11 [INFO] [stderr] Compiling ckb-verification v0.200.0 [INFO] [stderr] Compiling ckb-testtool v0.15.1 [INFO] [stderr] Compiling ckb-contract-minitest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XUDTDataCell` [INFO] [stdout] --> src/contract_util.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | let input_token_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2005 }); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XUDTDataCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XUDTData` in this scope [INFO] [stdout] --> src/contract_util.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | let input_token_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2005 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XUDTDataCell` [INFO] [stdout] --> src/contract_util.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | let input_token2_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2001 }); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XUDTDataCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XUDTData` in this scope [INFO] [stdout] --> src/contract_util.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | let input_token2_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2001 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XUDTDataCell` [INFO] [stdout] --> src/contract_util.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let output_token1_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2000 }); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XUDTDataCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XUDTData` in this scope [INFO] [stdout] --> src/contract_util.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | let output_token1_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2000 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XUDTDataCell` [INFO] [stdout] --> src/contract_util.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let output_token2_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2000 }); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XUDTDataCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XUDTData` in this scope [INFO] [stdout] --> src/contract_util.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | let output_token2_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2000 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XUDTDataCell` [INFO] [stdout] --> src/contract_util.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | let set_0_output_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 1 }); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XUDTDataCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XUDTData` in this scope [INFO] [stdout] --> src/contract_util.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | let set_0_output_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 1 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XUDTDataCell` [INFO] [stdout] --> src/contract_util.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | let replace_0_output_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2 }); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XUDTDataCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XUDTData` in this scope [INFO] [stdout] --> src/contract_util.rs:10:60 [INFO] [stdout] | [INFO] [stdout] 10 | let replace_0_output_cell = XUDTDataCell::new([1; 32], XUDTData { amount: 2 }); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContractUtil` [INFO] [stdout] --> src/contract_util.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ct = ContractUtil::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ContractUtil` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::ContractUtil; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XUDTDataCell` in this scope [INFO] [stdout] --> src/contract_util.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let output1: XUDTDataCell = ct.get_cell_by_index(tx, 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::cells::xudt_data::XUDTDataCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionBuilder` [INFO] [stdout] --> src/contract_util.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tx = TransactionBuilder::default().build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb-contract-minitest` (lib test) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1f9559362395bdc9629e8d105ae322134b6b7c06f24c86d43607cd2ad2a459a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f9559362395bdc9629e8d105ae322134b6b7c06f24c86d43607cd2ad2a459a5", kill_on_drop: false }` [INFO] [stdout] 1f9559362395bdc9629e8d105ae322134b6b7c06f24c86d43607cd2ad2a459a5