[INFO] fetching crate pallet-contracts-rpc 0.8.0...
[INFO] testing pallet-contracts-rpc-0.8.0 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate pallet-contracts-rpc 0.8.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate pallet-contracts-rpc 0.8.0 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-contracts-rpc 0.8.0
[INFO] finished tweaking crates.io crate pallet-contracts-rpc 0.8.0
[INFO] tweaked toml for crates.io crate pallet-contracts-rpc 0.8.0 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pallet-contracts-rpc-runtime-api v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 445758f47408b18857440d3d34efbe230da5050bf6e0ba0feee280d485df7f17
[INFO] running `Command { std: "docker" "start" "-a" "445758f47408b18857440d3d34efbe230da5050bf6e0ba0feee280d485df7f17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "445758f47408b18857440d3d34efbe230da5050bf6e0ba0feee280d485df7f17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "445758f47408b18857440d3d34efbe230da5050bf6e0ba0feee280d485df7f17", kill_on_drop: false }`
[INFO] [stdout] 445758f47408b18857440d3d34efbe230da5050bf6e0ba0feee280d485df7f17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bd2dcbd6874a904a469e73f68ee75053f95da3a44edbed076bba4b4f7e55af5e
[INFO] running `Command { std: "docker" "start" "-a" "bd2dcbd6874a904a469e73f68ee75053f95da3a44edbed076bba4b4f7e55af5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling futures-io v0.3.6
[INFO] [stderr]    Compiling futures-sink v0.3.6
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling sp-std v2.0.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling anyhow v1.0.33
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling multimap v0.8.2
[INFO] [stderr]    Compiling getrandom v0.2.0
[INFO] [stderr]    Compiling async-task v4.0.2
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling unsigned-varint v0.4.0
[INFO] [stderr]    Compiling unsigned-varint v0.5.1
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling prometheus v0.10.0
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling data-encoding v2.3.0
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling futures v0.1.30
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling atomic v0.4.6
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling blake2s_simd v0.5.10
[INFO] [stderr]    Compiling blake2b_simd v0.5.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling futures-lite v1.11.1
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling tracing-log v0.1.1
[INFO] [stderr]    Compiling polling v2.0.1
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling uint v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling prost-build v0.6.1
[INFO] [stderr]    Compiling trie-db v0.22.1
[INFO] [stderr]    Compiling const-random-macro v0.1.11
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling prost-derive v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]    Compiling libp2p-core-derive v0.20.2
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling sha-1 v0.9.1
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling sp-panic-handler v2.0.0
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling integer-sqrt v0.1.5
[INFO] [stderr]    Compiling async-io v1.1.10
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling multihash v0.11.4
[INFO] [stderr]    Compiling const-random v0.1.11
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling asn1_der v0.6.3
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling fixed-hash v0.6.1
[INFO] [stderr]    Compiling libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling ahash v0.2.19
[INFO] [stderr]    Compiling async-global-executor v1.3.0
[INFO] [stderr]    Compiling parity-multiaddr v0.9.2
[INFO] [stderr]    Compiling tiny-bip39 v0.7.3
[INFO] [stderr]    Compiling curve25519-dalek v3.0.0
[INFO] [stderr]    Compiling merlin v2.0.0
[INFO] [stderr]    Compiling curve25519-dalek v2.1.0
[INFO] [stderr]    Compiling secrecy v0.6.0
[INFO] [stderr]    Compiling jsonrpc-derive v15.1.0
[INFO] [stderr]    Compiling async-std v1.6.5
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling jsonrpc-core v15.1.0
[INFO] [stderr]    Compiling parity-scale-codec v1.3.5
[INFO] [stderr]    Compiling tracing-subscriber v0.2.13
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling lru v0.4.3
[INFO] [stderr]    Compiling schnorrkel v0.9.1
[INFO] [stderr]    Compiling prost v0.6.1
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling jsonrpc-pubsub v15.1.0
[INFO] [stderr]    Compiling wasmi v0.6.2
[INFO] [stderr]    Compiling prost-types v0.6.1
[INFO] [stderr]    Compiling jsonrpc-client-transports v15.1.0
[INFO] [stderr]    Compiling substrate-bip39 v0.4.2
[INFO] [stderr]    Compiling jsonrpc-core-client v15.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling multistream-select v0.8.2
[INFO] [stderr]    Compiling rw-stream-sink v0.2.1
[INFO] [stderr]    Compiling wasm-timer v0.2.5
[INFO] [stderr]    Compiling sp-utils v2.0.0
[INFO] [stderr]    Compiling libp2p-core v0.22.1
[INFO] [stderr]    Compiling impl-codec v0.4.2
[INFO] [stderr]    Compiling sp-storage v2.0.0
[INFO] [stderr]    Compiling sp-wasm-interface v2.0.0
[INFO] [stderr]    Compiling sp-tracing v2.0.0
[INFO] [stderr]    Compiling sp-arithmetic v2.0.0
[INFO] [stderr]    Compiling primitive-types v0.7.2
[INFO] [stderr]    Compiling sp-externalities v0.8.0
[INFO] [stderr]    Compiling parity-util-mem v0.7.0
[INFO] [stderr]    Compiling sp-runtime-interface v2.0.0
[INFO] [stderr]    Compiling libp2p-swarm v0.22.0
[INFO] [stderr]    Compiling memory-db v0.24.1
[INFO] [stderr]    Compiling kvdb v0.7.0
[INFO] [stderr]    Compiling sp-database v2.0.0
[INFO] [stderr]    Compiling sp-core v2.0.0
[INFO] [stderr]    Compiling hyper v0.13.8
[INFO] [stderr]    Compiling libp2p v0.28.1
[INFO] [stderr]    Compiling sp-trie v2.0.0
[INFO] [stderr]    Compiling sp-inherents v2.0.0
[INFO] [stderr]    Compiling sp-rpc v2.0.0
[INFO] [stderr]    Compiling sp-state-machine v0.8.0
[INFO] [stderr]    Compiling substrate-prometheus-endpoint v0.8.0
[INFO] [stderr]    Compiling sp-io v2.0.0
[INFO] [stderr]    Compiling sp-application-crypto v2.0.0
[INFO] [stderr]    Compiling sp-runtime v2.0.0
[INFO] [stderr]    Compiling sp-version v2.0.0
[INFO] [stderr]    Compiling pallet-contracts-primitives v2.0.0
[INFO] [stderr]    Compiling sp-api v2.0.0
[INFO] [stderr]    Compiling sp-block-builder v2.0.0
[INFO] [stderr]    Compiling sp-consensus v0.8.0
[INFO] [stderr]    Compiling pallet-contracts-rpc-runtime-api v0.8.0
[INFO] [stderr]    Compiling sp-blockchain v2.0.0
[INFO] [stderr]    Compiling pallet-contracts-rpc v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 06s
[INFO] running `Command { std: "docker" "inspect" "bd2dcbd6874a904a469e73f68ee75053f95da3a44edbed076bba4b4f7e55af5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd2dcbd6874a904a469e73f68ee75053f95da3a44edbed076bba4b4f7e55af5e", kill_on_drop: false }`
[INFO] [stdout] bd2dcbd6874a904a469e73f68ee75053f95da3a44edbed076bba4b4f7e55af5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9252ee64e28f96e5db95aedbe8ed934dbdbeeffb289423d2fbd7bf35c033809b
[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" "9252ee64e28f96e5db95aedbe8ed934dbdbeeffb289423d2fbd7bf35c033809b", kill_on_drop: false }`
[INFO] [stderr]    Compiling pallet-contracts-rpc v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 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:315:37
[INFO] [stdout]     |
[INFO] [stdout] 315 |             let res: RpcContractExecResult = serde_json::from_str(expected).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:316:17
[INFO] [stdout]     |
[INFO] [stdout] 316 |             let actual = serde_json::to_string(&res).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^ use of undeclared crate 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" "9252ee64e28f96e5db95aedbe8ed934dbdbeeffb289423d2fbd7bf35c033809b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9252ee64e28f96e5db95aedbe8ed934dbdbeeffb289423d2fbd7bf35c033809b", kill_on_drop: false }`
[INFO] [stdout] 9252ee64e28f96e5db95aedbe8ed934dbdbeeffb289423d2fbd7bf35c033809b
