Support PyO3's abi3-py38
feature
#79
Annotations
9 errors and 27 warnings
the trait bound `&str: pyo3::conversion::FromPyObjectBound<'_, '_>` is not satisfied:
src/de.rs#L415
error[E0277]: the trait bound `&str: pyo3::conversion::FromPyObjectBound<'_, '_>` is not satisfied
--> src/de.rs:415:39
|
415 | let variant = key.extract()?;
| ^^^^^^^ the trait `pyo3::PyClass` is not implemented for `&str`, which is required by `&str: pyo3::conversion::FromPyObjectBound<'_, '_>`
|
= help: the following other types implement trait `pyo3::conversion::FromPyObjectBound<'a, 'py>`:
std::borrow::Cow<'a, [u8]>
std::borrow::Cow<'a, str>
&'a [u8]
= note: required for `&str` to implement `pyo3::FromPyObject<'_>`
= note: required for `&str` to implement `pyo3::conversion::FromPyObjectBound<'_, '_>`
note: required by a bound in `pyo3::prelude::PyAnyMethods::extract`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.21.2/src/types/any.rs:1649:12
|
1647 | fn extract<'a, T>(&'a self) -> PyResult<T>
| ------- required by a bound in this associated function
1648 | where
1649 | T: FromPyObjectBound<'a, 'py>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyAnyMethods::extract`
|
the trait bound `&str: pyo3::conversion::FromPyObjectBound<'_, '_>` is not satisfied:
src/de.rs#L401
error[E0277]: the trait bound `&str: pyo3::conversion::FromPyObjectBound<'_, '_>` is not satisfied
--> src/de.rs:401:34
|
401 | let variant = self.0.extract()?;
| ^^^^^^^ the trait `pyo3::PyClass` is not implemented for `&str`, which is required by `&str: pyo3::conversion::FromPyObjectBound<'_, '_>`
|
= help: the following other types implement trait `pyo3::conversion::FromPyObjectBound<'a, 'py>`:
std::borrow::Cow<'a, [u8]>
std::borrow::Cow<'a, str>
&'a [u8]
= note: required for `&str` to implement `pyo3::FromPyObject<'_>`
= note: required for `&str` to implement `pyo3::conversion::FromPyObjectBound<'_, '_>`
note: required by a bound in `pyo3::prelude::PyAnyMethods::extract`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.21.2/src/types/any.rs:1649:12
|
1647 | fn extract<'a, T>(&'a self) -> PyResult<T>
| ------- required by a bound in this associated function
1648 | where
1649 | T: FromPyObjectBound<'a, 'py>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyAnyMethods::extract`
|
the trait bound `&str: pyo3::conversion::FromPyObjectBound<'_, '_>` is not satisfied:
src/de.rs#L319
error[E0277]: the trait bound `&str: pyo3::conversion::FromPyObjectBound<'_, '_>` is not satisfied
--> src/de.rs:319:45
|
319 | return visitor.visit_str(self.0.extract()?);
| ^^^^^^^ the trait `pyo3::PyClass` is not implemented for `&str`, which is required by `&str: pyo3::conversion::FromPyObjectBound<'_, '_>`
|
= help: the following other types implement trait `pyo3::conversion::FromPyObjectBound<'a, 'py>`:
std::borrow::Cow<'a, [u8]>
std::borrow::Cow<'a, str>
&'a [u8]
= note: required for `&str` to implement `pyo3::FromPyObject<'_>`
= note: required for `&str` to implement `pyo3::conversion::FromPyObjectBound<'_, '_>`
note: required by a bound in `pyo3::prelude::PyAnyMethods::extract`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.21.2/src/types/any.rs:1649:12
|
1647 | fn extract<'a, T>(&'a self) -> PyResult<T>
| ------- required by a bound in this associated function
1648 | where
1649 | T: FromPyObjectBound<'a, 'py>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyAnyMethods::extract`
|
clippy
Clippy had exited with the 101 exit code
|
test:
src/de.rs#L319
the trait bound `&str: FromPyObjectBound<'_, '_>` is not satisfied
|
test:
src/de.rs#L401
the trait bound `&str: FromPyObjectBound<'_, '_>` is not satisfied
|
test:
src/de.rs#L415
the trait bound `&str: FromPyObjectBound<'_, '_>` is not satisfied
|
test
could not compile `serde-pyobject` (lib) due to 3 previous errors
|
test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
fmt
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/.
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@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/.
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
doc-check
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/.
|
doc-check
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/
|
doc-check
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/
|
doc-check
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/
|
doc-check
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/
|
doc-check
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/
|
test
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/.
|
test
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/
|
test
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/
|
test
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/
|
test
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/
|
test
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/
|
test:
tests/to_json_to_pyobject.rs#L47
struct `UnitStruct` is never constructed
|
test:
tests/to_json_to_pyobject.rs#L98
struct `TupleStruct` is never constructed
|
test
`serde-pyobject` (test "to_json_to_pyobject") generated 2 warnings
|