Skip to content

Commit 543bf2d

Browse files
authored
build(toolchain): bump to nightly-2023-10-21 (#12992)
Signed-off-by: TennyZhuang <[email protected]> Co-authored-by: TennyZhuang <[email protected]>
1 parent 210ae71 commit 543bf2d

File tree

67 files changed

+158
-166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+158
-166
lines changed

Cargo.lock

+39-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+9-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ aws-smithy-types = "0.55"
9797
aws-endpoint = "0.55"
9898
aws-types = "0.55"
9999
etcd-client = { package = "madsim-etcd-client", version = "0.4" }
100-
futures-async-stream = "0.2"
100+
futures-async-stream = "0.2.9"
101101
hytra = "0.1"
102102
rdkafka = { package = "madsim-rdkafka", version = "0.3.0", features = [
103103
"cmake-build",
@@ -165,6 +165,8 @@ unused_must_use = "forbid"
165165
future_incompatible = "warn"
166166
nonstandard_style = "warn"
167167
rust_2018_idioms = "warn"
168+
# Backward compatibility is not important for an application.
169+
async_fn_in_trait = "allow"
168170

169171
[workspace.lints.clippy]
170172
uninlined_format_args = "allow"
@@ -229,12 +231,17 @@ opt-level = 2
229231
incremental = false
230232
debug = 1
231233

232-
# Patch third-party crates for deterministic simulation.
233234
[patch.crates-io]
235+
# Patch third-party crates for deterministic simulation.
234236
quanta = { git = "https://github.com/madsim-rs/quanta.git", rev = "948bdc3" }
235237
getrandom = { git = "https://github.com/madsim-rs/getrandom.git", rev = "8daf97e" }
236238
tokio-stream = { git = "https://github.com/madsim-rs/tokio.git", rev = "fe39bb8e" }
237239
tokio-retry = { git = "https://github.com/madsim-rs/rust-tokio-retry.git", rev = "95e2fd3" }
238240
tokio-postgres = { git = "https://github.com/madsim-rs/rust-postgres.git", rev = "ac00d88" }
239241
# patch: unlimit 4MB message size for grpc client
240242
etcd-client = { git = "https://github.com/risingwavelabs/etcd-client.git", rev = "4e84d40" }
243+
244+
# Patch for coverage_attribute.
245+
# https://github.com/sgodwincs/dlv-list-rs/pull/19#issuecomment-1774786289
246+
dlv-list = { git = "https://github.com/sgodwincs/dlv-list-rs.git", rev = "5bbc5d0" }
247+
ordered-multimap = { git = "https://github.com/risingwavelabs/ordered-multimap-rs.git", rev = "19c743f" }

ci/build-ci-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cat ../rust-toolchain
1313
# !!! CHANGE THIS WHEN YOU WANT TO BUMP CI IMAGE !!! #
1414
# AND ALSO docker-compose.yml #
1515
######################################################
16-
export BUILD_ENV_VERSION=v20230919
16+
export BUILD_ENV_VERSION=v20231022
1717

1818
export BUILD_TAG="public.ecr.aws/x5u3w5h6/rw-build-env:${BUILD_ENV_VERSION}"
1919

ci/docker-compose.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ services:
7171
retries: 5
7272

7373
source-test-env:
74-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230919
74+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20231022
7575
depends_on:
7676
- mysql
7777
- db
@@ -81,7 +81,7 @@ services:
8181
- ..:/risingwave
8282

8383
sink-test-env:
84-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230919
84+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20231022
8585
depends_on:
8686
- mysql
8787
- db
@@ -92,12 +92,12 @@ services:
9292
- ..:/risingwave
9393

9494
rw-build-env:
95-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230919
95+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20231022
9696
volumes:
9797
- ..:/risingwave
9898

9999
ci-flamegraph-env:
100-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230919
100+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20231022
101101
# NOTE(kwannoel): This is used in order to permit
102102
# syscalls for `nperf` (perf_event_open),
103103
# so it can do CPU profiling.
@@ -108,7 +108,7 @@ services:
108108
- ..:/risingwave
109109

110110
regress-test-env:
111-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230919
111+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20231022
112112
depends_on:
113113
db:
114114
condition: service_healthy

ci/rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly-2023-09-09"
2+
channel = "nightly-2023-10-21"

src/batch/src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#![feature(trait_alias)]
1818
#![feature(exact_size_is_empty)]
1919
#![feature(type_alias_impl_trait)]
20-
#![cfg_attr(coverage, feature(no_coverage))]
21-
#![feature(generators)]
20+
#![cfg_attr(coverage, feature(coverage_attribute))]
21+
#![feature(coroutines)]
2222
#![feature(proc_macro_hygiene, stmt_expr_attributes)]
2323
#![feature(iterator_try_collect)]
2424
#![feature(lint_reasons)]
@@ -27,13 +27,11 @@
2727
#![feature(let_chains)]
2828
#![feature(bound_map)]
2929
#![feature(int_roundings)]
30-
#![feature(async_fn_in_trait)]
3130
#![feature(allocator_api)]
3231
#![feature(impl_trait_in_assoc_type)]
3332
#![feature(result_option_inspect)]
3433
#![feature(assert_matches)]
3534
#![feature(lazy_cell)]
36-
#![feature(return_position_impl_trait_in_trait)]
3735

3836
mod error;
3937
pub mod exchange_source;

src/batch/src/rpc/service/task_service.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl TaskService for BatchServiceImpl {
5353
type CreateTaskStream = ReceiverStream<TaskInfoResponseResult>;
5454
type ExecuteStream = ReceiverStream<GetDataResponseResult>;
5555

56-
#[cfg_attr(coverage, no_coverage)]
56+
#[cfg_attr(coverage, coverage(off))]
5757
async fn create_task(
5858
&self,
5959
request: Request<CreateTaskRequest>,
@@ -97,7 +97,7 @@ impl TaskService for BatchServiceImpl {
9797
}
9898
}
9999

100-
#[cfg_attr(coverage, no_coverage)]
100+
#[cfg_attr(coverage, coverage(off))]
101101
async fn cancel_task(
102102
&self,
103103
req: Request<CancelTaskRequest>,
@@ -109,7 +109,7 @@ impl TaskService for BatchServiceImpl {
109109
Ok(Response::new(CancelTaskResponse { status: None }))
110110
}
111111

112-
#[cfg_attr(coverage, no_coverage)]
112+
#[cfg_attr(coverage, coverage(off))]
113113
async fn execute(
114114
&self,
115115
req: Request<ExecuteRequest>,

src/cmd/src/bin/compactor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#![cfg_attr(coverage, feature(no_coverage))]
15+
#![cfg_attr(coverage, feature(coverage_attribute))]
1616

1717
risingwave_cmd::main!(compactor);

src/cmd/src/bin/compute_node.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#![cfg_attr(coverage, feature(no_coverage))]
15+
#![cfg_attr(coverage, feature(coverage_attribute))]
1616

1717
risingwave_cmd::main!(compute);

src/cmd/src/bin/ctl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#![cfg_attr(coverage, feature(no_coverage))]
15+
#![cfg_attr(coverage, feature(coverage_attribute))]
1616

1717
risingwave_cmd::main!(ctl);

src/cmd/src/bin/frontend_node.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#![cfg_attr(coverage, feature(no_coverage))]
15+
#![cfg_attr(coverage, feature(coverage_attribute))]
1616

1717
risingwave_cmd::main!(frontend);

src/cmd/src/bin/meta_node.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#![cfg_attr(coverage, feature(no_coverage))]
15+
#![cfg_attr(coverage, feature(coverage_attribute))]
1616

1717
risingwave_cmd::main!(meta);

src/cmd/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ macro_rules! main {
3030
#[cfg(not(enable_task_local_alloc))]
3131
risingwave_common::enable_jemalloc!();
3232

33-
#[cfg_attr(coverage, no_coverage)]
33+
#[cfg_attr(coverage, coverage(off))]
3434
fn main() {
3535
let opts = clap::Parser::parse();
3636
$crate::$component(opts);

0 commit comments

Comments
 (0)