[INFO] fetching crate sp-arithmetic 2.0.0-rc3... [INFO] checking sp-arithmetic-2.0.0-rc3 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate sp-arithmetic 2.0.0-rc3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.0-rc3 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-arithmetic 2.0.0-rc3 [INFO] finished tweaking crates.io crate sp-arithmetic 2.0.0-rc3 [INFO] tweaked toml for crates.io crate sp-arithmetic 2.0.0-rc3 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", 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] b21b4e854f81c8f992e007f371a93832ccea1e40967a7e104e46364c5836637d [INFO] running `Command { std: "docker" "start" "-a" "b21b4e854f81c8f992e007f371a93832ccea1e40967a7e104e46364c5836637d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b21b4e854f81c8f992e007f371a93832ccea1e40967a7e104e46364c5836637d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21b4e854f81c8f992e007f371a93832ccea1e40967a7e104e46364c5836637d", kill_on_drop: false }` [INFO] [stdout] b21b4e854f81c8f992e007f371a93832ccea1e40967a7e104e46364c5836637d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f61726bbe66309204687ef80466d198d8bdcca474a3385d9fd8b9a2e311fd8a0 [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" "f61726bbe66309204687ef80466d198d8bdcca474a3385d9fd8b9a2e311fd8a0", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking integer-sqrt v0.1.3 [INFO] [stderr] Checking sp-std v2.0.0-rc3 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc3 [INFO] [stderr] Compiling serde v1.0.112 [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-rc3 (/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 type or module `primitive_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/per_things.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1156 | / implement_per_thing!( [INFO] [stdout] 1157 | | Percent, [INFO] [stdout] 1158 | | test_per_cent, [INFO] [stdout] 1159 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1163 | | "_Percent_", [INFO] [stdout] 1164 | | ); [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:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1156 | / implement_per_thing!( [INFO] [stdout] 1157 | | Percent, [INFO] [stdout] 1158 | | test_per_cent, [INFO] [stdout] 1159 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1163 | | "_Percent_", [INFO] [stdout] 1164 | | ); [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:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1165 | / implement_per_thing!( [INFO] [stdout] 1166 | | PerU16, [INFO] [stdout] 1167 | | test_peru16, [INFO] [stdout] 1168 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1172 | | "_Parts per 65535_", [INFO] [stdout] 1173 | | ); [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:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1165 | / implement_per_thing!( [INFO] [stdout] 1166 | | PerU16, [INFO] [stdout] 1167 | | test_peru16, [INFO] [stdout] 1168 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1172 | | "_Parts per 65535_", [INFO] [stdout] 1173 | | ); [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:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1174 | / implement_per_thing!( [INFO] [stdout] 1175 | | Permill, [INFO] [stdout] 1176 | | test_permill, [INFO] [stdout] 1177 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1181 | | "_Parts per Million_", [INFO] [stdout] 1182 | | ); [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:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1174 | / implement_per_thing!( [INFO] [stdout] 1175 | | Permill, [INFO] [stdout] 1176 | | test_permill, [INFO] [stdout] 1177 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1181 | | "_Parts per Million_", [INFO] [stdout] 1182 | | ); [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:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1183 | / implement_per_thing!( [INFO] [stdout] 1184 | | Perbill, [INFO] [stdout] 1185 | | test_perbill, [INFO] [stdout] 1186 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1190 | | "_Parts per Billion_", [INFO] [stdout] 1191 | | ); [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:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1183 | / implement_per_thing!( [INFO] [stdout] 1184 | | Perbill, [INFO] [stdout] 1185 | | test_perbill, [INFO] [stdout] 1186 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1190 | | "_Parts per Billion_", [INFO] [stdout] 1191 | | ); [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:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1192 | / implement_per_thing!( [INFO] [stdout] 1193 | | Perquintill, [INFO] [stdout] 1194 | | test_perquintill, [INFO] [stdout] 1195 | | [u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1199 | | "_Parts per Quintillion_", [INFO] [stdout] 1200 | | ); [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:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1192 | / implement_per_thing!( [INFO] [stdout] 1193 | | Perquintill, [INFO] [stdout] 1194 | | test_perquintill, [INFO] [stdout] 1195 | | [u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1199 | | "_Parts per Quintillion_", [INFO] [stdout] 1200 | | ); [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 type 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 type 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 type 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 type or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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" "f61726bbe66309204687ef80466d198d8bdcca474a3385d9fd8b9a2e311fd8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61726bbe66309204687ef80466d198d8bdcca474a3385d9fd8b9a2e311fd8a0", kill_on_drop: false }` [INFO] [stdout] f61726bbe66309204687ef80466d198d8bdcca474a3385d9fd8b9a2e311fd8a0