[INFO] updating cached repository https://github.com/KeystoneHQ/ckb-util-offline [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d5064a5be64f62d11debf7439247b80ad3fbb70 [INFO] checking KeystoneHQ/ckb-util-offline/4d5064a5be64f62d11debf7439247b80ad3fbb70 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeystoneHQ%2Fckb-util-offline" "/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/KeystoneHQ/ckb-util-offline on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/KeystoneHQ/ckb-util-offline [INFO] finished tweaking git repo https://github.com/KeystoneHQ/ckb-util-offline [INFO] tweaked toml for git repo https://github.com/KeystoneHQ/ckb-util-offline written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KeystoneHQ/ckb-util-offline 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa7c7038c26ff3d36679864e0c4c99fc1acfc0ca847c917825030e1eb1258f33 [INFO] running `Command { std: "docker" "start" "-a" "fa7c7038c26ff3d36679864e0c4c99fc1acfc0ca847c917825030e1eb1258f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa7c7038c26ff3d36679864e0c4c99fc1acfc0ca847c917825030e1eb1258f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa7c7038c26ff3d36679864e0c4c99fc1acfc0ca847c917825030e1eb1258f33", kill_on_drop: false }` [INFO] [stdout] fa7c7038c26ff3d36679864e0c4c99fc1acfc0ca847c917825030e1eb1258f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a01d5796b6ba20334623f16c66dfb677f1fd941b2ab446febe9a8bfa506ab61 [INFO] running `Command { std: "docker" "start" "-a" "4a01d5796b6ba20334623f16c66dfb677f1fd941b2ab446febe9a8bfa506ab61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-core v1.0.50 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking blake2b-ref v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking ckb-hash v0.115.0-rc2 (/opt/rustwide/workdir/hash) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking ckb-merkle-mountain-range v0.5.2 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking ckb-constant v0.115.0-rc2 (/opt/rustwide/workdir/constant) [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking ckb-build-info v0.115.0-rc2 (/opt/rustwide/workdir/build-info) [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-core-impl v1.0.50 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling numext-constructor v0.1.9 (https://github.com/KeystoneHQ/rust-numext.git#b718b82a) [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.115.0-rc2-offline (/opt/rustwide/workdir/fixed-hash/core) [INFO] [stderr] Compiling ckb-occupied-capacity-core v0.115.0-rc2 (/opt/rustwide/workdir/occupied-capacity/core) [INFO] [stderr] Compiling numext-fixed-uint-core v0.2.6 (https://github.com/KeystoneHQ/rust-numext.git#b718b82a) [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/core/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.115.0-rc2 (/opt/rustwide/workdir/occupied-capacity/macros) [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/macros/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.115.0-rc2-offline (/opt/rustwide/workdir/fixed-hash/macros) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/core/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/core/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ckb-occupied-capacity v0.115.0-rc2 (/opt/rustwide/workdir/occupied-capacity) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/macros/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ckb-error v0.115.0-rc2 (/opt/rustwide/workdir/error) [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/macros/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ckb-fixed-hash v0.115.0-rc2-offline (/opt/rustwide/workdir/fixed-hash) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::ToString` [INFO] [stdout] --> error/src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> error/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ckb-crypto v0.115.0-rc2-offline (/opt/rustwide/workdir/crypto) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> crypto/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> crypto/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::ToString` [INFO] [stdout] --> error/src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> error/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> occupied-capacity/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(error_in_core)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking molecule v0.8.0 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.2.6 (https://github.com/KeystoneHQ/rust-numext.git#b718b82a) [INFO] [stderr] Checking numext-fixed-uint v0.2.6 (https://github.com/KeystoneHQ/rust-numext.git#b718b82a) [INFO] [stderr] Checking ckb-rational v0.115.0-rc2 (/opt/rustwide/workdir/rational) [INFO] [stderr] Checking ckb-gen-types v0.115.0-rc3-offline (/opt/rustwide/workdir/gen-types) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> gen-types/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | if #[cfg(feature = "std")] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/conversion/primitive.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/conversion/primitive.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(any(feature = "calc-hash", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(any(feature = "calc-hash", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(any(feature = "check-data", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(any(feature = "serialized-size", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/rust_core_traits.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `IntoCapacity` [INFO] [stdout] --> gen-types/src/extension/capacity.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use ckb_occupied_capacity::{Capacity, IntoCapacity, Result as CapacityResult}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> gen-types/src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | if #[cfg(feature = "std")] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/conversion/primitive.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/conversion/primitive.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(any(feature = "calc-hash", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(any(feature = "calc-hash", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(any(feature = "check-data", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(any(feature = "serialized-size", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/rust_core_traits.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `IntoCapacity` [INFO] [stdout] --> gen-types/src/extension/capacity.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use ckb_occupied_capacity::{Capacity, IntoCapacity, Result as CapacityResult}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> gen-types/src/extension/tests/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/tests/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/tests/mod.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(any(feature = "check-data", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/tests/mod.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "serialized-size", feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` 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: `std` [INFO] [stdout] --> gen-types/src/extension/tests/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `calc-hash`, `check-data`, `default`, and `serialized-size` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ckb-types v0.115.0-rc2 (/opt/rustwide/workdir/types) [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> types/src/global.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> types/src/lib.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature = "alloc", feature(error_in_core))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> types/src/global.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> types/src/lib.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(feature = "alloc", feature(error_in_core))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ckb-jsonrpc-types v0.115.0-rc2 (/opt/rustwide/workdir/jsonrpc-types) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeploymentPos` [INFO] [stdout] --> jsonrpc-types/src/blockchain.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | BlockNumber, Byte32, Capacity, Cycle, DeploymentPos, EpochNumber, EpochNumberWithFraction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::HashMap` [INFO] [stdout] --> jsonrpc-types/src/blockchain.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hashbrown::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeploymentPos` [INFO] [stdout] --> jsonrpc-types/src/blockchain.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | BlockNumber, Byte32, Capacity, Cycle, DeploymentPos, EpochNumber, EpochNumberWithFraction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::HashMap` [INFO] [stdout] --> jsonrpc-types/src/blockchain.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hashbrown::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> jsonrpc-types/src/bytes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{fmt::{self, format}, string::String, vec::{Vec}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> jsonrpc-types/src/fixed_bytes.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{fmt::format, string::String}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> jsonrpc-types/src/uints.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [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: unused import: `format` [INFO] [stdout] --> jsonrpc-types/src/bytes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::{fmt::{self, format}, string::String, vec::{Vec}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> jsonrpc-types/src/fixed_bytes.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::{fmt::format, string::String}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> jsonrpc-types/src/uints.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [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: function `convert` is never used [INFO] [stdout] --> jsonrpc-types/src/blockchain.rs:1535:4 [INFO] [stdout] | [INFO] [stdout] 1535 | fn convert(number: core::EpochNumber) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert` is never used [INFO] [stdout] --> jsonrpc-types/src/blockchain.rs:1535:4 [INFO] [stdout] | [INFO] [stdout] 1535 | fn convert(number: core::EpochNumber) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "4a01d5796b6ba20334623f16c66dfb677f1fd941b2ab446febe9a8bfa506ab61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a01d5796b6ba20334623f16c66dfb677f1fd941b2ab446febe9a8bfa506ab61", kill_on_drop: false }` [INFO] [stdout] 4a01d5796b6ba20334623f16c66dfb677f1fd941b2ab446febe9a8bfa506ab61