[INFO] fetching crate sp-arithmetic 2.0.0... [INFO] checking sp-arithmetic-2.0.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate sp-arithmetic 2.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-arithmetic 2.0.0 [INFO] finished tweaking crates.io crate sp-arithmetic 2.0.0 [INFO] tweaked toml for crates.io crate sp-arithmetic 2.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ff0a53dc605676d0ad266ebba6a4d113bb84e75c2cfaa4cebef351647d88117 [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" "1ff0a53dc605676d0ad266ebba6a4d113bb84e75c2cfaa4cebef351647d88117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ff0a53dc605676d0ad266ebba6a4d113bb84e75c2cfaa4cebef351647d88117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff0a53dc605676d0ad266ebba6a4d113bb84e75c2cfaa4cebef351647d88117", kill_on_drop: false }` [INFO] [stdout] 1ff0a53dc605676d0ad266ebba6a4d113bb84e75c2cfaa4cebef351647d88117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4eecd6537ca5ebcb758cf8ba4b35e6c93b1dc0f54a1711e82eec311928941095 [INFO] running `Command { std: "docker" "start" "-a" "4eecd6537ca5ebcb758cf8ba4b35e6c93b1dc0f54a1711e82eec311928941095", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking sp-std v2.0.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling sp-debug-derive v2.0.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking sp-arithmetic v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/rational128.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1248 | / implement_per_thing!( [INFO] [stdout] 1249 | | Percent, [INFO] [stdout] 1250 | | test_per_cent, [INFO] [stdout] 1251 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1255 | | "_Percent_", [INFO] [stdout] 1256 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1248 | / implement_per_thing!( [INFO] [stdout] 1249 | | Percent, [INFO] [stdout] 1250 | | test_per_cent, [INFO] [stdout] 1251 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1255 | | "_Percent_", [INFO] [stdout] 1256 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1257 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1258 | | PerU16, [INFO] [stdout] 1259 | | test_peru16, [INFO] [stdout] 1260 | | test_peru16_extra, [INFO] [stdout] ... | [INFO] [stdout] 1265 | | "_Parts per 65535_", [INFO] [stdout] 1266 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1257 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1258 | | PerU16, [INFO] [stdout] 1259 | | test_peru16, [INFO] [stdout] 1260 | | test_peru16_extra, [INFO] [stdout] ... | [INFO] [stdout] 1265 | | "_Parts per 65535_", [INFO] [stdout] 1266 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1267 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1268 | | Permill, [INFO] [stdout] 1269 | | test_permill, [INFO] [stdout] 1270 | | test_permill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1275 | | "_Parts per Million_", [INFO] [stdout] 1276 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1267 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1268 | | Permill, [INFO] [stdout] 1269 | | test_permill, [INFO] [stdout] 1270 | | test_permill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1275 | | "_Parts per Million_", [INFO] [stdout] 1276 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1277 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1278 | | Perbill, [INFO] [stdout] 1279 | | test_perbill, [INFO] [stdout] 1280 | | test_perbill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1285 | | "_Parts per Billion_", [INFO] [stdout] 1286 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1277 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1278 | | Perbill, [INFO] [stdout] 1279 | | test_perbill, [INFO] [stdout] 1280 | | test_perbill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1285 | | "_Parts per Billion_", [INFO] [stdout] 1286 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:791:9 [INFO] [stdout] | [INFO] [stdout] 791 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1287 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1288 | | Perquintill, [INFO] [stdout] 1289 | | test_perquintill, [INFO] [stdout] 1290 | | test_perquintill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1295 | | "_Parts per Quintillion_", [INFO] [stdout] 1296 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1287 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1288 | | Perquintill, [INFO] [stdout] 1289 | | test_perquintill, [INFO] [stdout] 1290 | | test_perquintill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1295 | | "_Parts per Quintillion_", [INFO] [stdout] 1296 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/bench.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use criterion::{Criterion, Throughput, BenchmarkId, criterion_group, criterion_main}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> benches/bench.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::Rng; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/bench.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/bench.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | criterion_group!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> benches/bench.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> benches/bench.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let b = random_big_uint(rand::thread_rng().gen_range(2, size as usize)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `bench` [INFO] [stdout] --> benches/bench.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / use criterion::{Criterion, Throughput, BenchmarkId, criterion_group, criterion_main}; [INFO] [stdout] 19 | | use sp_arithmetic::biguint::{BigUint, Single}; [INFO] [stdout] 20 | | use rand::Rng; [INFO] [stdout] 21 | | [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | criterion_main!(benches); [INFO] [stdout] | |_________________________^ consider adding a `main` function to `benches/bench.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4eecd6537ca5ebcb758cf8ba4b35e6c93b1dc0f54a1711e82eec311928941095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eecd6537ca5ebcb758cf8ba4b35e6c93b1dc0f54a1711e82eec311928941095", kill_on_drop: false }` [INFO] [stdout] 4eecd6537ca5ebcb758cf8ba4b35e6c93b1dc0f54a1711e82eec311928941095