[INFO] fetching crate aljabar 1.0.1... [INFO] checking aljabar-1.0.1 against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] extracting crate aljabar 1.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate aljabar 1.0.1 on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate aljabar 1.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate aljabar 1.0.1 [INFO] tweaked toml for crates.io crate aljabar 1.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 124c0aba194a93f2c5097c8e9e33be2d3b9276fa5486e51d421a655fd32c3be4 [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" "124c0aba194a93f2c5097c8e9e33be2d3b9276fa5486e51d421a655fd32c3be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "124c0aba194a93f2c5097c8e9e33be2d3b9276fa5486e51d421a655fd32c3be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124c0aba194a93f2c5097c8e9e33be2d3b9276fa5486e51d421a655fd32c3be4", kill_on_drop: false }` [INFO] [stdout] 124c0aba194a93f2c5097c8e9e33be2d3b9276fa5486e51d421a655fd32c3be4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e48b1fe1a0362ac542f3ae0e2ea45cd7ff25e75180b6a9d3e47fdce4c5b915 [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" "03e48b1fe1a0362ac542f3ae0e2ea45cd7ff25e75180b6a9d3e47fdce4c5b915", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking aljabar v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/array.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) array: MaybeUninit<[T; { N }]>, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:83:84 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Matrix(pub(crate) [Vector; { M }]); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:173:58 [INFO] [stdout] | [INFO] [stdout] 173 | let mut trans = MaybeUninit::<[Vector; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | let mut row = MaybeUninit::<[T; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:202:42 [INFO] [stdout] | [INFO] [stdout] 202 | let mut diag = MaybeUninit::<[T; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:275:65 [INFO] [stdout] | [INFO] [stdout] 275 | impl From<[Vector; { M }]> [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:278:39 [INFO] [stdout] | [INFO] [stdout] 278 | fn from(array: [Vector; { M }]) -> Self { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:283:59 [INFO] [stdout] | [INFO] [stdout] 283 | impl From<[[T; { N }]; { M }]> for Matrix { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:283:51 [INFO] [stdout] | [INFO] [stdout] 283 | impl From<[[T; { N }]; { M }]> for Matrix { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | fn from(array: [[T; { N }]; { M }]) -> Self { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | fn from(array: [[T; { N }]; { M }]) -> Self { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:402:38 [INFO] [stdout] | [INFO] [stdout] 402 | type Target = [Vector; { M }]; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:432:56 [INFO] [stdout] | [INFO] [stdout] 432 | let mut new = MaybeUninit::<[Vector; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:471:56 [INFO] [stdout] | [INFO] [stdout] 471 | let mut new = MaybeUninit::<[Vector; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:511:61 [INFO] [stdout] | [INFO] [stdout] 511 | let mut zero_mat = MaybeUninit::<[Vector; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:540:61 [INFO] [stdout] | [INFO] [stdout] 540 | let mut unit_mat = MaybeUninit::<[Vector; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:600:44 [INFO] [stdout] | [INFO] [stdout] 600 | RHS: Deref; { M }]>, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:639:76 [INFO] [stdout] | [INFO] [stdout] 639 | let mut mat = MaybeUninit::<[Vector<>::Output, { N }>; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:679:76 [INFO] [stdout] | [INFO] [stdout] 679 | let mut mat = MaybeUninit::<[Vector<>::Output, { N }>; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:719:73 [INFO] [stdout] | [INFO] [stdout] 719 | let mut mat = MaybeUninit::<[Vector<::Output, { N }>; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:750:72 [INFO] [stdout] | [INFO] [stdout] 750 | [Vector< as VectorSpace>::Scalar, { N }>; { P }], [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:756:75 [INFO] [stdout] | [INFO] [stdout] 756 | MaybeUninit::<[ as VectorSpace>::Scalar; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:761:49 [INFO] [stdout] | [INFO] [stdout] 761 | let mut row = MaybeUninit::<[T; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:795:71 [INFO] [stdout] | [INFO] [stdout] 795 | MaybeUninit::<[ as VectorSpace>::Scalar; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:800:45 [INFO] [stdout] | [INFO] [stdout] 800 | let mut row = MaybeUninit::<[T; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:824:56 [INFO] [stdout] | [INFO] [stdout] 824 | let mut mat = MaybeUninit::<[Vector; { M }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:854:24 [INFO] [stdout] | [INFO] [stdout] 854 | arr: [usize; { N }], [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:870:33 [INFO] [stdout] | [INFO] [stdout] 870 | RHS: Deref, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/matrix.rs:883:27 [INFO] [stdout] | [INFO] [stdout] 883 | type Target = [usize; { N }]; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/point.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 126 | impl Into<[T; { N }]> for Point { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/point.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn into(self) -> [T; { N }] { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/point.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | type Target = [T; { N }]; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/point.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | RHS: Deref, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:404:34 [INFO] [stdout] | [INFO] [stdout] 404 | impl Into<[T; { N }]> for Vector { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | fn into(self) -> [T; { N }] { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:443:23 [INFO] [stdout] | [INFO] [stdout] 443 | type Target = [T; { N }]; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:684:29 [INFO] [stdout] | [INFO] [stdout] 684 | RHS: Deref, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:706:61 [INFO] [stdout] | [INFO] [stdout] 706 | let mut sum = MaybeUninit::<[>::Output; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:744:61 [INFO] [stdout] | [INFO] [stdout] 744 | let mut dif = MaybeUninit::<[>::Output; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:783:58 [INFO] [stdout] | [INFO] [stdout] 783 | let mut neg = MaybeUninit::<[::Output; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:811:64 [INFO] [stdout] | [INFO] [stdout] 811 | let mut scaled = MaybeUninit::<[>::Output; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/vector.rs:864:64 [INFO] [stdout] | [INFO] [stdout] 864 | let mut scaled = MaybeUninit::<[>::Output; { N }]>::uninit(); [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant expression depends on a generic parameter [INFO] [stdout] --> src/vector.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn truncate(self) -> (TruncatedVector, T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: constant expression depends on a generic parameter [INFO] [stdout] --> src/vector.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn extend(self, new: T) -> ExtendedVector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this may fail depending on what value the parameter takes [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aljabar` [INFO] [stdout] error: aborting due to 2 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "03e48b1fe1a0362ac542f3ae0e2ea45cd7ff25e75180b6a9d3e47fdce4c5b915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e48b1fe1a0362ac542f3ae0e2ea45cd7ff25e75180b6a9d3e47fdce4c5b915", kill_on_drop: false }` [INFO] [stdout] 03e48b1fe1a0362ac542f3ae0e2ea45cd7ff25e75180b6a9d3e47fdce4c5b915