[INFO] fetching crate sp-rpc 2.0.0... [INFO] testing sp-rpc-2.0.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate sp-rpc 2.0.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate sp-rpc 2.0.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-rpc 2.0.0 [INFO] finished tweaking crates.io crate sp-rpc 2.0.0 [INFO] tweaked toml for crates.io crate sp-rpc 2.0.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f53e99163f324138355b221433a730a0cfb86668ba222932b4d66d16e44cf5d5 [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" "f53e99163f324138355b221433a730a0cfb86668ba222932b4d66d16e44cf5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f53e99163f324138355b221433a730a0cfb86668ba222932b4d66d16e44cf5d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53e99163f324138355b221433a730a0cfb86668ba222932b4d66d16e44cf5d5", kill_on_drop: false }` [INFO] [stdout] f53e99163f324138355b221433a730a0cfb86668ba222932b4d66d16e44cf5d5 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09ed4262e4ed62f69d8ad24c75129d6042b1e224aa7afc49544dd77595e58461 [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" "09ed4262e4ed62f69d8ad24c75129d6042b1e224aa7afc49544dd77595e58461", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling sharded-slab v0.1.0 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling ref-cast-impl v1.0.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling sp-debug-derive v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling ref-cast v1.0.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling curve25519-dalek v3.0.0 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.5 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-storage v2.0.0 [INFO] [stderr] Compiling sp-tracing v2.0.0 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0 [INFO] [stderr] Compiling primitive-types v0.7.3 [INFO] [stderr] Compiling sp-externalities v0.8.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0 [INFO] [stderr] Compiling sp-core v2.0.0 [INFO] [stderr] Compiling sp-rpc v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 07s [INFO] running `Command { std: "docker" "inspect" "09ed4262e4ed62f69d8ad24c75129d6042b1e224aa7afc49544dd77595e58461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ed4262e4ed62f69d8ad24c75129d6042b1e224aa7afc49544dd77595e58461", kill_on_drop: false }` [INFO] [stdout] 09ed4262e4ed62f69d8ad24c75129d6042b1e224aa7afc49544dd77595e58461 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e75c5f0ab56767b89f7cdeac9604f7511de3d6d4da34421663f62f384d65ded [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" "5e75c5f0ab56767b89f7cdeac9604f7511de3d6d4da34421663f62f384d65ded", kill_on_drop: false }` [INFO] [stderr] Compiling sp-rpc v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | serde_json::from_str::(s).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/lib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | serde_json::to_string(&expected).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-rpc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5e75c5f0ab56767b89f7cdeac9604f7511de3d6d4da34421663f62f384d65ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e75c5f0ab56767b89f7cdeac9604f7511de3d6d4da34421663f62f384d65ded", kill_on_drop: false }` [INFO] [stdout] 5e75c5f0ab56767b89f7cdeac9604f7511de3d6d4da34421663f62f384d65ded