[INFO] fetching crate rcmath 0.0.1... [INFO] checking rcmath-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rcmath 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rcmath 0.0.1 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 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-10/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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 81606f335c53d44bd4b0fbdfdcfaa705a8a7ee49fa10ff6a1455703e4e28357e [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" "81606f335c53d44bd4b0fbdfdcfaa705a8a7ee49fa10ff6a1455703e4e28357e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81606f335c53d44bd4b0fbdfdcfaa705a8a7ee49fa10ff6a1455703e4e28357e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81606f335c53d44bd4b0fbdfdcfaa705a8a7ee49fa10ff6a1455703e4e28357e", kill_on_drop: false }` [INFO] [stdout] 81606f335c53d44bd4b0fbdfdcfaa705a8a7ee49fa10ff6a1455703e4e28357e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 57337e8a872a4649e814abe6f9eb32a6cfc81374218a5946d131948f50dfe80b [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" "57337e8a872a4649e814abe6f9eb32a6cfc81374218a5946d131948f50dfe80b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [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] 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] 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] [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: could not compile `rcmath` [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[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" "57337e8a872a4649e814abe6f9eb32a6cfc81374218a5946d131948f50dfe80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57337e8a872a4649e814abe6f9eb32a6cfc81374218a5946d131948f50dfe80b", kill_on_drop: false }` [INFO] [stdout] 57337e8a872a4649e814abe6f9eb32a6cfc81374218a5946d131948f50dfe80b