[INFO] fetching crate sp-arithmetic 2.0.0-alpha.6... [INFO] testing sp-arithmetic-2.0.0-alpha.6 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate sp-arithmetic 2.0.0-alpha.6 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.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 sp-arithmetic 2.0.0-alpha.6 [INFO] finished tweaking crates.io crate sp-arithmetic 2.0.0-alpha.6 [INFO] tweaked toml for crates.io crate sp-arithmetic 2.0.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] 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] f7769b40b501a19e67a56810f042538cf3324a0cf059becd4d1bc57fada9cfe5 [INFO] running `"docker" "start" "-a" "f7769b40b501a19e67a56810f042538cf3324a0cf059becd4d1bc57fada9cfe5"` [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 serde v1.0.106 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling integer-sqrt v0.1.3 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.6 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.7.0 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `"docker" "inspect" "f7769b40b501a19e67a56810f042538cf3324a0cf059becd4d1bc57fada9cfe5"` [INFO] running `"docker" "rm" "-f" "f7769b40b501a19e67a56810f042538cf3324a0cf059becd4d1bc57fada9cfe5"` [INFO] [stdout] f7769b40b501a19e67a56810f042538cf3324a0cf059becd4d1bc57fada9cfe5 [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] c91283d8ac64b888027e3ee580790e4a833c6ab929e104b35e2e46cc4dc05f94 [INFO] running `"docker" "start" "-a" "c91283d8ac64b888027e3ee580790e4a833c6ab929e104b35e2e46cc4dc05f94"` [INFO] [stderr] Compiling sp-arithmetic v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `serde_json` [INFO] [stderr] --> src/fixed128.rs:600:20 [INFO] [stderr] | [INFO] [stderr] 600 | let serialized = serde_json::to_string(&two_point_five).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/fixed128.rs:602:32 [INFO] [stderr] | [INFO] [stderr] 602 | let deserialized: Fixed128 = serde_json::from_str(&serialized).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/fixed128.rs:606:20 [INFO] [stderr] | [INFO] [stderr] 606 | let serialized = serde_json::to_string(&minus_two_point_five).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/fixed128.rs:608:32 [INFO] [stderr] | [INFO] [stderr] 608 | let deserialized: Fixed128 = serde_json::from_str(&serialized).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `sp-arithmetic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c91283d8ac64b888027e3ee580790e4a833c6ab929e104b35e2e46cc4dc05f94"` [INFO] running `"docker" "rm" "-f" "c91283d8ac64b888027e3ee580790e4a833c6ab929e104b35e2e46cc4dc05f94"` [INFO] [stdout] c91283d8ac64b888027e3ee580790e4a833c6ab929e104b35e2e46cc4dc05f94