[INFO] crate sp-arithmetic 2.0.0-rc4 is already in cache [INFO] checking sp-arithmetic-2.0.0-rc4 against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] extracting crate sp-arithmetic 2.0.0-rc4 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.0-rc4 on toolchain 5fdfba63a96c5e8ae0ebf6b8b66853110277087d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-arithmetic 2.0.0-rc4 [INFO] finished tweaking crates.io crate sp-arithmetic 2.0.0-rc4 [INFO] tweaked toml for crates.io crate sp-arithmetic 2.0.0-rc4 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7881fb0aae7472302596280deba98bde39e7044962415d04fa280b5fc98605af [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" "7881fb0aae7472302596280deba98bde39e7044962415d04fa280b5fc98605af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7881fb0aae7472302596280deba98bde39e7044962415d04fa280b5fc98605af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7881fb0aae7472302596280deba98bde39e7044962415d04fa280b5fc98605af", kill_on_drop: false }` [INFO] [stdout] 7881fb0aae7472302596280deba98bde39e7044962415d04fa280b5fc98605af [INFO] running `Command { std: "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de23aa3d61d6280ea9afbe123f78132e4498b6ff588ec0164497ce28a2c52ce2 [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" "de23aa3d61d6280ea9afbe123f78132e4498b6ff588ec0164497ce28a2c52ce2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking sp-std v2.0.0-rc5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc5 [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.0 [INFO] [stderr] Checking parity-scale-codec v1.3.1 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc4 (/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:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1173 | / implement_per_thing!( [INFO] [stdout] 1174 | | Percent, [INFO] [stdout] 1175 | | test_per_cent, [INFO] [stdout] 1176 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1180 | | "_Percent_", [INFO] [stdout] 1181 | | ); [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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1173 | / implement_per_thing!( [INFO] [stdout] 1174 | | Percent, [INFO] [stdout] 1175 | | test_per_cent, [INFO] [stdout] 1176 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1180 | | "_Percent_", [INFO] [stdout] 1181 | | ); [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:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1182 | / implement_per_thing!( [INFO] [stdout] 1183 | | PerU16, [INFO] [stdout] 1184 | | test_peru16, [INFO] [stdout] 1185 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1189 | | "_Parts per 65535_", [INFO] [stdout] 1190 | | ); [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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1182 | / implement_per_thing!( [INFO] [stdout] 1183 | | PerU16, [INFO] [stdout] 1184 | | test_peru16, [INFO] [stdout] 1185 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1189 | | "_Parts per 65535_", [INFO] [stdout] 1190 | | ); [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:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1191 | / implement_per_thing!( [INFO] [stdout] 1192 | | Permill, [INFO] [stdout] 1193 | | test_permill, [INFO] [stdout] 1194 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1198 | | "_Parts per Million_", [INFO] [stdout] 1199 | | ); [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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1191 | / implement_per_thing!( [INFO] [stdout] 1192 | | Permill, [INFO] [stdout] 1193 | | test_permill, [INFO] [stdout] 1194 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1198 | | "_Parts per Million_", [INFO] [stdout] 1199 | | ); [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:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1200 | / implement_per_thing!( [INFO] [stdout] 1201 | | Perbill, [INFO] [stdout] 1202 | | test_perbill, [INFO] [stdout] 1203 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1207 | | "_Parts per Billion_", [INFO] [stdout] 1208 | | ); [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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1200 | / implement_per_thing!( [INFO] [stdout] 1201 | | Perbill, [INFO] [stdout] 1202 | | test_perbill, [INFO] [stdout] 1203 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1207 | | "_Parts per Billion_", [INFO] [stdout] 1208 | | ); [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:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1209 | / implement_per_thing!( [INFO] [stdout] 1210 | | Perquintill, [INFO] [stdout] 1211 | | test_perquintill, [INFO] [stdout] 1212 | | [u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1216 | | "_Parts per Quintillion_", [INFO] [stdout] 1217 | | ); [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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1209 | / implement_per_thing!( [INFO] [stdout] 1210 | | Perquintill, [INFO] [stdout] 1211 | | test_perquintill, [INFO] [stdout] 1212 | | [u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1216 | | "_Parts per Quintillion_", [INFO] [stdout] 1217 | | ); [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" "de23aa3d61d6280ea9afbe123f78132e4498b6ff588ec0164497ce28a2c52ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de23aa3d61d6280ea9afbe123f78132e4498b6ff588ec0164497ce28a2c52ce2", kill_on_drop: false }` [INFO] [stdout] de23aa3d61d6280ea9afbe123f78132e4498b6ff588ec0164497ce28a2c52ce2