Skip to content

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

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 #684

Triggered via pull request July 26, 2024 11:28
Status Failure
Total duration 1m 31s
Artifacts

rust.yml

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

Annotations

15 errors and 24 warnings
tests (ubuntu-latest): src/config.rs#L301
`&PyDict` is not an iterator
tests (ubuntu-latest): src/config.rs#L284
the trait bound `&PyType: From<BoundRef<'_, '_, PyType>>` is not satisfied
tests (ubuntu-latest): src/config.rs#L286
the trait bound `&PyDict: PyFunctionArgument<'_, '_>` is not satisfied
tests (ubuntu-latest): src/inventory.rs#L80
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (ubuntu-latest): src/inventory.rs#L83
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (ubuntu-latest): src/inventory.rs#L89
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (ubuntu-latest): src/node/nodeinfo.rs#L180
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (ubuntu-latest): src/node/nodeinfo.rs#L192
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (ubuntu-latest): src/types/from.rs#L127
no method named `get_type` found for reference `&pyo3::PyAny` in the current scope
tests (ubuntu-latest): src/types/from.rs#L129
no method named `extract` found for reference `&pyo3::PyAny` in the current scope
lints
could not compile `reclass-rs` (lib) due to 27 previous errors; 1 warning emitted
lints
Clippy had exited with the 101 exit code
tests (macos-latest)
The job was canceled because "ubuntu-latest" failed.
tests (macos-latest)
The operation was canceled.
benchmarks
Unhanded error: Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
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/config.rs#L14
use of deprecated constant `config::CompatFlag::__pyo3__generated____richcmp__::DEPRECATION`: Implicit equality for simple enums is deprecated. Use `#[pyclass(eq, eq_int)` to keep the current behavior.
tests (ubuntu-latest)
`reclass-rs` (lib) generated 1 warning
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 `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/
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/