[INFO] cloning repository https://github.com/how-to-commit/merkle-hellman-knapsack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/how-to-commit/merkle-hellman-knapsack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhow-to-commit%2Fmerkle-hellman-knapsack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhow-to-commit%2Fmerkle-hellman-knapsack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34c0b8d2e0c80d759d0cc5484000f0f6b136cfeb [INFO] checking how-to-commit/merkle-hellman-knapsack against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhow-to-commit%2Fmerkle-hellman-knapsack" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/how-to-commit/merkle-hellman-knapsack [INFO] finished tweaking git repo https://github.com/how-to-commit/merkle-hellman-knapsack [INFO] tweaked toml for git repo https://github.com/how-to-commit/merkle-hellman-knapsack written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/how-to-commit/merkle-hellman-knapsack on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/how-to-commit/merkle-hellman-knapsack already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6093029184e85bc20bbc05c1ad9ac68845bf5e7d5d3cccc3ee6258b091aeae93 [INFO] running `Command { std: "docker" "start" "-a" "6093029184e85bc20bbc05c1ad9ac68845bf5e7d5d3cccc3ee6258b091aeae93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6093029184e85bc20bbc05c1ad9ac68845bf5e7d5d3cccc3ee6258b091aeae93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6093029184e85bc20bbc05c1ad9ac68845bf5e7d5d3cccc3ee6258b091aeae93", kill_on_drop: false }` [INFO] [stdout] 6093029184e85bc20bbc05c1ad9ac68845bf5e7d5d3cccc3ee6258b091aeae93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6498599085ee16af817d6db0dff17a267df234823a96041780ceaf0670134b2 [INFO] running `Command { std: "docker" "start" "-a" "b6498599085ee16af817d6db0dff17a267df234823a96041780ceaf0670134b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking merkle-hellman-knapsack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/math/bignum.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `Neg`, `SubAssign`, and `Sub` [INFO] [stdout] --> src/math/bignum.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn $method(self: &'a $u, other: $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | fn $method(self: $u, other: &'a mut $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | fn $method(self: &'b $u, other: &'a mut $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 187 | fn $method(self: &'b $u, other: &'a mut $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/math/bignum.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn chunkadd_inplace(&mut self, rhs: &BigNumber) -> BigNumber { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/math/bignum.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn chunksub(&self, rhs: &BigNumber) -> BigNumber { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/math/bignum.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn chunksub_inplace(&mut self, rhs: &BigNumber) -> BigNumber { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `merkle-hellman-knapsack` (bin "merkle-hellman-knapsack") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/math/bignum.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `Neg`, `SubAssign`, and `Sub` [INFO] [stdout] --> src/math/bignum.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Sub, SubAssign}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | fn $method(self: &'a $u, other: $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | fn $method(self: $u, other: &'a mut $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | fn $method(self: &'b $u, other: &'a mut $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/math/bignum.rs:187:49 [INFO] [stdout] | [INFO] [stdout] 187 | fn $method(self: &'b $u, other: &'a mut $u) -> <$u as $imp<$u>>::Output { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | impl_binop! { impl Add, add for BigNumber, chunkadd } [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the macro `impl_binop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/math/bignum.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn chunkadd_inplace(&mut self, rhs: &BigNumber) -> BigNumber { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/math/bignum.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn chunksub(&self, rhs: &BigNumber) -> BigNumber { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/math/bignum.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn chunksub_inplace(&mut self, rhs: &BigNumber) -> BigNumber { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `merkle-hellman-knapsack` (bin "merkle-hellman-knapsack" test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6498599085ee16af817d6db0dff17a267df234823a96041780ceaf0670134b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6498599085ee16af817d6db0dff17a267df234823a96041780ceaf0670134b2", kill_on_drop: false }` [INFO] [stdout] b6498599085ee16af817d6db0dff17a267df234823a96041780ceaf0670134b2