[INFO] fetching crate rcmath 0.0.1... [INFO] checking rcmath-0.0.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate rcmath 0.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rcmath 0.0.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cdca832048b69728c8934226c283cad312ff7920cb0ea7b0b564515252d5c62 [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" "0cdca832048b69728c8934226c283cad312ff7920cb0ea7b0b564515252d5c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cdca832048b69728c8934226c283cad312ff7920cb0ea7b0b564515252d5c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdca832048b69728c8934226c283cad312ff7920cb0ea7b0b564515252d5c62", kill_on_drop: false }` [INFO] [stdout] 0cdca832048b69728c8934226c283cad312ff7920cb0ea7b0b564515252d5c62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3917865b01e52a6adc884feb150d6f0c4ed57329f3c86c5cd22581ad2479055 [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" "d3917865b01e52a6adc884feb150d6f0c4ed57329f3c86c5cd22581ad2479055", 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] 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: 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] [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] [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" "d3917865b01e52a6adc884feb150d6f0c4ed57329f3c86c5cd22581ad2479055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3917865b01e52a6adc884feb150d6f0c4ed57329f3c86c5cd22581ad2479055", kill_on_drop: false }` [INFO] [stdout] d3917865b01e52a6adc884feb150d6f0c4ed57329f3c86c5cd22581ad2479055