diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cf217a..9f7e315 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ variables: # Test stage - compile and check code test: stage: test - image: rust:1.82-alpine + image: rust:1.83-alpine before_script: - apk add --no-cache musl-dev script: diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md index 46ca699..641af5a 100644 --- a/DEPLOYMENT.md +++ b/DEPLOYMENT.md @@ -193,11 +193,11 @@ docker run --rm \ ### Test Before Pushing -**Prerequisites**: Rust 1.82+ (required for Cargo.lock v4) +**Prerequisites**: Rust 1.83+ (required by dependencies) ```bash # Check Rust version -rustc --version # Should be 1.82.0 or later +rustc --version # Should be 1.83.0 or later # Check compilation cargo check --release @@ -300,12 +300,12 @@ Caused by: lock file version `4` was found, but this version of Cargo does not understand this lock file ``` -**Cause**: Cargo.lock version 4 requires Rust 1.77+ +**Cause**: Dependencies require Rust 1.83+ -**Fix**: The CI configuration uses Rust 1.82. If you see this error: -1. Update `.gitlab-ci.yml` to use `rust:1.82-alpine` or later -2. Update `Dockerfile` to use `rust:1.82-alpine` or later -3. Regenerate Cargo.lock: `cargo update` (if needed) +**Fix**: The CI configuration uses Rust 1.83. If you see this error: +1. Update `.gitlab-ci.yml` to use `rust:1.83-alpine` or later +2. Update `Dockerfile` to use `rust:1.83-alpine` or later +3. Local development: Update Rust with `rustup update stable` ### Pipeline Fails at Test Stage diff --git a/Dockerfile b/Dockerfile index 6435465..f1ed6cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM rust:1.82-alpine AS builder +FROM rust:1.83-alpine AS builder WORKDIR /app diff --git a/README.md b/README.md index 92d00c2..60f4237 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ If the API is unreachable, metrics are stored locally for up to 24 hours. When c ### Prerequisites -- Rust 1.82 or later (required for Cargo.lock v4) +- Rust 1.83 or later - SQLite development libraries ### Build