[pre-commit.ci] pre-commit autoupdate #294
test.yaml
on: pull_request
fmt
5s
clippy
1m 50s
Matrix: pytest
Annotations
4 errors and 379 warnings
ubuntu-latest-3.13-14
The operation was canceled.
|
ubuntu-latest-3.13-14
The job has exceeded the maximum execution time of 6h0m0s
|
ubuntu-latest-3.10-15
The operation was canceled.
|
ubuntu-latest-3.10-15
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/
|
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#L103
warning: unused `async` for function with no await statements
--> src/statement/statement_builder.rs:103:5
|
103 | / async fn write_to_cache(
104 | | &self,
105 | | mut cache_guard: RwLockWriteGuard<'_, StatementsCache>,
106 | | query: &QueryString,
... |
109 | | cache_guard.add_cache(query, inner_stmt);
110 | | }
| |_____^
|
= 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#L238
warning: unused `async` for function with no await statements
--> src/driver/listener/core.rs:238:5
|
238 | / async fn shutdown(&mut self) {
239 | | self.abort_listen();
240 | | std::mem::take(&mut self.connection);
241 | | std::mem::take(&mut self.receiver);
242 | |
243 | | self.is_started = false;
244 | | }
| |_____^
|
= 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)]`
|
`match` on a boolean expression:
src/statement/statement_builder.rs#L87
warning: `match` on a boolean expression
--> src/statement/statement_builder.rs:87:9
|
87 | / match self.prepared {
88 | | true => {
89 | | return Ok(PsqlpyStatement::new(
90 | | querystring,
... |
100 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_bool
help: consider using an `if`/`else` expression
|
87 ~ if self.prepared {
88 + return Ok(PsqlpyStatement::new(
89 + querystring,
90 + prepared_parameters,
91 + Some(prepared_stmt),
92 + ))
93 + } else {
94 + self.write_to_cache(cache_guard, &querystring, &prepared_stmt)
95 + .await;
96 + return Ok(PsqlpyStatement::new(querystring, prepared_parameters, None));
97 + }
|
|
manual implementation of `Option::map`:
src/statement/statement_builder.rs#L79
warning: manual implementation of `Option::map`
--> src/statement/statement_builder.rs:79:32
|
79 | let parameters_names = if let Some(converted_qs) = &querystring.converted_qs {
| ________________________________^
80 | | Some(converted_qs.params_names().clone())
81 | | } else {
82 | | None
83 | | };
| |_________^ 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#L98
warning: unneeded `return` statement
--> src/statement/statement_builder.rs:98:17
|
98 | 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`
|
98 - return Ok(PsqlpyStatement::new(querystring, prepared_parameters, None));
98 + Ok(PsqlpyStatement::new(querystring, prepared_parameters, None))
|
|
unneeded `return` statement:
src/statement/statement_builder.rs#L89
warning: unneeded `return` statement
--> src/statement/statement_builder.rs:89:17
|
89 | / return Ok(PsqlpyStatement::new(
90 | | querystring,
91 | | prepared_parameters,
92 | | Some(prepared_stmt),
93 | | ))
| |__________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
89 ~ Ok(PsqlpyStatement::new(
90 + querystring,
91 + prepared_parameters,
92 + Some(prepared_stmt),
93 + ))
|
|
manual implementation of `Option::map`:
src/statement/statement_builder.rs#L53
warning: manual implementation of `Option::map`
--> src/statement/statement_builder.rs:53:32
|
53 | let parameters_names = if let Some(converted_qs) = &cached.query.converted_qs {
| ________________________________^
54 | | Some(converted_qs.params_names().clone())
55 | | } else {
56 | | None
57 | | };
| |_________^ 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#L61
warning: unneeded `return` statement
--> src/statement/statement_builder.rs:61:9
|
61 | / return Ok(PsqlpyStatement::new(
62 | | cached.query,
63 | | prepared_parameters,
64 | | None,
65 | | ));
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
61 ~ Ok(PsqlpyStatement::new(
62 + cached.query,
63 + prepared_parameters,
64 + None,
65 ~ ))
|
|
docs for function returning `Result` missing `# Errors` section:
src/statement/statement_builder.rs#L36
warning: docs for function returning `Result` missing `# Errors` section
--> src/statement/statement_builder.rs:36:5
|
36 | 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#L22
warning: this method could have a `#[must_use]` attribute
--> src/statement/statement_builder.rs:22:5
|
22 | / pub fn new(
23 | | querystring: String,
24 | | parameters: Option<PyObject>,
25 | | inner_conn: &'a PsqlpyConnection,
26 | | prepared: Option<bool>,
27 | | ) -> Self {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
help: add the attribute
|
22 ~ #[must_use] pub fn new(
23 + querystring: String,
24 + parameters: Option<PyObject>,
25 + inner_conn: &'a PsqlpyConnection,
26 + prepared: Option<bool>,
27 ~ ) -> Self {
|
|
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_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#L39
warning: this method could have a `#[must_use]` attribute
--> src/statement/statement.rs:39:5
|
39 | 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#L35
warning: unneeded `return` statement
--> src/statement/statement.rs:35:21
|
35 | None => return Err(RustPSQLDriverError::ConnectionExecuteError("No".into())),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
35 - None => return Err(RustPSQLDriverError::ConnectionExecuteError("No".into())),
35 + None => Err(RustPSQLDriverError::ConnectionExecuteError("No".into())),
|
|
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#L248
warning: this method could have a `#[must_use]` attribute
--> src/statement/parameters.rs:248:5
|
248 | 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#L239
warning: this method could have a `#[must_use]` attribute
--> src/statement/parameters.rs:239:5
|
239 | 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#L235
warning: this method could have a `#[must_use]` attribute
--> src/statement/parameters.rs:235:5
|
235 | 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#L211
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/statement/parameters.rs:211:78
|
211 | .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
|
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
= 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
|
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
= note: `-W clippy::useless-conversion` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::useless_conversion)]`
|
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
|
63 ~ prepared_parameters = Some(
64 + MappingParametersBuilder::new(mapping, self.types)
65 + .prepare(gil, parameters_names)?,
66 + );
|
|
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: `-W clippy::must-use-candidate` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::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#L755
warning: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:755:27
|
755 | pub async fn pipeline<'py>(
| ^^^
|
= 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/transaction.rs#L300
warning: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:300:24
|
300 | 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/transaction.rs#L245
warning: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:245:25
|
245 | 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
|
unneeded `return` statement:
src/driver/transaction.rs#L233
warning: unneeded `return` statement
--> src/driver/transaction.rs:233:9
|
233 | return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
233 - return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
233 + self.pg_config.get_ports().iter().collect::<Vec<&u16>>()
|
|
unnecessary semicolon:
src/driver/transaction.rs#L50
warning: unnecessary semicolon
--> src/driver/transaction.rs:50:10
|
50 | };
| ^ help: remove
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
|
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#L102
warning: this lifetime isn't used in the function definition
--> src/driver/listener/core.rs:102:24
|
102 | 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#L97
warning: this lifetime isn't used in the function definition
--> src/driver/listener/core.rs:97:25
|
97 | 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#L46
warning: this argument is passed by value, but not consumed in the function body
--> src/driver/listener/core.rs:46:20
|
46 | pg_config: Arc<Config>,
| ^^^^^^^^^^^ help: consider taking a reference instead: `&Arc<Config>`
|
= 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)]`
|
unneeded `return` statement:
src/driver/inner_connection.rs#L318
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:318:9
|
318 | / return Python::with_gil(|gil| match result.columns().first() {
319 | | Some(first_column) => postgres_to_py(gil, &result, first_column, 0, &None),
320 | | None => Ok(gil.None()),
321 | | });
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
318 ~ Python::with_gil(|gil| match result.columns().first() {
319 + Some(first_column) => postgres_to_py(gil, &result, first_column, 0, &None),
320 + None => Ok(gil.None()),
321 ~ })
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L308
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:308:5
|
308 | / pub async fn fetch_val(
309 | | &self,
310 | | querystring: String,
311 | | parameters: Option<pyo3::Py<PyAny>>,
312 | | prepared: Option<bool>,
313 | | ) -> PSQLPyResult<Py<PyAny>> {
| |________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
unneeded `return` statement:
src/driver/inner_connection.rs#L305
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:305:9
|
305 | 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`
|
305 - return Ok(PSQLDriverSinglePyQueryResult::new(result));
305 + Ok(PSQLDriverSinglePyQueryResult::new(result))
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L295
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:295:5
|
295 | / pub async fn fetch_row(
296 | | &self,
297 | | querystring: String,
298 | | parameters: Option<pyo3::Py<PyAny>>,
299 | | prepared: Option<bool>,
300 | | ) -> 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/driver/inner_connection.rs#L275
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/driver/inner_connection.rs:275:30
|
275 | .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/driver/inner_connection.rs#L292
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:292:9
|
292 | return Ok(result);
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
292 - return Ok(result);
292 + Ok(result)
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L260
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:260:5
|
260 | / pub async fn fetch_row_raw(
261 | | &self,
262 | | querystring: String,
263 | | parameters: Option<pyo3::Py<PyAny>>,
264 | | prepared: Option<bool>,
265 | | ) -> 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/driver/inner_connection.rs#L242
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/driver/inner_connection.rs:242:35
|
242 | &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/driver/inner_connection.rs#L235
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/driver/inner_connection.rs:235:51
|
235 | 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
|
unneeded `return` statement:
src/driver/inner_connection.rs#L257
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:257:9
|
257 | return Ok(());
| ^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
257 - return Ok(());
257 + Ok(())
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L212
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:212:5
|
212 | / pub async fn execute_many(
213 | | &self,
214 | | querystring: String,
215 | | parameters: Option<Vec<Py<PyAny>>>,
216 | | prepared: Option<bool>,
217 | | ) -> 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/driver/inner_connection.rs#L194
warning: `match` on a boolean expression
--> src/driver/inner_connection.rs:194:22
|
194 | let result = match prepared {
| ______________________^
195 | | true => self
196 | | .query(statement.statement_query()?, &statement.params())
197 | | .await
... |
206 | | .map_err(|err| RustPSQLDriverError::ConnectionExecuteError(format!("{err}")))?,
207 | | };
| |_________^
|
= 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
|
194 ~ let result = if prepared { self
195 + .query(statement.statement_query()?, &statement.params())
196 + .await
197 + .map_err(|err| {
198 + RustPSQLDriverError::ConnectionExecuteError(format!(
199 + "Cannot prepare statement, error - {err}"
200 + ))
201 + })? } else { self
202 + .query_typed(statement.raw_query(), &statement.params_typed())
203 + .await
204 ~ .map_err(|err| RustPSQLDriverError::ConnectionExecuteError(format!("{err}")))? };
|
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L182
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:182:5
|
182 | / pub async fn execute(
183 | | &self,
184 | | querystring: String,
185 | | parameters: Option<pyo3::Py<PyAny>>,
186 | | prepared: Option<bool>,
187 | | ) -> 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/inner_connection.rs#L162
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/driver/inner_connection.rs:162:30
|
162 | .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
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
|
docs for function returning `Result` missing `# Errors` section:
src/driver/inner_connection.rs#L147
warning: docs for function returning `Result` missing `# Errors` section
--> src/driver/inner_connection.rs:147:5
|
147 | / pub async fn cursor_execute(
148 | | &self,
149 | | querystring: String,
150 | | parameters: Option<pyo3::Py<PyAny>>,
151 | | prepared: Option<bool>,
152 | | ) -> 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)]`
|
returning the result of a `let` binding from a block:
src/driver/inner_connection.rs#L50
warning: returning the result of a `let` binding from a block
--> src/driver/inner_connection.rs:50:17
|
49 | let res = Ok(pconn.batch_execute(&deallocate_query).await?);
| ------------------------------------------------------------ unnecessary `let` binding
50 | res
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `-W clippy::let-and-return` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::let_and_return)]`
help: return the expression directly
|
49 ~
50 ~ Ok(pconn.batch_execute(&deallocate_query).await?)
|
|
unneeded `return` statement:
src/driver/inner_connection.rs#L34
warning: unneeded `return` statement
--> src/driver/inner_connection.rs:34:21
|
34 | return Ok(prepared);
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
34 - return Ok(prepared);
34 + Ok(prepared)
|
|
this lifetime isn't used in the function definition:
src/driver/cursor.rs#L681
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:681:37
|
681 | pub async fn fetch_backward_all<'a>(slf: Py<Self>) -> PSQLPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= 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#L647
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:647:33
|
647 | pub async fn fetch_backward<'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#L616
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:616:36
|
616 | pub async fn fetch_forward_all<'a>(slf: Py<Self>) -> PSQLPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= 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#L582
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:582:33
|
582 | pub async fn fetch_relative<'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#L548
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:548:33
|
548 | pub async fn fetch_absolute<'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#L521
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:521:29
|
521 | pub async fn fetch_last<'a>(slf: Py<Self>) -> PSQLPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= 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#L494
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:494:30
|
494 | pub async fn fetch_first<'a>(slf: Py<Self>) -> PSQLPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= 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#L467
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:467:30
|
467 | pub async fn fetch_prior<'a>(slf: Py<Self>) -> PSQLPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= 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#L440
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:440:29
|
440 | pub async fn fetch_next<'a>(slf: Py<Self>) -> PSQLPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= 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#L396
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:396:24
|
396 | pub async fn fetch<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
unnecessary semicolon:
src/driver/cursor.rs#L330
warning: unnecessary semicolon
--> src/driver/cursor.rs:330:22
|
330 | };
| ^ 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#L263
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:263:24
|
263 | 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#L235
warning: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:235:25
|
235 | 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#L223
warning: using `clone` on type `Option<bool>` which implements the `Copy` trait
--> src/driver/cursor.rs:223:16
|
223 | 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#L223
warning: unneeded `return` statement
--> src/driver/cursor.rs:223:9
|
223 | return self.prepared.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
223 - return self.prepared.clone();
223 + self.prepared.clone()
|
|
unneeded `return` statement:
src/driver/cursor.rs#L218
warning: unneeded `return` statement
--> src/driver/cursor.rs:218:9
|
218 | return self.parameters.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
218 - return self.parameters.clone();
218 + self.parameters.clone()
|
|
unneeded `return` statement:
src/driver/cursor.rs#L213
warning: unneeded `return` statement
--> src/driver/cursor.rs:213:9
|
213 | return self.querystring.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
213 - return self.querystring.clone();
213 + self.querystring.clone()
|
|
unneeded `return` statement:
src/driver/cursor.rs#L208
warning: unneeded `return` statement
--> src/driver/cursor.rs:208:9
|
208 | 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`
|
208 - return self.cursor_name.clone();
208 + self.cursor_name.clone()
|
|
unneeded `return` statement:
src/driver/cursor.rs#L203
warning: unneeded `return` statement
--> src/driver/cursor.rs:203:9
|
203 | return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
203 - return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
203 + self.pg_config.get_ports().iter().collect::<Vec<&u16>>()
|
|
this function has too many arguments (8/7):
src/driver/cursor.rs#L107
warning: this function has too many arguments (8/7)
--> src/driver/cursor.rs:107:5
|
107 | / pub fn new(
108 | | db_transaction: Arc<PsqlpyConnection>,
109 | | pg_config: Arc<Config>,
110 | | querystring: String,
... |
115 | | prepared: Option<bool>,
116 | | ) -> Self {
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-W clippy::too-many-arguments` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::too_many_arguments)]`
|
unnecessary semicolon:
src/driver/connection_pool_builder.rs#L53
warning: unnecessary semicolon
--> src/driver/connection_pool_builder.rs:53:10
|
53 | };
| ^ 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 lifetime isn't used in the function definition:
src/driver/connection.rs#L343
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:343:28
|
343 | 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#L260
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:260:31
|
260 | 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#L175
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:175:24
|
175 | 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#L143
warning: this lifetime isn't used in the function definition
--> src/driver/connection.rs:143:25
|
143 | 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)]`
|
unneeded `return` statement:
src/driver/connection.rs#L140
warning: unneeded `return` statement
--> src/driver/connection.rs:140:9
|
140 | return self.pg_config.get_options();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
140 - return self.pg_config.get_options();
140 + self.pg_config.get_options()
|
|
unneeded `return` statement:
src/driver/connection.rs#L135
warning: unneeded `return` statement
--> src/driver/connection.rs:135:9
|
135 | return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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`
|
135 - return self.pg_config.get_ports().iter().collect::<Vec<&u16>>();
135 + self.pg_config.get_ports().iter().collect::<Vec<&u16>>()
|
|
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 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:58
|
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 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
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};
| ^^^^^ ^^^^^^^^^^^^ ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
this `continue` expression is redundant:
src/value_converter/from_python.rs#L584
warning: this `continue` expression is redundant
--> src/value_converter/from_python.rs:584:13
|
584 | continue;
| ^^^^^^^^
|
= help: consider dropping the `continue` expression
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue
= note: `-W clippy::needless-continue` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_continue)]`
|
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 else block:
src/driver/inner_connection.rs#L31
warning: redundant else block
--> src/driver/inner_connection.rs:31:18
|
31 | } else {
| __________________^
32 | | let prepared = pconn.prepare(query).await?;
33 | | self.drop_prepared(&prepared).await?;
34 | | return Ok(prepared);
35 | | }
| |_________________^
|
= 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
|
31 ~ }
32 + let prepared = pconn.prepare(query).await?;
33 + self.drop_prepared(&prepared).await?;
34 + return Ok(prepared);
|
|
redundant field names in struct initialization:
src/driver/connection_pool.rs#L236
warning: redundant field names in struct initialization
--> src/driver/connection_pool.rs:236:13
|
236 | 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)]`
|
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.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.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/
|
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.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.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-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.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.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-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.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.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.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.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.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.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.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-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-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.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.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.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/
|