[INFO] cloning repository https://github.com/crates-lurey-io/askew [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crates-lurey-io/askew" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrates-lurey-io%2Faskew", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrates-lurey-io%2Faskew'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68b2c40249fd263a8ee14a104b6f56f624bbd4f5 [INFO] checking crates-lurey-io/askew against 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 for pr-161253 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrates-lurey-io%2Faskew" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/crates-lurey-io/askew [INFO] finished tweaking git repo https://github.com/crates-lurey-io/askew [INFO] tweaked toml for git repo https://github.com/crates-lurey-io/askew written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crates-lurey-io/askew on toolchain 65c7d39f9c2b9d5c316725cb48fa3d360c64c663 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crates-lurey-io/askew 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" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5 [INFO] running `Command { std: "docker" "start" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5" "/opt/rustwide/cargo-home/bin/cargo" "+65c7d39f9c2b9d5c316725cb48fa3d360c64c663" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking version_check v0.9.5 [INFO] [stderr] Checking askew v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:321:88 [INFO] [stdout] | [INFO] [stdout] 321 | assert!((normalized.as_radians() - (2.0 * f32::consts::PI - 1.0)).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:351:75 [INFO] [stdout] | [INFO] [stdout] 351 | assert!((angle.as_radians() - f32::consts::PI / 2.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:357:57 [INFO] [stdout] | [INFO] [stdout] 357 | assert!((angle.as_radians() - 0.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:363:75 [INFO] [stdout] | [INFO] [stdout] 363 | assert!((angle.as_radians() - f32::consts::PI / 4.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:369:75 [INFO] [stdout] | [INFO] [stdout] 369 | assert!((angle.as_radians() - f32::consts::PI / 4.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:375:75 [INFO] [stdout] | [INFO] [stdout] 375 | assert!((angle.as_radians() - f32::consts::PI / 4.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:381:92 [INFO] [stdout] | [INFO] [stdout] 381 | assert!((angle_negative.as_radians() - (5.0 * f32::consts::PI / 4.0)).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:387:50 [INFO] [stdout] | [INFO] [stdout] 387 | assert!((angle.cos() - 0.5).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:393:50 [INFO] [stdout] | [INFO] [stdout] 393 | assert!((angle.sin() - 0.5).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:399:50 [INFO] [stdout] | [INFO] [stdout] 399 | assert!((angle.tan() - 1.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:405:50 [INFO] [stdout] | [INFO] [stdout] 405 | assert!((angle.cot() - 1.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::EPSILON`: replaced by the `EPSILON` associated constant on `f32` [INFO] [stdout] --> src/lib.rs:424:50 [INFO] [stdout] | [INFO] [stdout] 424 | assert!((angle.csc() - 2.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_acos` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_acos` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 350 | let angle = Angle::from_acos(0.0); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_asin` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:356:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_asin` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 356 | let angle = Angle::from_asin(0.0); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_radians` with a similar name [INFO] [stdout] | [INFO] [stdout] 356 - let angle = Angle::from_asin(0.0); [INFO] [stdout] 356 + let angle = Angle::from_radians(0.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_atan` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:362:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_atan` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 362 | let angle = Angle::from_atan(1.0); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_radians` with a similar name [INFO] [stdout] | [INFO] [stdout] 362 - let angle = Angle::from_atan(1.0); [INFO] [stdout] 362 + let angle = Angle::from_radians(1.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_atan2` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:368:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_atan2` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 368 | let angle = Angle::from_atan2(1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_radians` with a similar name [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_cartesian` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:374:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_cartesian` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 374 | let angle = Angle::from_cartesian(1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_cartesian` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_cartesian` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 377 | let angle_zero = Angle::from_cartesian(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_cartesian` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- associated function or constant `from_cartesian` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 380 | let angle_negative = Angle::from_cartesian(-1.0, -1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ associated function or constant not found in `Angle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Angle` consider using one of the following associated functions: [INFO] [stdout] Angle::from_radians [INFO] [stdout] Angle::from_degrees [INFO] [stdout] Angle::from_turns [INFO] [stdout] Angle::from_percentage [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub const fn from_radians(radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn from_degrees(degrees: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const fn from_turns(turns: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub const fn from_percentage(percentage: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cos` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:387:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `cos` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 387 | assert!((angle.cos() - 0.5).abs() < f32::EPSILON); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 387 | assert!((angle.radians.cos() - 0.5).abs() < f32::EPSILON); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sin` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:393:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `sin` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 393 | assert!((angle.sin() - 0.5).abs() < f32::EPSILON); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 393 | assert!((angle.radians.sin() - 0.5).abs() < f32::EPSILON); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `tan` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:399:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `tan` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 399 | assert!((angle.tan() - 1.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 399 | assert!((angle.radians.tan() - 1.0).abs() < f32::EPSILON); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cot` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `cot` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 405 | assert!((angle.cot() - 1.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cot` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `cot` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 408 | assert!(angle_zero.cot().is_infinite()); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sec` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `sec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | assert!((angle.sec() - expected).abs() < epsilon); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `csc` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:424:24 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `csc` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 424 | assert!((angle.csc() - 2.0).abs() < f32::EPSILON); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `csc` found for struct `Angle` in the current scope [INFO] [stdout] --> src/lib.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Angle { [INFO] [stdout] | ---------------- method `csc` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 427 | assert!(angle_zero.csc().is_infinite()); [INFO] [stdout] | ^^^ method not found in `Angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `askew` (lib test) due to 15 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5", kill_on_drop: false }` [INFO] [stdout] 2615a281cae4e9ef1b06260c573d41adef0a7afffe59b36af37a33b06b0afbb5