[INFO] fetching crate bullet_rs 0.0.1... [INFO] checking bullet_rs-0.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate bullet_rs 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate bullet_rs 0.0.1 [INFO] finished tweaking crates.io crate bullet_rs 0.0.1 [INFO] tweaked toml for crates.io crate bullet_rs 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bullet_rs 0.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bullet_rs 0.0.1 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77ea3d123b33654f3b60f66aa966f086dd084eefa278de90b6c955dedaa4d995 [INFO] running `Command { std: "docker" "start" "-a" "77ea3d123b33654f3b60f66aa966f086dd084eefa278de90b6c955dedaa4d995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ea3d123b33654f3b60f66aa966f086dd084eefa278de90b6c955dedaa4d995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ea3d123b33654f3b60f66aa966f086dd084eefa278de90b6c955dedaa4d995", kill_on_drop: false }` [INFO] [stdout] 77ea3d123b33654f3b60f66aa966f086dd084eefa278de90b6c955dedaa4d995 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df66c3b465b5a18e6ef23079e294ab4e13ea9e0c894ce60a19e5869381541aee [INFO] running `Command { std: "docker" "start" "-a" "df66c3b465b5a18e6ef23079e294ab4e13ea9e0c894ce60a19e5869381541aee", kill_on_drop: false }` [INFO] [stderr] Checking bullet_rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/bt_vector3.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | fn div(self, rhs: f32) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 296 | return self * 1.0 / rhs; [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/bt_vector3.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn normalized(&self) -> &BtVector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] ... [INFO] [stdout] 424 | return nrm.normalized(); [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/bt_vector3.rs:705:27 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn max_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_count` [INFO] [stdout] --> src/bt_vector3.rs:705:45 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn max_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_out` [INFO] [stdout] --> src/bt_vector3.rs:705:63 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn max_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/bt_vector3.rs:714:27 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn min_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_count` [INFO] [stdout] --> src/bt_vector3.rs:714:45 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn min_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_out` [INFO] [stdout] --> src/bt_vector3.rs:714:63 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn min_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bt_vector3.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let nrm = self.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `BtVector3` does not implement `Clone`, so calling `clone` on `&BtVector3` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 422 - let nrm = self.clone(); [INFO] [stdout] 422 + let nrm = self; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `BtVector3`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 120 + #[derive(Clone)] [INFO] [stdout] 121 | pub struct BtVector3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/bt_vector3.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | fn div(self, rhs: f32) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 296 | return self * 1.0 / rhs; [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/bt_vector3.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn normalized(&self) -> &BtVector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] ... [INFO] [stdout] 424 | return nrm.normalized(); [INFO] [stdout] | ---------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/bt_vector3.rs:705:27 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn max_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_count` [INFO] [stdout] --> src/bt_vector3.rs:705:45 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn max_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_out` [INFO] [stdout] --> src/bt_vector3.rs:705:63 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn max_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/bt_vector3.rs:714:27 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn min_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array_count` [INFO] [stdout] --> src/bt_vector3.rs:714:45 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn min_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_array_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot_out` [INFO] [stdout] --> src/bt_vector3.rs:714:63 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn min_dot(&self, array: BtVector3, array_count: i64, dot_out: &mut BtScalar) -> i64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bt_vector3.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let nrm = self.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `BtVector3` does not implement `Clone`, so calling `clone` on `&BtVector3` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 422 - let nrm = self.clone(); [INFO] [stdout] 422 + let nrm = self; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `BtVector3`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 120 + #[derive(Clone)] [INFO] [stdout] 121 | pub struct BtVector3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "df66c3b465b5a18e6ef23079e294ab4e13ea9e0c894ce60a19e5869381541aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df66c3b465b5a18e6ef23079e294ab4e13ea9e0c894ce60a19e5869381541aee", kill_on_drop: false }` [INFO] [stdout] df66c3b465b5a18e6ef23079e294ab4e13ea9e0c894ce60a19e5869381541aee