[INFO] fetching crate bullet_rs 0.0.1... [INFO] checking bullet_rs-0.0.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate bullet_rs 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate bullet_rs 0.0.1 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 122a392ab4a328a48a87fb06ecf6805b0e7181676f1294913ddf57a3d4f6e361 [INFO] running `Command { std: "docker" "start" "-a" "122a392ab4a328a48a87fb06ecf6805b0e7181676f1294913ddf57a3d4f6e361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "122a392ab4a328a48a87fb06ecf6805b0e7181676f1294913ddf57a3d4f6e361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "122a392ab4a328a48a87fb06ecf6805b0e7181676f1294913ddf57a3d4f6e361", kill_on_drop: false }` [INFO] [stdout] 122a392ab4a328a48a87fb06ecf6805b0e7181676f1294913ddf57a3d4f6e361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5577dbe008437eb675d2973d880cf33f71716278a5a9670bc8fe3ea445bbe037 [INFO] running `Command { std: "docker" "start" "-a" "5577dbe008437eb675d2973d880cf33f71716278a5a9670bc8fe3ea445bbe037", 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: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: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: `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: `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_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] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bullet_rs` (lib) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bullet_rs` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5577dbe008437eb675d2973d880cf33f71716278a5a9670bc8fe3ea445bbe037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5577dbe008437eb675d2973d880cf33f71716278a5a9670bc8fe3ea445bbe037", kill_on_drop: false }` [INFO] [stdout] 5577dbe008437eb675d2973d880cf33f71716278a5a9670bc8fe3ea445bbe037