Bump reqwest from 0.12.23 to 0.13.1 #470
ci.yml
on: pull_request
cargo check
1m 31s
cargo fmt
22s
cargo test
1m 38s
cargo clippy
1m 30s
minimal direct dependencies
1m 14s
cargo clippy latest
1m 27s
allgreen
4s
Annotations
38 errors
|
minimal direct dependencies
Process completed with exit code 101.
|
|
minimal direct dependencies:
src/artifacts.rs#L131
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
minimal direct dependencies:
src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
minimal direct dependencies:
src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
minimal direct dependencies:
src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo clippy latest
Error: Clippy has exited with exit code 101
|
|
the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied:
src/artifacts.rs#L131
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> src/artifacts.rs:131:9
|
131 | Self::from(value.inner)
| ^^^^ the trait `std::convert::From<tokio::fs::File>` is not implemented for `reqwest::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::Body` implements `std::convert::From<&[u8]>`
`reqwest::Body` implements `std::convert::From<&str>`
`reqwest::Body` implements `std::convert::From<artifacts::ArtifactReader>`
`reqwest::Body` implements `std::convert::From<reqwest::Response>`
`reqwest::Body` implements `std::convert::From<std::string::String>`
`reqwest::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
|
|
the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied:
src/artifacts.rs#L131
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> src/artifacts.rs:131:9
|
131 | Self::from(value.inner)
| ^^^^ the trait `std::convert::From<tokio::fs::File>` is not implemented for `reqwest::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::Body` implements `std::convert::From<&[u8]>`
`reqwest::Body` implements `std::convert::From<&str>`
`reqwest::Body` implements `std::convert::From<artifacts::ArtifactReader>`
`reqwest::Body` implements `std::convert::From<reqwest::Response>`
`reqwest::Body` implements `std::convert::From<std::string::String>`
`reqwest::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:188:18
|
188 | .await
| ^^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:188:18
|
188 | .await
| ^^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:184:13
|
184 | / self.client
185 | | .project(self.project.clone())
186 | | .package(self.package.clone())
187 | | .upload_for_commit(filename, file)
| |__________________________________________________^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:184:13
|
184 | / self.client
185 | | .project(self.project.clone())
186 | | .package(self.package.clone())
187 | | .upload_for_commit(filename, file)
| |__________________________________________________^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:187:46
|
187 | .upload_for_commit(filename, file)
| ----------------- ^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:187:46
|
187 | .upload_for_commit(filename, file)
| ----------------- ^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
cargo clippy
Error: Clippy has exited with exit code 101
|
|
the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied:
src/artifacts.rs#L131
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> src/artifacts.rs:131:9
|
131 | Self::from(value.inner)
| ^^^^ the trait `std::convert::From<tokio::fs::File>` is not implemented for `reqwest::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::Body` implements `std::convert::From<&[u8]>`
`reqwest::Body` implements `std::convert::From<&str>`
`reqwest::Body` implements `std::convert::From<artifacts::ArtifactReader>`
`reqwest::Body` implements `std::convert::From<reqwest::Response>`
`reqwest::Body` implements `std::convert::From<std::string::String>`
`reqwest::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
|
|
the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied:
src/artifacts.rs#L131
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> src/artifacts.rs:131:9
|
131 | Self::from(value.inner)
| ^^^^ the trait `std::convert::From<tokio::fs::File>` is not implemented for `reqwest::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::Body` implements `std::convert::From<&[u8]>`
`reqwest::Body` implements `std::convert::From<&str>`
`reqwest::Body` implements `std::convert::From<artifacts::ArtifactReader>`
`reqwest::Body` implements `std::convert::From<reqwest::Response>`
`reqwest::Body` implements `std::convert::From<std::string::String>`
`reqwest::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:188:18
|
188 | .await
| ^^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:184:13
|
184 | / self.client
185 | | .project(self.project.clone())
186 | | .package(self.package.clone())
187 | | .upload_for_commit(filename, file)
| |__________________________________________________^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:187:46
|
187 | .upload_for_commit(filename, file)
| ----------------- ^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:188:18
|
188 | .await
| ^^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:184:13
|
184 | / self.client
185 | | .project(self.project.clone())
186 | | .package(self.package.clone())
187 | | .upload_for_commit(filename, file)
| |__________________________________________________^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied:
src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> src/upload.rs:187:46
|
187 | .upload_for_commit(filename, file)
| ----------------- ^^^^ the trait `std::convert::From<artifacts::ArtifactReader>` is not implemented for `reqwest::async_impl::body::Body`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
`reqwest::async_impl::body::Body` implements `std::convert::From<&[u8]>`
`reqwest::async_impl::body::Body` implements `std::convert::From<&str>`
`reqwest::async_impl::body::Body` implements `std::convert::From<reqwest::async_impl::response::Response>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::string::String>`
`reqwest::async_impl::body::Body` implements `std::convert::From<std::vec::Vec<u8>>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio::fs::File>`
`reqwest::async_impl::body::Body` implements `std::convert::From<tokio_util::bytes::Bytes>`
= note: required for `artifacts::ArtifactReader` to implement `std::convert::Into<reqwest::async_impl::body::Body>`
note: required by a bound in `open_build_service_api::PackageBuilder::<'a>::upload_for_commit`
--> /home/runner/.cargo/git/checkouts/open-build-service-rs-122dd6f7f17e91a6/bd9f78e/open-build-service-api/src/lib.rs:993:39
|
993 | pub async fn upload_for_commit<T: Into<Body>>(&self, file: &str, data: T) -> Result<()> {
| ^^^^^^^^^^ required by this bound in `PackageBuilder::<'a>::upload_for_commit`
|
|
cargo check
Process completed with exit code 101.
|
|
cargo check:
src/artifacts.rs#L131
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo check:
src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo check:
src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo check:
src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo check:
src/artifacts.rs#L131
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo check:
src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo check:
src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo check:
src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo test
Process completed with exit code 101.
|
|
cargo test:
src/artifacts.rs#L131
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo test:
src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo test:
src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo test:
src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
allgreen
Process completed with exit code 1.
|