[INFO] fetching crate sp-runtime 5.0.0... [INFO] testing sp-runtime-5.0.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate sp-runtime 5.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sp-runtime 5.0.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-runtime 5.0.0 [INFO] finished tweaking crates.io crate sp-runtime 5.0.0 [INFO] tweaked toml for crates.io crate sp-runtime 5.0.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90fc49ecb66d754b196840b22e53d792c96cc9edfe222610f89186bad4532a03 [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" "90fc49ecb66d754b196840b22e53d792c96cc9edfe222610f89186bad4532a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90fc49ecb66d754b196840b22e53d792c96cc9edfe222610f89186bad4532a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90fc49ecb66d754b196840b22e53d792c96cc9edfe222610f89186bad4532a03", kill_on_drop: false }` [INFO] [stdout] 90fc49ecb66d754b196840b22e53d792c96cc9edfe222610f89186bad4532a03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46e0f9423b486f3f4c63b13a9c3a285dab050143f2a38861cb6f9e79546a9723 [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" "46e0f9423b486f3f4c63b13a9c3a285dab050143f2a38861cb6f9e79546a9723", kill_on_drop: false }` [INFO] [stderr] Compiling sp-std v4.0.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling parity-wasm v0.42.2 [INFO] [stderr] Compiling parity-util-mem v0.10.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling trie-root v0.17.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling sp-debug-derive v4.0.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling sp-panic-handler v4.0.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling trie-db v0.23.1 [INFO] [stderr] Compiling sp-core-hashing v4.0.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling wasmi-validation v0.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling wasmi v0.9.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling ss58-registry v1.15.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling scale-info-derive v1.0.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v4.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling scale-info v1.0.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v5.0.0 [INFO] [stderr] Compiling sp-tracing v4.0.0 [INFO] [stderr] Compiling sp-wasm-interface v5.0.0 [INFO] [stderr] Compiling sp-externalities v0.11.0 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling sp-arithmetic v4.0.0 [INFO] [stderr] Compiling sp-runtime-interface v5.0.0 [INFO] [stderr] Compiling memory-db v0.28.0 [INFO] [stderr] Compiling sp-core v5.0.0 [INFO] [stderr] Compiling sp-trie v5.0.0 [INFO] [stderr] Compiling sp-keystore v0.11.0 [INFO] [stderr] Compiling sp-state-machine v0.11.0 [INFO] [stderr] Compiling sp-io v5.0.0 [INFO] [stderr] Compiling sp-application-crypto v5.0.0 [INFO] [stderr] Compiling sp-runtime v5.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "46e0f9423b486f3f4c63b13a9c3a285dab050143f2a38861cb6f9e79546a9723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46e0f9423b486f3f4c63b13a9c3a285dab050143f2a38861cb6f9e79546a9723", kill_on_drop: false }` [INFO] [stdout] 46e0f9423b486f3f4c63b13a9c3a285dab050143f2a38861cb6f9e79546a9723 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3913e13287dc7cfd33268772a8fd71ca16590a8c57dc882e9b0fa2d65dc92cb3 [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" "3913e13287dc7cfd33268772a8fd71ca16590a8c57dc882e9b0fa2d65dc92cb3", kill_on_drop: false }` [INFO] [stderr] Compiling sp-runtime v5.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/runtime_logger.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_api` [INFO] [stdout] --> src/runtime_logger.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | use sp_api::{BlockId, ProvideRuntimeApi}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `sp_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/runtime_logger.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_state_machine` [INFO] [stdout] --> src/lib.rs:925:6 [INFO] [stdout] | [INFO] [stdout] 925 | use sp_state_machine::create_proof_check_backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_state_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_state_machine` [INFO] [stdout] --> src/lib.rs:1032:7 [INFO] [stdout] | [INFO] [stdout] 1032 | use sp_state_machine::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_state_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/generic/digest.rs:449:4 [INFO] [stdout] | [INFO] [stdout] 449 | serde_json::to_string(&digest).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/generic/header.rs:220:48 [INFO] [stdout] | [INFO] [stdout] 220 | let mut der = serde_json::Deserializer::new(serde_json::de::StrRead::new(num)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/runtime_logger.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/lib.rs:930:14 [INFO] [stdout] | [INFO] [stdout] 930 | assert_eq!(serde_json::to_string(&ex).unwrap(), "\"0x1001020304\"".to_owned()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_state_machine` [INFO] [stdout] --> src/lib.rs:1002:17 [INFO] [stdout] | [INFO] [stdout] 1002 | let mut ext = sp_state_machine::BasicExternalities::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_state_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_state_machine` [INFO] [stdout] --> src/lib.rs:1018:17 [INFO] [stdout] | [INFO] [stdout] 1018 | let mut ext = sp_state_machine::BasicExternalities::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_state_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zstd` [INFO] [stdout] --> src/lib.rs:1049:26 [INFO] [stdout] | [INFO] [stdout] 1049 | let compressed_proof = zstd::stream::encode_all(&compact_proof.encode()[..], 0).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `zstd` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1049 | let compressed_proof = std::stream::encode_all(&compact_proof.encode()[..], 0).unwrap(); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/generic/header.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | let mut ser = serde_json::Serializer::new(std::io::Cursor::new(&mut v)); [INFO] [stdout] | ^^^^^^^^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use crate::serde::Serializer; [INFO] [stdout] | [INFO] [stdout] 197 | use serde::Serializer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/generic/header.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | let mut der = serde_json::Deserializer::new(serde_json::de::StrRead::new(num)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `serde_json` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 197 | use crate::serde::Deserializer; [INFO] [stdout] | [INFO] [stdout] 197 | use serde::Deserializer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-runtime` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "3913e13287dc7cfd33268772a8fd71ca16590a8c57dc882e9b0fa2d65dc92cb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3913e13287dc7cfd33268772a8fd71ca16590a8c57dc882e9b0fa2d65dc92cb3", kill_on_drop: false }` [INFO] [stdout] 3913e13287dc7cfd33268772a8fd71ca16590a8c57dc882e9b0fa2d65dc92cb3