From 373776e0713580935b3eb8395585655bd492e019 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 22 May 2021 09:40:35 +0200 Subject: [PATCH 1/2] freebsd/circus: workaround the timeout https://github.com/rust-lang/rustup/issues/2774 It is failing currently on: ``` info: installing component 'cargo' error: error: 'sysinfo not supported on this platform' ``` with 1.52.1 --- .cirrus.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 5d16dce92..fb9b038a8 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,3 +1,10 @@ +env: + # Temporary workaround for error `error: sysinfo not supported on + # this platform` seen on FreeBSD platforms, affecting Rustup + # + # References: https://github.com/rust-lang/rustup/issues/2774 + RUSTUP_IO_THREADS: 1 + task: name: stable x86_64-unknown-freebsd-12 freebsd_instance: From 33fb491c6e89dccb0f6532f1bd2c6bb024c4640d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 22 May 2021 11:05:55 +0200 Subject: [PATCH 2/2] freebsd/circus: update to freebsd 12.2 --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index fb9b038a8..50f8a25b1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,7 +8,7 @@ env: task: name: stable x86_64-unknown-freebsd-12 freebsd_instance: - image: freebsd-12-1-release-amd64 + image: freebsd-12-2-release-amd64 setup_script: - pkg install -y curl gmake - curl https://sh.rustup.rs -sSf --output rustup.sh