Skip to content

[pre-commit.ci] pre-commit autoupdate #307

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #307

Triggered via pull request May 26, 2025 17:08
Status Cancelled
Total duration 6h 2m 31s
Artifacts

test.yaml

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

Annotations

4 errors and 429 warnings
ubuntu-latest-3.12-15
The operation was canceled.
ubuntu-latest-3.12-15
The job has exceeded the maximum execution time of 6h0m0s
ubuntu-latest-3.11-16
The operation was canceled.
ubuntu-latest-3.11-16
The job has exceeded the maximum execution time of 6h0m0s
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/
for loop over a `Result`. This is more readably written as an `if let` statement: src/driver/transaction.rs#L343
warning: for loop over a `Result`. This is more readably written as an `if let` statement --> src/driver/transaction.rs:343:41 | 343 | for single_query in queries.into_bound(gil).iter() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(for_loops_over_fallibles)]` on by default help: to check pattern in a loop use `while let` | 343 - for single_query in queries.into_bound(gil).iter() { 343 + while let Ok(single_query) = queries.into_bound(gil).iter() { | help: consider unwrapping the `Result` with `?` to iterate over its contents | 343 | for single_query in queries.into_bound(gil).iter()? { | + help: consider using `if let` to clear intent | 343 - for single_query in queries.into_bound(gil).iter() { 343 + if let Ok(single_query) = queries.into_bound(gil).iter() { |
this type has been superceded by `LazyLock` in the standard library: src/value_converter/consts.rs#L14
warning: this type has been superceded by `LazyLock` in the standard library --> src/value_converter/consts.rs:14:33 | 14 | pub static KWARGS_QUERYSTRINGS: Lazy<RwLock<HashMap<String, (String, Vec<String>)>>> = | ^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_std_lazy_statics help: use `std::sync::LazyLock` instead | 14 ~ pub static KWARGS_QUERYSTRINGS: std::sync::LazyLock<RwLock<HashMap<String, (String, Vec<String>)>>> = 15 ~ std::sync::LazyLock::new(|| RwLock::new(Default::default())); |
this type has been superceded by `LazyLock` in the standard library: src/statement/cache.rs#L49
warning: this type has been superceded by `LazyLock` in the standard library --> src/statement/cache.rs:49:32 | 49 | pub(crate) static STMTS_CACHE: Lazy<RwLock<StatementsCache>> = | ^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_std_lazy_statics = note: `-W clippy::non-std-lazy-statics` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::non_std_lazy_statics)]` help: use `std::sync::LazyLock` instead | 49 ~ pub(crate) static STMTS_CACHE: std::sync::LazyLock<RwLock<StatementsCache>> = 50 ~ std::sync::LazyLock::new(|| RwLock::new(Default::default())); |
unused `async` for function with no await statements: src/statement/statement_builder.rs#L106
warning: unused `async` for function with no await statements --> src/statement/statement_builder.rs:106:5 | 106 | / async fn write_to_cache( 107 | | &self, 108 | | mut cache_guard: RwLockWriteGuard<'_, StatementsCache>, 109 | | query: &QueryString, ... | 112 | | cache_guard.add_cache(query, inner_stmt); 113 | | } | |_____^ | = help: consider removing the `async` from this function = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
unused `async` for function with no await statements: src/driver/portal.rs#L112
warning: unused `async` for function with no await statements --> src/driver/portal.rs:112:5 | 112 | / async fn __aexit__<'a>( 113 | | &mut self, 114 | | _exception_type: Py<PyAny>, 115 | | exception: Py<PyAny>, ... | 130 | | Ok(()) 131 | | } | |_____^ | = help: consider removing the `async` from this function = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async
unused `async` for function with no await statements: src/driver/listener/core.rs#L237
warning: unused `async` for function with no await statements --> src/driver/listener/core.rs:237:5 | 237 | / async fn shutdown(&mut self) { 238 | | self.abort_listen(); 239 | | std::mem::take(&mut self.connection); 240 | | std::mem::take(&mut self.receiver); 241 | | 242 | | self.is_started = false; 243 | | } | |_____^ | = help: consider removing the `async` from this function = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async = note: `-W clippy::unused-async` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::unused_async)]`
docs for function returning `Result` missing `# Errors` section: src/value_converter/traits.rs#L13
warning: docs for function returning `Result` missing `# Errors` section --> src/value_converter/traits.rs:13:5 | 13 | / fn to_python_dto( 14 | | python_param: &pyo3::Bound<'_, PyAny>, 15 | | array_type_: Type, 16 | | ) -> PSQLPyResult<PythonDTO>; | |_________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/value_converter/traits.rs#L9
warning: docs for function returning `Result` missing `# Errors` section --> src/value_converter/traits.rs:9:5 | 9 | fn to_python_dto(python_param: &pyo3::Bound<'_, PyAny>) -> PSQLPyResult<PythonDTO>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
unnecessary semicolon: src/value_converter/to_python.rs#L143
warning: unnecessary semicolon --> src/value_converter/to_python.rs:143:22 | 143 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
unnecessary semicolon: src/value_converter/models/serde_value.rs#L166
warning: unnecessary semicolon --> src/value_converter/models/serde_value.rs:166:22 | 166 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
docs for function returning `Result` missing `# Errors` section: src/value_converter/models/serde_value.rs#L125
warning: docs for function returning `Result` missing `# Errors` section --> src/value_converter/models/serde_value.rs:125:1 | 125 | pub fn pythondto_array_to_serde(array: Option<Array<PythonDTO>>) -> PSQLPyResult<Value> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
unneeded `return` statement: src/value_converter/models/serde_value.rs#L111
warning: unneeded `return` statement --> src/value_converter/models/serde_value.rs:111:13 | 111 | return serde_value_from_list(gil, value); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 111 - return serde_value_from_list(gil, value); 111 + serde_value_from_list(gil, value) |
unneeded `return` statement: src/value_converter/models/serde_value.rs#L100
warning: unneeded `return` statement --> src/value_converter/models/serde_value.rs:100:5 | 100 | return Ok(Value::Object(serde_map)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 100 - return Ok(Value::Object(serde_map)); 100 + Ok(Value::Object(serde_map)) |
unnecessary semicolon: src/value_converter/from_python.rs#L786
warning: unnecessary semicolon --> src/value_converter/from_python.rs:786:6 | 786 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
unnecessary semicolon: src/value_converter/from_python.rs#L747
warning: unnecessary semicolon --> src/value_converter/from_python.rs:747:10 | 747 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
unnecessary semicolon: src/value_converter/from_python.rs#L738
warning: unnecessary semicolon --> src/value_converter/from_python.rs:738:10 | 738 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
unnecessary semicolon: src/value_converter/from_python.rs#L696
warning: unnecessary semicolon --> src/value_converter/from_python.rs:696:10 | 696 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
unnecessary semicolon: src/value_converter/from_python.rs#L630
warning: unnecessary semicolon --> src/value_converter/from_python.rs:630:14 | 630 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
useless use of `format!`: src/value_converter/from_python.rs#L429
warning: useless use of `format!` --> src/value_converter/from_python.rs:429:59 | 429 | Err(RustPSQLDriverError::PyToRustValueConversionError(format!( | ___________________________________________________________^ 430 | | "Cannot convert parameter in extra types Array", 431 | | ))) | |_____^ help: consider using `.to_string()`: `"Cannot convert parameter in extra types Array".to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `-W clippy::useless-format` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::useless_format)]`
this function could have a `#[must_use]` attribute: src/value_converter/dto/funcs.rs#L3
warning: this function could have a `#[must_use]` attribute --> src/value_converter/dto/funcs.rs:3:1 | 3 | pub fn array_type_to_single_type(array_type: &Type) -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn array_type_to_single_type(array_type: &Type) -> Type` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
unneeded `return` statement: src/value_converter/dto/converter_impls.rs#L92
warning: unneeded `return` statement --> src/value_converter/dto/converter_impls.rs:92:9 | 92 | return Ok(PythonDTO::PyJsonb(serde_value)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 92 - return Ok(PythonDTO::PyJsonb(serde_value)); 92 + Ok(PythonDTO::PyJsonb(serde_value)) |
unneeded `return` statement: src/value_converter/dto/converter_impls.rs#L82
warning: unneeded `return` statement --> src/value_converter/dto/converter_impls.rs:82:9 | 82 | / return Err(RustPSQLDriverError::PyToRustValueConversionError( 83 | | "Cannot convert timedelta from Python to inner Rust type.".to_string(), 84 | | )); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 82 ~ Err(RustPSQLDriverError::PyToRustValueConversionError( 83 + "Cannot convert timedelta from Python to inner Rust type.".to_string(), 84 ~ )) |
unneeded `return` statement: src/value_converter/dto/converter_impls.rs#L70
warning: unneeded `return` statement --> src/value_converter/dto/converter_impls.rs:70:9 | 70 | / return Err(RustPSQLDriverError::PyToRustValueConversionError( 71 | | "Can not convert you datetime to rust type".into(), 72 | | )); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 70 ~ Err(RustPSQLDriverError::PyToRustValueConversionError( 71 + "Can not convert you datetime to rust type".into(), 72 ~ )) |
docs for function returning `Result` missing `# Errors` section: src/value_converter/consts.rs#L26
warning: docs for function returning `Result` missing `# Errors` section --> src/value_converter/consts.rs:26:1 | 26 | pub fn get_timedelta_cls(py: Python<'_>) -> PyResult<&Bound<'_, PyType>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/value_converter/consts.rs#L17
warning: docs for function returning `Result` missing `# Errors` section --> src/value_converter/consts.rs:17:1 | 17 | pub fn get_decimal_cls(py: Python<'_>) -> PyResult<&Bound<'_, PyType>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
calling `HashMap::default()` is more clear than this expression: src/value_converter/consts.rs#L15
warning: calling `HashMap::default()` is more clear than this expression --> src/value_converter/consts.rs:15:30 | 15 | Lazy::new(|| RwLock::new(Default::default())); | ^^^^^^^^^^^^^^^^^^ help: try: `HashMap::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
very complex type used. Consider factoring parts into `type` definitions: src/value_converter/consts.rs#L14
warning: very complex type used. Consider factoring parts into `type` definitions --> src/value_converter/consts.rs:14:33 | 14 | pub static KWARGS_QUERYSTRINGS: Lazy<RwLock<HashMap<String, (String, Vec<String>)>>> = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-W clippy::type-complexity` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::type_complexity)]`
docs for function returning `Result` missing `# Errors` section: src/transaction/impls.rs#L20
warning: docs for function returning `Result` missing `# Errors` section --> src/transaction/impls.rs:20:5 | 20 | / pub async fn portal<T>( 21 | | &self, 22 | | querystring: &T, 23 | | params: &[&(dyn postgres_types::ToSql + Sync)], 24 | | ) -> PSQLPyResult<tp_Portal> 25 | | where 26 | | T: ?Sized + ToStatement, | |________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/transaction/impls.rs#L7
warning: docs for function returning `Result` missing `# Errors` section --> src/transaction/impls.rs:7:5 | 7 | / pub async fn query_portal( 8 | | &self, 9 | | portal: &tp_Portal, 10 | | size: i32, 11 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
`match` on a boolean expression: src/statement/statement_builder.rs#L90
warning: `match` on a boolean expression --> src/statement/statement_builder.rs:90:9 | 90 | / match self.prepared { 91 | | true => { 92 | | return Ok(PsqlpyStatement::new( 93 | | querystring, ... | 103 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_bool help: consider using an `if`/`else` expression | 90 ~ if self.prepared { 91 + return Ok(PsqlpyStatement::new( 92 + querystring, 93 + prepared_parameters, 94 + Some(prepared_stmt), 95 + )) 96 + } else { 97 + self.write_to_cache(cache_guard, &querystring, &prepared_stmt) 98 + .await; 99 + return Ok(PsqlpyStatement::new(querystring, prepared_parameters, None)); 100 + } |
manual implementation of `Option::map`: src/statement/statement_builder.rs#L82
warning: manual implementation of `Option::map` --> src/statement/statement_builder.rs:82:32 | 82 | let parameters_names = if let Some(converted_qs) = &querystring.converted_qs { | ________________________________^ 83 | | Some(converted_qs.params_names().clone()) 84 | | } else { 85 | | None 86 | | }; | |_________^ help: try: `querystring.converted_qs.as_ref().map(|converted_qs| converted_qs.params_names().clone())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
unneeded `return` statement: src/statement/statement_builder.rs#L101
warning: unneeded `return` statement --> src/statement/statement_builder.rs:101:17 | 101 | return Ok(PsqlpyStatement::new(querystring, prepared_parameters, None)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 101 - return Ok(PsqlpyStatement::new(querystring, prepared_parameters, None)); 101 + Ok(PsqlpyStatement::new(querystring, prepared_parameters, None)) |
unneeded `return` statement: src/statement/statement_builder.rs#L92
warning: unneeded `return` statement --> src/statement/statement_builder.rs:92:17 | 92 | / return Ok(PsqlpyStatement::new( 93 | | querystring, 94 | | prepared_parameters, 95 | | Some(prepared_stmt), 96 | | )) | |__________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 92 ~ Ok(PsqlpyStatement::new( 93 + querystring, 94 + prepared_parameters, 95 + Some(prepared_stmt), 96 + )) |
manual implementation of `Option::map`: src/statement/statement_builder.rs#L56
warning: manual implementation of `Option::map` --> src/statement/statement_builder.rs:56:32 | 56 | let parameters_names = if let Some(converted_qs) = &cached.query.converted_qs { | ________________________________^ 57 | | Some(converted_qs.params_names().clone()) 58 | | } else { 59 | | None 60 | | }; | |_________^ help: try: `cached.query.converted_qs.as_ref().map(|converted_qs| converted_qs.params_names().clone())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map = note: `-W clippy::manual-map` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::manual_map)]`
unneeded `return` statement: src/statement/statement_builder.rs#L64
warning: unneeded `return` statement --> src/statement/statement_builder.rs:64:9 | 64 | / return Ok(PsqlpyStatement::new( 65 | | cached.query, 66 | | prepared_parameters, 67 | | None, 68 | | )); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 64 ~ Ok(PsqlpyStatement::new( 65 + cached.query, 66 + prepared_parameters, 67 + None, 68 ~ )) |
docs for function returning `Result` missing `# Errors` section: src/statement/statement_builder.rs#L39
warning: docs for function returning `Result` missing `# Errors` section --> src/statement/statement_builder.rs:39:5 | 39 | pub async fn build(self) -> PSQLPyResult<PsqlpyStatement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
this method could have a `#[must_use]` attribute: src/statement/statement_builder.rs#L25
warning: this method could have a `#[must_use]` attribute --> src/statement/statement_builder.rs:25:5 | 25 | / pub fn new( 26 | | querystring: String, 27 | | parameters: Option<PyObject>, 28 | | inner_conn: &'a PSQLPyConnection, 29 | | prepared: Option<bool>, 30 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate help: add the attribute | 25 | #[must_use] pub fn new( | +++++++++++
this method could have a `#[must_use]` attribute: src/statement/statement.rs#L47
warning: this method could have a `#[must_use]` attribute --> src/statement/statement.rs:47:5 | 47 | pub fn params_typed(&self) -> Box<[(&(dyn ToSql + Sync), Type)]> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn params_typed(&self) -> Box<[(&(dyn ToSql + Sync), Type)]>` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
this method could have a `#[must_use]` attribute: src/statement/statement.rs#L43
warning: this method could have a `#[must_use]` attribute --> src/statement/statement.rs:43:5 | 43 | pub fn params(&self) -> Box<[&(dyn ToSql + Sync)]> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn params(&self) -> Box<[&(dyn ToSql + Sync)]>` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
unneeded `return` statement: src/statement/statement.rs#L36
warning: unneeded `return` statement --> src/statement/statement.rs:36:17 | 36 | / return Err(RustPSQLDriverError::ConnectionExecuteError( 37 | | "No prepared parameters".into(), 38 | | )) | |__________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 36 ~ Err(RustPSQLDriverError::ConnectionExecuteError( 37 + "No prepared parameters".into(), 38 + )) |
unneeded `return` statement: src/statement/statement.rs#L34
warning: unneeded `return` statement --> src/statement/statement.rs:34:36 | 34 | Some(prepared_stmt) => return Ok(prepared_stmt), | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 34 - Some(prepared_stmt) => return Ok(prepared_stmt), 34 + Some(prepared_stmt) => Ok(prepared_stmt), |
docs for function returning `Result` missing `# Errors` section: src/statement/statement.rs#L32
warning: docs for function returning `Result` missing `# Errors` section --> src/statement/statement.rs:32:5 | 32 | pub fn statement_query(&self) -> PSQLPyResult<&Statement> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
this method could have a `#[must_use]` attribute: src/statement/statement.rs#L28
warning: this method could have a `#[must_use]` attribute --> src/statement/statement.rs:28:5 | 28 | pub fn raw_query(&self) -> &str { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn raw_query(&self) -> &str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
module has the same name as its containing module: src/statement/mod.rs#L4
warning: module has the same name as its containing module --> src/statement/mod.rs:4:1 | 4 | pub mod statement; | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `-W clippy::module-inception` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::module_inception)]`
unneeded `return` statement: src/statement/query.rs#L36
warning: unneeded `return` statement --> src/statement/query.rs:36:9 | 36 | return &self.initial_qs; | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 36 - return &self.initial_qs; 36 + &self.initial_qs |
writing `&String` instead of `&str` involves a new object where a slice will do: src/statement/query.rs#L24
warning: writing `&String` instead of `&str` involves a new object where a slice will do --> src/statement/query.rs:24:28 | 24 | pub fn new(initial_qs: &String) -> Self { | ^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-W clippy::ptr-arg` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::ptr_arg)]` help: change this to | 24 ~ pub fn new(initial_qs: &str) -> Self { 25 | return Self { 26 ~ initial_qs: initial_qs.to_owned(), |
unneeded `return` statement: src/statement/query.rs#L25
warning: unneeded `return` statement --> src/statement/query.rs:25:9 | 25 | / return Self { 26 | | initial_qs: initial_qs.clone(), 27 | | converted_qs: None, 28 | | }; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 25 ~ Self { 26 + initial_qs: initial_qs.clone(), 27 + converted_qs: None, 28 ~ } |
this method could have a `#[must_use]` attribute: src/statement/query.rs#L24
warning: this method could have a `#[must_use]` attribute --> src/statement/query.rs:24:5 | 24 | pub fn new(initial_qs: &String) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new(initial_qs: &String) -> Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
this method could have a `#[must_use]` attribute: src/statement/parameters.rs#L245
warning: this method could have a `#[must_use]` attribute --> src/statement/parameters.rs:245:5 | 245 | pub fn params_typed(&self) -> Box<[(&(dyn ToSql + Sync), Type)]> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn params_typed(&self) -> Box<[(&(dyn ToSql + Sync), Type)]>` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
this method could have a `#[must_use]` attribute: src/statement/parameters.rs#L236
warning: this method could have a `#[must_use]` attribute --> src/statement/parameters.rs:236:5 | 236 | pub fn params(&self) -> Box<[&(dyn ToSql + Sync)]> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn params(&self) -> Box<[&(dyn ToSql + Sync)]>` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
this method could have a `#[must_use]` attribute: src/statement/parameters.rs#L232
warning: this method could have a `#[must_use]` attribute --> src/statement/parameters.rs:232:5 | 232 | pub fn new(parameters: Vec<PythonDTO>, types: Vec<Type>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new(parameters: Vec<PythonDTO>, types: Vec<Type>) -> Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
this expression creates a reference which is immediately dereferenced by the compiler: src/statement/parameters.rs#L208
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/statement/parameters.rs:208:78 | 208 | .map(|(parameter, type_)| from_python_typed(parameter.bind(gil), &type_)) | ^^^^^^ help: change this to: `type_` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unneeded `return` statement: src/statement/parameters.rs#L201
warning: unneeded `return` statement --> src/statement/parameters.rs:201:21 | 201 | None => return self.prepare_not_typed(gil), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 201 - None => return self.prepare_not_typed(gil), 201 + None => self.prepare_not_typed(gil), |
unneeded `return` statement: src/statement/parameters.rs#L200
warning: unneeded `return` statement --> src/statement/parameters.rs:200:28 | 200 | Some(types) => return self.prepare_typed(gil, types), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 200 - Some(types) => return self.prepare_typed(gil, types), 200 + Some(types) => self.prepare_typed(gil, types), |
variables can be used directly in the `format!` string: src/statement/parameters.rs#L175
warning: variables can be used directly in the `format!` string --> src/statement/parameters.rs:175:25 | 175 | format!("Cannot find parameter with name <{}>", param_name).into(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 175 - format!("Cannot find parameter with name <{}>", param_name).into(), 175 + format!("Cannot find parameter with name <{param_name}>").into(), |
useless conversion to the same type: `std::string::String`: src/statement/parameters.rs#L175
warning: useless conversion to the same type: `std::string::String` --> src/statement/parameters.rs:175:25 | 175 | format!("Cannot find parameter with name <{}>", param_name).into(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!("Cannot find parameter with name <{}>", param_name)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
this expression creates a reference which is immediately dereferenced by the compiler: src/statement/parameters.rs#L143
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/statement/parameters.rs:143:78 | 143 | .map(|(parameter, type_)| from_python_typed(parameter.bind(gil), &type_)) | ^^^^^^ help: change this to: `type_` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unneeded `return` statement: src/statement/parameters.rs#L130
warning: unneeded `return` statement --> src/statement/parameters.rs:130:21 | 130 | None => return self.prepare_not_typed(gil, parameters_names), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 130 - None => return self.prepare_not_typed(gil, parameters_names), 130 + None => self.prepare_not_typed(gil, parameters_names), |
unneeded `return` statement: src/statement/parameters.rs#L129
warning: unneeded `return` statement --> src/statement/parameters.rs:129:28 | 129 | Some(types) => return self.prepare_typed(gil, parameters_names, types), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 129 - Some(types) => return self.prepare_typed(gil, parameters_names, types), 129 + Some(types) => self.prepare_typed(gil, parameters_names, types), |
consider adding a `;` to the last statement for consistent formatting: src/statement/parameters.rs#L63
warning: consider adding a `;` to the last statement for consistent formatting --> src/statement/parameters.rs:63:21 | 63 | / prepared_parameters = Some( 64 | | MappingParametersBuilder::new(mapping, self.types) 65 | | .prepare(gil, parameters_names)?, 66 | | ) | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned = note: `-W clippy::semicolon-if-nothing-returned` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::semicolon_if_nothing_returned)]` help: add a `;` here | 66 | prepared_parameters = Some( 67 | MappingParametersBuilder::new(mapping, self.types) 68 | .prepare(gil, parameters_names)?, 69 ~ ); |
unneeded `return` statement: src/statement/parameters.rs#L76
warning: unneeded `return` statement --> src/statement/parameters.rs:76:9 | 76 | / return Err(RustPSQLDriverError::PyToRustValueConversionError( 77 | | "Parameters must be sequence or mapping".into(), 78 | | )); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 76 ~ Err(RustPSQLDriverError::PyToRustValueConversionError( 77 + "Parameters must be sequence or mapping".into(), 78 ~ )) |
it is more idiomatic to use `Option<&T>` instead of `&Option<T>`: src/statement/parameters.rs#L26
warning: it is more idiomatic to use `Option<&T>` instead of `&Option<T>` --> src/statement/parameters.rs:26:5 | 26 | pub fn new(parameters: &Option<PyObject>, types: Option<Vec<Type>>) -> Self { | ^ ----------------- help: change this to: `Option<&PyObject>` | _____| | | 27 | | Self { 28 | | parameters: parameters.clone(), 29 | | types, 30 | | } 31 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ref_option = note: `-W clippy::ref-option` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::ref_option)]`
calling `StatementsCache::default()` is more clear than this expression: src/statement/cache.rs#L50
warning: calling `StatementsCache::default()` is more clear than this expression --> src/statement/cache.rs:50:30 | 50 | Lazy::new(|| RwLock::new(Default::default())); | ^^^^^^^^^^^^^^^^^^ help: try: `StatementsCache::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access = note: `-W clippy::default-trait-access` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::default_trait_access)]`
unneeded `return` statement: src/statement/cache.rs#L38
warning: unneeded `return` statement --> src/statement/cache.rs:38:9 | 38 | / return Self { 39 | | query: query.clone(), 40 | | inner_stmt: inner_stmt.clone(), 41 | | }; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 38 ~ Self { 39 + query: query.clone(), 40 + inner_stmt: inner_stmt.clone(), 41 ~ } |
this expression creates a reference which is immediately dereferenced by the compiler: src/statement/cache.rs#L20
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/statement/cache.rs:20:32 | 20 | let qs_hash = hash_str(&querystring); | ^^^^^^^^^^^^ help: change this to: `querystring` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 404 | build_array_type!(IntervalArray, PythonDTO::PyIntervalArray, Type::INTERVAL); | ---------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 403 | build_array_type!(CircleArray, PythonDTO::PyCircleArray, Type::CIRCLE); | ---------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 402 | build_array_type!(LsegArray, PythonDTO::PyLsegArray, Type::LSEG); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 401 | build_array_type!(LineArray, PythonDTO::PyLineArray, Type::LINE); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 400 | build_array_type!(PathArray, PythonDTO::PyPathArray, Type::PATH); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 399 | build_array_type!(BoxArray, PythonDTO::PyBoxArray, Type::BOX); | ------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 398 | build_array_type!(PointArray, PythonDTO::PyPointArray, Type::POINT); | ------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 397 | build_array_type!(NumericArray, PythonDTO::PyNumericArray, Type::NUMERIC); | ------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 396 | build_array_type!(MacAddr8Array, PythonDTO::PyMacAddr8Array, Type::MACADDR8); | ---------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 395 | build_array_type!(MacAddr6Array, PythonDTO::PyMacAddr6Array, Type::MACADDR); | --------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 390 | / build_array_type!( 391 | | DateTimeTZArray, 392 | | PythonDTO::PyDateTimeTZArray, 393 | | Type::TIMESTAMPTZ 394 | | ); | |_- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 389 | build_array_type!(DateTimeArray, PythonDTO::PyDateTimeArray, Type::TIMESTAMP); | ----------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 388 | build_array_type!(TimeArray, PythonDTO::PyTimeArray, Type::TIME); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 387 | build_array_type!(DateArray, PythonDTO::PyDateArray, Type::DATE); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 386 | build_array_type!(JSONArray, PythonDTO::PyJSONArray, Type::JSON); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 385 | build_array_type!(JSONBArray, PythonDTO::PyJSONBArray, Type::JSONB); | ------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 384 | build_array_type!(IpAddressArray, PythonDTO::PyIpAddressArray, Type::INET); | -------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 383 | build_array_type!(MoneyArray, PythonDTO::PyMoneyArray, Type::MONEY); | ------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 382 | build_array_type!(Float64Array, PythonDTO::PyFloat64Array, Type::FLOAT8); | ------------------------------------------------------------------------ in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 381 | build_array_type!(Float32Array, PythonDTO::PyFloat32Array, Type::FLOAT4); | ------------------------------------------------------------------------ in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 380 | build_array_type!(Int64Array, PythonDTO::PyInt64Array, Type::INT8); | ------------------------------------------------------------------ in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 379 | build_array_type!(Int32Array, PythonDTO::PyInt32Array, Type::INT4); | ------------------------------------------------------------------ in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 378 | build_array_type!(Int16Array, PythonDTO::PyInt16Array, Type::INT2); | ------------------------------------------------------------------ in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 377 | build_array_type!(TextArray, PythonDTO::PyTextArray, Type::TEXT); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 376 | build_array_type!(VarCharArray, PythonDTO::PyVarCharArray, Type::VARCHAR); | ------------------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 375 | build_array_type!(UUIDArray, PythonDTO::PyUuidArray, Type::UUID); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this method could have a `#[must_use]` attribute: src/extra_types.rs#L350
warning: this method could have a `#[must_use]` attribute --> src/extra_types.rs:350:13 | 350 | pub fn element_type() -> Type { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn element_type() -> Type` ... 374 | build_array_type!(BoolArray, PythonDTO::PyBoolArray, Type::BOOL); | ---------------------------------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: this warning originates in the macro `build_array_type` (in Nightly builds, run with -Z macro-backtrace for more info)
this lifetime isn't used in the function definition: src/driver/transaction.rs#L327
warning: this lifetime isn't used in the function definition --> src/driver/transaction.rs:327:27 | 327 | pub async fn pipeline<'py>( | ^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L327
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:327:5 | 327 | / pub async fn pipeline<'py>( 328 | | self_: Py<Self>, 329 | | queries: Option<Py<PyList>>, 330 | | prepared: Option<bool>, 331 | | ) -> PSQLPyResult<Vec<PSQLDriverPyQueryResult>> { | |___________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L280
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:280:5 | 280 | pub async fn rollback_savepoint(&mut self, savepoint_name: String) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L267
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:267:5 | 267 | pub async fn release_savepoint(&mut self, savepoint_name: String) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L254
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:254:5 | 254 | pub async fn create_savepoint(&mut self, savepoint_name: String) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L238
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:238:5 | 238 | / pub async fn fetch_row( 239 | | &self, 240 | | querystring: String, 241 | | parameters: Option<Py<PyAny>>, 242 | | prepared: Option<bool>, 243 | | ) -> PSQLPyResult<PSQLDriverSinglePyQueryResult> { | |____________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L221
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:221:5 | 221 | / pub async fn execute_many( 222 | | &self, 223 | | querystring: String, 224 | | parameters: Option<Vec<Py<PyAny>>>, 225 | | prepared: Option<bool>, 226 | | ) -> PSQLPyResult<()> { | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L211
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:211:5 | 211 | pub async fn execute_batch(&self, querystring: String) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L195
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:195:5 | 195 | / pub async fn fetch_val( 196 | | &self, 197 | | querystring: String, 198 | | parameters: Option<pyo3::Py<PyAny>>, 199 | | prepared: Option<bool>, 200 | | ) -> PSQLPyResult<Py<PyAny>> { | |________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L180
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:180:5 | 180 | / pub async fn fetch( 181 | | &self, 182 | | querystring: String, 183 | | parameters: Option<pyo3::Py<PyAny>>, 184 | | prepared: Option<bool>, 185 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L165
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:165:5 | 165 | / pub async fn execute( 166 | | &self, 167 | | querystring: String, 168 | | parameters: Option<pyo3::Py<PyAny>>, 169 | | prepared: Option<bool>, 170 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L151
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:151:5 | 151 | pub async fn rollback(&mut self) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L138
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:138:5 | 138 | pub async fn commit(&mut self) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/transaction.rs#L125
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/transaction.rs:125:5 | 125 | pub async fn begin(&mut self) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
unneeded `return` statement: src/driver/transaction.rs#L121
warning: unneeded `return` statement --> src/driver/transaction.rs:121:13 | 121 | return Err(RustPSQLDriverError::RustPyError(py_err)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 121 - return Err(RustPSQLDriverError::RustPyError(py_err)); 121 + Err(RustPSQLDriverError::RustPyError(py_err)) |
this lifetime isn't used in the function definition: src/driver/transaction.rs#L89
warning: this lifetime isn't used in the function definition --> src/driver/transaction.rs:89:24 | 89 | async fn __aexit__<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
unneeded `return` statement: src/driver/transaction.rs#L85
warning: unneeded `return` statement --> src/driver/transaction.rs:85:9 | 85 | return Ok(self_); | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 85 - return Ok(self_); 85 + Ok(self_) |
this lifetime isn't used in the function definition: src/driver/transaction.rs#L66
warning: this lifetime isn't used in the function definition --> src/driver/transaction.rs:66:25 | 66 | async fn __aenter__<'a>(self_: Py<Self>) -> PSQLPyResult<Py<Self>> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this method could have a `#[must_use]` attribute: src/driver/transaction.rs#L38
warning: this method could have a `#[must_use]` attribute --> src/driver/transaction.rs:38:5 | 38 | / pub fn new( 39 | | conn: Option<Arc<RwLock<PSQLPyConnection>>>, 40 | | pg_config: Arc<Config>, 41 | | isolation_level: Option<IsolationLevel>, 42 | | read_variant: Option<ReadVariant>, 43 | | deferrable: Option<bool>, 44 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate help: add the attribute | 38 | #[must_use] pub fn new( | +++++++++++
unnecessary semicolon: src/driver/portal.rs#L153
warning: unnecessary semicolon --> src/driver/portal.rs:153:18 | 153 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
this expression creates a reference which is immediately dereferenced by the compiler: src/driver/portal.rs#L146
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/driver/portal.rs:146:48 | 146 | let result = txid.query_portal(&portal, size).await?; | ^^^^^^^ help: change this to: `portal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
using `clone` on type `i32` which implements the `Copy` trait: src/driver/portal.rs#L136
warning: using `clone` on type `i32` which implements the `Copy` trait --> src/driver/portal.rs:136:20 | 136 | let size = self.array_size.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.array_size` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
this lifetime isn't used in the function definition: src/driver/portal.rs#L112
warning: this lifetime isn't used in the function definition --> src/driver/portal.rs:112:24 | 112 | async fn __aexit__<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this lifetime isn't used in the function definition: src/driver/portal.rs#L84
warning: this lifetime isn't used in the function definition --> src/driver/portal.rs:84:25 | 84 | async fn __aenter__<'a>(slf: Py<Self>) -> PSQLPyResult<Py<Self>> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this expression creates a reference which is immediately dereferenced by the compiler: src/driver/portal.rs#L53
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/driver/portal.rs:53:34 | 53 | transaction.query_portal(&portal, size).await | ^^^^^^^ help: change this to: `portal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this method could have a `#[must_use]` attribute: src/driver/portal.rs#L30
warning: this method could have a `#[must_use]` attribute --> src/driver/portal.rs:30:5 | 30 | / pub fn new( 31 | | conn: Option<Arc<RwLock<PSQLPyConnection>>>, 32 | | querystring: String, 33 | | parameters: Option<Py<PyAny>>, 34 | | array_size: Option<i32>, 35 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate help: add the attribute | 30 | #[must_use] pub fn new( | +++++++++++
unnecessary semicolon: src/driver/listener/structs.rs#L25
warning: unnecessary semicolon --> src/driver/listener/structs.rs:25:10 | 25 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
this lifetime isn't used in the function definition: src/driver/listener/core.rs#L100
warning: this lifetime isn't used in the function definition --> src/driver/listener/core.rs:100:24 | 100 | async fn __aexit__<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this lifetime isn't used in the function definition: src/driver/listener/core.rs#L95
warning: this lifetime isn't used in the function definition --> src/driver/listener/core.rs:95:25 | 95 | async fn __aenter__<'a>(slf: Py<Self>) -> PSQLPyResult<Py<Self>> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this argument is passed by value, but not consumed in the function body: src/driver/listener/core.rs#L48
warning: this argument is passed by value, but not consumed in the function body --> src/driver/listener/core.rs:48:27 | 48 | pub fn new(pg_config: Arc<Config>, ca_file: Option<String>, ssl_mode: Option<SslMode>) -> Self { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]` help: consider taking a reference instead | 48 | pub fn new(pg_config: &Arc<Config>, ca_file: Option<String>, ssl_mode: Option<SslMode>) -> Self { | +
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L336
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:336:5 | 336 | pub async fn fetch_backward_all(&self) -> PSQLPyResult<PSQLDriverPyQueryResult> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L323
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:323:5 | 323 | / pub async fn fetch_backward( 324 | | &self, 325 | | backward_count: i64, 326 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L315
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:315:5 | 315 | pub async fn fetch_forward_all(&self) -> PSQLPyResult<PSQLDriverPyQueryResult> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L302
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:302:5 | 302 | / pub async fn fetch_relative( 303 | | &self, 304 | | relative_number: i64, 305 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L289
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:289:5 | 289 | / pub async fn fetch_absolute( 290 | | &self, 291 | | absolute_number: i64, 292 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L281
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:281:5 | 281 | pub async fn fetch_last(&self) -> PSQLPyResult<PSQLDriverPyQueryResult> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L273
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:273:5 | 273 | pub async fn fetch_first(&self) -> PSQLPyResult<PSQLDriverPyQueryResult> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L265
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:265:5 | 265 | pub async fn fetch_prior(&self) -> PSQLPyResult<PSQLDriverPyQueryResult> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L257
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:257:5 | 257 | pub async fn fetch_next(&self) -> PSQLPyResult<PSQLDriverPyQueryResult> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L242
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:242:5 | 242 | / pub async fn fetch( 243 | | &self, 244 | | fetch_number: Option<usize>, 245 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
this expression creates a reference which is immediately dereferenced by the compiler: src/driver/cursor.rs#L232
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/driver/cursor.rs:232:39 | 232 | write_conn_g.close_cursor(&cursor_name).await?; | ^^^^^^^^^^^^ help: change this to: `cursor_name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unnecessary semicolon: src/driver/cursor.rs#L234
warning: unnecessary semicolon --> src/driver/cursor.rs:234:10 | 234 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L226
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:226:5 | 226 | pub async fn close(&mut self) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/driver/cursor.rs#L199
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/cursor.rs:199:5 | 199 | pub async fn start(&mut self) -> PSQLPyResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
unnecessary semicolon: src/driver/cursor.rs#L191
warning: unnecessary semicolon --> src/driver/cursor.rs:191:18 | 191 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
this lifetime isn't used in the function definition: src/driver/cursor.rs#L143
warning: this lifetime isn't used in the function definition --> src/driver/cursor.rs:143:24 | 143 | async fn __aexit__<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this lifetime isn't used in the function definition: src/driver/cursor.rs#L109
warning: this lifetime isn't used in the function definition --> src/driver/cursor.rs:109:25 | 109 | async fn __aenter__<'a>(slf: Py<Self>) -> PSQLPyResult<Py<Self>> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
using `clone` on type `Option<bool>` which implements the `Copy` trait: src/driver/cursor.rs#L97
warning: using `clone` on type `Option<bool>` which implements the `Copy` trait --> src/driver/cursor.rs:97:16 | 97 | return self.prepared.clone(); | ^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.prepared` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `-W clippy::clone-on-copy` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::clone_on_copy)]`
unneeded `return` statement: src/driver/cursor.rs#L97
warning: unneeded `return` statement --> src/driver/cursor.rs:97:9 | 97 | return self.prepared.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 97 - return self.prepared.clone(); 97 + self.prepared.clone() |
unneeded `return` statement: src/driver/cursor.rs#L92
warning: unneeded `return` statement --> src/driver/cursor.rs:92:9 | 92 | return self.parameters.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 92 - return self.parameters.clone(); 92 + self.parameters.clone() |
unneeded `return` statement: src/driver/cursor.rs#L87
warning: unneeded `return` statement --> src/driver/cursor.rs:87:9 | 87 | return self.querystring.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 87 - return self.querystring.clone(); 87 + self.querystring.clone() |
unneeded `return` statement: src/driver/cursor.rs#L82
warning: unneeded `return` statement --> src/driver/cursor.rs:82:9 | 82 | return self.cursor_name.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 82 - return self.cursor_name.clone(); 82 + self.cursor_name.clone() |
field name starts with the struct's name: src/driver/cursor.rs#L31
warning: field name starts with the struct's name --> src/driver/cursor.rs:31:5 | 31 | cursor_name: Option<String>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names = note: `-W clippy::struct-field-names` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::struct_field_names)]`
unnecessary semicolon: src/driver/connection_pool_builder.rs#L55
warning: unnecessary semicolon --> src/driver/connection_pool_builder.rs:55:10 | 55 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
docs for function returning `Result` missing `# Errors` section: src/driver/connection_pool.rs#L247
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/connection_pool.rs:247:5 | 247 | pub async fn retrieve_connection(&mut self) -> PSQLPyResult<Connection> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
variables can be used directly in the `format!` string: src/driver/connection.rs#L458
warning: variables can be used directly in the `format!` string --> src/driver/connection.rs:458:9 | 458 | println!("{:?}", fetch_number); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `-W clippy::uninlined-format-args` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::uninlined_format_args)]` help: change this to | 458 - println!("{:?}", fetch_number); 458 + println!("{fetch_number:?}"); |
docs for function returning `Result` missing `# Errors` section: src/driver/connection.rs#L452
warning: docs for function returning `Result` missing `# Errors` section --> src/driver/connection.rs:452:5 | 452 | / pub fn portal( 453 | | &self, 454 | | querystring: String, 455 | | parameters: Option<Py<PyAny>>, 456 | | fetch_number: Option<i32>, 457 | | ) -> PSQLPyResult<Portal> { | |_____________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
this lifetime isn't used in the function definition: src/driver/connection.rs#L368
warning: this lifetime isn't used in the function definition --> src/driver/connection.rs:368:28 | 368 | pub async fn fetch_val<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this lifetime isn't used in the function definition: src/driver/connection.rs#L280
warning: this lifetime isn't used in the function definition --> src/driver/connection.rs:280:31 | 280 | pub async fn execute_many<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this lifetime isn't used in the function definition: src/driver/connection.rs#L193
warning: this lifetime isn't used in the function definition --> src/driver/connection.rs:193:24 | 193 | async fn __aexit__<'a>( | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
this lifetime isn't used in the function definition: src/driver/connection.rs#L160
warning: this lifetime isn't used in the function definition --> src/driver/connection.rs:160:25 | 160 | async fn __aenter__<'a>(self_: Py<Self>) -> PSQLPyResult<Py<Self>> { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes = note: `-W clippy::extra-unused-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::extra_unused_lifetimes)]`
unnecessary semicolon: src/connection/traits.rs#L61
warning: unnecessary semicolon --> src/connection/traits.rs:61:10 | 61 | }; | ^ help: remove | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon = note: `-W clippy::unnecessary-semicolon` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::unnecessary_semicolon)]`
this method could have a `#[must_use]` attribute: src/connection/structs.rs#L31
warning: this method could have a `#[must_use]` attribute --> src/connection/structs.rs:31:5 | 31 | pub fn new(connection: Client, pg_config: Arc<Config>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new(connection: Client, pg_config: Arc<Config>) -> Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
this method could have a `#[must_use]` attribute: src/connection/structs.rs#L14
warning: this method could have a `#[must_use]` attribute --> src/connection/structs.rs:14:5 | 14 | pub fn new(connection: Object, pg_config: Arc<Config>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn new(connection: Object, pg_config: Arc<Config>) -> Self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate = note: `-W clippy::must-use-candidate` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::must_use_candidate)]`
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L548
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:548:5 | 548 | / pub async fn portal( 549 | | &mut self, 550 | | querystring: String, 551 | | parameters: Option<pyo3::Py<PyAny>>, 552 | | ) -> PSQLPyResult<(PSQLPyTransaction, tp_Portal)> { | |_____________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L527
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:527:5 | 527 | pub async fn transaction(&mut self) -> PSQLPyResult<PSQLPyTransaction> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L512
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:512:5 | 512 | / pub async fn copy_in<T, U>(&self, statement: &T) -> PSQLPyResult<CopyInSink<U>> 513 | | where 514 | | T: ?Sized + ToStatement, 515 | | U: Buf + 'static + Send, | |________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
unneeded `return` statement: src/connection/impls.rs#L506
warning: unneeded `return` statement --> src/connection/impls.rs:506:9 | 506 | / return Python::with_gil(|gil| match result.columns().first() { 507 | | Some(first_column) => postgres_to_py(gil, &result, first_column, 0, &None), 508 | | None => Ok(gil.None()), 509 | | }); | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 506 ~ Python::with_gil(|gil| match result.columns().first() { 507 + Some(first_column) => postgres_to_py(gil, &result, first_column, 0, &None), 508 + None => Ok(gil.None()), 509 ~ }) |
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L496
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:496:5 | 496 | / pub async fn fetch_val( 497 | | &self, 498 | | querystring: String, 499 | | parameters: Option<pyo3::Py<PyAny>>, 500 | | prepared: Option<bool>, 501 | | ) -> PSQLPyResult<pyo3::Py<PyAny>> { | |______________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
unneeded `return` statement: src/connection/impls.rs#L493
warning: unneeded `return` statement --> src/connection/impls.rs:493:9 | 493 | return Ok(PSQLDriverSinglePyQueryResult::new(result)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 493 - return Ok(PSQLDriverSinglePyQueryResult::new(result)); 493 + Ok(PSQLDriverSinglePyQueryResult::new(result)) |
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L483
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:483:5 | 483 | / pub async fn fetch_row( 484 | | &self, 485 | | querystring: String, 486 | | parameters: Option<pyo3::Py<PyAny>>, 487 | | prepared: Option<bool>, 488 | | ) -> PSQLPyResult<PSQLDriverSinglePyQueryResult> { | |____________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
this expression creates a reference which is immediately dereferenced by the compiler: src/connection/impls.rs#L463
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/connection/impls.rs:463:30 | 463 | .prepare(&statement.raw_query(), true) | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `statement.raw_query()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
unneeded `return` statement: src/connection/impls.rs#L480
warning: unneeded `return` statement --> src/connection/impls.rs:480:9 | 480 | return Ok(result); | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 480 - return Ok(result); 480 + Ok(result) |
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L448
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:448:5 | 448 | / pub async fn fetch_row_raw( 449 | | &self, 450 | | querystring: String, 451 | | parameters: Option<pyo3::Py<PyAny>>, 452 | | prepared: Option<bool>, 453 | | ) -> PSQLPyResult<Row> { | |__________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
this expression creates a reference which is immediately dereferenced by the compiler: src/connection/impls.rs#L430
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/connection/impls.rs:430:35 | 430 | &self.prepare(&statement.raw_query(), true).await?, | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `statement.raw_query()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/connection/impls.rs#L423
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/connection/impls.rs:423:51 | 423 | let prepared_stmt = &self.prepare(&statement.raw_query(), true).await; | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `statement.raw_query()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-W clippy::needless-borrow` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
unneeded `return` statement: src/connection/impls.rs#L445
warning: unneeded `return` statement --> src/connection/impls.rs:445:9 | 445 | return Ok(()); | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 445 - return Ok(()); 445 + Ok(()) |
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L400
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:400:5 | 400 | / pub async fn execute_many( 401 | | &self, 402 | | querystring: String, 403 | | parameters: Option<Vec<pyo3::Py<PyAny>>>, 404 | | prepared: Option<bool>, 405 | | ) -> PSQLPyResult<()> { | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
`match` on a boolean expression: src/connection/impls.rs#L380
warning: `match` on a boolean expression --> src/connection/impls.rs:380:22 | 380 | let result = match prepared { | ______________________^ 381 | | true => { 382 | | self.query(statement.statement_query()?, &statement.params()) 383 | | .await ... | 389 | | }; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_bool = note: `-W clippy::match-bool` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::match_bool)]` help: consider using an `if`/`else` expression | 380 ~ let result = if prepared { 381 + self.query(statement.statement_query()?, &statement.params()) 382 + .await 383 + } else { 384 + self.query_typed(statement.raw_query(), &statement.params_typed()) 385 + .await 386 ~ }; |
docs for function returning `Result` missing `# Errors` section: src/connection/impls.rs#L369
warning: docs for function returning `Result` missing `# Errors` section --> src/connection/impls.rs:369:5 | 369 | / pub async fn execute( 370 | | &self, 371 | | querystring: String, 372 | | parameters: Option<pyo3::Py<PyAny>>, 373 | | prepared: Option<bool>, 374 | | ) -> PSQLPyResult<PSQLDriverPyQueryResult> { | |______________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc = note: `-W clippy::missing-errors-doc` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_errors_doc)]`
used underscore-prefixed item: src/connection/impls.rs#L221
warning: used underscore-prefixed item --> src/connection/impls.rs:221:19 | 221 | let res = self._rollback().await?; | ^^^^^^^^^^^^^^^^ | note: item is defined here --> src/connection/traits.rs:87:5 | 87 | fn _rollback(&self) -> impl std::future::Future<Output = PSQLPyResult<()>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
this let-binding has unit value: src/connection/impls.rs#L221
warning: this let-binding has unit value --> src/connection/impls.rs:221:9 | 221 | let res = self._rollback().await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value help: omit the `let` binding and replace variable usages with `()` | 221 ~ self._rollback().await?; 222 | self.in_transaction = false; 223 | 224 ~ Ok(()) |
used underscore-prefixed item: src/connection/impls.rs#L214
warning: used underscore-prefixed item --> src/connection/impls.rs:214:19 | 214 | let res = self._commit().await?; | ^^^^^^^^^^^^^^ | note: item is defined here --> src/connection/traits.rs:85:5 | 85 | fn _commit(&self) -> impl std::future::Future<Output = PSQLPyResult<()>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
this let-binding has unit value: src/connection/impls.rs#L214
warning: this let-binding has unit value --> src/connection/impls.rs:214:9 | 214 | let res = self._commit().await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value help: omit the `let` binding and replace variable usages with `()` | 214 ~ self._commit().await?; 215 | self.in_transaction = false; 216 | 217 ~ Ok(()) |
used underscore-prefixed item: src/connection/impls.rs#L207
warning: used underscore-prefixed item --> src/connection/impls.rs:207:9 | 207 | self._start_transaction(isolation_level, read_variant, deferrable) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: item is defined here --> src/connection/traits.rs:78:5 | 78 | / fn _start_transaction( 79 | | &mut self, 80 | | isolation_level: Option<IsolationLevel>, 81 | | read_variant: Option<ReadVariant>, 82 | | deferrable: Option<bool>, 83 | | ) -> impl std::future::Future<Output = PSQLPyResult<()>>; | |_____________________________________________________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
unneeded `return` statement: src/connection/impls.rs#L155
warning: unneeded `return` statement --> src/connection/impls.rs:155:9 | 155 | return Ok(prepared); | ^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 155 - return Ok(prepared); 155 + Ok(prepared) |
used underscore-prefixed item: src/connection/impls.rs#L140
warning: used underscore-prefixed item --> src/connection/impls.rs:140:19 | 140 | let res = self._rollback().await?; | ^^^^^^^^^^^^^^^^ | note: item is defined here --> src/connection/traits.rs:87:5 | 87 | fn _rollback(&self) -> impl std::future::Future<Output = PSQLPyResult<()>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
this let-binding has unit value: src/connection/impls.rs#L140
warning: this let-binding has unit value --> src/connection/impls.rs:140:9 | 140 | let res = self._rollback().await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value help: omit the `let` binding and replace variable usages with `()` | 140 ~ self._rollback().await?; 141 | self.in_transaction = false; 142 | 143 ~ Ok(()) |
used underscore-prefixed item: src/connection/impls.rs#L133
warning: used underscore-prefixed item --> src/connection/impls.rs:133:19 | 133 | let res = self._commit().await?; | ^^^^^^^^^^^^^^ | note: item is defined here --> src/connection/traits.rs:85:5 | 85 | fn _commit(&self) -> impl std::future::Future<Output = PSQLPyResult<()>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
this let-binding has unit value: src/connection/impls.rs#L133
warning: this let-binding has unit value --> src/connection/impls.rs:133:9 | 133 | let res = self._commit().await?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value help: omit the `let` binding and replace variable usages with `()` | 133 ~ self._commit().await?; 134 | self.in_transaction = false; 135 | 136 ~ Ok(()) |
used underscore-prefixed item: src/connection/impls.rs#L122
warning: used underscore-prefixed item --> src/connection/impls.rs:122:19 | 122 | let res = self | ___________________^ 123 | | ._start_transaction(isolation_level, read_variant, deferrable) | |__________________________________________________________________________^ | note: item is defined here --> src/connection/traits.rs:78:5 | 78 | / fn _start_transaction( 79 | | &mut self, 80 | | isolation_level: Option<IsolationLevel>, 81 | | read_variant: Option<ReadVariant>, 82 | | deferrable: Option<bool>, 83 | | ) -> impl std::future::Future<Output = PSQLPyResult<()>>; | |_____________________________________________________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items = note: `-W clippy::used-underscore-items` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::used_underscore_items)]`
this let-binding has unit value: src/connection/impls.rs#L122
warning: this let-binding has unit value --> src/connection/impls.rs:122:9 | 122 | / let res = self 123 | | ._start_transaction(isolation_level, read_variant, deferrable) 124 | | .await?; | |____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value = note: `-W clippy::let-unit-value` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::let_unit_value)]` help: omit the `let` binding and replace variable usages with `()` | 122 ~ self 123 + ._start_transaction(isolation_level, read_variant, deferrable) 124 + .await?; 125 | self.in_transaction = true; 126 | 127 ~ Ok(()) |
unneeded `return` statement: src/connection/impls.rs#L71
warning: unneeded `return` statement --> src/connection/impls.rs:71:9 | 71 | return Ok(prepared_stmt); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `-W clippy::needless-return` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_return)]` help: remove `return` | 71 - return Ok(prepared_stmt); 71 + Ok(prepared_stmt) |
useless conversion to the same type: `std::string::String`: src/connection/impls.rs#L38
warning: useless conversion to the same type: `std::string::String` --> src/connection/impls.rs:38:17 | 38 | format!("Cannot start transaction due to - {err}").into(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!("Cannot start transaction due to - {err}")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `-W clippy::useless-conversion` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::useless_conversion)]`
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L571
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:571:23 | 571 | Ok(result_py_dict.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L565
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:565:26 | 565 | .to_object(py), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L556
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:556:75 | 556 | postgres_bytes_to_py(py, &Type::VARCHAR, buf, false)?.to_object(py), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L550
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:550:74 | 550 | postgres_bytes_to_py(py, field.type_(), buf, false)?.to_object(py), | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`: src/value_converter/to_python.rs#L518
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new` --> src/value_converter/to_python.rs:518:53 | 518 | let result_py_dict: Bound<'_, PyDict> = PyDict::new_bound(py); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L496
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:496:48 | 496 | return Ok(real_vector.to_vec().to_object(py)); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L476
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:476:58 | 476 | Ok(postgres_array_to_py(py, interval_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L469
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:469:56 | 469 | Ok(postgres_array_to_py(py, circle_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L463
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:463:54 | 463 | Ok(postgres_array_to_py(py, lseg_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L456
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:456:54 | 456 | Ok(postgres_array_to_py(py, line_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L450
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:450:54 | 450 | Ok(postgres_array_to_py(py, path_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L443
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:443:53 | 443 | Ok(postgres_array_to_py(py, box_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L437
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:437:55 | 437 | Ok(postgres_array_to_py(py, point_array_).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L431
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:431:10 | 431 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L425
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:425:56 | 425 | Ok(postgres_array_to_py(py, db_json_array).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L420
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:420:10 | 420 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L413
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:413:53 | 413 | Ok(postgres_array_to_py(py, uuid_array).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L407
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:407:10 | 407 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L399
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:399:10 | 399 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L393
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:393:10 | 393 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L387
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:387:10 | 387 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L381
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:381:10 | 381 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L375
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:375:10 | 375 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L369
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:369:10 | 369 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L363
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:363:10 | 363 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L357
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:357:10 | 357 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L350
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:350:10 | 350 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L344
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:344:10 | 344 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L335
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:335:51 | 335 | return Ok(InnerInterval(interval).to_object(py)); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L328
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:328:38 | 328 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L327
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:327:45 | 327 | Some(circle_) => Ok(circle_.into_py(py)), | ^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L320
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:320:38 | 320 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L319
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:319:41 | 319 | Some(lseg_) => Ok(lseg_.into_py(py)), | ^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L311
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:311:38 | 311 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L310
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:310:41 | 310 | Some(line_) => Ok(line_.into_py(py)), | ^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L303
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:303:38 | 303 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L302
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:302:41 | 302 | Some(path_) => Ok(path_.into_py(py)), | ^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L294
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:294:38 | 294 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L293
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:293:39 | 293 | Some(box_) => Ok(box_.into_py(py)), | ^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L286
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:286:38 | 286 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L285
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:285:43 | 285 | Some(point_) => Ok(point_.into_py(py)), | ^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L277
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:277:26 | 277 | Ok(py.None().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L275
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:275:50 | 275 | return Ok(InnerDecimal(numeric_).to_object(py)); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L268
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:268:30 | 268 | Ok(py.None().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L266
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:266:49 | 266 | Ok(macaddr_.inner().to_string().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L259
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:259:30 | 259 | Ok(py.None().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L257
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:257:49 | 257 | Ok(macaddr_.inner().to_string().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L249
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:249:38 | 249 | None => Ok(py.None().to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L241
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:241:86 | 241 | composite_field_postgres_to_py::<Option<IpAddr>>(type_, buf, is_simple)?.to_object(py), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L234
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:234:79 | 234 | return Ok(PyString::new_bound(py, &rust_uuid.to_string()).to_object(py)) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyString::new_bound`: renamed to `PyString::new`: src/value_converter/to_python.rs#L234
warning: use of deprecated associated function `pyo3::types::PyString::new_bound`: renamed to `PyString::new` --> src/value_converter/to_python.rs:234:41 | 234 | return Ok(PyString::new_bound(py, &rust_uuid.to_string()).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L226
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:226:18 | 226 | .to_object(py), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L222
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:222:10 | 222 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L217
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:217:10 | 217 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L212
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:212:10 | 212 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L205
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:205:86 | 205 | Ok(composite_field_postgres_to_py::<Option<f64>>(type_, buf, is_simple)?.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L201
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:201:86 | 201 | Ok(composite_field_postgres_to_py::<Option<f32>>(type_, buf, is_simple)?.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L197
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:197:86 | 197 | Ok(composite_field_postgres_to_py::<Option<i64>>(type_, buf, is_simple)?.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L193
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:193:86 | 193 | Ok(composite_field_postgres_to_py::<Option<i32>>(type_, buf, is_simple)?.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L189
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:189:86 | 189 | Ok(composite_field_postgres_to_py::<Option<i16>>(type_, buf, is_simple)?.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L184
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:184:84 | 184 | composite_field_postgres_to_py::<Option<bool>>(type_, buf, is_simple)?.to_object(py), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L180
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:180:10 | 180 | .to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L171
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:171:65 | 171 | return Ok(PyBytes::new_bound(py, &vec_of_bytes).to_object(py)); | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyBytes::new_bound`: renamed to `PyBytes::new`: src/value_converter/to_python.rs#L171
warning: use of deprecated associated function `pyo3::types::PyBytes::new_bound`: renamed to `PyBytes::new` --> src/value_converter/to_python.rs:171:36 | 171 | return Ok(PyBytes::new_bound(py, &vec_of_bytes).to_object(py)); | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty`: src/value_converter/to_python.rs#L154
warning: use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty` --> src/value_converter/to_python.rs:154:13 | 154 | PyList::empty_bound(py).unbind() | ^^^^^^^^^^^
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`: src/value_converter/to_python.rs#L149
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new` --> src/value_converter/to_python.rs:149:32 | 149 | return PyList::new_bound(py, data).unbind(); | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty`: src/value_converter/to_python.rs#L130
warning: use of deprecated associated function `pyo3::types::PyList::empty_bound`: renamed to `PyList::empty` --> src/value_converter/to_python.rs:130:42 | 130 | let final_list = PyList::empty_bound(py); | ^^^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L70
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:70:44 | 70 | Value::String(string) => Ok(string.to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L67
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:67:36 | 67 | Ok(number.as_u64().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L65
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:65:36 | 65 | Ok(number.as_i64().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L63
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:63:36 | 63 | Ok(number.as_f64().to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L60
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:60:44 | 60 | Value::Bool(boolean) => Ok(boolean.to_object(py)), | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L58
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:58:24 | 58 | Ok(py_dict.to_object(py)) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`: src/value_converter/to_python.rs#L49
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new` --> src/value_converter/to_python.rs:49:35 | 49 | let py_dict = PyDict::new_bound(py); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L46
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:46:27 | 46 | Ok(result_vec.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/uuid.rs#L31
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/uuid.rs:31:37 | 31 | self.0.to_string().as_str().to_object(py) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/interval.rs#L22
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/interval.rs:22:13 | 22 | ret.to_object(py) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new`: src/value_converter/models/interval.rs#L15
warning: use of deprecated associated function `pyo3::types::PyDict::new_bound`: renamed to `PyDict::new` --> src/value_converter/models/interval.rs:15:30 | 15 | let pydict = PyDict::new_bound(py); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/decimal.rs#L15
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/decimal.rs:15:13 | 15 | ret.to_object(py) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L578
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:578:18 | 578 | PyTuple::new_bound(py, result_vec).into() | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L575
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:575:27 | 575 | self.radius().into_py(py), | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L574
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:574:72 | 574 | PyTuple::new_bound(py, vec![center.x.into_py(py), center.y.into_py(py)]).into(), | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L574
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:574:50 | 574 | PyTuple::new_bound(py, vec![center.x.into_py(py), center.y.into_py(py)]).into(), | ^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L574
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:574:22 | 574 | PyTuple::new_bound(py, vec![center.x.into_py(py), center.y.into_py(py)]).into(), | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L459
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:459:18 | 459 | PyTuple::new_bound(py, result_vec).into() | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L456
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:456:22 | 456 | self.c().into_py(py), | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L455
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:455:22 | 455 | self.b().into_py(py), | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L454
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:454:22 | 454 | self.a().into_py(py), | ^^^^^^^
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`: src/value_converter/additional_types.rs#L277
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new` --> src/value_converter/additional_types.rs:277:17 | 277 | PyList::new_bound(py, result_vec).into() | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L272
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:272:84 | 272 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)]) | ^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L272
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:272:26 | 272 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)]) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new`: src/value_converter/additional_types.rs#L229
warning: use of deprecated associated function `pyo3::types::PyList::new_bound`: renamed to `PyList::new` --> src/value_converter/additional_types.rs:229:17 | 229 | PyList::new_bound(py, result_vec).into() | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L227
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:227:29 | 227 | return PyTuple::new_bound(py, result_vec).into(); | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L221
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:221:84 | 221 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)]) | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L221
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:221:58 | 221 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)]) | ^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L221
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:221:26 | 221 | PyTuple::new_bound(py, vec![coordinate.x.into_py(py), coordinate.y.into_py(py)]) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L178
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:178:18 | 178 | PyTuple::new_bound(py, result_vec).into() | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L173
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:173:73 | 173 | vec![one_coordinate.x.into_py(py), one_coordinate.y.into_py(py)], | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L173
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:173:43 | 173 | vec![one_coordinate.x.into_py(py), one_coordinate.y.into_py(py)], | ^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L171
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:171:26 | 171 | PyTuple::new_bound( | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L125
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:125:63 | 125 | vec![inner_value.x().into_py(py), inner_value.y().into_py(py)], | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L125
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:125:34 | 125 | vec![inner_value.x().into_py(py), inner_value.y().into_py(py)], | ^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/value_converter/additional_types.rs#L123
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/value_converter/additional_types.rs:123:18 | 123 | PyTuple::new_bound( | ^^^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L115
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:115:14 | 115 | self.into_py(py) | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L109
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:109:14 | 109 | self.into_py(py) | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L103
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:103:14 | 103 | self.into_py(py) | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L97
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:97:14 | 97 | self.into_py(py) | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L91
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:91:14 | 91 | self.into_py(py) | ^^^^^^^
use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L85
warning: use of deprecated method `pyo3::IntoPy::into_py`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:85:14 | 85 | self.into_py(py) | ^^^^^^^
use of deprecated method `pyo3::Py::<T>::call_bound`: renamed to `Py::call`: src/row_factories.rs#L38
warning: use of deprecated method `pyo3::Py::<T>::call_bound`: renamed to `Py::call` --> src/row_factories.rs:38:19 | 38 | Ok(self.0.call_bound(py, (), Some(dict_))?) | ^^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/row_factories.rs#L17
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/row_factories.rs:17:46 | 17 | Ok(PyTuple::new_bound(py, dict_.items()).to_object(py)) | ^^^^^^^^^
use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new`: src/row_factories.rs#L17
warning: use of deprecated associated function `pyo3::types::PyTuple::new_bound`: renamed to `PyTuple::new` --> src/row_factories.rs:17:17 | 17 | Ok(PyTuple::new_bound(py, dict_.items()).to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L182
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:182:70 | 182 | let pydict = row_to_dict(py, &self.inner, &custom_decoders)?.to_object(py); | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L152
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:152:60 | 152 | Ok(row_to_dict(py, &self.inner, &custom_decoders)?.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L111
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:111:16 | 111 | Ok(res.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L88
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:88:16 | 88 | Ok(res.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L70
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:70:19 | 70 | Ok(result.to_object(py)) | ^^^^^^^^^
use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L22
warning: use of deprecated method `pyo3::ToPyObject::to_object`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:22:44 | 22 | python_dict.set_item(column.name().to_object(py), python_type)?; | ^^^^^^^^^
use of deprecated method `pyo3::types::PyAnyMethods::iter`: use `try_iter` instead: src/driver/transaction.rs#L343
warning: use of deprecated method `pyo3::types::PyAnyMethods::iter`: use `try_iter` instead --> src/driver/transaction.rs:343:65 | 343 | for single_query in queries.into_bound(gil).iter() { | ^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L122
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:122:8 | 122 | T: ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L97
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:97:28 | 97 | fn postgres_array_to_py<T: ToPyObject>( | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L16
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:16:39 | 16 | Bound, IntoPy, Py, PyAny, Python, ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/to_python.rs#L16
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/to_python.rs:16:12 | 16 | Bound, IntoPy, Py, PyAny, Python, ToPyObject, | ^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/uuid.rs#L29
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/uuid.rs:29:6 | 29 | impl ToPyObject for InternalUuid { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/uuid.rs#L5
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/uuid.rs:5:82 | 5 | types::PyAnyMethods, Bound, FromPyObject, PyAny, PyObject, PyResult, Python, ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/serde_value.rs#L34
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/serde_value.rs:34:6 | 34 | impl ToPyObject for InternalSerdeValue { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/serde_value.rs#L7
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/serde_value.rs:7:65 | 7 | Bound, FromPyObject, Py, PyAny, PyObject, PyResult, Python, ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/interval.rs#L12
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/interval.rs:12:6 | 12 | impl ToPyObject for InnerInterval { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/interval.rs#L5
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/interval.rs:5:23 | 5 | PyObject, Python, ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/decimal.rs#L9
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/decimal.rs:9:6 | 9 | impl ToPyObject for InnerDecimal { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/models/decimal.rs#L2
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/models/decimal.rs:2:79 | 2 | use pyo3::{types::PyAnyMethods, Bound, IntoPyObject, PyAny, PyObject, Python, ToPyObject}; | ^^^^^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L568
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:568:6 | 568 | impl IntoPy<PyObject> for &Circle { | ^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L450
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:450:6 | 450 | impl IntoPy<PyObject> for &Line { | ^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L264
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:264:6 | 264 | impl IntoPy<PyObject> for &RustLineSegment { | ^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L213
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:213:6 | 213 | impl IntoPy<PyObject> for &RustLineString { | ^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L162
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:162:6 | 162 | impl IntoPy<PyObject> for &RustRect { | ^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L119
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:119:6 | 119 | impl IntoPy<PyObject> for &RustPoint { | ^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L113
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:113:6 | 113 | impl ToPyObject for Circle { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L107
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:107:6 | 107 | impl ToPyObject for Line { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L101
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:101:6 | 101 | impl ToPyObject for RustLineSegment { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L95
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:95:6 | 95 | impl ToPyObject for RustLineString { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L89
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:89:6 | 89 | impl ToPyObject for RustRect { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L83
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:83:6 | 83 | impl ToPyObject for RustPoint { | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L11
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:11:42 | 11 | IntoPy, Py, PyAny, PyObject, Python, ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/value_converter/additional_types.rs#L11
warning: use of deprecated trait `pyo3::IntoPy`: `IntoPy` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/value_converter/additional_types.rs:11:5 | 11 | IntoPy, Py, PyAny, PyObject, Python, ToPyObject, | ^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/row_factories.rs#L4
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/row_factories.rs:4:58 | 4 | wrap_pyfunction, Bound, Py, PyAny, PyResult, Python, ToPyObject, | ^^^^^^^^^^
use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information.: src/query_result.rs#L1
warning: use of deprecated trait `pyo3::ToPyObject`: `ToPyObject` is going to be replaced by `IntoPyObject`. See the migration guide (https://pyo3.rs/v0.23.0/migration) for more information. --> src/query_result.rs:1:78 | 1 | use pyo3::{prelude::*, pyclass, pymethods, types::PyDict, Py, PyAny, Python, ToPyObject}; | ^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default
unused imports: `PySet` and `PyTuple`: src/value_converter/to_python.rs#L13
warning: unused imports: `PySet` and `PyTuple` --> src/value_converter/to_python.rs:13:78 | 13 | PyAnyMethods, PyBytes, PyDict, PyDictMethods, PyList, PyListMethods, PySet, PyString, | ^^^^^ 14 | PyTuple, | ^^^^^^^
redundant else block: src/value_converter/models/serde_value.rs#L114
warning: redundant else block --> src/value_converter/models/serde_value.rs:114:10 | 114 | } else { | __________^ 115 | | return Err(RustPSQLDriverError::PyToRustValueConversionError( 116 | | "PyJSON must be dict value.".to_string(), 117 | | )); 118 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_else = note: `-W clippy::redundant-else` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::redundant_else)]` help: remove the `else` block and move the contents out | 114 ~ } 115 + return Err(RustPSQLDriverError::PyToRustValueConversionError( 116 + "PyJSON must be dict value.".to_string(), 117 + )); |
unused imports: `Bound`, `IntoPyObject`, and `PyAny`: src/value_converter/models/decimal.rs#L2
warning: unused imports: `Bound`, `IntoPyObject`, and `PyAny` --> src/value_converter/models/decimal.rs:2:33 | 2 | use pyo3::{types::PyAnyMethods, Bound, IntoPyObject, PyAny, PyObject, Python, ToPyObject}; | ^^^^^ ^^^^^^^^^^^^ ^^^^^
unneeded `()`: src/statement/query.rs#L45
warning: unneeded `()` --> src/statement/query.rs:45:20 | 45 | return (); | ^^ help: remove the `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit = note: `-W clippy::unused-unit` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::unused_unit)]`
redundant field names in struct initialization: src/statement/parameters.rs#L193
warning: redundant field names in struct initialization --> src/statement/parameters.rs:193:13 | 193 | seq_parameters: seq_parameters, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `seq_parameters` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: src/driver/connection_pool.rs#L241
warning: redundant field names in struct initialization --> src/driver/connection_pool.rs:241:13 | 241 | pool: pool, | ^^^^^^^^^^ help: replace it with: `pool` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `-W clippy::redundant-field-names` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::redundant_field_names)]`
unused import: `driver::portal::Portal`: src/connection/impls.rs#L8
warning: unused import: `driver::portal::Portal` --> src/connection/impls.rs:8:5 | 8 | driver::portal::Portal, | ^^^^^^^^^^^^^^^^^^^^^^
unused imports: `Arc` and `RwLock`: src/connection/impls.rs#L1
warning: unused imports: `Arc` and `RwLock` --> src/connection/impls.rs:1:17 | 1 | use std::sync::{Arc, RwLock}; | ^^^ ^^^^^^ | = note: `#[warn(unused_imports)]` on 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/
ubuntu-latest-3.9-15
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/
ubuntu-latest-3.9-15
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/
ubuntu-latest-3.9-15
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/
ubuntu-latest-3.9-15
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/
ubuntu-latest-3.13-16
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/
ubuntu-latest-3.13-16
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/
ubuntu-latest-3.13-16
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/
ubuntu-latest-3.13-16
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/
ubuntu-latest-3.10-15
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/
ubuntu-latest-3.10-15
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/
ubuntu-latest-3.10-15
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/
ubuntu-latest-3.10-15
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/
ubuntu-latest-3.10-14
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/
ubuntu-latest-3.10-14
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/
ubuntu-latest-3.10-14
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/
ubuntu-latest-3.10-14
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/
ubuntu-latest-3.13-17
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/
ubuntu-latest-3.13-17
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/
ubuntu-latest-3.13-17
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/
ubuntu-latest-3.13-17
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/
ubuntu-latest-3.13-15
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/
ubuntu-latest-3.13-15
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/
ubuntu-latest-3.13-15
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/
ubuntu-latest-3.13-15
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/
ubuntu-latest-3.13-14
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/
ubuntu-latest-3.13-14
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/
ubuntu-latest-3.9-16
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/
ubuntu-latest-3.13-14
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/
ubuntu-latest-3.9-16
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/
ubuntu-latest-3.13-14
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/
ubuntu-latest-3.9-16
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/
ubuntu-latest-3.9-16
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/
ubuntu-latest-3.9-17
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/
ubuntu-latest-3.9-17
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/
ubuntu-latest-3.9-17
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/
ubuntu-latest-3.9-17
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/
ubuntu-latest-3.9-14
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/
ubuntu-latest-3.9-14
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/
ubuntu-latest-3.9-14
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/
ubuntu-latest-3.9-14
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/
ubuntu-latest-3.10-17
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/
ubuntu-latest-3.10-17
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/
ubuntu-latest-3.10-17
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/
ubuntu-latest-3.10-17
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/
ubuntu-latest-3.12-14
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/
ubuntu-latest-3.12-14
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/
ubuntu-latest-3.12-14
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/
ubuntu-latest-3.12-14
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/
ubuntu-latest-3.12-16
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/
ubuntu-latest-3.12-16
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/
ubuntu-latest-3.12-16
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/
ubuntu-latest-3.12-16
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/
ubuntu-latest-3.10-16
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/
ubuntu-latest-3.10-16
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/
ubuntu-latest-3.10-16
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/
ubuntu-latest-3.10-16
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/
ubuntu-latest-3.11-17
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/
ubuntu-latest-3.11-17
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/
ubuntu-latest-3.11-17
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/
ubuntu-latest-3.11-17
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/
ubuntu-latest-3.11-15
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/
ubuntu-latest-3.11-15
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/
ubuntu-latest-3.11-15
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/
ubuntu-latest-3.11-15
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/
ubuntu-latest-3.12-17
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/
ubuntu-latest-3.12-17
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/
ubuntu-latest-3.12-17
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/
ubuntu-latest-3.12-17
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/
ubuntu-latest-3.11-14
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/
ubuntu-latest-3.11-14
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/
ubuntu-latest-3.11-14
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/
ubuntu-latest-3.11-14
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/
ubuntu-latest-3.12-15
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/
ubuntu-latest-3.12-15
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/
ubuntu-latest-3.12-15
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/
ubuntu-latest-3.12-15
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/
ubuntu-latest-3.11-16
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/
ubuntu-latest-3.11-16
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/
ubuntu-latest-3.11-16
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/
ubuntu-latest-3.11-16
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/