[INFO] fetching crate pallet-contracts-rpc 3.0.0... [INFO] testing pallet-contracts-rpc-3.0.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate pallet-contracts-rpc 3.0.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate pallet-contracts-rpc 3.0.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-contracts-rpc 3.0.0 [INFO] finished tweaking crates.io crate pallet-contracts-rpc 3.0.0 [INFO] tweaked toml for crates.io crate pallet-contracts-rpc 3.0.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-contracts-rpc-runtime-api v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c21262c5bdbdbccd7600e1e542be98cc51f9c5cc118a116853db1ac830b724d8 [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" "c21262c5bdbdbccd7600e1e542be98cc51f9c5cc118a116853db1ac830b724d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c21262c5bdbdbccd7600e1e542be98cc51f9c5cc118a116853db1ac830b724d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21262c5bdbdbccd7600e1e542be98cc51f9c5cc118a116853db1ac830b724d8", kill_on_drop: false }` [INFO] [stdout] c21262c5bdbdbccd7600e1e542be98cc51f9c5cc118a116853db1ac830b724d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d1c7b03b26bb52f6b985f70c07a0b1aec4a049dac0013d98b1dd5c94a3772cf [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" "2d1c7b03b26bb52f6b985f70c07a0b1aec4a049dac0013d98b1dd5c94a3772cf", kill_on_drop: false }` [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.21.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling zeroize v1.5.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling trie-db v0.22.6 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling sp-utils v3.0.0 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.4 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling jsonrpc-core v15.1.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Compiling jsonrpc-derive v15.1.0 [INFO] [stderr] Compiling jsonrpc-pubsub v15.1.0 [INFO] [stderr] Compiling jsonrpc-client-transports v15.1.0 [INFO] [stderr] Compiling jsonrpc-core-client v15.1.0 [INFO] [stderr] Compiling multihash v0.13.2 [INFO] [stderr] Compiling parity-multiaddr v0.11.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling libp2p-swarm v0.27.2 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling kvdb v0.9.0 [INFO] [stderr] Compiling sp-database v3.0.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling libp2p v0.34.0 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-inherents v3.0.0 [INFO] [stderr] Compiling sp-rpc v3.0.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling sp-application-crypto v3.0.0 [INFO] [stderr] Compiling sp-runtime v3.0.0 [INFO] [stderr] Compiling sp-version v3.0.0 [INFO] [stderr] Compiling pallet-contracts-primitives v3.0.0 [INFO] [stderr] Compiling sp-api v3.0.0 [INFO] [stderr] Compiling sp-consensus v0.9.0 [INFO] [stderr] Compiling pallet-contracts-rpc-runtime-api v3.0.0 [INFO] [stderr] Compiling sp-blockchain v3.0.0 [INFO] [stderr] Compiling pallet-contracts-rpc v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 15s [INFO] running `Command { std: "docker" "inspect" "2d1c7b03b26bb52f6b985f70c07a0b1aec4a049dac0013d98b1dd5c94a3772cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1c7b03b26bb52f6b985f70c07a0b1aec4a049dac0013d98b1dd5c94a3772cf", kill_on_drop: false }` [INFO] [stdout] 2d1c7b03b26bb52f6b985f70c07a0b1aec4a049dac0013d98b1dd5c94a3772cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea19827aee67dc2cee76b6ace93dfc5c53aa00515d90850912bc5fb3afd86cf3 [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" "ea19827aee67dc2cee76b6ace93dfc5c53aa00515d90850912bc5fb3afd86cf3", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-contracts-rpc v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/lib.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | 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:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | 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:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | 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` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ea19827aee67dc2cee76b6ace93dfc5c53aa00515d90850912bc5fb3afd86cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea19827aee67dc2cee76b6ace93dfc5c53aa00515d90850912bc5fb3afd86cf3", kill_on_drop: false }` [INFO] [stdout] ea19827aee67dc2cee76b6ace93dfc5c53aa00515d90850912bc5fb3afd86cf3