[INFO] fetching crate rcmath 0.0.1... [INFO] checking rcmath-0.0.1 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate rcmath 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rcmath 0.0.1 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a39a1f10b1c6ec9509e4bba1073ec4fa51e03e73a849b31d73f940dc80d5dc [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" "08a39a1f10b1c6ec9509e4bba1073ec4fa51e03e73a849b31d73f940dc80d5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a39a1f10b1c6ec9509e4bba1073ec4fa51e03e73a849b31d73f940dc80d5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a39a1f10b1c6ec9509e4bba1073ec4fa51e03e73a849b31d73f940dc80d5dc", kill_on_drop: false }` [INFO] [stdout] 08a39a1f10b1c6ec9509e4bba1073ec4fa51e03e73a849b31d73f940dc80d5dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 376d2546c7cdad5e5389b1a1fbdacef2b93457484f711deac608f10cf4714e4e [INFO] running `Command { std: "docker" "start" "-a" "376d2546c7cdad5e5389b1a1fbdacef2b93457484f711deac608f10cf4714e4e", kill_on_drop: false }` [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] [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" "376d2546c7cdad5e5389b1a1fbdacef2b93457484f711deac608f10cf4714e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "376d2546c7cdad5e5389b1a1fbdacef2b93457484f711deac608f10cf4714e4e", kill_on_drop: false }` [INFO] [stdout] 376d2546c7cdad5e5389b1a1fbdacef2b93457484f711deac608f10cf4714e4e