From 237d97554be7d0a179843e03eb6f93efb388b551 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 25 Sep 2026 02:09:29 +0000 Subject: [PATCH] Bump Rust toolchain / MSRV floors to 1.98.1 Workspace-wide sweep to 1.98.1 (rust-toolchain, rust-version, Dockerfile base images, CI MSRV pins). Docker tags rust:1.98.1, -bookworm and -slim-bookworm verified to exist. lance stays at 2.0 here: lance 12 needs arrow ^58 / datafusion ^54, and this crate is on arrow 57 / datafusion 51. The lance bump lands with that migration, not alone (comment added at the pin). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019HnekoM1EidTwQLS3oFVFm --- .github/workflows/ci-master.yml | 6 +++--- .github/workflows/proof.yml | 12 ++++++------ Cargo.toml | 5 ++++- Dockerfile | 4 ++-- Dockerfile.crewai | 2 +- Dockerfile.full | 2 +- Dockerfile.n8n | 2 +- Dockerfile.release | 2 +- Dockerfile.unified | 6 +++--- crates/ladybug-contract/Cargo.toml | 2 +- rust-toolchain.toml | 2 +- 11 files changed, 24 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 424dfca..acdd848 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -37,7 +37,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 @@ -66,7 +66,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 @@ -100,7 +100,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/proof.yml b/.github/workflows/proof.yml index 856c96f..9bebdf0 100644 --- a/.github/workflows/proof.yml +++ b/.github/workflows/proof.yml @@ -65,7 +65,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 - name: cargo check run: cargo check --lib --tests @@ -89,7 +89,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 - name: Run foundation proofs run: cargo test --test proof_foundation -- --test-threads=1 --show-output @@ -113,7 +113,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 - name: Run reasoning ladder proofs run: cargo test --test proof_reasoning_ladder -- --test-threads=1 --show-output @@ -137,7 +137,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 - name: Run tactics proofs run: cargo test --test proof_tactics -- --test-threads=1 --show-output @@ -161,7 +161,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 - name: Run level A gap proofs run: cargo test --test proof_level_a_gaps -- --test-threads=1 @@ -185,7 +185,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: - toolchain: "1.94.0" + toolchain: "1.98.1" - uses: Swatinem/rust-cache@v2 - name: Run all unit tests run: cargo test --lib -- --test-threads=4 diff --git a/Cargo.toml b/Cargo.toml index 1f7d8a2..73c4726 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ exclude = ["vendor"] name = "ladybug" version = "0.3.0" edition = "2024" -rust-version = "1.94" +rust-version = "1.98.1" license = "Apache-2.0" description = "Crystal Lake: Unified Cognitive Database with 4096 CAM Operations, Quantum-Inspired Operators, and 144 Verb Graph Substrate" repository = "https://github.com/AdaWorldAPI/ladybug-rs" @@ -73,6 +73,9 @@ ladybug-contract = { path = "crates/ladybug-contract" } # ----------------------------------------------------------------------------- # Storage: LanceDB + Arrow ecosystem # Lance 2.0.0 released on crates.io (Feb 5, 2026). +# NOT bumped to 12 in the 2026-09-25 sweep: lance 12 requires arrow ^58 / +# datafusion ^54, and this crate is on arrow 57 / datafusion 51. The lance +# bump lands together with that migration, never alone. # Arrow 57.x aligns with DataFusion 52 / Lance 2.x. # ----------------------------------------------------------------------------- lance = { version = "2.0", optional = true, default-features = false } diff --git a/Dockerfile b/Dockerfile index c3b9e85..3aa90bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,9 +20,9 @@ # ============================================================================= # STAGE 1: Builder — compile three binaries -# Rust 1.94 stable (edition 2024 support, full rmp-serde/time compat) +# Rust 1.98.1 stable (edition 2024 support, full rmp-serde/time compat) # ============================================================================= -FROM rust:1.94-slim-bookworm AS builder +FROM rust:1.98.1-slim-bookworm AS builder RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake protobuf-compiler git \ diff --git a/Dockerfile.crewai b/Dockerfile.crewai index c7f4bfd..bd3699b 100644 --- a/Dockerfile.crewai +++ b/Dockerfile.crewai @@ -15,7 +15,7 @@ # ============================================================================= # STAGE 1: Builder # ============================================================================= -FROM rust:1.94-slim-bookworm AS builder +FROM rust:1.98.1-slim-bookworm AS builder RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake protobuf-compiler git \ diff --git a/Dockerfile.full b/Dockerfile.full index 1371e65..759b46e 100644 --- a/Dockerfile.full +++ b/Dockerfile.full @@ -14,7 +14,7 @@ # ============================================================================= # STAGE 1: Builder # ============================================================================= -FROM rust:1.94-slim-bookworm AS builder +FROM rust:1.98.1-slim-bookworm AS builder RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake protobuf-compiler git \ diff --git a/Dockerfile.n8n b/Dockerfile.n8n index 4dbc671..601aaf6 100644 --- a/Dockerfile.n8n +++ b/Dockerfile.n8n @@ -15,7 +15,7 @@ # ============================================================================= # STAGE 1: Builder # ============================================================================= -FROM rust:1.94-slim-bookworm AS builder +FROM rust:1.98.1-slim-bookworm AS builder RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake protobuf-compiler git \ diff --git a/Dockerfile.release b/Dockerfile.release index f5d9959..e218082 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -12,7 +12,7 @@ # ============================================================================= # --- Stage 0: Chef planner --------------------------------------------------- -FROM rust:1.94-slim-bookworm AS chef +FROM rust:1.98.1-slim-bookworm AS chef RUN cargo install cargo-chef --locked WORKDIR /build diff --git a/Dockerfile.unified b/Dockerfile.unified index 4e70f0c..117c828 100644 --- a/Dockerfile.unified +++ b/Dockerfile.unified @@ -30,7 +30,7 @@ # ============================================================================= # STAGE 1: Build ladybug-rs # ============================================================================= -FROM rust:1.83-slim-bookworm AS builder-ladybug +FROM rust:1.98.1-slim-bookworm AS builder-ladybug RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake git \ @@ -55,7 +55,7 @@ RUN RUSTFLAGS="-C link-arg=-s" \ # ============================================================================= # STAGE 2: Build crewai-rust # ============================================================================= -FROM rust:1.83-slim-bookworm AS builder-crewai +FROM rust:1.98.1-slim-bookworm AS builder-crewai RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake git \ @@ -71,7 +71,7 @@ RUN RUSTFLAGS="-C link-arg=-s" \ # ============================================================================= # STAGE 3: Build n8n-rs # ============================================================================= -FROM rust:1.83-slim-bookworm AS builder-n8n +FROM rust:1.98.1-slim-bookworm AS builder-n8n RUN apt-get update && apt-get install -y \ pkg-config libssl-dev cmake protobuf-compiler git \ diff --git a/crates/ladybug-contract/Cargo.toml b/crates/ladybug-contract/Cargo.toml index 1a5e527..95f9537 100644 --- a/crates/ladybug-contract/Cargo.toml +++ b/crates/ladybug-contract/Cargo.toml @@ -2,7 +2,7 @@ name = "ladybug-contract" version = "0.1.0" edition = "2024" -rust-version = "1.94" +rust-version = "1.98.1" license = "Apache-2.0" description = "Substrate types for LadybugDB: Container, CogRecord, CAM codebook, CognitiveAddress" repository = "https://github.com/AdaWorldAPI/ladybug-rs" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 76a06e6..6422209 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.94.0" +channel = "1.98.1"