[INFO] cloning repository https://github.com/CPChain/cpchain-rust-sdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CPChain/cpchain-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCPChain%2Fcpchain-rust-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCPChain%2Fcpchain-rust-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df78ab5b8d7004951a7b2643cbfaf3bbb6d4b472 [INFO] checking CPChain/cpchain-rust-sdk against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCPChain%2Fcpchain-rust-sdk" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CPChain/cpchain-rust-sdk [INFO] finished tweaking git repo https://github.com/CPChain/cpchain-rust-sdk [INFO] tweaked toml for git repo https://github.com/CPChain/cpchain-rust-sdk written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CPChain/cpchain-rust-sdk on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CPChain/cpchain-rust-sdk 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v0.1.8 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.4 [INFO] [stderr] Downloaded uuid-macro-internal v1.2.2 [INFO] [stderr] Downloaded ethereum-types v0.12.1 [INFO] [stderr] Downloaded ethabi v16.0.0 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded aes v0.8.2 [INFO] [stderr] Downloaded parity-scale-codec v3.5.0 [INFO] [stderr] Downloaded rayon v1.6.0 [INFO] [stderr] Downloaded openssl v0.10.42 [INFO] [stderr] Downloaded openssl-sys v0.9.77 [INFO] [stderr] Downloaded web3 v0.18.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17e5cb98dfc8ec8207b568190afb21de464569aa4e899efd531a75fb96e8105d [INFO] running `Command { std: "docker" "start" "-a" "17e5cb98dfc8ec8207b568190afb21de464569aa4e899efd531a75fb96e8105d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e5cb98dfc8ec8207b568190afb21de464569aa4e899efd531a75fb96e8105d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e5cb98dfc8ec8207b568190afb21de464569aa4e899efd531a75fb96e8105d", kill_on_drop: false }` [INFO] [stdout] 17e5cb98dfc8ec8207b568190afb21de464569aa4e899efd531a75fb96e8105d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb6f2553f41921578378a6418b49febc60849ce51a975ea9c8dbd3b6ddf2b5ef [INFO] running `Command { std: "docker" "start" "-a" "cb6f2553f41921578378a6418b49febc60849ce51a975ea9c8dbd3b6ddf2b5ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.150 [INFO] [stderr] Compiling serde v1.0.150 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking uint v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking const-oid v0.9.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking aes v0.8.2 [INFO] [stderr] Checking secp256k1 v0.21.3 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling uuid-macro-internal v1.2.2 [INFO] [stderr] Checking uuid v1.2.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking cpc-bip39 v0.1.0 (/opt/rustwide/workdir/bip39) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bip39/src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 4 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> bip39/src/error.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind` [INFO] [stdout] 4 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.4 [INFO] [stderr] Compiling scale-info-derive v2.9.0 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking soketto v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.11 [INFO] [stderr] Checking web3-async-native-tls v0.4.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking parity-scale-codec v3.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking ethbloom v0.11.1 [INFO] [stderr] Checking scale-info v2.9.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking primitive-types v0.12.1 [INFO] [stderr] Checking ethereum-types v0.12.1 [INFO] [stderr] Checking ethabi v16.0.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.13 [INFO] [stderr] Checking web3 v0.18.0 [INFO] [stderr] Checking cpchain-rust-sdk v0.1.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `wasm` [INFO] [stdout] --> src/transport.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(feature = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm` 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: `wasm` [INFO] [stdout] --> src/transport.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(feature = "wasm"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wasm` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.89s [INFO] running `Command { std: "docker" "inspect" "cb6f2553f41921578378a6418b49febc60849ce51a975ea9c8dbd3b6ddf2b5ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6f2553f41921578378a6418b49febc60849ce51a975ea9c8dbd3b6ddf2b5ef", kill_on_drop: false }` [INFO] [stdout] cb6f2553f41921578378a6418b49febc60849ce51a975ea9c8dbd3b6ddf2b5ef