[INFO] crate sp-core 2.0.0-rc4 is already in cache [INFO] testing sp-core-2.0.0-rc4 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate sp-core 2.0.0-rc4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sp-core 2.0.0-rc4 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-core 2.0.0-rc4 [INFO] finished tweaking crates.io crate sp-core 2.0.0-rc4 [INFO] tweaked toml for crates.io crate sp-core 2.0.0-rc4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1ca44a70649006562e10aa4effc4241573b08c4b984ac71a2f00cc3dc184bea [INFO] running `Command { std: "docker" "start" "-a" "f1ca44a70649006562e10aa4effc4241573b08c4b984ac71a2f00cc3dc184bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1ca44a70649006562e10aa4effc4241573b08c4b984ac71a2f00cc3dc184bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ca44a70649006562e10aa4effc4241573b08c4b984ac71a2f00cc3dc184bea", kill_on_drop: false }` [INFO] [stdout] f1ca44a70649006562e10aa4effc4241573b08c4b984ac71a2f00cc3dc184bea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ecd5dcb8caf497d6d3c50b22f9aaa1023147b9c6744006b9b66f2e004ee7410 [INFO] running `Command { std: "docker" "start" "-a" "8ecd5dcb8caf497d6d3c50b22f9aaa1023147b9c6744006b9b66f2e004ee7410", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling sp-std v2.0.0-rc5 [INFO] [stderr] Compiling environmental v1.1.1 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling ref-cast v1.0.2 [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 schnorrkel v0.9.1 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling rental v0.5.5 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc5 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling sp-storage v2.0.0-rc5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc5 [INFO] [stderr] Compiling parity-scale-codec v1.3.1 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc5 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-core v2.0.0-rc4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `sign` found for struct `ed25519_dalek::Keypair` in the current scope [INFO] [stdout] --> 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] --> 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] --> 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] --> 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: could not compile `sp-core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8ecd5dcb8caf497d6d3c50b22f9aaa1023147b9c6744006b9b66f2e004ee7410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ecd5dcb8caf497d6d3c50b22f9aaa1023147b9c6744006b9b66f2e004ee7410", kill_on_drop: false }` [INFO] [stdout] 8ecd5dcb8caf497d6d3c50b22f9aaa1023147b9c6744006b9b66f2e004ee7410