[Pipeline] Fix cargo install command for bindgen in .gitlab-ci.yml
Issue
-
rust-no-vendor
job of pipeline fails
Analysis
- This job makes use of
bindgen
- Last time this job passed was on Oct 16th 2022 12:06 AM (https://gitlab.com/YottaDB/Lang/YDBRust/-/pipelines/667898846)
-
bindgen
version used at that time wasv0.60.1
-
- The next time this job ran it failed
- Failed on Octo 17, 12 AM (https://gitlab.com/YottaDB/Lang/YDBRust/-/pipelines/668259091)
-
bindgen
version used wasv0.61.0
- New
bindgen
versionv0.61.0
was released on Oct 16th 2022 (https://crates.io/crates/bindgen/versions) andrust-no-vendor
gets the latest version ofbindgen
every time its run. Hence the change inbindgen
version.
- New
- After looking into whats changed in
v0.61.0
- It was found that
bindgen cli
is now installed usingcargo install bindgen-cli
instead ofcargo install bindgen
(https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md#changed-1)
- It was found that
Changes
- .gitlab-ci.yml ->
rust-no-vendor
job command to install bindgen is updated in the following way- - cargo install --debug bindgen + - cargo install --debug bindgen-cli