Skip to content

chore(deps): update rust crate testcontainers to 0.22.0 #5222

chore(deps): update rust crate testcontainers to 0.22.0

chore(deps): update rust crate testcontainers to 0.22.0 #5222

Triggered via pull request August 31, 2024 00:01
Status Failure
Total duration 48s
Artifacts

CI.yaml

on: pull_request
`cargo deny`
29s
`cargo deny`
Report Missing Dependencies
22s
Report Missing Dependencies
Nix Build
0s
Nix Build
Matrix: ci
Matrix: Clippy!
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
the method `with_tag` exists for struct `Postgres`, but its trait bounds were not satisfied: crates/core/src/lib.rs#L25
error[E0599]: the method `with_tag` exists for struct `Postgres`, but its trait bounds were not satisfied --> crates/core/src/testkit/containers.rs:25:10 | 23 | / Postgres::default() 24 | | .with_db_name("charted") 25 | | .with_tag(tag.unwrap_or(TAG)) | | -^^^^^^^^ method cannot be called on `Postgres` due to unsatisfied trait bounds | |_________| | | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/testcontainers-modules-0.9.0/src/postgres/mod.rs:31:1 | 31 | pub struct Postgres { | ------------------- doesn't satisfy `_: ImageExt<_>` or `_: Into<ContainerRequest<_>>` | = note: the following trait bounds were not satisfied: `testcontainers_modules::postgres::Postgres: std::convert::Into<testcontainers::ContainerRequest<_>>` which is required by `testcontainers_modules::postgres::Postgres: testcontainers::ImageExt<_>` `&testcontainers_modules::postgres::Postgres: std::convert::Into<testcontainers::ContainerRequest<_>>` which is required by `&testcontainers_modules::postgres::Postgres: testcontainers::ImageExt<_>` `&mut testcontainers_modules::postgres::Postgres: std::convert::Into<testcontainers::ContainerRequest<_>>` which is required by `&mut testcontainers_modules::postgres::Postgres: testcontainers::ImageExt<_>` = help: items from traits can only be used if the trait is in scope help: trait `ImageExt` which provides `with_tag` is implemented but not in scope; perhaps you want to import it | 16 + use testcontainers_modules::testcontainers::ImageExt; |
the trait bound `testcontainers_modules::postgres::Postgres: testcontainers::Image` is not satisfied: crates/core/src/lib.rs#L22
error[E0277]: the trait bound `testcontainers_modules::postgres::Postgres: testcontainers::Image` is not satisfied --> crates/core/src/testkit/containers.rs:22:1 | 22 | pub async fn postgresql(tag: Option<&str>) -> ContainerAsync<Postgres> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `testcontainers::Image` is not implemented for `testcontainers_modules::postgres::Postgres` | = help: the trait `testcontainers::Image` is implemented for `testcontainers::GenericImage` note: required by a bound in `testcontainers::ContainerAsync` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/testcontainers-0.22.0/src/core/containers/async_container.rs:38:30 | 38 | pub struct ContainerAsync<I: Image> { | ^^^^^ required by this bound in `ContainerAsync`
aborting due to 2 previous errors; 2 warnings emitted
error: aborting due to 2 previous errors; 2 warnings emitted
Clippy! (nightly)
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
Clippy! (nightly)
{ "rendered": "Some errors have detailed explanations: E0277, E0599.\n", "$message_type": "diagnostic", "children": [], "code": null, "level": "failure-note", "message": "Some errors have detailed explanations: E0277, E0599.", "spans": [] }
Rust CI (Linux (x86_64), Rust nightly)
Process completed with exit code 101.
Rust CI (Windows, Rust nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
Rust CI (Windows, Rust nightly)
The operation was canceled.
Rust CI (macOS (x86_64), Rust nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
Rust CI (macOS (x86_64), Rust nightly)
The operation was canceled.
unused import: `ImageExt`: crates/core/src/lib.rs#L16
warning: unused import: `ImageExt` --> crates/core/src/testkit/containers.rs:16:60 | 16 | use testcontainers::{runners::AsyncRunner, ContainerAsync, ImageExt}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused import: `runners::AsyncRunner`: crates/core/src/lib.rs#L16
warning: unused import: `runners::AsyncRunner` --> crates/core/src/testkit/containers.rs:16:22 | 16 | use testcontainers::{runners::AsyncRunner, ContainerAsync, ImageExt}; | ^^^^^^^^^^^^^^^^^^^^
Rust CI (macOS (x86_64), Rust nightly)
Formula postgresql was renamed to postgresql@14.