Skip to content

Update Rust crate tokio to v1.43.0 #138

Update Rust crate tokio to v1.43.0

Update Rust crate tokio to v1.43.0 #138

Triggered via pull request January 8, 2025 16:08
Status Failure
Total duration 47s
Artifacts

build.yml

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

Annotations

21 errors and 1 warning
build (ubuntu-latest, stable): src/pkg/server.rs#L5
unresolved import `crate::pkg::smtp`
build (ubuntu-latest, stable): src/pkg/server.rs#L19
enum takes 2 generic arguments but 1 generic argument was supplied
build (ubuntu-latest, stable): src/pkg/server.rs#L27
enum takes 2 generic arguments but 1 generic argument was supplied
build (ubuntu-latest, stable): src/pkg/server.rs#L58
enum takes 2 generic arguments but 1 generic argument was supplied
build (ubuntu-latest, stable): src/pkg/server.rs#L33
no method named `read` found for struct `tokio::net::TcpStream` in the current scope
build (ubuntu-latest, stable): src/pkg/server.rs#L44
no method named `write_all` found for struct `tokio::net::TcpStream` in the current scope
build (ubuntu-latest, stable): src/pkg/server.rs#L60
no method named `write_all` found for struct `tokio::net::TcpStream` in the current scope
build (ubuntu-latest, stable): src/main.rs#L13
the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`)
build (ubuntu-latest, stable): src/main.rs#L17
mismatched types
build (ubuntu-latest, stable)
Process completed with exit code 2.
build (ubuntu-latest, nightly)
The job was canceled because "ubuntu-latest_stable" failed.
build (ubuntu-latest, nightly): src/pkg/server.rs#L5
unresolved import `crate::pkg::smtp`
build (ubuntu-latest, nightly): src/pkg/server.rs#L19
enum takes 2 generic arguments but 1 generic argument was supplied
build (ubuntu-latest, nightly): src/pkg/server.rs#L27
enum takes 2 generic arguments but 1 generic argument was supplied
build (ubuntu-latest, nightly): src/pkg/server.rs#L58
enum takes 2 generic arguments but 1 generic argument was supplied
build (ubuntu-latest, nightly): src/pkg/server.rs#L33
no method named `read` found for struct `tokio::net::TcpStream` in the current scope
build (ubuntu-latest, nightly): src/pkg/server.rs#L44
no method named `write_all` found for struct `tokio::net::TcpStream` in the current scope
build (ubuntu-latest, nightly): src/pkg/server.rs#L60
no method named `write_all` found for struct `tokio::net::TcpStream` in the current scope
build (ubuntu-latest, nightly): src/main.rs#L13
the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`)
build (ubuntu-latest, nightly): src/main.rs#L17
mismatched types
build (ubuntu-latest, nightly)
The operation was canceled.
build (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636