[INFO] crate sp-rpc 2.0.0-alpha.3 is already in cache [INFO] checking sp-rpc-2.0.0-alpha.3 against try#f88e9a4452e792c29632101b348a1df9876d45cd for pr-70087 [INFO] extracting crate sp-rpc 2.0.0-alpha.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sp-rpc 2.0.0-alpha.3 on toolchain f88e9a4452e792c29632101b348a1df9876d45cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sp-rpc 2.0.0-alpha.3 [INFO] finished tweaking crates.io crate sp-rpc 2.0.0-alpha.3 [INFO] tweaked toml for crates.io crate sp-rpc 2.0.0-alpha.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "/opt/rustwide/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4db3c7e7794242e212c61d09d82fd41315b7ce89c347f27712e3ef337adef2f6 [INFO] running `"docker" "start" "-a" "4db3c7e7794242e212c61d09d82fd41315b7ce89c347f27712e3ef337adef2f6"` [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking fixed-hash v0.5.2 [INFO] [stderr] Checking impl-serde v0.3.0 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking sp-storage v2.0.0-alpha.3 [INFO] [stderr] Checking tiny-bip39 v0.7.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.3 [INFO] [stderr] Checking schnorrkel v0.8.5 [INFO] [stderr] Checking substrate-bip39 v0.3.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.3 [INFO] [stderr] Checking parity-scale-codec v1.2.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.3 [INFO] [stderr] Checking primitive-types v0.6.2 [INFO] [stderr] Checking parity-util-mem v0.5.2 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.3 [INFO] [stderr] Checking sp-core v2.0.0-alpha.3 [INFO] [stderr] Checking sp-rpc v2.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> src/lib.rs:30:3 [INFO] [stderr] | [INFO] [stderr] 30 | serde_json::from_str::(s).unwrap(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> src/lib.rs:34:3 [INFO] [stderr] | [INFO] [stderr] 34 | serde_json::to_string(&expected).unwrap(), [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `sp-rpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4db3c7e7794242e212c61d09d82fd41315b7ce89c347f27712e3ef337adef2f6"` [INFO] running `"docker" "rm" "-f" "4db3c7e7794242e212c61d09d82fd41315b7ce89c347f27712e3ef337adef2f6"` [INFO] [stdout] 4db3c7e7794242e212c61d09d82fd41315b7ce89c347f27712e3ef337adef2f6