Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate hifitime to v4 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

fix(deps): update rust crate hifitime to v4

443e8ee
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

fix(deps): update rust crate hifitime to v4 #18

fix(deps): update rust crate hifitime to v4
443e8ee
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Oct 19, 2024 in 0s

clippy

5 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 5
Warning 0
Note 0
Help 0

Versions

  • rustc 1.84.0-nightly (e92993dbb 2024-10-18)
  • cargo 1.84.0-nightly (8c30ce536 2024-10-15)
  • clippy 0.1.84 (e92993dbb4 2024-10-18)

Annotations

Check failure on line 168 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `to_duration` found for struct `hifitime::Epoch` in the current scope

error[E0599]: no method named `to_duration` found for struct `hifitime::Epoch` in the current scope
   --> src/lib.rs:168:53
    |
168 |                     true =>  self.elapsed + (Epoch::now().unwrap().to_duration() - self.timer).abs(),
    |                                                                    ^^^^^^^^^^^
    |
help: there is a method `to_et_duration` with a similar name
    |
168 |                     true =>  self.elapsed + (Epoch::now().unwrap().to_et_duration() - self.timer).abs(),
    |                                                                    ~~~~~~~~~~~~~~

Check failure on line 150 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `to_duration` found for struct `hifitime::Epoch` in the current scope

error[E0599]: no method named `to_duration` found for struct `hifitime::Epoch` in the current scope
   --> src/lib.rs:150:44
    |
150 |                 self.elapsed += (Epoch::now().unwrap().to_duration() - self.timer).abs();
    |                                                        ^^^^^^^^^^^
    |
help: there is a method `to_et_duration` with a similar name
    |
150 |                 self.elapsed += (Epoch::now().unwrap().to_et_duration() - self.timer).abs();
    |                                                        ~~~~~~~~~~~~~~

Check failure on line 129 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `to_duration` found for struct `hifitime::Epoch` in the current scope

error[E0599]: no method named `to_duration` found for struct `hifitime::Epoch` in the current scope
   --> src/lib.rs:129:40
    |
129 |                 self.timer = Epoch::now().unwrap().to_duration();
    |                                                    ^^^^^^^^^^^
    |
help: there is a method `to_et_duration` with a similar name
    |
129 |                 self.timer = Epoch::now().unwrap().to_et_duration();
    |                                                    ~~~~~~~~~~~~~~

Check failure on line 105 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `to_duration` found for struct `hifitime::Epoch` in the current scope

error[E0599]: no method named `to_duration` found for struct `hifitime::Epoch` in the current scope
   --> src/lib.rs:105:35
    |
105 |                     timer: Epoch::now().unwrap().to_duration(),
    |                                                  ^^^^^^^^^^^
    |
help: there is a method `to_et_duration` with a similar name
    |
105 |                     timer: Epoch::now().unwrap().to_et_duration(),
    |                                                  ~~~~~~~~~~~~~~

Check failure on line 95 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `to_duration` found for struct `hifitime::Epoch` in the current scope

error[E0599]: no method named `to_duration` found for struct `hifitime::Epoch` in the current scope
  --> src/lib.rs:95:35
   |
95 |                     timer: Epoch::now().unwrap().to_duration(),
   |                                                  ^^^^^^^^^^^
   |
help: there is a method `to_et_duration` with a similar name
   |
95 |                     timer: Epoch::now().unwrap().to_et_duration(),
   |                                                  ~~~~~~~~~~~~~~