[INFO] fetching crate pallet-contracts-rpc 0.8.0-rc5... [INFO] testing pallet-contracts-rpc-0.8.0-rc5 against 1.45.2 for beta-1.46-1 [INFO] extracting crate pallet-contracts-rpc 0.8.0-rc5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pallet-contracts-rpc 0.8.0-rc5 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-contracts-rpc 0.8.0-rc5 [INFO] finished tweaking crates.io crate pallet-contracts-rpc 0.8.0-rc5 [INFO] tweaked toml for crates.io crate pallet-contracts-rpc 0.8.0-rc5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff05ba9a1138debec56d13463a2e3134642d07b3686e703b6f2dc0bd99e00cf7 [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" "ff05ba9a1138debec56d13463a2e3134642d07b3686e703b6f2dc0bd99e00cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff05ba9a1138debec56d13463a2e3134642d07b3686e703b6f2dc0bd99e00cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff05ba9a1138debec56d13463a2e3134642d07b3686e703b6f2dc0bd99e00cf7", kill_on_drop: false }` [INFO] [stdout] ff05ba9a1138debec56d13463a2e3134642d07b3686e703b6f2dc0bd99e00cf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fea44b9373034534dfba1ca85340e2e767088afd64b2375c59c3d5003187ea1 [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" "6fea44b9373034534dfba1ca85340e2e767088afd64b2375c59c3d5003187ea1", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling sp-panic-handler v2.0.0-rc5 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling trie-db v0.22.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling jsonrpc-derive v14.2.1 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling uint v0.8.4 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc5 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling parity-scale-codec v1.3.4 [INFO] [stderr] Compiling asn1_der v0.6.3 [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 petgraph v0.5.1 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling jsonrpc-pubsub v14.2.0 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling jsonrpc-client-transports v14.2.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling jsonrpc-core-client v14.2.0 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc5 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling memory-db v0.24.1 [INFO] [stderr] Compiling kvdb v0.7.0 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling sp-database v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling sp-rpc v2.0.0-rc5 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling pallet-contracts-primitives v2.0.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc5 [INFO] [stderr] Compiling pallet-contracts-rpc-runtime-api v0.8.0-rc5 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling pallet-contracts-rpc v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 21s [INFO] running `Command { std: "docker" "inspect" "6fea44b9373034534dfba1ca85340e2e767088afd64b2375c59c3d5003187ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fea44b9373034534dfba1ca85340e2e767088afd64b2375c59c3d5003187ea1", kill_on_drop: false }` [INFO] [stdout] 6fea44b9373034534dfba1ca85340e2e767088afd64b2375c59c3d5003187ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b0f87aa4aa84b0893de741b88a9dbc3883eec003c5a5363b720cbd98bb75381 [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" "0b0f87aa4aa84b0893de741b88a9dbc3883eec003c5a5363b720cbd98bb75381", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-contracts-rpc v0.8.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | let req: Req = serde_json::from_str(r#" [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | let res: RpcContractExecResult = serde_json::from_str(expected).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let actual = serde_json::to_string(&res).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [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 E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-contracts-rpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0b0f87aa4aa84b0893de741b88a9dbc3883eec003c5a5363b720cbd98bb75381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b0f87aa4aa84b0893de741b88a9dbc3883eec003c5a5363b720cbd98bb75381", kill_on_drop: false }` [INFO] [stdout] 0b0f87aa4aa84b0893de741b88a9dbc3883eec003c5a5363b720cbd98bb75381