[INFO] fetching crate pallet-contracts-rpc 0.8.0-alpha.6... [INFO] testing pallet-contracts-rpc-0.8.0-alpha.6 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate pallet-contracts-rpc 0.8.0-alpha.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pallet-contracts-rpc 0.8.0-alpha.6 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-contracts-rpc-runtime-api v0.8.0-alpha.6 [INFO] running `"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" "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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 12ed1f3f6044f928436421318d1cb9bead1abb9f35d69a0b408c01ef7ff3e0c6 [INFO] running `"docker" "start" "-a" "12ed1f3f6044f928436421318d1cb9bead1abb9f35d69a0b408c01ef7ff3e0c6"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling sp-std v2.0.0-alpha.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling environmental v1.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling integer-sqrt v0.1.3 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling trie-root v0.16.0 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling sp-panic-handler v2.0.0-alpha.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [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 ahash v0.2.18 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling multihash v0.10.1 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fixed-hash v0.6.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling trie-db v0.20.1 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling wasmi v0.6.2 [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 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 pin-project v0.4.9 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.8.0 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling sp-utils v2.0.0-alpha.6 [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 parity-scale-codec v1.3.0 [INFO] [stderr] Compiling libp2p v0.18.1 [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 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 8m 11s [INFO] running `"docker" "inspect" "12ed1f3f6044f928436421318d1cb9bead1abb9f35d69a0b408c01ef7ff3e0c6"` [INFO] running `"docker" "rm" "-f" "12ed1f3f6044f928436421318d1cb9bead1abb9f35d69a0b408c01ef7ff3e0c6"` [INFO] [stdout] 12ed1f3f6044f928436421318d1cb9bead1abb9f35d69a0b408c01ef7ff3e0c6 [INFO] running `"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" "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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 8befd50ef0f931b08420458400f46e7f5f0291c5f84962720cf8dd40a63111cf [INFO] running `"docker" "start" "-a" "8befd50ef0f931b08420458400f46e7f5f0291c5f84962720cf8dd40a63111cf"` [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" "8befd50ef0f931b08420458400f46e7f5f0291c5f84962720cf8dd40a63111cf"` [INFO] running `"docker" "rm" "-f" "8befd50ef0f931b08420458400f46e7f5f0291c5f84962720cf8dd40a63111cf"` [INFO] [stdout] 8befd50ef0f931b08420458400f46e7f5f0291c5f84962720cf8dd40a63111cf