From 2acac0d558739729c5637c43326de6b84fb0c237 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 25 Mar 2022 09:41:01 +0100 Subject: [PATCH 1/4] CI: Force the rustc nightly version to fix issue 3305 --- .github/workflows/CICD.yml | 4 ++-- .github/workflows/GnuTests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 74f1d8ce085..6623686b2c8 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -67,7 +67,7 @@ jobs: - name: Install `rust` toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2022-03-21 default: true profile: minimal - name: Install `cargo-udeps` @@ -483,7 +483,7 @@ jobs: - name: Install `rust` toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2022-03-21 default: true profile: minimal # minimal component installation (ie, no documentation) - name: Test diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 1f24f304584..fbd6f4c0fc7 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -218,7 +218,7 @@ jobs: - name: Install `rust` toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2022-03-21 default: true profile: minimal # minimal component installation (ie, no documentation) components: rustfmt From c4d89ab1466200e61dccc709c013cc5139e89e4a Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 25 Mar 2022 11:01:05 +0100 Subject: [PATCH 2/4] ci try to fix the error ? --- .github/workflows/CICD.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 6623686b2c8..eb347559d45 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -86,7 +86,7 @@ jobs: fault_type="${{ steps.vars.outputs.FAULT_TYPE }}" fault_prefix=$(echo "$fault_type" | tr '[:lower:]' '[:upper:]') # - cargo +nightly udeps ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --all-targets &> udeps.log || cat udeps.log + cargo +nightly-2022-03-21 udeps ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --all-targets &> udeps.log || cat udeps.log grep --ignore-case "all deps seem to have been used" udeps.log || { printf "%s\n" "::${fault_type} ::${fault_prefix}: \`cargo udeps\`: style violation (unused dependency found)" ; fault=true ; } if [ -n "${{ steps.vars.outputs.FAIL_ON_FAULT }}" ] && [ -n "$fault" ]; then exit 1 ; fi From 22e06c2458a8916b100211aefdf67681eea2af79 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 25 Mar 2022 12:06:41 +0100 Subject: [PATCH 3/4] also fix coverage --- .github/workflows/CICD.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index eb347559d45..0735e57822a 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -936,7 +936,7 @@ jobs: ## VARs setup outputs() { step_id="vars"; for var in "$@" ; do echo steps.${step_id}.outputs.${var}="${!var}"; echo ::set-output name=${var}::${!var}; done; } # toolchain - TOOLCHAIN="nightly" ## default to "nightly" toolchain (required for certain required unstable compiler flags) ## !maint: refactor when stable channel has needed support + TOOLCHAIN="nightly-2022-03-21" ## default to "nightly" toolchain (required for certain required unstable compiler flags) ## !maint: refactor when stable channel has needed support # * specify gnu-type TOOLCHAIN for windows; `grcov` requires gnu-style code coverage data files case ${{ matrix.job.os }} in windows-*) TOOLCHAIN="$TOOLCHAIN-x86_64-pc-windows-gnu" ;; esac; # * use requested TOOLCHAIN if specified From 9e86e566683f4c2724f932656a8c3f5ae4ee589d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 25 Mar 2022 15:28:45 +0100 Subject: [PATCH 4/4] Remove a comment to retrigger the CI --- .github/workflows/CICD.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 0735e57822a..d2cf890a2ee 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -919,7 +919,6 @@ jobs: strategy: fail-fast: true matrix: - # job: [ { os: ubuntu-latest }, { os: macos-latest }, { os: windows-latest } ] job: - { os: ubuntu-latest , features: unix } - { os: macos-latest , features: macos }