[INFO] cloning repository https://github.com/YetAnotherMinion/MooseSlicer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YetAnotherMinion/MooseSlicer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYetAnotherMinion%2FMooseSlicer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYetAnotherMinion%2FMooseSlicer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6762d892481060c1c4c58085d76a455f6e7a0076 [INFO] checking YetAnotherMinion/MooseSlicer against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYetAnotherMinion%2FMooseSlicer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YetAnotherMinion/MooseSlicer 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 git repo https://github.com/YetAnotherMinion/MooseSlicer [INFO] finished tweaking git repo https://github.com/YetAnotherMinion/MooseSlicer [INFO] tweaked toml for git repo https://github.com/YetAnotherMinion/MooseSlicer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/YetAnotherMinion/MooseSlicer already has a lockfile, it will not be regenerated [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 11c73e133808ad0151f8a1413322b18289fe83e015639065acddb27fc59293f2 [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" "11c73e133808ad0151f8a1413322b18289fe83e015639065acddb27fc59293f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11c73e133808ad0151f8a1413322b18289fe83e015639065acddb27fc59293f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c73e133808ad0151f8a1413322b18289fe83e015639065acddb27fc59293f2", kill_on_drop: false }` [INFO] [stdout] 11c73e133808ad0151f8a1413322b18289fe83e015639065acddb27fc59293f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] ecccdc2ad1972c678e85b9570b29ab9f1b62aaf887ac35e222658b08e7e7b171 [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" "ecccdc2ad1972c678e85b9570b29ab9f1b62aaf887ac35e222658b08e7e7b171", kill_on_drop: false }` [INFO] [stderr] Checking MooseSlicer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::vec4::Vec4` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::vec4::Vec4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::quaternion::Quaternion` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::quaternion::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traits::Vector` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::traits::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ::std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::vec4::Vec4` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::vec4::Vec4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::quaternion::Quaternion` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::quaternion::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traits::Vector` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::traits::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ::std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.into_iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | let mag = vec_magnitude!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `vec_magnitude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | IntoIterator::into_iter($x.elements).fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MooseSlicer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `moose_slicer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.into_iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | let mag = vec_magnitude!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `vec_magnitude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | IntoIterator::into_iter($x.elements).fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MooseSlicer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `moose_slicer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `slicer` [INFO] [stdout] --> tests/vector_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate slicer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `MooseSlicer` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `super::vec4::Vec4` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::vec4::Vec4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::quaternion::Quaternion` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::quaternion::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traits::Vector` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::traits::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ::std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bin_packing::GuillotineNode as G` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bin_packing::GuillotineNode as G; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quaternion`, `Vec4` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use linear_algebra::vector::{Quaternion, Vec4}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::vec4::Vec4` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use super::vec4::Vec4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::quaternion::Quaternion` [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::quaternion::Quaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traits::Vector` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::traits::Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use ::std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bin_packing::GuillotineNode as G` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bin_packing::GuillotineNode as G; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quaternion`, `Vec4` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use linear_algebra::vector::{Quaternion, Vec4}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/bin_packing/guillotine.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_free_node(&self, width: f64, height: f64) -> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/bin_packing/guillotine.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_free_node(&self, width: f64, height: f64) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/linear_algebra/vector/vec2.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(a: f64, b: f64) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.into_iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | let mag = vec_magnitude!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `vec_magnitude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | IntoIterator::into_iter($x.elements).fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MooseSlicer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `moose_slicer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/bin_packing/guillotine.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_free_node(&self, width: f64, height: f64) -> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/bin_packing/guillotine.rs:52:46 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_free_node(&self, width: f64, height: f64) -> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/linear_algebra/vector/vec2.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(a: f64, b: f64) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/linear_algebra/vector/quaternion.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.into_iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | let mag = vec_magnitude!(self); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in the macro `vec_magnitude` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 14 | $x.elements.iter().fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 14 | IntoIterator::into_iter($x.elements).fold(0.0, |acc, &x| acc + x.powi(2)).sqrt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MooseSlicer` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `moose_slicer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/linear_algebra/vector/traits.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn cross_product(A: T, B: T) -> Option; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ecccdc2ad1972c678e85b9570b29ab9f1b62aaf887ac35e222658b08e7e7b171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecccdc2ad1972c678e85b9570b29ab9f1b62aaf887ac35e222658b08e7e7b171", kill_on_drop: false }` [INFO] [stdout] ecccdc2ad1972c678e85b9570b29ab9f1b62aaf887ac35e222658b08e7e7b171