Skip to content

Update pyo3 to v0.22 and update code to use pyo3 Bound types #685

Update pyo3 to v0.22 and update code to use pyo3 Bound types

Update pyo3 to v0.22 and update code to use pyo3 Bound types #685

Triggered via pull request August 2, 2024 13:12
Status Success
Total duration 3m 19s
Artifacts

rust.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

34 warnings
assigning the result of `ToOwned::to_owned()` may be inefficient: src/config.rs#L148
warning: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/config.rs:148:17 | 148 | / self.classes_path = cfg_path 149 | | .with_file_name(vstr) 150 | | .to_str() 151 | | .ok_or(anyhow!("Can't create nodes path from config file"))? 152 | | .to_owned(); | |_______________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones note: the lint level is defined here --> src/lib.rs:2:9 | 2 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::assigning_clones)]` implied by `#[warn(clippy::pedantic)]` help: use `clone_into()` | 148 ~ cfg_path 149 + .with_file_name(vstr) 150 + .to_str() 151 ~ .ok_or(anyhow!("Can't create nodes path from config file"))?.clone_into(&mut self.classes_path); |
associated items `new` and `merge_from` are never used: src/list/mod.rs#L7
warning: associated items `new` and `merge_from` are never used --> src/list/mod.rs:7:8 | 6 | pub trait List { | ---- associated items in this trait 7 | fn new() -> Self; | ^^^ ... 13 | fn merge_from(&mut self, other: &Self); | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lints
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests (macos-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests (macos-latest): src/list/mod.rs#L7
associated items `new` and `merge_from` are never used
tests (macos-latest)
`reclass-rs` (lib) generated 1 warning
tests (macos-latest): src/list/mod.rs#L7
associated items `new` and `merge_from` are never used
tests (macos-latest)
`reclass-rs` (lib) generated 1 warning
tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (macos-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests (ubuntu-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests (ubuntu-latest): src/list/mod.rs#L7
associated items `new` and `merge_from` are never used
tests (ubuntu-latest)
`reclass-rs` (lib) generated 1 warning
tests (ubuntu-latest): src/list/mod.rs#L7
associated items `new` and `merge_from` are never used
tests (ubuntu-latest)
`reclass-rs` (lib) generated 1 warning
benchmarks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
benchmarks
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, boa-dev/criterion-compare-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
benchmarks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
benchmarks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
benchmarks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
benchmarks
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/