[INFO] fetching crate pallet-contracts-rpc 0.8.0-alpha.6... [INFO] testing pallet-contracts-rpc-0.8.0-alpha.6 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate pallet-contracts-rpc 0.8.0-alpha.6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pallet-contracts-rpc 0.8.0-alpha.6 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-contracts-rpc 0.8.0-alpha.6 [INFO] finished tweaking crates.io crate pallet-contracts-rpc 0.8.0-alpha.6 [INFO] tweaked toml for crates.io crate pallet-contracts-rpc 0.8.0-alpha.6 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a054066d16803d75b4a826c31c0be9bae9bbd7c55c74302a985860f039cafe5 [INFO] running `"docker" "start" "-a" "0a054066d16803d75b4a826c31c0be9bae9bbd7c55c74302a985860f039cafe5"` [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling bs58 v0.3.0 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling fixed-hash v0.6.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling multihash v0.10.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling trie-db v0.20.1 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.6 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.18.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling paste v0.1.10 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling multistream-select v0.8.0 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling sp-utils v2.0.0-alpha.6 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling libp2p-core v0.18.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling parity-multiaddr v0.8.0 [INFO] [stderr] Compiling sp-storage v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-externalities v0.8.0-alpha.6 [INFO] [stderr] Compiling jsonrpc-core v14.1.0 [INFO] [stderr] Compiling futures-diagnose v1.0.1 [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.6 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.6 [INFO] [stderr] Compiling jsonrpc-derive v14.0.5 [INFO] [stderr] Compiling jsonrpc-pubsub v14.1.0 [INFO] [stderr] Compiling jsonrpc-client-transports v14.1.0 [INFO] [stderr] Compiling libp2p-swarm v0.18.1 [INFO] [stderr] Compiling jsonrpc-core-client v14.1.0 [INFO] [stderr] Compiling libp2p v0.18.1 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-alpha.6 [INFO] [stderr] Compiling primitive-types v0.7.0 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-alpha.6 [INFO] [stderr] Compiling memory-db v0.20.1 [INFO] [stderr] Compiling sp-core v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-trie v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-inherents v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-rpc v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-state-machine v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-io v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-runtime v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-version v2.0.0-alpha.6 [INFO] [stderr] Compiling pallet-contracts-primitives v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-api v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-consensus v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-block-builder v2.0.0-alpha.6 [INFO] [stderr] Compiling pallet-contracts-rpc-runtime-api v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-blockchain v2.0.0-alpha.6 [INFO] [stderr] Compiling pallet-contracts-rpc v0.8.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 33s [INFO] running `"docker" "inspect" "0a054066d16803d75b4a826c31c0be9bae9bbd7c55c74302a985860f039cafe5"` [INFO] running `"docker" "rm" "-f" "0a054066d16803d75b4a826c31c0be9bae9bbd7c55c74302a985860f039cafe5"` [INFO] [stdout] 0a054066d16803d75b4a826c31c0be9bae9bbd7c55c74302a985860f039cafe5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 988c39873544fe2ef024aa30fd671a3a5e711453edd065e209c5ede87bda1217 [INFO] running `"docker" "start" "-a" "988c39873544fe2ef024aa30fd671a3a5e711453edd065e209c5ede87bda1217"` [INFO] [stderr] Compiling pallet-contracts-rpc v0.8.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> src/lib.rs:287:37 [INFO] [stderr] | [INFO] [stderr] 287 | let res: RpcContractExecResult = serde_json::from_str(expected).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:288:17 [INFO] [stderr] | [INFO] [stderr] 288 | let actual = serde_json::to_string(&res).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 `pallet-contracts-rpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "988c39873544fe2ef024aa30fd671a3a5e711453edd065e209c5ede87bda1217"` [INFO] running `"docker" "rm" "-f" "988c39873544fe2ef024aa30fd671a3a5e711453edd065e209c5ede87bda1217"` [INFO] [stdout] 988c39873544fe2ef024aa30fd671a3a5e711453edd065e209c5ede87bda1217