diff --git a/.github/workflows/apidoc.yml b/.github/workflows/apidoc.yml index 7c3ed31d11..41b02c741a 100644 --- a/.github/workflows/apidoc.yml +++ b/.github/workflows/apidoc.yml @@ -13,7 +13,7 @@ on: name: Build API docs env: - RUST_TOOLCHAIN: nightly-2024-08-07 + RUST_TOOLCHAIN: nightly-2024-06-06 jobs: apidoc: diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index e17305a47b..708a01ab35 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -30,7 +30,7 @@ concurrency: cancel-in-progress: true env: - RUST_TOOLCHAIN: nightly-2024-08-07 + RUST_TOOLCHAIN: nightly-2024-06-06 jobs: check-typos-and-docs: diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index e268c7d5c5..6e3ee33ce3 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -10,7 +10,7 @@ concurrency: cancel-in-progress: true env: - RUST_TOOLCHAIN: nightly-2024-08-07 + RUST_TOOLCHAIN: nightly-2024-06-06 permissions: issues: write diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5fd36f1d7d..1c9ee99938 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,7 +82,7 @@ on: # Use env variables to control all the release process. env: # The arguments of building greptime. - RUST_TOOLCHAIN: nightly-2024-08-07 + RUST_TOOLCHAIN: nightly-2024-06-06 CARGO_PROFILE: nightly # Controls whether to run tests, include unit-test, integration-test and sqlness. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 9005e8719e..cfa276d72f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2024-08-07" +channel = "nightly-2024-06-06" diff --git a/src/common/function/src/scalars/aggregate/scipy_stats_norm_pdf.rs b/src/common/function/src/scalars/aggregate/scipy_stats_norm_pdf.rs index 8afdf5c816..3045ae8665 100644 --- a/src/common/function/src/scalars/aggregate/scipy_stats_norm_pdf.rs +++ b/src/common/function/src/scalars/aggregate/scipy_stats_norm_pdf.rs @@ -245,7 +245,7 @@ mod test { ]; scipy_stats_norm_pdf.update_batch(&v).unwrap(); assert_eq!( - Value::from(0.17843340219081552), + Value::from(0.17843340219081558), scipy_stats_norm_pdf.evaluate().unwrap() ); diff --git a/src/meta-srv/src/lib.rs b/src/meta-srv/src/lib.rs index 44784ce326..717edc92b2 100644 --- a/src/meta-srv/src/lib.rs +++ b/src/meta-srv/src/lib.rs @@ -16,6 +16,7 @@ #![feature(result_flattening)] #![feature(assert_matches)] #![feature(extract_if)] +#![feature(option_take_if)] pub mod bootstrap; mod cache_invalidator; diff --git a/src/metric-engine/src/error.rs b/src/metric-engine/src/error.rs index 72e6d7032e..b16cd9222d 100644 --- a/src/metric-engine/src/error.rs +++ b/src/metric-engine/src/error.rs @@ -223,7 +223,7 @@ pub enum Error { #[snafu(display("Unsupported region request: {}", request))] UnsupportedRegionRequest { - request: RegionRequest, + request: Box, #[snafu(implicit)] location: Location, },