Bump reqwest from 0.12.23 to 0.13.2 #506
ci.yml
on: push
cargo check
52s
cargo fmt
21s
cargo test
56s
cargo clippy
53s
minimal direct dependencies
1m 16s
cargo clippy latest
53s
Matrix: Docker image build
allgreen
3s
Annotations
42 errors
|
cargo check
Process completed with exit code 101.
|
|
cargo check:
obo-core/src/artifacts.rs#L139
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo check:
obo-core/src/artifacts.rs#L139
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo check:
obo-core/src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo check:
obo-core/src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo check:
obo-core/src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo check:
obo-core/src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo check:
obo-core/src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo check:
obo-core/src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo clippy
Error: Clippy has exited with exit code 101
|
|
the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied:
obo-core/src/artifacts.rs#L139
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> obo-core/src/artifacts.rs:139:9
|
139 | 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:
obo-core/src/artifacts.rs#L139
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> obo-core/src/artifacts.rs:139:9
|
139 | 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:
obo-core/src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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 latest
Error: Clippy has exited with exit code 101
|
|
the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied:
obo-core/src/artifacts.rs#L139
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> obo-core/src/artifacts.rs:139:9
|
139 | 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:
obo-core/src/artifacts.rs#L139
error[E0277]: the trait bound `reqwest::Body: std::convert::From<tokio::fs::File>` is not satisfied
--> obo-core/src/artifacts.rs:139:9
|
139 | 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:
obo-core/src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L188
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L184
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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:
obo-core/src/upload.rs#L187
error[E0277]: the trait bound `reqwest::async_impl::body::Body: std::convert::From<artifacts::ArtifactReader>` is not satisfied
--> obo-core/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 test
Process completed with exit code 101.
|
|
cargo test:
obo-core/src/artifacts.rs#L139
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo test:
obo-core/src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo test:
obo-core/src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo test:
obo-core/src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<artifacts::ArtifactReader>` is not satisfied
|
|
cargo test:
obo-core/src/artifacts.rs#L139
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
cargo test:
obo-core/src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo test:
obo-core/src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
cargo test:
obo-core/src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
minimal direct dependencies
Process completed with exit code 101.
|
|
minimal direct dependencies:
obo-core/src/artifacts.rs#L139
the trait bound `Body: From<tokio::fs::File>` is not satisfied
|
|
minimal direct dependencies:
obo-core/src/upload.rs#L188
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
minimal direct dependencies:
obo-core/src/upload.rs#L184
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
minimal direct dependencies:
obo-core/src/upload.rs#L187
the trait bound `reqwest::async_impl::body::Body: From<ArtifactReader>` is not satisfied
|
|
allgreen
Process completed with exit code 1.
|