[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 try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCPChain%2Fcpchain-rust-sdk" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CPChain/cpchain-rust-sdk on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ee606a179ba2c4dc89bfa32d890ee1dc60ccab736e8b4c736e1fba86b1610a0 [INFO] running `Command { std: "docker" "start" "-a" "3ee606a179ba2c4dc89bfa32d890ee1dc60ccab736e8b4c736e1fba86b1610a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ee606a179ba2c4dc89bfa32d890ee1dc60ccab736e8b4c736e1fba86b1610a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee606a179ba2c4dc89bfa32d890ee1dc60ccab736e8b4c736e1fba86b1610a0", kill_on_drop: false }` [INFO] [stdout] 3ee606a179ba2c4dc89bfa32d890ee1dc60ccab736e8b4c736e1fba86b1610a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e137550c9ed73c876577ad0dccfdbd8339dd2ae82f01d1526013a8b301f120 [INFO] running `Command { std: "docker" "start" "-a" "56e137550c9ed73c876577ad0dccfdbd8339dd2ae82f01d1526013a8b301f120", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling libc v0.2.137 [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] Checking rand_core v0.4.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking generic-array v0.14.6 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [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] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking uint v0.9.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking keccak v0.1.2 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rayon v1.6.0 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking const-oid v0.9.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking secp256k1 v0.21.3 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.2 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex v1.7.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] Compiling failure_derive v0.1.8 [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] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EVP_PKEY_id` in crate `ffi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-0.10.42/src/pkey.rs:193:36 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { Id::from_raw(ffi::EVP_PKEY_id(self.as_ptr())) } [INFO] [stdout] | ^^^^^^^^^^^ help: a constant with a similar name exists: `EVP_PKEY_DH` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.77/src/./evp.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const EVP_PKEY_DH: c_int = NID_dhKeyAgreement; [INFO] [stdout] | ---------------------------- similarly named constant `EVP_PKEY_DH` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EVP_PKEY_bits` in crate `ffi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-0.10.42/src/pkey.rs:229:23 [INFO] [stdout] | [INFO] [stdout] 229 | unsafe { ffi::EVP_PKEY_bits(self.as_ptr()) as u32 } [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `EVP_PKEY_sign` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.77/src/./handwritten/evp.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | / pub fn EVP_PKEY_sign( [INFO] [stdout] 495 | | ctx: *mut EVP_PKEY_CTX, [INFO] [stdout] 496 | | sig: *mut c_uchar, [INFO] [stdout] 497 | | siglen: *mut size_t, [INFO] [stdout] 498 | | tbs: *const c_uchar, [INFO] [stdout] 499 | | tbslen: size_t, [INFO] [stdout] 500 | | ) -> c_int; [INFO] [stdout] | |_______________- similarly named function `EVP_PKEY_sign` defined here [INFO] [stdout] [INFO] [stdout] [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] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openssl` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "56e137550c9ed73c876577ad0dccfdbd8339dd2ae82f01d1526013a8b301f120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e137550c9ed73c876577ad0dccfdbd8339dd2ae82f01d1526013a8b301f120", kill_on_drop: false }` [INFO] [stdout] 56e137550c9ed73c876577ad0dccfdbd8339dd2ae82f01d1526013a8b301f120