[INFO] cloning repository https://github.com/perun-network/perun-ckb-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perun-network/perun-ckb-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperun-network%2Fperun-ckb-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperun-network%2Fperun-ckb-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3825c6647bd9a46e4b20da88e6d316bdda5ee9 [INFO] checking perun-network/perun-ckb-contract against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperun-network%2Fperun-ckb-contract" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perun-network/perun-ckb-contract on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perun-network/perun-ckb-contract [INFO] finished tweaking git repo https://github.com/perun-network/perun-ckb-contract [INFO] tweaked toml for git repo https://github.com/perun-network/perun-ckb-contract written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/perun-network/perun-ckb-contract 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking perun-network/perun-ckb-contract against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperun-network%2Fperun-ckb-contract" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perun-network/perun-ckb-contract on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perun-network/perun-ckb-contract [INFO] finished tweaking git repo https://github.com/perun-network/perun-ckb-contract [INFO] tweaked toml for git repo https://github.com/perun-network/perun-ckb-contract written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/perun-network/perun-ckb-contract 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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numext-fixed-uint v0.1.6 [INFO] [stderr] Downloaded ckb-merkle-mountain-range v0.5.2 [INFO] [stderr] Downloaded ckb-fixed-hash-core v0.108.0 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded numext-constructor v0.1.6 [INFO] [stderr] Downloaded ckb-occupied-capacity v0.108.0 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.0 [INFO] [stderr] Downloaded ckb-fixed-hash v0.108.0 [INFO] [stderr] Downloaded numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Downloaded ckb-rational v0.108.0 [INFO] [stderr] Downloaded numext-fixed-uint-core v0.1.6 [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] [stderr] Downloaded buddy-alloc v0.4.2 [INFO] [stderr] Downloaded blake2b-rs v0.2.0 [INFO] [stderr] Downloaded blake2b-ref v0.2.1 [INFO] [stderr] Downloaded ckb-types v0.108.0 [INFO] [stderr] Downloaded syn v2.0.14 [INFO] [stderr] Downloaded sha3 v0.10.7 [INFO] [stderr] Downloaded libc v0.2.141 [INFO] [stderr] Downloaded k256 v0.11.6 [INFO] [stderr] Downloaded rustc-std-workspace-alloc v1.0.0 [INFO] [stderr] Downloaded molecule v0.7.3 [INFO] [stderr] Downloaded const-oid v0.9.2 [INFO] [stderr] Downloaded ckb-occupied-capacity-macros v0.108.0 [INFO] [stderr] Downloaded ckb-occupied-capacity-core v0.108.0 [INFO] [stderr] Downloaded ckb-hash v0.108.0 [INFO] [stderr] Downloaded ckb-error v0.108.0 [INFO] [stderr] Downloaded ckb-fixed-hash-macros v0.108.0 [INFO] [stderr] Downloaded ckb-channel v0.108.0 [INFO] [stderr] Downloaded ckb-standalone-types v0.1.2 [INFO] [stderr] Downloaded ckb-std v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 332a7a280a70c3921dd9c514cb4367a39717fc1194652f60a65a4a22c8e07d06 [INFO] running `Command { std: "docker" "start" "-a" "332a7a280a70c3921dd9c514cb4367a39717fc1194652f60a65a4a22c8e07d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "332a7a280a70c3921dd9c514cb4367a39717fc1194652f60a65a4a22c8e07d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332a7a280a70c3921dd9c514cb4367a39717fc1194652f60a65a4a22c8e07d06", kill_on_drop: false }` [INFO] [stdout] 332a7a280a70c3921dd9c514cb4367a39717fc1194652f60a65a4a22c8e07d06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b0c49db3875badbef1c5a8311686264be00591592ad78b9f70a7493e3c880d [INFO] running `Command { std: "docker" "start" "-a" "45b0c49db3875badbef1c5a8311686264be00591592ad78b9f70a7493e3c880d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking const-oid v0.9.2 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking molecule v0.7.3 [INFO] [stderr] Checking cpufeatures v0.2.6 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking keccak v0.1.3 [INFO] [stderr] Checking ckb-standalone-types v0.1.2 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking buddy-alloc v0.4.2 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling ckb-std v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.7 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking k256 v0.11.6 [INFO] [stderr] Checking perun-common v0.1.0 (/opt/rustwide/workdir/contracts/perun-common) [INFO] [stderr] Checking perun-channel-lockscript v0.1.0 (/opt/rustwide/workdir/contracts/perun-channel-lockscript) [INFO] [stderr] Checking perun-channel-typescript v0.1.0 (/opt/rustwide/workdir/contracts/perun-channel-typescript) [INFO] [stderr] Checking perun-funds-lockscript v0.1.0 (/opt/rustwide/workdir/contracts/perun-funds-lockscript) [INFO] [stderr] Checking sample-udt v0.1.0 (/opt/rustwide/workdir/contracts/sample-udt) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`perun_channel_typescript`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`perun_channel_typescript`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/sample-udt/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/sample-udt/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> contracts/sample-udt/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`sample_udt`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> contracts/sample-udt/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`sample_udt`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/sample-udt/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`perun_funds_lockscript`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/sample-udt/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/sample-udt/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`perun_funds_lockscript`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/sample-udt/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`perun_channel_lockscript`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | ckb_std::entry!(program_entry); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e35e259478581c01033b8da67214c0d376859a32/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-075c79122bf4ef22.rlib [INFO] [stdout] = note: second definition in the local crate (`perun_channel_lockscript`) [INFO] [stdout] = note: this error originates in the macro `ckb_std::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `program_entry` is never used [INFO] [stdout] --> contracts/perun-channel-lockscript/src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn program_entry(_argc: u64, _argv: *const *const u8) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> contracts/perun-channel-lockscript/src/entry.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_is_participant` is never used [INFO] [stdout] --> contracts/perun-channel-lockscript/src/entry.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn verify_is_participant( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `program_entry` is never used [INFO] [stdout] --> contracts/sample-udt/src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn program_entry(_argc: u64, _argv: *const *const u8) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> contracts/sample-udt/src/entry.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_owner_mode` is never used [INFO] [stdout] --> contracts/sample-udt/src/entry.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn check_owner_mode(args: &Bytes) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UDT_LEN` is never used [INFO] [stdout] --> contracts/sample-udt/src/entry.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const UDT_LEN: usize = 16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_inputs_amount` is never used [INFO] [stdout] --> contracts/sample-udt/src/entry.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn collect_inputs_amount() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_outputs_amount` is never used [INFO] [stdout] --> contracts/sample-udt/src/entry.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn collect_outputs_amount() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: function `program_entry` is never used [INFO] [stdout] --> contracts/perun-funds-lockscript/src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn program_entry(_argc: u64, _argv: *const *const u8) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `perun-channel-lockscript` (bin "perun-channel-lockscript" test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> contracts/perun-funds-lockscript/src/entry.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_pcts_in_inputs` is never used [INFO] [stdout] --> contracts/perun-funds-lockscript/src/entry.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn verify_pcts_in_inputs(pcts_script_hash: &[u8; 32]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `perun-funds-lockscript` (bin "perun-funds-lockscript" test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] warning: function `program_entry` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn program_entry(_argc: u64, _argv: *const *const u8) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUDT_MIN_LEN` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const SUDT_MIN_LEN: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChannelAction` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum ChannelAction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_valid_start` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn check_valid_start( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_valid_progress` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn check_valid_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sample-udt` (bin "sample-udt" test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] warning: function `check_valid_close` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn check_valid_close( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_witness` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn load_witness() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_increasing_version_number` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn verify_increasing_version_number( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_valid_state_sigs` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn verify_valid_state_sigs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_state_not_finalized` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn verify_state_not_finalized(state: &ChannelState) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_status_funded` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn verify_status_funded(status: &ChannelStatus) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_equal_sum_of_balances` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:447:8 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn verify_equal_sum_of_balances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_channel_continues_locked` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn verify_channel_continues_locked() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_no_funds_in_inputs` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn verify_no_funds_in_inputs(channel_constants: &ChannelConstants) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_equal_channel_state` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn verify_equal_channel_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_funding_in_outputs` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn verify_funding_in_outputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_funded_status` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn verify_funded_status(status: &ChannelStatus, is_start: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_status_not_funded` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:568:8 [INFO] [stdout] | [INFO] [stdout] 568 | pub fn verify_status_not_funded(status: &ChannelStatus) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_channel_params_compatibility` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:575:8 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn verify_channel_params_compatibility(params: &ChannelParameters) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_equal_channel_id` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:588:8 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn verify_equal_channel_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_channel_state_progression` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn verify_channel_state_progression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_thread_token_integrity` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn verify_thread_token_integrity(thread_token: &ChannelToken) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_channel_id_integrity` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn verify_channel_id_integrity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_state_valid_as_start` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:630:8 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn verify_state_valid_as_start( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_valid_lock_script` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:654:8 [INFO] [stdout] | [INFO] [stdout] 654 | pub fn verify_valid_lock_script(channel_constants: &ChannelConstants) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_status_not_disputed` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:672:8 [INFO] [stdout] | [INFO] [stdout] 672 | pub fn verify_status_not_disputed(status: &ChannelStatus) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_status_disputed` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:679:8 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn verify_status_disputed(status: &ChannelStatus) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_all_payed` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:686:8 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn verify_all_payed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sudt_amout` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:794:8 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn get_sudt_amout( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_time_lock_expired` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:810:8 [INFO] [stdout] | [INFO] [stdout] 810 | pub fn verify_time_lock_expired(time_lock: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_closest_current_time` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:820:8 [INFO] [stdout] | [INFO] [stdout] 820 | pub fn find_closest_current_time() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_state_finalized` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:836:8 [INFO] [stdout] | [INFO] [stdout] 836 | pub fn verify_state_finalized(state: &ChannelState) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_channel_action` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:843:8 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn get_channel_action() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_max_one_channel` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:866:8 [INFO] [stdout] | [INFO] [stdout] 866 | pub fn verify_max_one_channel() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_cells` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:874:8 [INFO] [stdout] | [INFO] [stdout] 874 | pub fn count_cells(source: Source) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `perun-channel-typescript` (bin "perun-channel-typescript" test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] warning: function `verify_different_payment_addresses` is never used [INFO] [stdout] --> contracts/perun-channel-typescript/src/entry.rs:887:8 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn verify_different_payment_addresses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45b0c49db3875badbef1c5a8311686264be00591592ad78b9f70a7493e3c880d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b0c49db3875badbef1c5a8311686264be00591592ad78b9f70a7493e3c880d", kill_on_drop: false }` [INFO] [stdout] 45b0c49db3875badbef1c5a8311686264be00591592ad78b9f70a7493e3c880d