Skip to content

PR #33

PR #33 #40

Triggered via dynamic October 25, 2025 07:48
Status Success
Total duration 55s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

14 errors
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L460
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:460:56 | 460 | let tuple: &Bound<PyTuple> = value.downcast()?; | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L457
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:457:47 | 457 | let dict: &Bound<PyDict> = self.0.downcast()?; | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L434
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:434:47 | 434 | let dict: &Bound<PyDict> = self.0.downcast()?; | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L371
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:371:42 | 371 | if let Ok(inner) = inner.downcast() { | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L369
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:369:47 | 369 | let dict: &Bound<PyDict> = self.0.downcast()?; | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L346
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:346:45 | 346 | self.0.getattr("__dict__")?.downcast()?, | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L342
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:342:64 | 342 | return visitor.visit_map(MapDeserializer::new(dict.downcast()?)); | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L336
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:336:64 | 336 | return visitor.visit_map(MapDeserializer::new(dict.downcast()?)); | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L316
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:316:73 | 316 | return visitor.visit_seq(SeqDeserializer::from_tuple(self.0.downcast()?)); | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L313
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:313:72 | 313 | return visitor.visit_seq(SeqDeserializer::from_list(self.0.downcast()?)); | ^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead: src/de.rs#L310
error: use of deprecated method `pyo3::types::PyAnyMethods::downcast`: use `Bound::cast` instead --> src/de.rs:310:66 | 310 | return visitor.visit_map(MapDeserializer::new(self.0.downcast()?)); | ^^^^^^^^
use of deprecated struct `pyo3::DowncastError`: replaced with `CastError`: src/error.rs#L16
error: use of deprecated struct `pyo3::DowncastError`: replaced with `CastError` --> src/error.rs:16:18 | 16 | fn from(err: DowncastError) -> Self { | ^^^^^^^^^^^^^
use of deprecated struct `pyo3::DowncastError`: replaced with `CastError`: src/error.rs#L15
error: use of deprecated struct `pyo3::DowncastError`: replaced with `CastError` --> src/error.rs:15:11 | 15 | impl From<DowncastError<'_, '_>> for Error { | ^^^^^^^^^^^^^
use of deprecated struct `pyo3::DowncastError`: replaced with `CastError`: src/error.rs#L1
error: use of deprecated struct `pyo3::DowncastError`: replaced with `CastError` --> src/error.rs:1:40 | 1 | use pyo3::{exceptions::PyRuntimeError, DowncastError, PyErr}; | ^^^^^^^^^^^^^ | = note: `-D deprecated` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(deprecated)]`