Open previ opened 1 year ago
Hello I am having problems using the provided circleci CI script.
I get many errors in the test job:
test
#!/bin/bash -eo pipefail cargo clippy -- -D warnings bin: wifi-connect Updating registry `https://github.com/rust-lang/crates.io-index` Downloading serde v1.0.145 Downloading serde_json v1.0.85 Downloading persistent v0.4.0 Downloading iron-cors v0.8.0 Downloading mount v0.4.0 Downloading env_logger v0.9.1 Downloading staticfile v0.5.0 Downloading network-manager v0.11.0 Downloading serde_derive v1.0.145 Downloading clap v2.34.0 Downloading nix v0.24.2 Downloading iron v0.6.1 Downloading router v0.6.0 Downloading params v0.8.0 Downloading error-chain v0.12.4 Downloading ryu v1.0.11 Downloading itoa v1.0.4 Downloading plugin v0.2.6 Downloading num_cpus v1.13.1 Downloading typemap v0.3.3 Downloading modifier v0.1.0 Downloading hyper v0.10.16 Downloading url v1.7.2 Downloading mime_guess v1.8.8 Downloading unsafe-any v0.4.2 Downloading traitobject v0.1.0 Downloading log v0.4.17 Downloading cfg-if v1.0.0 Downloading time v0.1.44 Downloading unicase v1.4.2 Downloading mime v0.2.6 Downloading httparse v1.8.0 Downloading typeable v0.1.2 Downloading language-tags v0.2.2 Downloading base64 v0.9.3 Downloading libc v0.2.134 Downloading version_check v0.1.5 Downloading idna v0.1.5 Downloading matches v0.1.9 Downloading unicode-normalization v0.1.22 Downloading unicode-bidi v0.3.8 Downloading tinyvec v1.6.0 Downloading tinyvec_macros v0.1.0 Downloading byteorder v1.4.3 Downloading safemem v0.3.3 Downloading phf v0.7.24 Downloading phf_shared v0.7.24 Downloading siphasher v0.2.3 Downloading phf_codegen v0.7.24 Downloading phf_generator v0.7.24 Downloading rand v0.6.5 Downloading rand_isaac v0.1.1 Downloading rand_xorshift v0.1.1 Downloading rand_os v0.1.3 Downloading rand_jitter v0.1.4 Downloading rand_chacha v0.1.1 Downloading rand_hc v0.1.0 Downloading rand_pcg v0.1.2 Downloading rand_core v0.4.2 Downloading rand_core v0.3.1 Downloading autocfg v0.1.8 Downloading autocfg v1.1.0 Downloading sequence_trie v0.3.6 Downloading termcolor v1.1.3 Downloading regex v1.6.0 Downloading humantime v2.1.0 Downloading atty v0.2.14 Downloading aho-corasick v0.7.19 Downloading regex-syntax v0.6.27 Downloading memchr v2.5.0 Downloading futures v0.1.31 Downloading dbus v0.5.4 Downloading tokio-timer v0.1.2 Downloading futures-cpupool v0.1.8 Downloading ascii v0.8.7 Downloading bitflags v1.3.2 Downloading libdbus-sys v0.1.5 Downloading pkg-config v0.3.25 Downloading slab v0.3.0 Downloading syn v1.0.102 Downloading quote v1.0.21 Downloading proc-macro2 v1.0.46 Downloading unicode-ident v1.0.4 Downloading strsim v0.8.0 Downloading unicode-width v0.1.10 Downloading vec_map v0.8.2 Downloading textwrap v0.11.0 Downloading route-recognizer v0.1.13 Downloading tempdir v0.3.7 Downloading urlencoded v0.6.0 Downloading num v0.1.42 Downloading multipart v0.13.6 Downloading bodyparser v0.8.0 Downloading remove_dir_all v0.5.3 Downloading rand v0.4.6 Downloading num-integer v0.1.45 Downloading num-complex v0.1.43 Downloading num-traits v0.2.15 Downloading num-iter v0.1.43 Downloading num-rational v0.1.42 Downloading num-bigint v0.1.44 Downloading rustc-serialize v0.3.24 Downloading buf_redux v0.6.3 Downloading twoway v0.1.8 Downloading rand v0.3.23 Downloading safemem v0.2.0 Downloading memchr v1.0.2 Downloading version_check v0.9.4 Downloading ansi_term v0.12.1 Downloading memoffset v0.6.5 Compiling bitflags v1.3.2 Compiling serde_json v1.0.85 Compiling humantime v2.1.0 Compiling unicode-width v0.1.10 Compiling itoa v1.0.4 Compiling version_check v0.9.4 Compiling serde_derive v1.0.145 Compiling route-recognizer v0.1.13 Compiling quote v1.0.21 Compiling matches v0.1.9 Compiling unicode-bidi v0.3.8 Compiling vec_map v0.8.2 Compiling regex-syntax v0.6.27 Compiling httparse v1.8.0 Compiling modifier v0.1.0 Compiling serde v1.0.145 Compiling ryu v1.0.11 Compiling rand_core v0.4.2 Compiling remove_dir_all v0.5.3 Compiling tinyvec_macros v0.1.0 Compiling siphasher v0.2.3 Compiling syn v1.0.102 Compiling language-tags v0.2.2 Compiling safemem v0.3.3 Compiling rustc-serialize v0.3.24 Compiling autocfg v1.1.0 Compiling unicode-ident v1.0.4 Compiling typeable v0.1.2 Compiling proc-macro2 v1.0.46 Compiling percent-encoding v1.0.1 Compiling cfg-if v1.0.0 Compiling version_check v0.1.5 Compiling strsim v0.8.0 Compiling memchr v2.5.0 Compiling termcolor v1.1.3 Compiling byteorder v1.4.3 error: :vis fragment specifier is experimental and subject to change (see issue #41022) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.3.2/src/lib.rs:353:9 | 353 | $vis:vis struct $BitFlags:ident: $T:ty { | ^^^^^^^^ | = help: add #![feature(macro_vis_matcher)] to the crate attributes to enable error: underscore lifetimes are unstable (see issue #44524) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:54:42 | 54 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ^^ | = help: add #![feature(underscore_lifetimes)] to the crate attributes to enable error: `..=` syntax in patterns is experimental (see issue #28237) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:112:17 | 112 | '0'..='9' => { | ^^^^^^^^^ | = help: add #![feature(dotdoteq_in_patterns)] to the crate attributes to enable error: `..=` syntax in patterns is experimental (see issue #28237) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:162:21 | 162 | '0'..='9' => { | ^^^^^^^^^ | = help: add #![feature(dotdoteq_in_patterns)] to the crate attributes to enable error: `..=` syntax in patterns is experimental (see issue #28237) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:168:21 | 168 | 'a'..='z' | 'A'..='Z' => { | ^^^^^^^^^ | = help: add #![feature(dotdoteq_in_patterns)] to the crate attributes to enable error: `..=` syntax in patterns is experimental (see issue #28237) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:168:33 | 168 | 'a'..='z' | 'A'..='Z' => { | ^^^^^^^^^ | = help: add #![feature(dotdoteq_in_patterns)] to the crate attributes to enable error: `..=` syntax in patterns is experimental (see issue #28237) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:181:21 | 181 | '0'..='9' => { | ^^^^^^^^^ | = help: add #![feature(dotdoteq_in_patterns)] to the crate attributes to enable error: `..=` syntax in patterns is experimental (see issue #28237) --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/humantime-2.1.0/src/duration.rs:187:21 | 187 | 'a'..='z' | 'A'..='Z' => {} | ^^^^^^^^^ | [about 2000 lines more]
I guess there must be some kind of misconfiguration, even if the repo is identical to ustream, at the moment.
Update: I was able to complete the build vis circleci by creating a branch from tag v4.4.6.
Apparently, later changes break the CI build scripts / docker imaged used by scripts.
Hello I am having problems using the provided circleci CI script.
I get many errors in the
test
job:I guess there must be some kind of misconfiguration, even if the repo is identical to ustream, at the moment.