[INFO] fetching crate rcmath 0.0.1... [INFO] checking rcmath-0.0.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [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 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 897046eb446deaada2323931834c364170315a7016e0fb45c21b21f3a565ee3a [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" "897046eb446deaada2323931834c364170315a7016e0fb45c21b21f3a565ee3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "897046eb446deaada2323931834c364170315a7016e0fb45c21b21f3a565ee3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "897046eb446deaada2323931834c364170315a7016e0fb45c21b21f3a565ee3a", kill_on_drop: false }` [INFO] [stdout] 897046eb446deaada2323931834c364170315a7016e0fb45c21b21f3a565ee3a [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c9f473fe70db4463e2b6efeaf9f22ccf2cc31f39b30bf9c0679e1aef34b11f [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" "17c9f473fe70db4463e2b6efeaf9f22ccf2cc31f39b30bf9c0679e1aef34b11f", kill_on_drop: false }` [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] 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[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> src/big_num.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | impl Step for BigNum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `forward_checked`, `backward_checked` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn forward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn backward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> src/big_num.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | impl Step for BigNum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ missing `forward_checked`, `backward_checked` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn forward_checked(_: Self, _: usize) -> Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn backward_checked(_: Self, _: usize) -> Option { todo!() }` [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: E0046, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcmath` due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "17c9f473fe70db4463e2b6efeaf9f22ccf2cc31f39b30bf9c0679e1aef34b11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c9f473fe70db4463e2b6efeaf9f22ccf2cc31f39b30bf9c0679e1aef34b11f", kill_on_drop: false }` [INFO] [stdout] 17c9f473fe70db4463e2b6efeaf9f22ccf2cc31f39b30bf9c0679e1aef34b11f