Skip to content

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

fix(deps): update rust crate hifitime to v4

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

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(),
   |                                                  ~~~~~~~~~~~~~~