[pre-commit.ci] pre-commit autoupdate #236
clippy
79 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 79 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check failure on line 796 in src/driver/transaction.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:796:27
|
796 | pub async fn pipeline<'py>(
| ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 227 in src/driver/transaction.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:227:24
|
227 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 172 in src/driver/transaction.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/transaction.rs:172:25
|
172 | async fn __aenter__<'a>(self_: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 587 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:587:37
|
587 | pub async fn fetch_backward_all<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 553 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:553:33
|
553 | pub async fn fetch_backward<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 520 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:520:36
|
520 | pub async fn fetch_forward_all<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 486 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:486:33
|
486 | pub async fn fetch_relative<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 452 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:452:33
|
452 | pub async fn fetch_absolute<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 425 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:425:29
|
425 | pub async fn fetch_last<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 398 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:398:30
|
398 | pub async fn fetch_first<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 371 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:371:30
|
371 | pub async fn fetch_prior<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 344 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:344:29
|
344 | pub async fn fetch_next<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<PSQLDriverPyQueryResult> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 300 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:300:24
|
300 | pub async fn fetch<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 167 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:167:24
|
167 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 139 in src/driver/cursor.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/cursor.rs:139:25
|
139 | async fn __aenter__<'a>(slf: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 427 in src/driver/connection_pool.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/connection_pool.rs:427:24
|
427 | pub async fn fetch<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 358 in src/driver/connection_pool.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/connection_pool.rs:358:26
|
358 | pub async fn execute<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 519 in src/driver/connection.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/connection.rs:519:28
|
519 | pub async fn fetch_val<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 291 in src/driver/connection.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/connection.rs:291:31
|
291 | pub async fn execute_many<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 157 in src/driver/connection.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/connection.rs:157:24
|
157 | async fn __aexit__<'a>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
Check failure on line 130 in src/driver/connection.rs
github-actions / clippy
this lifetime isn't used in the function definition
error: this lifetime isn't used in the function definition
--> src/driver/connection.rs:130:25
|
130 | async fn __aenter__<'a>(self_: Py<Self>) -> RustPSQLDriverPyResult<Py<Self>> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::extra_unused_lifetimes)]`
github-actions / clippy
unexpected `cfg` condition value: `gil-refs`
error: unexpected `cfg` condition value: `gil-refs`
--> src/exceptions/python_errors.rs:132:1
|
132 | create_exception!(psqlpy.exceptions, SSLError, RustPSQLDriverPyBaseError);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: no expected values for `feature`
= help: consider adding `gil-refs` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this error originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
unexpected `cfg` condition value: `gil-refs`
error: unexpected `cfg` condition value: `gil-refs`
--> src/exceptions/python_errors.rs:132:1
|
132 | create_exception!(psqlpy.exceptions, SSLError, RustPSQLDriverPyBaseError);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: no expected values for `feature`
= help: consider adding `gil-refs` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this error originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
unexpected `cfg` condition value: `gil-refs`
error: unexpected `cfg` condition value: `gil-refs`
--> src/exceptions/python_errors.rs:126:1
|
126 | / create_exception!(
127 | | psqlpy.exceptions,
128 | | MacAddrConversionError,
129 | | RustPSQLDriverPyBaseError
130 | | );
| |_^
|
= note: no expected values for `feature`
= help: consider adding `gil-refs` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this error originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
unexpected `cfg` condition value: `gil-refs`
error: unexpected `cfg` condition value: `gil-refs`
--> src/exceptions/python_errors.rs:126:1
|
126 | / create_exception!(
127 | | psqlpy.exceptions,
128 | | MacAddrConversionError,
129 | | RustPSQLDriverPyBaseError
130 | | );
| |_^
|
= note: no expected values for `feature`
= help: consider adding `gil-refs` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this error originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info)