[INFO] fetching crate bullet_rs 0.0.1... [INFO] checking bullet_rs-0.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate bullet_rs 0.0.1 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bullet_rs 0.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bfed40a7a544ce9994fc4db233cdd138d362acc5f4ce582e948b43e51a83d52 [INFO] running `Command { std: "docker" "start" "-a" "0bfed40a7a544ce9994fc4db233cdd138d362acc5f4ce582e948b43e51a83d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bfed40a7a544ce9994fc4db233cdd138d362acc5f4ce582e948b43e51a83d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfed40a7a544ce9994fc4db233cdd138d362acc5f4ce582e948b43e51a83d52", kill_on_drop: false }` [INFO] [stdout] 0bfed40a7a544ce9994fc4db233cdd138d362acc5f4ce582e948b43e51a83d52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 215e4f50e514a03cc084fc0c15bc1aaf3e300efc44c94f333b23632de69acba7 [INFO] running `Command { std: "docker" "start" "-a" "215e4f50e514a03cc084fc0c15bc1aaf3e300efc44c94f333b23632de69acba7", 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: 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: 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: 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_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: 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: 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.35s [INFO] running `Command { std: "docker" "inspect" "215e4f50e514a03cc084fc0c15bc1aaf3e300efc44c94f333b23632de69acba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215e4f50e514a03cc084fc0c15bc1aaf3e300efc44c94f333b23632de69acba7", kill_on_drop: false }` [INFO] [stdout] 215e4f50e514a03cc084fc0c15bc1aaf3e300efc44c94f333b23632de69acba7