[INFO] fetching crate rcmath 0.0.1... [INFO] checking rcmath-0.0.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate rcmath 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rcmath 0.0.1 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 rcmath 0.0.1 [INFO] finished tweaking crates.io crate rcmath 0.0.1 [INFO] tweaked toml for crates.io crate rcmath 0.0.1 written to /workspace/builds/worker-8/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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] a1ba749a6b95c76a189cead4ed303098fe30cf0f76b8fc7bd244449311c5a549 [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" "a1ba749a6b95c76a189cead4ed303098fe30cf0f76b8fc7bd244449311c5a549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1ba749a6b95c76a189cead4ed303098fe30cf0f76b8fc7bd244449311c5a549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ba749a6b95c76a189cead4ed303098fe30cf0f76b8fc7bd244449311c5a549", kill_on_drop: false }` [INFO] [stdout] a1ba749a6b95c76a189cead4ed303098fe30cf0f76b8fc7bd244449311c5a549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stdout] 0be70a01db5a26034b09ed91212d1346903922d14a4b5494ed67537811bf73f0 [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" "0be70a01db5a26034b09ed91212d1346903922d14a4b5494ed67537811bf73f0", 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] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking rcmath v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | / fn add_usize(&self, n: usize) -> Option { [INFO] [stdout] 414 | | Some(self.add_usize(n)) [INFO] [stdout] 415 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | / fn replace_one(&mut self) -> BigNum { [INFO] [stdout] 418 | | self.clone() [INFO] [stdout] 419 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | / fn replace_zero(&mut self) -> BigNum { [INFO] [stdout] 422 | | self.clone() [INFO] [stdout] 423 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | / fn add_one(&self) -> BigNum { [INFO] [stdout] 426 | | self.clone() + BigNum::new_one() [INFO] [stdout] 427 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | / fn sub_one(&self) -> BigNum { [INFO] [stdout] 430 | | self.clone() - BigNum::new_one() [INFO] [stdout] 431 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/big_num.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | (BigNum::new_empty()..self.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/math.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Div, Mul, Rem}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | / fn add_usize(&self, n: usize) -> Option { [INFO] [stdout] 414 | | Some(self.add_usize(n)) [INFO] [stdout] 415 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | / fn replace_one(&mut self) -> BigNum { [INFO] [stdout] 418 | | self.clone() [INFO] [stdout] 419 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | / fn replace_zero(&mut self) -> BigNum { [INFO] [stdout] 422 | | self.clone() [INFO] [stdout] 423 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | / fn add_one(&self) -> BigNum { [INFO] [stdout] 426 | | self.clone() + BigNum::new_one() [INFO] [stdout] 427 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `Step` [INFO] [stdout] --> src/big_num.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | / fn sub_one(&self) -> BigNum { [INFO] [stdout] 430 | | self.clone() - BigNum::new_one() [INFO] [stdout] 431 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/big_num.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | (BigNum::new_empty()..self.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/math.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Div, Mul, Rem}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0200]: the trait `Step` requires an `unsafe impl` declaration [INFO] [stdout] --> src/big_num.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | / impl Step for BigNum { [INFO] [stdout] 409 | | fn steps_between(start: &BigNum, end: &BigNum) -> Option { [INFO] [stdout] 410 | | let new_num = end - start; [INFO] [stdout] 411 | | new_num.to_usize() [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rcmath` [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0200, E0407. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0200`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0200]: the trait `Step` requires an `unsafe impl` declaration [INFO] [stdout] --> src/big_num.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | / impl Step for BigNum { [INFO] [stdout] 409 | | fn steps_between(start: &BigNum, end: &BigNum) -> Option { [INFO] [stdout] 410 | | let new_num = end - start; [INFO] [stdout] 411 | | new_num.to_usize() [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0200, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0200`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0be70a01db5a26034b09ed91212d1346903922d14a4b5494ed67537811bf73f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be70a01db5a26034b09ed91212d1346903922d14a4b5494ed67537811bf73f0", kill_on_drop: false }` [INFO] [stdout] 0be70a01db5a26034b09ed91212d1346903922d14a4b5494ed67537811bf73f0