[INFO] crate pallet-contracts-rpc 0.8.0-rc4 is already in cache [INFO] testing pallet-contracts-rpc-0.8.0-rc4 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate pallet-contracts-rpc 0.8.0-rc4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pallet-contracts-rpc 0.8.0-rc4 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-contracts-rpc 0.8.0-rc4 [INFO] finished tweaking crates.io crate pallet-contracts-rpc 0.8.0-rc4 [INFO] tweaked toml for crates.io crate pallet-contracts-rpc 0.8.0-rc4 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e47ea613112838efbc3e62bb42c127094b1193b70a6f7fd28e4d68905f03f2b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e47ea613112838efbc3e62bb42c127094b1193b70a6f7fd28e4d68905f03f2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e47ea613112838efbc3e62bb42c127094b1193b70a6f7fd28e4d68905f03f2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47ea613112838efbc3e62bb42c127094b1193b70a6f7fd28e4d68905f03f2b6", kill_on_drop: false }` [INFO] [stdout] e47ea613112838efbc3e62bb42c127094b1193b70a6f7fd28e4d68905f03f2b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b0c4268a8a18e81a4dab44757f500fd1f7e63817887d59cacc080c2da75d03e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3b0c4268a8a18e81a4dab44757f500fd1f7e63817887d59cacc080c2da75d03e", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling sp-panic-handler v2.0.0-rc4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.19.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc4 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling trie-db v0.21.0 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling jsonrpc-derive v14.2.1 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling parity-scale-codec v1.3.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling jsonrpc-pubsub v14.2.0 [INFO] [stderr] Compiling jsonrpc-client-transports v14.2.0 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling jsonrpc-core-client v14.2.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling sp-utils v2.0.0-rc4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc4 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc4 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc4 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling libp2p-core v0.19.2 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc4 [INFO] [stderr] Compiling memory-db v0.21.0 [INFO] [stderr] Compiling sp-core v2.0.0-rc4 [INFO] [stdout] error[E0599]: no method named `sign` found for struct `ed25519_dalek::Keypair` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.19.2/src/identity/ed25519.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | self.0.sign(msg).to_bytes().to_vec() [INFO] [stdout] | ^^^^ method not found in `ed25519_dalek::Keypair` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Signer;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.19.2/src/identity/ed25519.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ed25519::Signature::from_bytes(sig).and_then(|s| self.0.verify(msg, &s)).is_ok() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.19.2/src/identity/ed25519.rs:110:65 [INFO] [stdout] | [INFO] [stdout] 110 | ed25519::Signature::from_bytes(sig).and_then(|s| self.0.verify(msg, &s)).is_ok() [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::PublicKey` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `sign` found for struct `ed25519_dalek::Keypair` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-core-2.0.0-rc4/src/ed25519.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | let r = self.0.sign(message).to_bytes(); [INFO] [stdout] | ^^^^ method not found in `ed25519_dalek::Keypair` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Signer;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-core-2.0.0-rc4/src/ed25519.rs:516:45 [INFO] [stdout] | [INFO] [stdout] 516 | let sig = match ed25519_dalek::Signature::from_bytes(sig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-core-2.0.0-rc4/src/ed25519.rs:521:20 [INFO] [stdout] | [INFO] [stdout] 521 | match public_key.verify(message.as_ref(), &sig) { [INFO] [stdout] | ^^^^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `crypto::Pair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-core-2.0.0-rc4/src/crypto.rs:821:2 [INFO] [stdout] | [INFO] [stdout] 821 | fn verify>(sig: &Self::Signature, message: M, pubkey: &Self::Public) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 521 | match ed25519_dalek::PublicKey::verify(message.as_ref(), &sig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for the candidate [INFO] [stdout] | [INFO] [stdout] 521 | match crypto::Pair::verify(public_key, message.as_ref(), &sig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3b0c4268a8a18e81a4dab44757f500fd1f7e63817887d59cacc080c2da75d03e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0c4268a8a18e81a4dab44757f500fd1f7e63817887d59cacc080c2da75d03e", kill_on_drop: false }` [INFO] [stdout] 3b0c4268a8a18e81a4dab44757f500fd1f7e63817887d59cacc080c2da75d03e