[INFO] fetching crate ckb_ssri_sdk 0.1.1-alpha.19... [INFO] testing ckb_ssri_sdk-0.1.1-alpha.19 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ckb_ssri_sdk 0.1.1-alpha.19 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ckb_ssri_sdk 0.1.1-alpha.19 [INFO] finished tweaking crates.io crate ckb_ssri_sdk 0.1.1-alpha.19 [INFO] tweaked toml for crates.io crate ckb_ssri_sdk 0.1.1-alpha.19 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ckb_ssri_sdk 0.1.1-alpha.19 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding ckb-std v0.16.4 (available: v0.18.0) [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] Downloading crates ... [INFO] [stderr] Downloaded serde_molecule v1.1.2 [INFO] [stderr] Downloaded ckb_ssri_sdk_proc_macro v0.1.1-alpha.19 [INFO] [stderr] Downloaded ckb-hash v0.119.0 [INFO] [stderr] Downloaded molecule v0.8.0 [INFO] [stderr] Downloaded ckb-hash v0.116.1 [INFO] [stderr] Downloaded buddy-alloc v0.6.0 [INFO] [stderr] Downloaded blake2b-ref v0.3.1 [INFO] [stderr] Downloaded ckb-gen-types v0.119.0 [INFO] [stderr] Downloaded ckb-std v0.16.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5e4808ea7c3a515dc37750bf423cc4001b2866916a30848c6c75f5ce4874f46c [INFO] running `Command { std: "docker" "start" "-a" "5e4808ea7c3a515dc37750bf423cc4001b2866916a30848c6c75f5ce4874f46c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e4808ea7c3a515dc37750bf423cc4001b2866916a30848c6c75f5ce4874f46c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4808ea7c3a515dc37750bf423cc4001b2866916a30848c6c75f5ce4874f46c", kill_on_drop: false }` [INFO] [stdout] 5e4808ea7c3a515dc37750bf423cc4001b2866916a30848c6c75f5ce4874f46c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6d64a22428a5a150dd50f09a582242276b313c9fb7908994d51d2151f4325194 [INFO] running `Command { std: "docker" "start" "-a" "6d64a22428a5a150dd50f09a582242276b313c9fb7908994d51d2151f4325194", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling blake2b-ref v0.3.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling buddy-alloc v0.6.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling ckb-hash v0.119.0 [INFO] [stderr] Compiling molecule v0.8.0 [INFO] [stderr] Compiling ckb-gen-types v0.119.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling ckb-std v0.16.4 [INFO] [stderr] Compiling ckb-hash v0.116.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ckb_ssri_sdk_proc_macro v0.1.1-alpha.19 [INFO] [stderr] Compiling serde_molecule v1.1.2 [INFO] [stderr] Compiling ckb_ssri_sdk v0.1.1-alpha.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> src/public_module_traits/udt.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_molecule::dynvec_serde` [INFO] [stdout] --> src/public_module_traits/udt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_molecule::dynvec_serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/prelude.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> src/prelude.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ckb_std::debug` [INFO] [stdout] --> src/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_std::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(feature = "native-simulator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature = "native-simulator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "native-simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "native-simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/utils/syscalls/native.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_std::{ckb_constants::SYS_VM_VERSION, debug, error::SysError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | debug!("Should fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | debug!("Should fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | debug!("Should not fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | debug!("Should not fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/utils/high_level.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | load_data(|buf, offset| syscalls::find_cell_by_out_point(buf, out_point.as_slice()))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/utils/high_level.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | load_data(|buf, offset| syscalls::find_cell_data_by_out_point(buf, out_point.as_slice())) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.36s [INFO] running `Command { std: "docker" "inspect" "6d64a22428a5a150dd50f09a582242276b313c9fb7908994d51d2151f4325194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d64a22428a5a150dd50f09a582242276b313c9fb7908994d51d2151f4325194", kill_on_drop: false }` [INFO] [stdout] 6d64a22428a5a150dd50f09a582242276b313c9fb7908994d51d2151f4325194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] dbff5974950b8b835155c83fde55eb1b97f909c1eb68741c6edfaff3b493d83b [INFO] running `Command { std: "docker" "start" "-a" "dbff5974950b8b835155c83fde55eb1b97f909c1eb68741c6edfaff3b493d83b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> src/public_module_traits/udt.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_molecule::dynvec_serde` [INFO] [stdout] --> src/public_module_traits/udt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_molecule::dynvec_serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/prelude.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> src/prelude.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ckb_std::debug` [INFO] [stdout] --> src/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_std::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(feature = "native-simulator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature = "native-simulator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "native-simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "native-simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/utils/syscalls/native.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_std::{ckb_constants::SYS_VM_VERSION, debug, error::SysError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | debug!("Should fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | debug!("Should fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | debug!("Should not fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | debug!("Should not fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/utils/high_level.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | load_data(|buf, offset| syscalls::find_cell_by_out_point(buf, out_point.as_slice()))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ckb_ssri_sdk v0.1.1-alpha.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/utils/high_level.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | load_data(|buf, offset| syscalls::find_cell_data_by_out_point(buf, out_point.as_slice())) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> src/public_module_traits/udt.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_molecule::dynvec_serde` [INFO] [stdout] --> src/public_module_traits/udt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_molecule::dynvec_serde; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/prelude.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::String` [INFO] [stdout] --> src/prelude.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ckb_std::debug` [INFO] [stdout] --> src/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_std::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(feature = "native-simulator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature = "native-simulator"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "native-simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/syscalls/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "native-simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/utils/syscalls/native.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use ckb_std::{ckb_constants::SYS_VM_VERSION, debug, error::SysError}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | debug!("Should fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | debug!("Should fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | debug!("Should not fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stdout] --> src/utils/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | debug!("Should not fallback!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/utils/high_level.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | load_data(|buf, offset| syscalls::find_cell_by_out_point(buf, out_point.as_slice()))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/utils/high_level.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | load_data(|buf, offset| syscalls::find_cell_data_by_out_point(buf, out_point.as_slice())) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "dbff5974950b8b835155c83fde55eb1b97f909c1eb68741c6edfaff3b493d83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbff5974950b8b835155c83fde55eb1b97f909c1eb68741c6edfaff3b493d83b", kill_on_drop: false }` [INFO] [stdout] dbff5974950b8b835155c83fde55eb1b97f909c1eb68741c6edfaff3b493d83b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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", kill_on_drop: false }` [INFO] [stdout] 3f84b989442c6f2ccf694101233c2667481a4322fe0bdac20f03080c991bcea7 [INFO] running `Command { std: "docker" "start" "-a" "3f84b989442c6f2ccf694101233c2667481a4322fe0bdac20f03080c991bcea7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `alloc::string::String` [INFO] [stderr] --> src/public_module_traits/udt.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use alloc::string::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_molecule::dynvec_serde` [INFO] [stderr] --> src/public_module_traits/udt.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use serde_molecule::dynvec_serde; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::format` [INFO] [stderr] --> src/prelude.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::format; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::string::String` [INFO] [stderr] --> src/prelude.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use alloc::string::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ckb_std::debug` [INFO] [stderr] --> src/prelude.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ckb_std::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stderr] --> src/utils/syscalls/mod.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(feature = "native-simulator"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stderr] --> src/utils/syscalls/mod.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg(not(feature = "native-simulator"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stderr] --> src/utils/syscalls/mod.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "native-simulator")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stderr] --> src/utils/syscalls/mod.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(feature = "native-simulator")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `native-simulator` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/utils/syscalls/native.rs:4:46 [INFO] [stderr] | [INFO] [stderr] 4 | use ckb_std::{ckb_constants::SYS_VM_VERSION, debug, error::SysError}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stderr] --> src/utils/mod.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | debug!("Should fallback!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `native-simulator` [INFO] [stderr] --> src/utils/mod.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | debug!("Should not fallback!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `debug` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `debug` may come from an old version of the `ckb_std` crate, try updating your dependency with `cargo update -p ckb_std` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/utils/high_level.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | load_data(|buf, offset| syscalls::find_cell_by_out_point(buf, out_point.as_slice()))?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `offset` [INFO] [stderr] --> src/utils/high_level.rs:132:21 [INFO] [stderr] | [INFO] [stderr] 132 | load_data(|buf, offset| syscalls::find_cell_data_by_out_point(buf, out_point.as_slice())) [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] [INFO] [stderr] warning: `ckb_ssri_sdk` (lib) generated 16 warnings (2 duplicates) (run `cargo fix --lib -p ckb_ssri_sdk` to apply 6 suggestions) [INFO] [stderr] warning: `ckb_ssri_sdk` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ckb_ssri_sdk-173da997cd662972) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ckb_ssri_sdk [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/macros.rs - macros (line 14) ... ignored [INFO] [stdout] test src/utils/high_level.rs - utils::high_level::find_cell_by_out_point (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) - compile ... FAILED [INFO] [stdout] test src/utils/high_level.rs - utils::high_level::find_out_point_by_type (line 41) ... FAILED [INFO] [stdout] test src/public_module_traits/udt.rs - public_module_traits::udt::UDT (line 25) - compile ... FAILED [INFO] [stdout] test src/utils/high_level.rs - utils::high_level::find_cell_data_by_out_point (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - SSRIError (line 94) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils/high_level.rs - utils::high_level::find_cell_by_out_point (line 78) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/utils/high_level.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = OutPoint::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = OutPoint::new(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = OutPoint::new(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/utils/high_level.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = OutPoint::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = OutPoint::new(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_cell_by_out_point` in this scope [INFO] [stdout] --> src/utils/high_level.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 4 | let cell_output = find_cell_by_out_point(out_point).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use ckb_ssri_sdk::utils::high_level::find_cell_by_out_point; [INFO] [stdout] | [INFO] [stdout] 2 + use ckb_ssri_sdk::utils::syscalls::find_cell_by_out_point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/utils/high_level.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = OutPoint::new(...); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `ckb_std::ckb_constants::InputField::OutPoint`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = ckb_std::ckb_constants::InputField::new(...); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 29) stdout ---- [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `balance`, `transfer`, `verify_transfer`, `name`, `symbol`, `decimals`, `icon`, `mint`, `verify_mint` [INFO] [stdout] --> src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 12 | impl UDT for MyToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `balance`, `transfer`, `verify_transfer`, `name`, `symbol`, `decimals`, `icon`, `mint`, `verify_mint` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn balance() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn transfer(_: Option, _: Vec, _: Vec) -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn verify_transfer() -> Result<(), ::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn name() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn symbol() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn decimals() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn icon() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn mint(_: Option, _: Vec, _: Vec) -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn verify_mint() -> Result<(), ::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/high_level.rs - utils::high_level::find_out_point_by_type (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `find_out_point_by_type` in this scope [INFO] [stdout] --> src/utils/high_level.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = find_out_point_by_type(type_script).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use ckb_ssri_sdk::utils::high_level::find_out_point_by_type; [INFO] [stdout] | [INFO] [stdout] 2 + use ckb_ssri_sdk::utils::syscalls::find_out_point_by_type; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_script` in this scope [INFO] [stdout] --> src/utils/high_level.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = find_out_point_by_type(type_script).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/public_module_traits/udt.rs - public_module_traits::udt::UDT (line 25) stdout ---- [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `transfer`, `verify_transfer`, `name`, `symbol`, `decimals`, `icon`, `mint`, `verify_mint` [INFO] [stdout] --> src/public_module_traits/udt.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 9 | impl UDT for MyToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `transfer`, `verify_transfer`, `name`, `symbol`, `decimals`, `icon`, `mint`, `verify_mint` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn transfer(_: Option, _: Vec, _: Vec) -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn verify_transfer() -> Result<(), ::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn name() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn symbol() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn decimals() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn icon() -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn mint(_: Option, _: Vec, _: Vec) -> Result::Error> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn verify_mint() -> Result<(), ::Error> { todo!() }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/high_level.rs - utils::high_level::find_cell_data_by_out_point (line 117) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/utils/high_level.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = OutPoint::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = OutPoint::new(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = OutPoint::new(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/utils/high_level.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = OutPoint::new(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = OutPoint::new(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_cell_data_by_out_point` in this scope [INFO] [stdout] --> src/utils/high_level.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = find_cell_data_by_out_point(out_point).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use ckb_ssri_sdk::utils::high_level::find_cell_data_by_out_point; [INFO] [stdout] | [INFO] [stdout] 2 + use ckb_ssri_sdk::utils::syscalls::find_cell_data_by_out_point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutPoint` [INFO] [stdout] --> src/utils/high_level.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 3 | let out_point = OutPoint::new(...); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `OutPoint` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `ckb_std::ckb_constants::InputField::OutPoint`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 - let out_point = OutPoint::new(...); [INFO] [stdout] 3 + let out_point = ckb_std::ckb_constants::InputField::new(...); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 29) [INFO] [stdout] src/public_module_traits/udt.rs - public_module_traits::udt::UDT (line 25) [INFO] [stdout] src/utils/high_level.rs - utils::high_level::find_cell_by_out_point (line 78) [INFO] [stdout] src/utils/high_level.rs - utils::high_level::find_cell_data_by_out_point (line 117) [INFO] [stdout] src/utils/high_level.rs - utils::high_level::find_out_point_by_type (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3f84b989442c6f2ccf694101233c2667481a4322fe0bdac20f03080c991bcea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f84b989442c6f2ccf694101233c2667481a4322fe0bdac20f03080c991bcea7", kill_on_drop: false }` [INFO] [stdout] 3f84b989442c6f2ccf694101233c2667481a4322fe0bdac20f03080c991bcea7