[INFO] crate sp-arithmetic 2.0.0-alpha.5 is already in cache [INFO] checking sp-arithmetic-2.0.0-alpha.5 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate sp-arithmetic 2.0.0-alpha.5 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.0-alpha.5 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sp-arithmetic 2.0.0-alpha.5 [INFO] finished tweaking crates.io crate sp-arithmetic 2.0.0-alpha.5 [INFO] tweaked toml for crates.io crate sp-arithmetic 2.0.0-alpha.5 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 21d8b5bbcbe92c8a0c4423b606c620d8a8023f61511ed55952cd75525b6438a5 [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" "21d8b5bbcbe92c8a0c4423b606c620d8a8023f61511ed55952cd75525b6438a5"` [INFO] [stderr] Checking sp-std v2.0.0-alpha.6 [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 sp-arithmetic v2.0.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/rational128.rs:175:7 [INFO] [stderr] | [INFO] [stderr] 175 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 552 | / implement_per_thing!( [INFO] [stderr] 553 | | Percent, [INFO] [stderr] 554 | | test_per_cent, [INFO] [stderr] 555 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 559 | | "_Percent_", [INFO] [stderr] 560 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:374:9 [INFO] [stderr] | [INFO] [stderr] 374 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 552 | / implement_per_thing!( [INFO] [stderr] 553 | | Percent, [INFO] [stderr] 554 | | test_per_cent, [INFO] [stderr] 555 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 559 | | "_Percent_", [INFO] [stderr] 560 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 561 | / implement_per_thing!( [INFO] [stderr] 562 | | Permill, [INFO] [stderr] 563 | | test_permill, [INFO] [stderr] 564 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 568 | | "_Parts per Million_", [INFO] [stderr] 569 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:374:9 [INFO] [stderr] | [INFO] [stderr] 374 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 561 | / implement_per_thing!( [INFO] [stderr] 562 | | Permill, [INFO] [stderr] 563 | | test_permill, [INFO] [stderr] 564 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 568 | | "_Parts per Million_", [INFO] [stderr] 569 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 570 | / implement_per_thing!( [INFO] [stderr] 571 | | Perbill, [INFO] [stderr] 572 | | test_perbill, [INFO] [stderr] 573 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 577 | | "_Parts per Billion_", [INFO] [stderr] 578 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:374:9 [INFO] [stderr] | [INFO] [stderr] 374 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 570 | / implement_per_thing!( [INFO] [stderr] 571 | | Perbill, [INFO] [stderr] 572 | | test_perbill, [INFO] [stderr] 573 | | [u32, u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 577 | | "_Parts per Billion_", [INFO] [stderr] 578 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 579 | / implement_per_thing!( [INFO] [stderr] 580 | | Perquintill, [INFO] [stderr] 581 | | test_perquintill, [INFO] [stderr] 582 | | [u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 586 | | "_Parts per Quintillion_", [INFO] [stderr] 587 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `primitive_types` [INFO] [stderr] --> src/per_things.rs:374:9 [INFO] [stderr] | [INFO] [stderr] 374 | use primitive_types::U256; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stderr] ... [INFO] [stderr] 579 | / implement_per_thing!( [INFO] [stderr] 580 | | Perquintill, [INFO] [stderr] 581 | | test_perquintill, [INFO] [stderr] 582 | | [u64, u128], [INFO] [stderr] ... | [INFO] [stderr] 586 | | "_Parts per Quintillion_", [INFO] [stderr] 587 | | ); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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: 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[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] running `"docker" "inspect" "21d8b5bbcbe92c8a0c4423b606c620d8a8023f61511ed55952cd75525b6438a5"` [INFO] running `"docker" "rm" "-f" "21d8b5bbcbe92c8a0c4423b606c620d8a8023f61511ed55952cd75525b6438a5"` [INFO] [stdout] 21d8b5bbcbe92c8a0c4423b606c620d8a8023f61511ed55952cd75525b6438a5