[INFO] fetching crate sp-runtime 2.0.0-rc5... [INFO] testing sp-runtime-2.0.0-rc5 against 1.45.2 for beta-1.46-1 [INFO] extracting crate sp-runtime 2.0.0-rc5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sp-runtime 2.0.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 sp-runtime 2.0.0-rc5 [INFO] finished tweaking crates.io crate sp-runtime 2.0.0-rc5 [INFO] tweaked toml for crates.io crate sp-runtime 2.0.0-rc5 written to /workspace/builds/worker-7/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] running `Command { std: "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_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] 4c3f8a602dfaeb8a412b6a2fb93917c0c11862ac276426236c410762537cb0ca [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" "4c3f8a602dfaeb8a412b6a2fb93917c0c11862ac276426236c410762537cb0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c3f8a602dfaeb8a412b6a2fb93917c0c11862ac276426236c410762537cb0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3f8a602dfaeb8a412b6a2fb93917c0c11862ac276426236c410762537cb0ca", kill_on_drop: false }` [INFO] [stdout] 4c3f8a602dfaeb8a412b6a2fb93917c0c11862ac276426236c410762537cb0ca [INFO] running `Command { std: "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=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] 267757c879c1c5d17f715563db71caadde2994a2978be525a7d454514d48c604 [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" "267757c879c1c5d17f715563db71caadde2994a2978be525a7d454514d48c604", kill_on_drop: false }` [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.93s [INFO] running `Command { std: "docker" "inspect" "267757c879c1c5d17f715563db71caadde2994a2978be525a7d454514d48c604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267757c879c1c5d17f715563db71caadde2994a2978be525a7d454514d48c604", kill_on_drop: false }` [INFO] [stdout] 267757c879c1c5d17f715563db71caadde2994a2978be525a7d454514d48c604 [INFO] running `Command { std: "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=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] 951eb5d04594c1650ff0523b12a36e3da0b07fc9f1c4d31ac1362b8510d0a8cf [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" "951eb5d04594c1650ff0523b12a36e3da0b07fc9f1c4d31ac1362b8510d0a8cf", kill_on_drop: false }` [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/generic/header.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | let mut ser = serde_json::Serializer::new(std::io::Cursor::new(&mut v)); [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/generic/header.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | let mut der = serde_json::Deserializer::new(serde_json::de::StrRead::new(num)); [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/generic/header.rs:210:48 [INFO] [stdout] | [INFO] [stdout] 210 | let mut der = serde_json::Deserializer::new(serde_json::de::StrRead::new(num)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `serde_json` in `{{root}}` [INFO] [stdout] --> src/generic/digest.rs:440:6 [INFO] [stdout] | [INFO] [stdout] 440 | ::serde_json::to_string(&digest).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ could not find `serde_json` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stdout] --> src/lib.rs:831:14 [INFO] [stdout] | [INFO] [stdout] 831 | assert_eq!(serde_json::to_string(&ex).unwrap(), "\"0x1001020304\"".to_owned()); [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 `sp_state_machine` [INFO] [stdout] --> src/lib.rs:874:17 [INFO] [stdout] | [INFO] [stdout] 874 | let mut ext = sp_state_machine::BasicExternalities::with_tasks_executor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_state_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut _: _::_serde::Deserializer<'_>` is not satisfied [INFO] [stdout] --> src/generic/header.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn deserialize_number<'a, D, T: Copy + Into + TryFrom>( [INFO] [stdout] | ------------------ required by a bound in this [INFO] [stdout] 82 | d: D, [INFO] [stdout] 83 | ) -> Result where D: serde::Deserializer<'a> { [INFO] [stdout] | ----------------------- required by this bound in `generic::header::deserialize_number` [INFO] [stdout] ... [INFO] [stdout] 211 | deserialize_number(&mut der).unwrap() [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `_::_serde::Deserializer<'_>` is not implemented for `&mut _` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <_::_serde::de::value::BoolDeserializer as _::_serde::Deserializer<'de>> [INFO] [stdout] <_::_serde::de::value::BorrowedBytesDeserializer<'de, E> as _::_serde::Deserializer<'de>> [INFO] [stdout] <_::_serde::de::value::BorrowedStrDeserializer<'de, E> as _::_serde::Deserializer<'de>> [INFO] [stdout] <_::_serde::de::value::CharDeserializer as _::_serde::Deserializer<'de>> [INFO] [stdout] and 33 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-runtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "951eb5d04594c1650ff0523b12a36e3da0b07fc9f1c4d31ac1362b8510d0a8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "951eb5d04594c1650ff0523b12a36e3da0b07fc9f1c4d31ac1362b8510d0a8cf", kill_on_drop: false }` [INFO] [stdout] 951eb5d04594c1650ff0523b12a36e3da0b07fc9f1c4d31ac1362b8510d0a8cf