[INFO] crate sp-arithmetic 2.0.0-rc4 is already in cache [INFO] checking sp-arithmetic-2.0.0-rc4 against try#0ab79c4b48ad19260fa46623f452c1b403a360e8 for pr-74315 [INFO] extracting crate sp-arithmetic 2.0.0-rc4 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sp-arithmetic 2.0.0-rc4 on toolchain 0ab79c4b48ad19260fa46623f452c1b403a360e8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbe26b777fe5690e7042f3b7d28d5466bd544394836510d50bd28b26ebdfd7c8 [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" "bbe26b777fe5690e7042f3b7d28d5466bd544394836510d50bd28b26ebdfd7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbe26b777fe5690e7042f3b7d28d5466bd544394836510d50bd28b26ebdfd7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe26b777fe5690e7042f3b7d28d5466bd544394836510d50bd28b26ebdfd7c8", kill_on_drop: false }` [INFO] [stdout] bbe26b777fe5690e7042f3b7d28d5466bd544394836510d50bd28b26ebdfd7c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+0ab79c4b48ad19260fa46623f452c1b403a360e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c136b86aaa5932a4d75dc3f67ac1f3daf29c8817a1e3dd7a7625d7a7881ac877 [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" "c136b86aaa5932a4d75dc3f67ac1f3daf29c8817a1e3dd7a7625d7a7881ac877", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking sp-std v2.0.0-rc4 [INFO] [stderr] Checking integer-sqrt v0.1.3 [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 sp-debug-derive v2.0.0-rc4 [INFO] [stderr] Compiling serde v1.0.114 [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" "c136b86aaa5932a4d75dc3f67ac1f3daf29c8817a1e3dd7a7625d7a7881ac877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c136b86aaa5932a4d75dc3f67ac1f3daf29c8817a1e3dd7a7625d7a7881ac877", kill_on_drop: false }` [INFO] [stdout] c136b86aaa5932a4d75dc3f67ac1f3daf29c8817a1e3dd7a7625d7a7881ac877