The sound distributed version control system

#820 errors in tests

Opened by joyously on July 25, 2023
joyously on July 25, 2023

I’m not sure if I’m on the correct repo (which Nest these days?), but I did pijul pull and there was nothing to pull. I deleted my ~.cargo/registry folder and ran cargo test for pijul. It dutifully downloaded lots of packages, but got some errors. I am pasting the compilation output, so you can see which packages were used.

   Compiling libc v0.2.147
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling version_check v0.9.4
   Compiling memchr v2.5.0
   Compiling serde v1.0.173
   Compiling serde_derive v1.0.173
   Compiling typenum v1.16.0
   Compiling generic-array v0.14.7
   Compiling once_cell v1.18.0
   Compiling cc v1.0.79
   Compiling pin-project-lite v0.2.10
   Compiling futures-core v0.3.28
   Compiling log v0.4.19
   Compiling quote v1.0.31
   Compiling syn v2.0.26
   Compiling bitflags v1.3.2
   Compiling subtle v2.4.1
   Compiling syn v1.0.109
   Compiling pkg-config v0.3.27
   Compiling aho-corasick v1.0.2
   Compiling socket2 v0.4.9
   Compiling getrandom v0.2.10
   Compiling num-traits v0.2.15
   Compiling regex-syntax v0.7.4
   Compiling futures-io v0.3.28
   Compiling slab v0.4.8
   Compiling num_cpus v1.16.0
   Compiling crossbeam-utils v0.8.16
   Compiling bytes v1.4.0
   Compiling rand_core v0.6.4
   Compiling tokio v1.29.1
   Compiling futures-sink v0.3.28
   Compiling futures-channel v0.3.28
   Compiling ppv-lite86 v0.2.17
   Compiling cpufeatures v0.2.9
   Compiling futures-task v0.3.28
   Compiling mio v0.8.8
   Compiling signal-hook-registry v1.4.1
   Compiling futures-util v0.3.28
   Compiling regex-automata v0.3.3
   Compiling byteorder v1.4.3
   Compiling pin-utils v0.1.0
   Compiling lazy_static v1.4.0
   Compiling opaque-debug v0.3.0
   Compiling block-buffer v0.10.4
   Compiling cipher v0.3.0
   Compiling crypto-common v0.1.6
   Compiling hashbrown v0.14.0
   Compiling itoa v1.0.9
   Compiling equivalent v1.0.1
   Compiling digest v0.10.7
   Compiling rand_chacha v0.3.1
   Compiling toml_datetime v0.6.3
   Compiling serde_spanned v0.6.3
   Compiling digest v0.9.0
   Compiling openssl-sys v0.9.90
   Compiling num-integer v0.1.45
   Compiling indexmap v2.0.0
   Compiling winnow v0.5.0
   Compiling static_assertions v1.1.0
   Compiling rustix v0.38.4
   Compiling fnv v1.0.7
   Compiling same-file v1.0.6
   Compiling walkdir v2.3.3
   Compiling rand v0.8.5
   Compiling thiserror v1.0.43
   Compiling getrandom v0.1.16
   Compiling event-listener v2.5.3
   Compiling bitflags v2.3.3
   Compiling regex v1.9.1
   Compiling linux-raw-sys v0.4.3
   Compiling block-buffer v0.9.0
   Compiling crypto-mac v0.11.1
   Compiling tracing-core v0.1.31
   Compiling toml_edit v0.19.14
   Compiling num-bigint v0.4.3
   Compiling crc32fast v1.3.2
   Compiling sha2 v0.9.9
   Compiling tokio-macros v2.1.0
   Compiling futures-macro v0.3.28
   Compiling zeroize_derive v1.4.2
   Compiling tracing-attributes v0.1.26
   Compiling thiserror-impl v1.0.43
   Compiling zeroize v1.3.0
   Compiling ctr v0.8.0
   Compiling concurrent-queue v2.2.0
   Compiling indexmap v1.9.3
   Compiling scopeguard v1.2.0
   Compiling parking v2.1.0
   Compiling fastrand v1.9.0
   Compiling waker-fn v1.1.0
   Compiling foreign-types-shared v0.1.1
   Compiling openssl v0.10.55
   Compiling adler v1.0.2
   Compiling miniz_oxide v0.7.1
   Compiling foreign-types v0.3.2
   Compiling futures-lite v1.13.0
   Compiling tracing v0.1.37
   Compiling aes v0.7.5
   Compiling proc-macro-crate v1.3.1
   Compiling rand_core v0.5.1
   Compiling openssl-macros v0.1.1
   Compiling hmac v0.11.0
   Compiling async-lock v2.7.0
   Compiling zvariant_utils v1.0.1
   Compiling atty v0.2.14
   Compiling memoffset v0.9.0
   Compiling lock_api v0.4.10
   Compiling memoffset v0.7.1
   Compiling ryu v1.0.15
   Compiling hashbrown v0.12.3
   Compiling parking_lot_core v0.8.6
   Compiling serde_json v1.0.103
   Compiling io-lifetimes v1.0.11
   Compiling tinyvec_macros v0.1.1
   Compiling tinyvec v1.6.0
   Compiling enumflags2_derive v0.7.7
   Compiling bincode v1.3.3
   Compiling thread_local v1.1.7
   Compiling crossbeam-epoch v0.9.15
   Compiling polling v2.8.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling instant v0.1.12
   Compiling termcolor v1.2.0
   Compiling fastrand v2.0.0
   Compiling rustix v0.37.23
   Compiling async-task v4.4.0
   Compiling smallvec v1.11.0
   Compiling unicode-normalization v0.1.22
   Compiling tempfile v3.7.0
   Compiling enumflags2 v0.7.7
   Compiling zstd-seekable v0.1.23
   Compiling zvariant_derive v3.15.0
   Compiling rand_chacha v0.2.2
   Compiling async-channel v1.9.0
   Compiling libsodium-sys v0.2.7
   Compiling http v0.2.9
   Compiling blake3 v1.4.1
   Compiling time v0.1.45
   Compiling bstr v1.6.0
   Compiling async-fs v1.6.0
   Compiling num-iter v0.1.43
   Compiling num-rational v0.4.1
   Compiling async-io v1.13.0
   Compiling proc-macro-error v1.0.4
   Compiling block-padding v0.2.1
   Compiling unicode-bidi v0.3.13
   Compiling iana-time-zone v0.1.57
   Compiling atomic-waker v1.1.1
   Compiling winapi v0.3.9
   Compiling linux-raw-sys v0.3.8
   Compiling native-tls v0.2.11
   Compiling httparse v1.8.0
   Compiling signature v1.6.4
   Compiling async-trait v0.1.71
   Compiling data-encoding v2.4.0
   Compiling base64ct v1.6.0
   Compiling anyhow v1.0.72
   Compiling percent-encoding v2.3.0
   Compiling form_urlencoded v1.2.0
   Compiling password-hash v0.2.3
   Compiling ed25519 v1.5.3
   Compiling zvariant v3.15.0
   Compiling chrono v0.4.26
   Compiling blocking v1.3.1
   Compiling block-modes v0.8.1
   Compiling globset v0.4.11
   Compiling rand v0.7.3
   Compiling parking_lot v0.11.2
   Compiling nix v0.26.2
   Compiling tokio-util v0.7.8
   Compiling futures-executor v0.3.28
   Compiling flate2 v1.0.26
   Compiling sanakirja-core v1.3.3
   Compiling curve25519-dalek v3.2.1
   Compiling pijul-macros v0.5.0 (/_working/contrib/pijul/pijul-macros)
   Compiling serde_bytes v0.11.12
   Compiling threadpool v1.8.1
   Compiling memmap v0.7.0
   Compiling filetime v0.2.21
   Compiling xattr v0.2.3
   Compiling fs2 v0.4.3
   Compiling memoffset v0.6.5
   Compiling encoding_rs v0.8.32
   Compiling arrayref v0.3.7
   Compiling constant_time_eq v0.3.0
   Compiling linked-hash-map v0.5.6
   Compiling arrayvec v0.7.4
   Compiling humantime v2.1.0
   Compiling minimal-lexical v0.2.1
   Compiling try-lock v0.2.4
   Compiling openssl-probe v0.1.5
   Compiling nom v7.1.3
   Compiling want v0.3.1
   Compiling env_logger v0.8.4
   Compiling lru-cache v0.1.2
   Compiling ed25519-dalek v1.0.1
   Compiling tar v0.4.39
   Compiling sanakirja v1.3.3
   Compiling h2 v0.3.20
   Compiling futures v0.3.28
   Compiling zbus_names v2.6.0
   Compiling xdg-home v1.0.0
   Compiling crossbeam-deque v0.8.3
   Compiling ignore v0.4.20
   Compiling pbkdf2 v0.8.0
   Compiling idna v0.4.0
   Compiling http-body v0.4.5
   Compiling async-executor v1.5.1
   Compiling zbus_macros v3.14.1
   Compiling derivative v2.2.0
   Compiling serde_repr v0.1.14
   Compiling async-recursion v1.0.4
   Compiling pbkdf2 v0.9.0
   Compiling twox-hash v1.6.3
   Compiling async-broadcast v0.5.1
   Compiling sha1 v0.10.5
   Compiling hmac v0.12.1
   Compiling blowfish v0.8.0
   Compiling toml v0.5.11
   Compiling num-complex v0.4.3
   Compiling backtrace v0.3.68
   Compiling dirs-sys v0.3.7
   Compiling ordered-stream v0.2.0
   Compiling bs58 v0.4.0
   Compiling heck v0.4.1
   Compiling httpdate v1.0.2
   Compiling canonical-path v2.0.2
   Compiling gimli v0.27.3
   Compiling bit-vec v0.6.3
   Compiling adler32 v1.2.0
   Compiling path-slash v0.1.5
   Compiling utf8parse v0.2.1
   Compiling diffs v0.5.1
   Compiling hex v0.4.3
   Compiling tower-service v0.3.2
   Compiling os_str_bytes v6.5.1
   Compiling hyper v0.14.27
   Compiling clap_lex v0.2.4
   Compiling anstyle-parse v0.2.1
   Compiling yasna v0.4.0
   Compiling clap_derive v3.2.25
   Compiling num v0.4.1
   Compiling dirs v3.0.2
   Compiling bcrypt-pbkdf v0.6.2
   Compiling hkdf v0.12.3
   Compiling url v2.4.0
   Compiling cryptovec v0.6.1
   Compiling thrussh-libsodium v0.2.2
   Compiling tokio-native-tls v0.3.1
   Compiling tokio-stream v0.1.14
   Compiling is-terminal v0.4.9
   Compiling sha2 v0.10.7
   Compiling dirs-sys-next v0.1.2
   Compiling addr2line v0.20.0
   Compiling object v0.31.1
   Compiling anstyle-query v1.0.0
   Compiling matches v0.1.10
   Compiling either v1.8.1
   Compiling strsim v0.10.0
   Compiling textwrap v0.16.0
   Compiling anstyle v1.0.1
   Compiling lazy_static v0.2.11
   Compiling colorchoice v1.0.0
   Compiling md5 v0.7.0
   Compiling rustc-demangle v0.1.23
   Compiling unicode-width v0.1.10
   Compiling console v0.15.7
   Compiling thrussh-keys v0.21.0
   Compiling hyper-tls v0.5.0
   Compiling anstream v0.3.2
   Compiling tint v1.0.1
   Compiling which v4.4.0
   Compiling clap v3.2.25
   Compiling idna v0.2.3
   Compiling dirs-next v2.0.0
   Compiling nix v0.22.3
   Compiling libpijul v1.0.0-beta.6 (/_working/contrib/pijul/libpijul)
   Compiling zbus v3.14.1
   Compiling serde_urlencoded v0.7.1
   Compiling fuzzy-matcher v0.3.7
   Compiling toml v0.7.6
   Compiling os_info v3.7.0
   Compiling uuid v1.4.1
   Compiling linux-keyutils v0.2.3
   Compiling errno v0.2.8
   Compiling shell-words v1.1.0
   Compiling mime v0.3.17
   Compiling base64 v0.21.2
   Compiling pathdiff v0.2.1
   Compiling whoami v1.4.1
   Compiling ansi_term v0.12.1
   Compiling ipnet v2.8.0
   Compiling thrussh-config v0.5.0
   Compiling ctrlc v3.2.0
   Compiling reqwest v0.11.18
   Compiling ptree v0.4.0
   Compiling open v3.2.0
   Compiling dialoguer v0.10.4
   Compiling pager v0.16.1
   Compiling clap_complete v3.2.5
   Compiling human-panic v1.1.5
   Compiling validator v0.15.0
   Compiling edit v0.1.4
   Compiling thrussh v0.33.5
   Compiling dateparser v0.1.8
   Compiling terminal_size v0.1.17
   Compiling rlimit v0.6.2
   Compiling quickcheck v1.0.3
   Compiling quickcheck_macros v1.0.0
   Compiling secret-service v3.0.1
   Compiling detone v1.0.0
   Compiling keyring v2.0.4
   Compiling pijul v1.0.0-beta.6 (/_working/contrib/pijul/pijul)
