Skip to content

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

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

Triggered via pull request June 24, 2024 22:18
Status Failure
Total duration 1m 26s
Artifacts

rust.yml

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

Annotations

24 errors and 26 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
tests (macos-latest)
The job was canceled because "ubuntu-latest" failed.
tests (macos-latest): src/config.rs#L301
`&PyDict` is not an iterator
tests (macos-latest): src/config.rs#L284
the trait bound `&PyType: From<BoundRef<'_, '_, PyType>>` is not satisfied
tests (macos-latest): src/config.rs#L286
the trait bound `&PyDict: PyFunctionArgument<'_, '_>` is not satisfied
tests (macos-latest): src/inventory.rs#L80
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (macos-latest): src/inventory.rs#L83
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (macos-latest): src/inventory.rs#L89
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (macos-latest): src/node/nodeinfo.rs#L180
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (macos-latest): src/node/nodeinfo.rs#L192
no function or associated item named `new` found for struct `PyDict` in the current scope
tests (macos-latest): src/types/from.rs#L127
no method named `get_type` found for reference `&pyo3::PyAny` in the current scope
tests (macos-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
benchmarks
Unhanded error: Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
tests (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 `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
tests (macos-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 (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/
lints
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 `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/
benchmarks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, boa-dev/criterion-compare-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 `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/