[INFO] crate sp-arithmetic 2.0.0-alpha.6 is already in cache [INFO] checking sp-arithmetic-2.0.0-alpha.6 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate sp-arithmetic 2.0.0-alpha.6 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.0-alpha.6 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "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-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 765e5888f4748b8ea5d350ac39146695641e884a8e1024ba1eba9e21c1964e3b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "765e5888f4748b8ea5d350ac39146695641e884a8e1024ba1eba9e21c1964e3b"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking sp-std v2.0.0-alpha.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.6 [INFO] [stderr] Compiling serde v1.0.106 [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] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking primitive-types v0.7.1 [INFO] [stderr] Checking 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[E0432]: unresolved import `criterion` [INFO] [stderr] --> benches/bench.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use criterion::{Criterion, Throughput, BenchmarkId, criterion_group, criterion_main}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `criterion` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rand` [INFO] [stderr] --> benches/bench.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use rand::Rng; [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `criterion_main` [INFO] [stderr] --> benches/bench.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | criterion_main!(benches); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `criterion_group` [INFO] [stderr] --> benches/bench.rs:75:1 [INFO] [stderr] | [INFO] [stderr] 75 | criterion_group!{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stderr] --> benches/bench.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | let mut rng = rand::thread_rng(); [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `rand` [INFO] [stderr] --> benches/bench.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | let b = random_big_uint(rand::thread_rng().gen_range(2, size as usize)); [INFO] [stderr] | ^^^^ use of undeclared type or module `rand` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `bench` [INFO] [stderr] --> benches/bench.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / use criterion::{Criterion, Throughput, BenchmarkId, criterion_group, criterion_main}; [INFO] [stderr] 18 | | use sp_arithmetic::biguint::{BigUint, Single}; [INFO] [stderr] 19 | | use rand::Rng; [INFO] [stderr] 20 | | [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] 80 | | criterion_main!(benches); [INFO] [stderr] | |_________________________^ consider adding a `main` function to `benches/bench.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `sp-arithmetic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "765e5888f4748b8ea5d350ac39146695641e884a8e1024ba1eba9e21c1964e3b"` [INFO] running `"docker" "rm" "-f" "765e5888f4748b8ea5d350ac39146695641e884a8e1024ba1eba9e21c1964e3b"` [INFO] [stdout] 765e5888f4748b8ea5d350ac39146695641e884a8e1024ba1eba9e21c1964e3b