Skip to content

Commit

Permalink
Upgrade cargo-check-external-types to 0.1.11 (#3413)
Browse files Browse the repository at this point in the history
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
  • Loading branch information
jdisanti authored Feb 21, 2024
1 parent f7be5f8 commit b382ebc
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
apt_dependencies: libssl-dev gnuplot jq
java_version: 11
rust_toolchain_components: clippy,rustfmt
rust_nightly_version: nightly-2023-10-10
rust_nightly_version: nightly-2024-02-07

jobs:
generate-diff:
Expand Down
1 change: 1 addition & 0 deletions rust-runtime/aws-smithy-async/src/test_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ impl InstantSleep {
/// task.await.expect("successful completion");
/// # };
/// ```
#[allow(dead_code)] // unused fields retained for their `Drop` impls
pub struct CapturedSleep<'a>(oneshot::Sender<()>, &'a SleepGate, Duration);
impl CapturedSleep<'_> {
/// Allow the calling code to advance past the call to [`AsyncSleep::sleep`]
Expand Down
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-checksums/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repository = "https://github.com/smithy-lang/smithy-rs"
aws-smithy-http = { path = "../aws-smithy-http" }
aws-smithy-types = { path = "../aws-smithy-types" }
bytes = "1"
crc32c = "0.6.2"
crc32c = "0.6.5"
crc32fast = "1.3"
hex = "0.4.3"
http = "0.2.8"
Expand Down
2 changes: 0 additions & 2 deletions rust-runtime/aws-smithy-http-server/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ macro_rules! opaque_future {
};
}

pub use opaque_future;

macro_rules! convert_to_request_rejection {
($from:ty, $to:ident) => {
impl From<$from> for RequestRejection {
Expand Down
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-runtime-api/src/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ mod tests {
impl Thing for Thingamajig {}

#[derive(Debug)]
struct SharedThing(Arc<dyn Thing>);
struct SharedThing(#[allow(dead_code)] Arc<dyn Thing>);
impl Thing for SharedThing {}
impl SharedThing {
fn new(thing: impl Thing + 'static) -> Self {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tracing_subscriber::fmt::TestWriter;

/// A guard that resets log capturing upon being dropped.
#[derive(Debug)]
pub struct LogCaptureGuard(DefaultGuard);
pub struct LogCaptureGuard(#[allow(dead_code)] DefaultGuard);

/// Capture logs from this test.
///
Expand Down
4 changes: 2 additions & 2 deletions rust-runtime/aws-smithy-types/src/type_erasure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ mod tests {
use std::fmt;

#[derive(Debug)]
struct Foo(&'static str);
struct Foo(#[allow(dead_code)] &'static str);
#[derive(Debug)]
struct Bar(isize);
struct Bar(#[allow(dead_code)] isize);

#[derive(Debug, Clone, PartialEq, Eq)]
struct TestErr {
Expand Down
6 changes: 3 additions & 3 deletions tools/ci-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

ARG base_image=public.ecr.aws/amazonlinux/amazonlinux:2023
ARG rust_stable_version=1.74.1
ARG rust_nightly_version=nightly-2023-10-10
ARG rust_nightly_version=nightly-2024-02-07

FROM ${base_image} AS bare_base_image
RUN yum -y updateinfo
Expand Down Expand Up @@ -96,7 +96,7 @@ ARG cargo_deny_version=0.13.5
RUN cargo install cargo-deny --locked --version ${cargo_deny_version}

FROM install_rust AS cargo_udeps
ARG cargo_udeps_version=0.1.42
ARG cargo_udeps_version=0.1.46
ARG rust_nightly_version
RUN cargo +${rust_nightly_version} install cargo-udeps --locked --version ${cargo_udeps_version}

Expand All @@ -109,7 +109,7 @@ ARG cargo_minimal_versions_version=0.1.19
RUN cargo install cargo-minimal-versions --locked --version ${cargo_minimal_versions_version}

FROM install_rust AS cargo_check_external_types
ARG cargo_check_external_types_version=0.1.8
ARG cargo_check_external_types_version=0.1.11
RUN cargo install cargo-check-external-types --locked --version ${cargo_check_external_types_version}

FROM install_rust AS maturin
Expand Down

0 comments on commit b382ebc

Please sign in to comment.