[INFO] fetching crate shine-math 0.2.0... [INFO] testing shine-math-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate shine-math 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate shine-math 0.2.0 [INFO] finished tweaking crates.io crate shine-math 0.2.0 [INFO] tweaked toml for crates.io crate shine-math 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shine-math 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 306 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding nalgebra v0.18.1 (available: v0.34.0) [INFO] [stderr] Adding nalgebra-glm v0.4.2 (available: v0.20.0) [INFO] [stderr] Adding quickcheck v0.8.5 (available: v1.0.3) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1601d7d2dc33e50437f8196e3ea81b1c7f12595364288a8cfbd7b94117a1c19 [INFO] running `Command { std: "docker" "start" "-a" "a1601d7d2dc33e50437f8196e3ea81b1c7f12595364288a8cfbd7b94117a1c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1601d7d2dc33e50437f8196e3ea81b1c7f12595364288a8cfbd7b94117a1c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1601d7d2dc33e50437f8196e3ea81b1c7f12595364288a8cfbd7b94117a1c19", kill_on_drop: false }` [INFO] [stdout] a1601d7d2dc33e50437f8196e3ea81b1c7f12595364288a8cfbd7b94117a1c19 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 367d10da600592e64dae1f739c936c25fd656618c860969708afcf09f82d727d [INFO] running `Command { std: "docker" "start" "-a" "367d10da600592e64dae1f739c936c25fd656618c860969708afcf09f82d727d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling nalgebra-glm v0.4.2 [INFO] [stderr] Compiling shine-math v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0; see for more information [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustfmt_skip` in this scope [INFO] [stdout] --> src/voxel/polygonize/transvoxel_lut.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![rustfmt_skip] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | / fn add_usize(&self, n: usize) -> Option { [INFO] [stdout] 142 | | Some($t(self.0 + n)) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / fn replace_one(&mut self) -> Self { [INFO] [stdout] 147 | | mem::replace(self, $t(1)) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | / fn replace_zero(&mut self) -> Self { [INFO] [stdout] 152 | | mem::replace(self, $t(0)) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / fn add_one(&self) -> Self { [INFO] [stdout] 157 | | $t(self.0 + 1) [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | / fn sub_one(&self) -> Self { [INFO] [stdout] 162 | | $t(self.0 - 1) [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | / fn add_usize(&self, n: usize) -> Option { [INFO] [stdout] 142 | | Some($t(self.0 + n)) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / fn replace_one(&mut self) -> Self { [INFO] [stdout] 147 | | mem::replace(self, $t(1)) [INFO] [stdout] 148 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | / fn replace_zero(&mut self) -> Self { [INFO] [stdout] 152 | | mem::replace(self, $t(0)) [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | / fn add_one(&self) -> Self { [INFO] [stdout] 157 | | $t(self.0 + 1) [INFO] [stdout] 158 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `Step` [INFO] [stdout] --> src/triangulation/types.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | / fn sub_one(&self) -> Self { [INFO] [stdout] 162 | | $t(self.0 - 1) [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____________^ not a member of trait `Step` [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction` and `UVGeneration` [INFO] [stdout] --> src/voxel/polygonize/transvoxel.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::voxel::polygonize::{Config, Direction, Polygonizer, UVGeneration}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `steps_between` has an incompatible type for trait [INFO] [stdout] --> src/triangulation/types.rs:131:59 [INFO] [stdout] | [INFO] [stdout] 131 | fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&VertexIndex, &VertexIndex) -> (usize, Option)` [INFO] [stdout] found signature `fn(&VertexIndex, &VertexIndex) -> Option` [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 131 - fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] 131 + fn steps_between(start: &Self, end: &Self) -> (usize, Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> src/triangulation/types.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | impl Step for $t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `forward_checked`, `backward_checked` in implementation [INFO] [stdout] ... [INFO] [stdout] 168 | step_impl!(VertexIndex); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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[E0053]: method `steps_between` has an incompatible type for trait [INFO] [stdout] --> src/triangulation/types.rs:131:59 [INFO] [stdout] | [INFO] [stdout] 131 | fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(usize, Option)`, found `Option` [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&FaceIndex, &FaceIndex) -> (usize, Option)` [INFO] [stdout] found signature `fn(&FaceIndex, &FaceIndex) -> Option` [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 131 - fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] 131 + fn steps_between(start: &Self, end: &Self) -> (usize, Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `forward_checked`, `backward_checked` [INFO] [stdout] --> src/triangulation/types.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | impl Step for $t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `forward_checked`, `backward_checked` in implementation [INFO] [stdout] ... [INFO] [stdout] 172 | step_impl!(FaceIndex); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `step_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: unused variable: `ax` [INFO] [stdout] --> src/voxel/implicit/function.rs:220:34 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn cylinder(radius: f32, ax: glm::Vec3) -> impl Function { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ax` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `generated_vertex_count` is assigned to, but never used [INFO] [stdout] --> src/voxel/polygonize/transvoxel.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | let mut generated_vertex_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_generated_vertex_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0407, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shine-math` (lib) due to 16 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "367d10da600592e64dae1f739c936c25fd656618c860969708afcf09f82d727d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367d10da600592e64dae1f739c936c25fd656618c860969708afcf09f82d727d", kill_on_drop: false }` [INFO] [stdout] 367d10da600592e64dae1f739c936c25fd656618c860969708afcf09f82d727d