From a06978b7c09e9988ca6bc8ec72bab96ac98b974a Mon Sep 17 00:00:00 2001
From: msizanoen1 <qtmlabs@protonmail.com>
Date: Thu, 28 Nov 2019 13:02:17 +0700
Subject: [PATCH] Fix breakage due to
 https://github.com/rust-lang/cargo/pull/7560 and rust-lang/rust#66748

---
 ci/build.sh  | 2 +-
 ci/dox.sh    | 2 +-
 ci/semver.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ci/build.sh b/ci/build.sh
index aad00859..082f0dc6 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -15,7 +15,7 @@ RUST=${TOOLCHAIN}
 echo "Testing Rust ${RUST} on ${OS}"
 
 if [ "${TOOLCHAIN}" = "nightly" ] ; then
-    cargo +nightly install cargo-xbuild -Z install-upgrade
+    cargo +nightly install cargo-xbuild
     rustup component add rust-src
 fi
 
diff --git a/ci/dox.sh b/ci/dox.sh
index 0c89a2e1..271b54b4 100644
--- a/ci/dox.sh
+++ b/ci/dox.sh
@@ -19,7 +19,7 @@ if ! rustc --version | grep -E "nightly" ; then
 fi
 
 rustup component add rust-src
-cargo +nightly install cargo-xbuild -Z install-upgrade
+cargo +nightly install cargo-xbuild
 
 # List all targets that do currently build successfully:
 # shellcheck disable=SC1003
diff --git a/ci/semver.sh b/ci/semver.sh
index 3412501a..7e6ea663 100644
--- a/ci/semver.sh
+++ b/ci/semver.sh
@@ -13,7 +13,7 @@ if ! rustc --version | grep -E "nightly" ; then
     exit 1
 fi
 
-cargo +nightly install semverver -Z install-upgrade
+cargo +nightly install semverver
 
 TARGETS=
 case "${OS}" in
-- 
GitLab