[INFO] cloning repository https://github.com/mineevkv/my_math [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mineevkv/my_math" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmineevkv%2Fmy_math", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmineevkv%2Fmy_math'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a56bf2064842a71368b1757e83e1dcd95b55a225 [INFO] checking mineevkv/my_math against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmineevkv%2Fmy_math" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mineevkv/my_math [INFO] finished tweaking git repo https://github.com/mineevkv/my_math [INFO] tweaked toml for git repo https://github.com/mineevkv/my_math written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mineevkv/my_math on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mineevkv/my_math 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfa076eac41b2e13a11061a1db89e8b7a9f135bd1971f48faa4f1443d114d84f [INFO] running `Command { std: "docker" "start" "-a" "dfa076eac41b2e13a11061a1db89e8b7a9f135bd1971f48faa4f1443d114d84f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfa076eac41b2e13a11061a1db89e8b7a9f135bd1971f48faa4f1443d114d84f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa076eac41b2e13a11061a1db89e8b7a9f135bd1971f48faa4f1443d114d84f", kill_on_drop: false }` [INFO] [stdout] dfa076eac41b2e13a11061a1db89e8b7a9f135bd1971f48faa4f1443d114d84f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1026c63c6308627ae564b27c6b6a437dc62e51279c3308afc6713d57d61cb64b [INFO] running `Command { std: "docker" "start" "-a" "1026c63c6308627ae564b27c6b6a437dc62e51279c3308afc6713d57d61cb64b", kill_on_drop: false }` [INFO] [stderr] Checking my_math v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `FRAC_PI_2` is never used [INFO] [stdout] --> src/math.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const FRAC_PI_2: f64 = consts::FRAC_PI_2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_3` is never used [INFO] [stdout] --> src/math.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const FRAC_PI_3: f64 = consts::FRAC_PI_3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_4` is never used [INFO] [stdout] --> src/math.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FRAC_PI_4: f64 = consts::FRAC_PI_4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_6` is never used [INFO] [stdout] --> src/math.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const FRAC_PI_6: f64 = consts::FRAC_PI_6; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_1_SQRT_2` is never used [INFO] [stdout] --> src/math.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const FRAC_1_SQRT_2: f64 = consts::FRAC_1_SQRT_2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_2` is never used [INFO] [stdout] --> src/math.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const LN_2: f64 = consts::LN_2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_10` is never used [INFO] [stdout] --> src/math.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const LN_10: f64 = consts::LN_10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG10_E` is never used [INFO] [stdout] --> src/math.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const LOG10_E: f64 = consts::LOG10_E; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG2_E` is never used [INFO] [stdout] --> src/math.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const LOG2_E: f64 = consts::LOG2_E; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asin` is never used [INFO] [stdout] --> src/math.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn asin(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acos` is never used [INFO] [stdout] --> src/math.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn acos(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atan` is never used [INFO] [stdout] --> src/math.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn atan(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinh` is never used [INFO] [stdout] --> src/math.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sinh(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosh` is never used [INFO] [stdout] --> src/math.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cosh(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tanh` is never used [INFO] [stdout] --> src/math.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn tanh(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asinh` is never used [INFO] [stdout] --> src/math.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn asinh(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acosh` is never used [INFO] [stdout] --> src/math.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn acosh(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atanh` is never used [INFO] [stdout] --> src/math.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn atanh(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp2` is never used [INFO] [stdout] --> src/math.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn exp2(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_m1` is never used [INFO] [stdout] --> src/math.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn exp_m1(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log2` is never used [INFO] [stdout] --> src/math.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn log2(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/math.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn log(base: f64, x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ln_1p` is never used [INFO] [stdout] --> src/math.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn ln_1p(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/math.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn sqrt(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbrt` is never used [INFO] [stdout] --> src/math.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn cbrt(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `powi` is never used [INFO] [stdout] --> src/math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn powi(x: f64, n: i32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/math.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn abs(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signum` is never used [INFO] [stdout] --> src/math.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn signum(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ceil` is never used [INFO] [stdout] --> src/math.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ceil(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `floor` is never used [INFO] [stdout] --> src/math.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn floor(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/math.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn round(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trunc` is never used [INFO] [stdout] --> src/math.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn trunc(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fract` is never used [INFO] [stdout] --> src/math.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn fract(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem` is never used [INFO] [stdout] --> src/math.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rem(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem_euclid` is never used [INFO] [stdout] --> src/math.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn rem_euclid(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/math.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn max(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/math.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn min(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/math.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn clamp(x: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_angle_signed` is never used [INFO] [stdout] --> src/math.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn normalize_angle_signed(angle: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_lerp` is never used [INFO] [stdout] --> src/math.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn inverse_lerp(a: f64, b: f64, value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slerp` is never used [INFO] [stdout] --> src/math.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn slerp(start: f64, end: f64, t: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length_squared` and `cross` are never used [INFO] [stdout] --> src/math.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl Vector2D { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn length_squared(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn cross(&self, other: &Vector2D) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `abs`, and `rotate` are never used [INFO] [stdout] --> src/math.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 407 | impl Complex { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 408 | /// Create complex number from real and imaginary parts [INFO] [stdout] 409 | pub fn new(real: f64, imag: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn abs(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn rotate(&self, angle_rad: f64) -> Complex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `t` is never used [INFO] [stdout] --> src/math.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 446 | pub trait MathExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 452 | fn t(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_2` is never used [INFO] [stdout] --> src/math.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const FRAC_PI_2: f64 = consts::FRAC_PI_2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_3` is never used [INFO] [stdout] --> src/math.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const FRAC_PI_3: f64 = consts::FRAC_PI_3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_4` is never used [INFO] [stdout] --> src/math.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FRAC_PI_4: f64 = consts::FRAC_PI_4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_PI_6` is never used [INFO] [stdout] --> src/math.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const FRAC_PI_6: f64 = consts::FRAC_PI_6; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAC_1_SQRT_2` is never used [INFO] [stdout] --> src/math.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const FRAC_1_SQRT_2: f64 = consts::FRAC_1_SQRT_2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_2` is never used [INFO] [stdout] --> src/math.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const LN_2: f64 = consts::LN_2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LN_10` is never used [INFO] [stdout] --> src/math.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const LN_10: f64 = consts::LN_10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG10_E` is never used [INFO] [stdout] --> src/math.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const LOG10_E: f64 = consts::LOG10_E; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG2_E` is never used [INFO] [stdout] --> src/math.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const LOG2_E: f64 = consts::LOG2_E; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asin` is never used [INFO] [stdout] --> src/math.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn asin(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acos` is never used [INFO] [stdout] --> src/math.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn acos(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atan` is never used [INFO] [stdout] --> src/math.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn atan(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sinh` is never used [INFO] [stdout] --> src/math.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn sinh(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosh` is never used [INFO] [stdout] --> src/math.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cosh(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tanh` is never used [INFO] [stdout] --> src/math.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn tanh(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `asinh` is never used [INFO] [stdout] --> src/math.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn asinh(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `acosh` is never used [INFO] [stdout] --> src/math.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn acosh(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atanh` is never used [INFO] [stdout] --> src/math.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn atanh(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp2` is never used [INFO] [stdout] --> src/math.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn exp2(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_m1` is never used [INFO] [stdout] --> src/math.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn exp_m1(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log2` is never used [INFO] [stdout] --> src/math.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn log2(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log` is never used [INFO] [stdout] --> src/math.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn log(base: f64, x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ln_1p` is never used [INFO] [stdout] --> src/math.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn ln_1p(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/math.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn sqrt(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbrt` is never used [INFO] [stdout] --> src/math.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn cbrt(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `powi` is never used [INFO] [stdout] --> src/math.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn powi(x: f64, n: i32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/math.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn abs(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signum` is never used [INFO] [stdout] --> src/math.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn signum(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ceil` is never used [INFO] [stdout] --> src/math.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ceil(x: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `floor` is never used [INFO] [stdout] --> src/math.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn floor(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/math.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn round(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trunc` is never used [INFO] [stdout] --> src/math.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn trunc(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fract` is never used [INFO] [stdout] --> src/math.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn fract(x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem` is never used [INFO] [stdout] --> src/math.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn rem(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem_euclid` is never used [INFO] [stdout] --> src/math.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn rem_euclid(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/math.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn max(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/math.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn min(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/math.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn clamp(x: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_angle_signed` is never used [INFO] [stdout] --> src/math.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn normalize_angle_signed(angle: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_lerp` is never used [INFO] [stdout] --> src/math.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn inverse_lerp(a: f64, b: f64, value: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slerp` is never used [INFO] [stdout] --> src/math.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn slerp(start: f64, end: f64, t: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length_squared` and `cross` are never used [INFO] [stdout] --> src/math.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl Vector2D { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn length_squared(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn cross(&self, other: &Vector2D) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `abs`, and `rotate` are never used [INFO] [stdout] --> src/math.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 407 | impl Complex { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 408 | /// Create complex number from real and imaginary parts [INFO] [stdout] 409 | pub fn new(real: f64, imag: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn abs(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn rotate(&self, angle_rad: f64) -> Complex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `t` is never used [INFO] [stdout] --> src/math.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 446 | pub trait MathExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 452 | fn t(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "1026c63c6308627ae564b27c6b6a437dc62e51279c3308afc6713d57d61cb64b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1026c63c6308627ae564b27c6b6a437dc62e51279c3308afc6713d57d61cb64b", kill_on_drop: false }` [INFO] [stdout] 1026c63c6308627ae564b27c6b6a437dc62e51279c3308afc6713d57d61cb64b