diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4cf51a0dba64..13785713f8aa 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: arch: [amd64] - rust: [nightly-2022-03-08] + rust: [nightly-2022-03-22] container: image: ${{ matrix.arch }}/rust env: @@ -74,7 +74,7 @@ jobs: strategy: matrix: arch: [amd64] - rust: [nightly-2022-03-08] + rust: [nightly-2022-03-22] container: image: ${{ matrix.arch }}/rust env: @@ -188,7 +188,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest] - rust: [nightly-2022-03-08] + rust: [nightly-2022-03-22] steps: - uses: actions/checkout@v2 with: @@ -216,7 +216,7 @@ jobs: strategy: matrix: arch: [amd64] - rust: [nightly-2022-03-08] + rust: [nightly-2022-03-22] container: image: ${{ matrix.arch }}/rust env: @@ -256,7 +256,7 @@ jobs: strategy: matrix: arch: [amd64] - rust: [nightly-2022-03-08] + rust: [nightly-2022-03-22] container: image: ${{ matrix.arch }}/rust env: @@ -299,8 +299,8 @@ jobs: - uses: actions/checkout@v2 - name: Setup toolchain run: | - rustup toolchain install nightly-2022-03-08 - rustup default nightly-2022-03-08 + rustup toolchain install nightly-2022-03-22 + rustup default nightly-2022-03-22 rustup component add rustfmt - name: Run run: cargo fmt --all -- --check @@ -446,7 +446,7 @@ jobs: strategy: matrix: arch: [amd64] - rust: [nightly-2022-03-08] + rust: [nightly-2022-03-22] container: image: ${{ matrix.arch }}/rust env: diff --git a/arrow/src/ipc/convert.rs b/arrow/src/ipc/convert.rs index 97ed9ed78829..b9553847af2b 100644 --- a/arrow/src/ipc/convert.rs +++ b/arrow/src/ipc/convert.rs @@ -413,7 +413,7 @@ pub(crate) fn build_field<'a>( /// Get the IPC type of a data type pub(crate) fn get_fb_field_type<'a>( data_type: &DataType, - is_nullable: bool, + _is_nullable: bool, fbb: &mut FlatBufferBuilder<'a>, ) -> FBFieldType<'a> { // some IPC implementations expect an empty list for child data, instead of a null value. @@ -653,7 +653,7 @@ pub(crate) fn get_fb_field_type<'a>( // In this library, the dictionary "type" is a logical construct. Here we // pass through to the value type, as we've already captured the index // type in the DictionaryEncoding metadata in the parent field - get_fb_field_type(value_type, is_nullable, fbb) + get_fb_field_type(value_type, _is_nullable, fbb) } Decimal(precision, scale) => { let mut builder = ipc::DecimalBuilder::new(fbb); diff --git a/rust-toolchain b/rust-toolchain index f367a50f005e..181ead84c689 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2022-03-08 +nightly-2022-03-22