Add a way to safely wrap an object that implements AsRawXCBConnection with XCBConnection #1550
Triggered via pull request
November 17, 2024 18:38
Status
Success
Total duration
12m 21s
Artifacts
–
CI.yml
on: pull_request
code_gen
15s
clippy
2m 7s
clippy-rustfmt
2m 20s
msrv-check
4m 21s
non-amd64-test
4m 17s
non-linux-unix-test
53s
windows-stable
4m 19s
Matrix: build
Annotations
10 warnings
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy:
x11rb-async/src/connection.rs#L70
[clippy] reported by reviewdog 🐶
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:70:30
|
67 | fn send_trait_request_with_reply<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
70 | ) -> Fut<'future, Cookie<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
</code></pre>
Raw Output:
x11rb-async/src/connection.rs:70:30:w:
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:70:30
|
67 | fn send_trait_request_with_reply<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
70 | ) -> Fut<'future, Cookie<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
</code></pre>
__END__
|
clippy:
x11rb-async/src/connection.rs#L134
[clippy] reported by reviewdog 🐶
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:134:37
|
131 | fn send_trait_request_with_reply_with_fds<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
134 | ) -> Fut<'future, CookieWithFds<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
</code></pre>
Raw Output:
x11rb-async/src/connection.rs:134:37:w:
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:134:37
|
131 | fn send_trait_request_with_reply_with_fds<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
134 | ) -> Fut<'future, CookieWithFds<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
</code></pre>
__END__
|
clippy:
x11rb-async/src/connection.rs#L70
[clippy] reported by reviewdog 🐶
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:70:30
|
67 | fn send_trait_request_with_reply<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
70 | ) -> Fut<'future, Cookie<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
</code></pre>
Raw Output:
x11rb-async/src/connection.rs:70:30:w:
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:70:30
|
67 | fn send_trait_request_with_reply<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
70 | ) -> Fut<'future, Cookie<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
</code></pre>
__END__
|
clippy:
x11rb-async/src/connection.rs#L134
[clippy] reported by reviewdog 🐶
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:134:37
|
131 | fn send_trait_request_with_reply_with_fds<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
134 | ) -> Fut<'future, CookieWithFds<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
</code></pre>
Raw Output:
x11rb-async/src/connection.rs:134:37:w:
<pre><code>warning: elided lifetime has a name
--> x11rb-async/src/connection.rs:134:37
|
131 | fn send_trait_request_with_reply_with_fds<'this, 'req, 'future, R>(
| ----- lifetime `'this` declared here
...
134 | ) -> Fut<'future, CookieWithFds<'_, Self, R::Reply>, ConnectionError>
| ^^ this elided lifetime gets resolved as `'this`
</code></pre>
__END__
|
clippy:
x11rb-async/src/cookie.rs#L68
[clippy] reported by reviewdog 🐶
<pre><code>warning: the following explicit lifetimes could be elided: 'conn
--> x11rb-async/src/cookie.rs:68:6
|
68 | impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
| ^^^^^ ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
68 - impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
68 + impl<C: RequestConnection + ?Sized> Drop for VoidCookie<'_, C> {
|
</code></pre>
Raw Output:
x11rb-async/src/cookie.rs:68:6:w:
<pre><code>warning: the following explicit lifetimes could be elided: 'conn
--> x11rb-async/src/cookie.rs:68:6
|
68 | impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
| ^^^^^ ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
68 - impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
68 + impl<C: RequestConnection + ?Sized> Drop for VoidCookie<'_, C> {
|
</code></pre>
__END__
|
clippy:
x11rb-async/src/cookie.rs#L97
[clippy] reported by reviewdog 🐶
<pre><code>warning: the following explicit lifetimes could be elided: 'a
--> x11rb-async/src/cookie.rs:97:6
|
97 | impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
97 - impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
97 + impl<C: RequestConnection + ?Sized> Drop for RawCookie<'_, C> {
|
</code></pre>
Raw Output:
x11rb-async/src/cookie.rs:97:6:w:
<pre><code>warning: the following explicit lifetimes could be elided: 'a
--> x11rb-async/src/cookie.rs:97:6
|
97 | impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
97 - impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
97 + impl<C: RequestConnection + ?Sized> Drop for RawCookie<'_, C> {
|
</code></pre>
__END__
|
clippy:
x11rb-async/src/cookie.rs#L68
[clippy] reported by reviewdog 🐶
<pre><code>warning: the following explicit lifetimes could be elided: 'conn
--> x11rb-async/src/cookie.rs:68:6
|
68 | impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
| ^^^^^ ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
68 - impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
68 + impl<C: RequestConnection + ?Sized> Drop for VoidCookie<'_, C> {
|
</code></pre>
Raw Output:
x11rb-async/src/cookie.rs:68:6:w:
<pre><code>warning: the following explicit lifetimes could be elided: 'conn
--> x11rb-async/src/cookie.rs:68:6
|
68 | impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
| ^^^^^ ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
68 - impl<'conn, C: RequestConnection + ?Sized> Drop for VoidCookie<'conn, C> {
68 + impl<C: RequestConnection + ?Sized> Drop for VoidCookie<'_, C> {
|
</code></pre>
__END__
|
clippy:
x11rb-async/src/cookie.rs#L97
[clippy] reported by reviewdog 🐶
<pre><code>warning: the following explicit lifetimes could be elided: 'a
--> x11rb-async/src/cookie.rs:97:6
|
97 | impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
97 - impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
97 + impl<C: RequestConnection + ?Sized> Drop for RawCookie<'_, C> {
|
</code></pre>
Raw Output:
x11rb-async/src/cookie.rs:97:6:w:
<pre><code>warning: the following explicit lifetimes could be elided: 'a
--> x11rb-async/src/cookie.rs:97:6
|
97 | impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
97 - impl<'a, C: RequestConnection + ?Sized> Drop for RawCookie<'a, C> {
97 + impl<C: RequestConnection + ?Sized> Drop for RawCookie<'_, C> {
|
</code></pre>
__END__
|
build (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|