error[E0433]: failed to resolve: use of undeclared crate or module `expectrl`
  --> pijul/tests/common/
11 | use expectrl::{
   |     ^^^^^^^^ use of undeclared crate or module `expectrl`

error[E0432]: unresolved import `expectrl`
 --> pijul/tests/common/
9 | use expectrl::{Session, WaitStatus};
  |     ^^^^^^^^ use of undeclared crate or module `expectrl`

error[E0432]: unresolved import `expectrl`
  --> pijul/tests/common/
11 | use expectrl::{
   |     ^^^^^^^^ use of undeclared crate or module `expectrl`

error[E0658]: `let` expressions in this position are unstable
  --> pijul/tests/common/
90 |         if let Some(invalid) = self.invalid_input() && !valid {
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: see issue #53667 <> for more information

error[E0658]: `let` expressions in this position are unstable
   --> pijul/tests/common/
300 |         if let Some(password) = self.password.clone() && valid {
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: see issue #53667 <> for more information

error[E0433]: failed to resolve: use of undeclared crate or module `exitcode`
   --> pijul/tests/common/
421 |             assert!(!matches!(cli_status, WaitStatus::Exited(_, exitcode::OK)));
    |                                                                 ^^^^^^^^ use of undeclared crate or module `exitcode`

error[E0433]: failed to resolve: use of undeclared crate or module `exitcode`
   --> pijul/tests/common/
428 |         assert!(matches!(cli_status, WaitStatus::Exited(_, exitcode::OK)));
    |                                                            ^^^^^^^^ use of undeclared crate or module `exitcode`

error[E0433]: failed to resolve: use of undeclared crate or module `exitcode`
   --> pijul/tests/common/
437 |             WaitStatus::Exited(_, exitcode::OK)
    |                                   ^^^^^^^^ use of undeclared crate or module `exitcode`

error[E0433]: failed to resolve: use of undeclared crate or module `exitcode`
   --> pijul/tests/common/
467 |                 assert!(matches!(status, WaitStatus::Exited(_, exitcode::OK)));
    |                                                                ^^^^^^^^ use of undeclared crate or module `exitcode`

kim added a change on August 2, 2023
kim on August 2, 2023