Skip to content

Commit a94cb60

Browse files
authored
feat: Upgrade rust 1.84.1 -> 1.90.0 (stable) (#9987)
1 parent c217386 commit a94cb60

File tree

30 files changed

+72
-74
lines changed

30 files changed

+72
-74
lines changed

.github/workflows/drivers-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- name: Install Rust
112112
uses: actions-rust-lang/setup-rust-toolchain@v1
113113
with:
114-
toolchain: 1.84.1
114+
toolchain: 1.90.0
115115
# override: true # this is by default on
116116
rustflags: ""
117117
components: rustfmt

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install Rust
5757
uses: actions-rust-lang/setup-rust-toolchain@v1
5858
with:
59-
toolchain: 1.84.1
59+
toolchain: 1.90.0
6060
# override: true # this is by default on
6161
rustflags: ""
6262
components: rustfmt

.github/workflows/post-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Rust
3636
uses: actions-rust-lang/setup-rust-toolchain@v1
3737
with:
38-
toolchain: 1.84.1
38+
toolchain: 1.90.0
3939
# override: true # this is by default on
4040
rustflags: ""
4141
components: rustfmt

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Rust
2323
uses: actions-rust-lang/setup-rust-toolchain@v1
2424
with:
25-
toolchain: 1.84.1
25+
toolchain: 1.90.0
2626
# override: true # this is by default on
2727
rustflags: ""
2828
components: rustfmt
@@ -96,7 +96,7 @@ jobs:
9696
- name: Install Rust
9797
uses: actions-rust-lang/setup-rust-toolchain@v1
9898
with:
99-
toolchain: 1.84.1
99+
toolchain: 1.90.0
100100
# override: true # this is by default on
101101
rustflags: ""
102102
components: rustfmt
@@ -186,7 +186,7 @@ jobs:
186186
- name: Install Rust
187187
uses: actions-rust-lang/setup-rust-toolchain@v1
188188
with:
189-
toolchain: 1.84.1
189+
toolchain: 1.90.0
190190
# override: true # this is by default on
191191
rustflags: ""
192192
components: rustfmt
@@ -261,7 +261,7 @@ jobs:
261261
- name: Install Rust
262262
uses: actions-rust-lang/setup-rust-toolchain@v1
263263
with:
264-
toolchain: 1.84.1
264+
toolchain: 1.90.0
265265
# override: true # this is by default on
266266
rustflags: ""
267267
components: rustfmt

.github/workflows/push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
- name: Install Rust
149149
uses: actions-rust-lang/setup-rust-toolchain@v1
150150
with:
151-
toolchain: 1.84.1
151+
toolchain: 1.90.0
152152
# override: true # this is by default on
153153
rustflags: ""
154154
components: rustfmt
@@ -213,7 +213,7 @@ jobs:
213213
- name: Install Rust
214214
uses: actions-rust-lang/setup-rust-toolchain@v1
215215
with:
216-
toolchain: 1.84.1
216+
toolchain: 1.90.0
217217
components: rustfmt
218218
- name: Cargo test cubeorchestrator
219219
run: cargo test --manifest-path rust/cubeorchestrator/Cargo.toml -j 4
@@ -276,7 +276,7 @@ jobs:
276276
- name: Install Rust
277277
uses: actions-rust-lang/setup-rust-toolchain@v1
278278
with:
279-
toolchain: 1.84.1
279+
toolchain: 1.90.0
280280
# override: true # this is by default on
281281
rustflags: ""
282282
components: rustfmt
@@ -424,7 +424,7 @@ jobs:
424424
- name: Install Rust
425425
uses: actions-rust-lang/setup-rust-toolchain@v1
426426
with:
427-
toolchain: 1.84.1
427+
toolchain: 1.90.0
428428
# override: true # this is by default on
429429
rustflags: ""
430430
components: rustfmt

.github/workflows/rust-cubesql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Rust
3333
uses: actions-rust-lang/setup-rust-toolchain@v1
3434
with:
35-
toolchain: 1.84.1
35+
toolchain: 1.90.0
3636
# override: true # this is by default on
3737
rustflags: ""
3838
components: rustfmt, clippy
@@ -149,7 +149,7 @@ jobs:
149149
- name: Install Rust
150150
uses: actions-rust-lang/setup-rust-toolchain@v1
151151
with:
152-
toolchain: 1.84.1
152+
toolchain: 1.90.0
153153
# override: true # this is by default on
154154
rustflags: ""
155155
components: rustfmt
@@ -255,7 +255,7 @@ jobs:
255255
- name: Install Rust
256256
uses: actions-rust-lang/setup-rust-toolchain@v1
257257
with:
258-
toolchain: 1.84.1
258+
toolchain: 1.90.0
259259
# override: true # this is by default on
260260
rustflags: ""
261261
components: rustfmt
@@ -338,7 +338,7 @@ jobs:
338338
- name: Install Rust
339339
uses: actions-rust-lang/setup-rust-toolchain@v1
340340
with:
341-
toolchain: 1.84.1
341+
toolchain: 1.90.0
342342
# override: true # this is by default on
343343
rustflags: ""
344344
components: rustfmt
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.84.1"
2+
channel = "1.90.0"
33
components = ["rustfmt", "clippy"]
44
profile = "minimal"

packages/cubejs-backend-native/src/cross/clrepr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl CLReprObject {
4343
self.0.insert(key, value)
4444
}
4545

46-
pub fn iter(&self) -> Iter<String, CLRepr> {
46+
pub fn iter(&self) -> Iter<'_, String, CLRepr> {
4747
self.0.iter()
4848
}
4949

packages/cubejs-backend-native/src/cross/clrepr_python.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl CLRepr {
144144
})
145145
}
146146

147-
fn into_py_dict_impl(obj: CLReprObject, py: Python) -> Result<&PyDict, PyErr> {
147+
fn into_py_dict_impl(obj: CLReprObject, py: Python<'_>) -> Result<&PyDict, PyErr> {
148148
let r = PyDict::new(py);
149149

150150
for (k, v) in obj.into_iter() {
@@ -213,7 +213,7 @@ impl CLRepr {
213213
})
214214
}
215215

216-
pub fn into_py_dict(self, py: Python) -> Result<&PyDict, PyErr> {
216+
pub fn into_py_dict(self, py: Python<'_>) -> Result<&PyDict, PyErr> {
217217
Ok(match self {
218218
CLRepr::Object(obj) => Self::into_py_dict_impl(obj, py)?,
219219
other => {

packages/cubejs-backend-native/src/orchestrator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl ValueObject for ResultWrapper {
144144
}
145145
}
146146

147-
fn get(&mut self, index: usize, field_name: &str) -> Result<FieldValue, CubeError> {
147+
fn get(&mut self, index: usize, field_name: &str) -> Result<FieldValue<'_>, CubeError> {
148148
if self.transformed_data.is_none() {
149149
self.transform_result()?;
150150
}

0 commit comments

Comments
 (0)