[INFO] fetching crate sp-arithmetic 3.0.0... [INFO] checking sp-arithmetic-3.0.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sp-arithmetic 3.0.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate sp-arithmetic 3.0.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sp-arithmetic 3.0.0 [INFO] finished tweaking crates.io crate sp-arithmetic 3.0.0 [INFO] tweaked toml for crates.io crate sp-arithmetic 3.0.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aff24a100410064c5ede9c3d8d57afc4b945c20e8938481eb46abf22294a33f3 [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" "aff24a100410064c5ede9c3d8d57afc4b945c20e8938481eb46abf22294a33f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aff24a100410064c5ede9c3d8d57afc4b945c20e8938481eb46abf22294a33f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff24a100410064c5ede9c3d8d57afc4b945c20e8938481eb46abf22294a33f3", kill_on_drop: false }` [INFO] [stdout] aff24a100410064c5ede9c3d8d57afc4b945c20e8938481eb46abf22294a33f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08fe4792426277de93fa5eb67293a7e6f3a89e431d1a2442f7aae6f533375ca2 [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" "08fe4792426277de93fa5eb67293a7e6f3a89e431d1a2442f7aae6f533375ca2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v2.0.1 [INFO] [stderr] Checking parity-scale-codec v2.0.1 [INFO] [stderr] Checking sp-arithmetic v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `primitive_types` [INFO] [stdout] --> src/rational.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | 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:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1279 | / implement_per_thing!( [INFO] [stdout] 1280 | | Percent, [INFO] [stdout] 1281 | | test_per_cent, [INFO] [stdout] 1282 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1286 | | "_Percent_", [INFO] [stdout] 1287 | | ); [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:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1279 | / implement_per_thing!( [INFO] [stdout] 1280 | | Percent, [INFO] [stdout] 1281 | | test_per_cent, [INFO] [stdout] 1282 | | [u32, u64, u128], [INFO] [stdout] ... | [INFO] [stdout] 1286 | | "_Percent_", [INFO] [stdout] 1287 | | ); [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:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1288 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1289 | | PerU16, [INFO] [stdout] 1290 | | test_peru16, [INFO] [stdout] 1291 | | test_peru16_extra, [INFO] [stdout] ... | [INFO] [stdout] 1296 | | "_Parts per 65535_", [INFO] [stdout] 1297 | | ); [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:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1288 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1289 | | PerU16, [INFO] [stdout] 1290 | | test_peru16, [INFO] [stdout] 1291 | | test_peru16_extra, [INFO] [stdout] ... | [INFO] [stdout] 1296 | | "_Parts per 65535_", [INFO] [stdout] 1297 | | ); [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:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1298 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1299 | | Permill, [INFO] [stdout] 1300 | | test_permill, [INFO] [stdout] 1301 | | test_permill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1306 | | "_Parts per Million_", [INFO] [stdout] 1307 | | ); [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:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1298 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1299 | | Permill, [INFO] [stdout] 1300 | | test_permill, [INFO] [stdout] 1301 | | test_permill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1306 | | "_Parts per Million_", [INFO] [stdout] 1307 | | ); [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:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1308 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1309 | | Perbill, [INFO] [stdout] 1310 | | test_perbill, [INFO] [stdout] 1311 | | test_perbill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1316 | | "_Parts per Billion_", [INFO] [stdout] 1317 | | ); [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:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1308 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1309 | | Perbill, [INFO] [stdout] 1310 | | test_perbill, [INFO] [stdout] 1311 | | test_perbill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1316 | | "_Parts per Billion_", [INFO] [stdout] 1317 | | ); [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:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1318 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1319 | | Perquintill, [INFO] [stdout] 1320 | | test_perquintill, [INFO] [stdout] 1321 | | test_perquintill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1326 | | "_Parts per Quintillion_", [INFO] [stdout] 1327 | | ); [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:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `primitive_types` [INFO] [stdout] ... [INFO] [stdout] 1318 | / implement_per_thing_with_perthousand!( [INFO] [stdout] 1319 | | Perquintill, [INFO] [stdout] 1320 | | test_perquintill, [INFO] [stdout] 1321 | | test_perquintill_extra, [INFO] [stdout] ... | [INFO] [stdout] 1326 | | "_Parts per Quintillion_", [INFO] [stdout] 1327 | | ); [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" "08fe4792426277de93fa5eb67293a7e6f3a89e431d1a2442f7aae6f533375ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08fe4792426277de93fa5eb67293a7e6f3a89e431d1a2442f7aae6f533375ca2", kill_on_drop: false }` [INFO] [stdout] 08fe4792426277de93fa5eb67293a7e6f3a89e431d1a2442f7aae6f533375ca2