-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Description
Current behavior 😯
armv7 building log:
info: downloading component 'rust-std' for 'armv7-linux-androideabi'
info: installing component 'rust-std' for 'armv7-linux-androideabi'
Updating crates.io index
Downloading crates ...
Downloaded fastrand v1.9.0
Downloaded unicode-width v0.1.11
Downloaded sha1 v0.10.6
Downloaded nu-ansi-term v0.46.0
Downloaded parking_lot v0.12.1
Downloaded tracing-log v0.1.3
Downloaded spin v0.5.2
Downloaded ciborium-ll v0.2.1
Downloaded static_assertions v1.1.0
Downloaded itoa v1.0.9
Downloaded unicode-bom v2.0.2
Downloaded tokio v1.33.0
Downloaded ring v0.17.3
Downloaded libsqlite3-sys v0.26.0
Downloaded lzma-sys v0.1.20
Downloaded layout-rs v0.1.1
Downloaded trust-dns-proto v0.23.1
Downloaded libz-ng-sys v1.1.12
Downloaded curl-sys v0.4.68+curl-8.4.0
Downloaded libz-sys v1.1.12
Downloaded gix-index v0.16.1
Downloaded tempfile v3.8.1
Downloaded maplit v1.0.2
Downloaded futures-util v0.3.28
Downloaded gix-lock v5.0.1
Downloaded is-wsl v0.4.0
Downloaded miniz_oxide v0.7.1
Downloaded crc v3.0.1
Downloaded fs_extra v1.3.0
Downloaded gix-bitmap v0.2.7
Downloaded regex-automata v0.4.1
Downloaded open v5.0.0
Downloaded tui-react v0.20.0
Downloaded tar v0.4.40
Downloaded untrusted v0.9.0
Downloaded reqwest v0.11.22
Downloaded sysinfo v0.29.10
Downloaded colorchoice v1.0.0
Downloaded clap_builder v4.4.6
Downloaded gix-ref v0.29.1
Downloaded hashbrown v0.14.1
Downloaded gix-features v0.29.0
Downloaded gix-quote v0.4.7
Downloaded gix-traverse v0.25.0
Downloaded nom v7.1.3
Downloaded gix-object v0.29.2
Downloaded hashlink v0.8.4
Downloaded toml_datetime v0.6.3
Downloaded enum-as-inner v0.6.0
Downloaded itertools v0.10.5
Downloaded serial_test v2.0.0
Downloaded gix-discover v0.18.1
Downloaded prodash v23.1.2
Downloaded gix-worktree v0.17.1
Downloaded gix-ignore v0.2.0
Downloaded symlink v0.1.0
Downloaded clap_complete v4.4.3
Downloaded rustls v0.20.9
Downloaded gix-glob v0.7.0
Downloaded fallible-streaming-iterator v0.1.9
Downloaded httparse v1.8.0
Downloaded base64 v0.21.4
Downloaded linked-hash-map v0.5.6
Downloaded tinytemplate v1.2.1
Downloaded waker-fn v1.1.1
Downloaded futures-lite v1.13.0
Downloaded async-std v1.12.0
Downloaded yansi v0.5.1
Downloaded is-docker v0.2.0
Downloaded vcpkg v0.2.15
Downloaded want v0.3.1
Downloaded piper v0.2.1
Downloaded gix-path v0.8.4
Downloaded nix v0.26.4
Downloaded clap v4.4.6
Downloaded rustix v0.37.25
Downloaded trust-dns-resolver v0.23.1
Downloaded regex-syntax v0.8.1
Downloaded same-file v1.0.6
Downloaded gix-hash v0.11.4
Downloaded gix-trace v0.1.4
Downloaded gix-actor v0.20.0
Downloaded home v0.5.5
Downloaded winnow v0.5.24
Downloaded minimal-lexical v0.2.1
Downloaded crc-catalog v2.2.0
Downloaded dashmap v5.5.3
Downloaded allocator-api2 v0.2.16
Downloaded form_urlencoded v1.2.0
Downloaded ipnet v2.8.0
Downloaded gix-fs v0.1.1
Downloaded gix-tempfile v5.0.3
Downloaded gix-utils v0.1.5
Downloaded getrandom v0.2.10
Downloaded unicode-bidi v0.3.13
Downloaded gix-date v0.5.1
Downloaded cmake v0.1.50
Downloaded bstr v1.7.0
Downloaded linux-raw-sys v0.4.10
Downloaded libc v0.2.149
Downloaded ring v0.16.20
Downloaded xz2 v0.1.7
Downloaded ahash v0.8.3
Downloaded syn v1.0.109
Downloaded arc-swap v1.6.0
Downloaded byteorder v1.5.0
Downloaded litrs v0.2.3
Downloaded aho-corasick v1.1.2
Downloaded toml_edit v0.19.15
Downloaded filetime v0.2.22
Downloaded document-features v0.2.7
Downloaded rustls-pemfile v0.2.1
Downloaded is_ci v1.1.1
Downloaded crossbeam v0.8.2
Downloaded fs-err v2.9.0
Downloaded ppv-lite86 v0.2.17
Downloaded socket2 v0.5.4
Downloaded pathdiff v0.2.1
Downloaded trybuild v1.0.85
Downloaded equivalent v1.0.1
Downloaded webpki v0.22.4
Downloaded rand_core v0.6.4
Downloaded num_cpus v1.16.0
Downloaded unicode-normalization v0.1.22
Downloaded futures-task v0.3.28
Downloaded pin-utils v0.1.0
Downloaded crosstermion v0.11.0
Downloaded linux-raw-sys v0.3.8
Downloaded socket2 v0.4.9
Downloaded env_logger v0.10.0
Downloaded serial_test_derive v2.0.0
Downloaded base64 v0.13.1
Downloaded rustls-ffi v0.8.2
Downloaded idna v0.4.0
Downloaded percent-encoding v2.3.0
Downloaded gix-hashtable v0.2.4
Downloaded kstring v2.0.0
Downloaded url v2.4.1
Downloaded plotters v0.3.5
Downloaded diff v0.1.13
Downloaded regex v1.10.0
Downloaded itertools v0.11.0
Downloaded gix-validate v0.7.7
Downloaded h2 v0.3.21
Downloaded anstream v0.6.4
Downloaded expectrl v0.7.1
Downloaded plotters-backend v0.3.5
Downloaded memoffset v0.9.0
Downloaded rand_chacha v0.3.1
Downloaded unicode-ident v1.0.12
Downloaded once_cell v1.18.0
Downloaded btoi v0.4.3
Downloaded anstyle v1.0.4
Downloaded bytes v1.5.0
Downloaded num-traits v0.2.17
Downloaded thread_local v1.1.7
Downloaded flate2 v1.0.28
Downloaded rustls-pemfile v1.0.3
Downloaded foreign-types-shared v0.1.1
Downloaded crossbeam-queue v0.3.8
Downloaded faster-hex v0.8.1
Downloaded typenum v1.17.0
Downloaded adler v1.0.2
Downloaded shell-words v1.1.0
Downloaded ptyprocess v0.4.1
Downloaded cast v0.3.0
Downloaded memmap2 v0.5.10
Downloaded crossbeam-epoch v0.9.15
Downloaded version_check v0.9.4
Downloaded log v0.4.20
Downloaded tracing-subscriber v0.3.17
Downloaded foreign-types v0.3.2
Downloaded async-trait v0.1.73
Downloaded memchr v2.6.4
Downloaded is-terminal v0.4.9
Downloaded tabled v0.10.0
Downloaded criterion-plot v0.5.0
Downloaded bitflags v1.3.2
Downloaded mime v0.3.17
Downloaded openssl-probe v0.1.5
Downloaded gix-fs v0.8.1
Downloaded io-close v0.3.7
Downloaded fallible-iterator v0.2.0
Downloaded glob v0.3.1
Downloaded curl v0.4.44
Downloaded memoffset v0.7.1
Downloaded webpki-roots v0.25.2
Downloaded async-net v1.8.0
Downloaded rusqlite v0.29.0
Downloaded spin v0.9.8
Downloaded tinyvec_macros v0.1.1
Downloaded async-task v4.4.1
Downloaded utf8parse v0.2.1
Downloaded uluru v3.0.0
Downloaded rayon v1.8.0
Downloaded hostname v0.3.1
Downloaded hex v0.4.3
Downloaded fastrand v2.0.1
Downloaded crossbeam-channel v0.5.8
Downloaded async-executor v1.5.4
Downloaded hashbrown v0.12.3
Downloaded syn v2.0.38
Downloaded imara-diff v0.1.5
Downloaded futures-io v0.3.28
Downloaded humantime v2.1.0
Downloaded sha1_smol v1.0.0
Downloaded bytecount v0.6.4
Downloaded hyper-rustls v0.24.1
Downloaded cfg-if v1.0.0
Downloaded openssl v0.10.57
Downloaded rustix v0.38.21
Downloaded unicode-segmentation v1.10.1
Downloaded hyper v0.14.27
Downloaded openssl-sys v0.9.93
Downloaded tokio-util v0.7.9
Downloaded futures v0.3.28
Downloaded indexmap v2.0.2
Downloaded gix-sec v0.8.4
Downloaded proc-macro-crate v1.3.1
Downloaded indexmap v1.9.3
Downloaded cc v1.0.83
Downloaded gix-attributes v0.12.0
Downloaded pkg-config v0.3.27
Downloaded futures-executor v0.3.28
Downloaded anyhow v1.0.75
Downloaded zip v0.6.6
Downloaded num_enum v0.5.11
Downloaded basic-toml v0.1.4
Downloaded num_enum_derive v0.5.11
Downloaded clap_derive v4.4.2
Downloaded bitflags v2.4.0
Downloaded rand v0.8.5
Downloaded futures-macro v0.3.28
Downloaded criterion v0.5.1
Downloaded clru v0.6.1
Downloaded xattr v1.0.1
Downloaded crossterm v0.26.1
Downloaded slab v0.4.9
Downloaded async-attributes v1.1.2
Downloaded smallvec v1.11.1
Downloaded anstyle-query v1.0.0
Downloaded digest v0.10.7
Downloaded time-macros v0.2.10
Downloaded pin-project-lite v0.2.13
Downloaded quote v1.0.33
Downloaded hyper-tls v0.5.0
Downloaded autocfg v1.1.0
Downloaded try-lock v0.2.4
Downloaded io-lifetimes v1.0.11
Downloaded serde_derive v1.0.189
Downloaded gix-hash v0.13.2
Downloaded arrayvec v0.7.4
Downloaded parking v2.1.1
Downloaded signal-hook-registry v1.4.1
Downloaded openssl-macros v0.1.1
Downloaded polling v2.8.0
Downloaded resolv-conf v0.7.0
Downloaded heck v0.4.1
Downloaded futures-core v0.3.28
Downloaded scopeguard v1.2.0
Downloaded anes v0.1.6
Downloaded pretty_assertions v1.4.0
Downloaded human_format v1.0.3
Downloaded quick-error v1.2.3
Downloaded gix-features v0.36.1
Downloaded gix-tempfile v11.0.1
Downloaded papergrid v0.7.1
Downloaded httpdate v1.0.3
Downloaded serde_urlencoded v0.7.1
Downloaded async-io v1.13.0
Downloaded bytesize v1.3.0
Downloaded ansi_term v0.12.1
Downloaded tracing-forest v0.1.6
Downloaded blocking v1.4.1
Downloaded ciborium-io v0.2.1
Downloaded plotters-svg v0.3.5
Downloaded fnv v1.0.7
Downloaded data-encoding v2.4.0
Downloaded half v1.8.2
Downloaded signal-hook v0.3.17
Downloaded signal-hook-mio v0.2.3
Downloaded native-tls v0.2.11
Downloaded walkdir v2.4.0
Downloaded block-buffer v0.10.4
Downloaded either v1.9.0
Downloaded memmap2 v0.9.0
Downloaded prodash v26.2.2
Downloaded async-global-executor v2.3.1
Downloaded crossbeam-utils v0.8.16
Downloaded event-listener v2.5.3
Downloaded ciborium v0.2.1
Downloaded assert_matches v1.5.0
Downloaded crypto-common v0.1.6
Downloaded concurrent-queue v2.3.0
Downloaded futures-sink v0.3.28
Downloaded encoding_rs v0.8.33
Downloaded ryu v1.0.15
Downloaded tinyvec v1.6.0
Downloaded crc32fast v1.3.2
Downloaded sct v0.7.0
Downloaded owo-colors v3.5.0
Downloaded crossbeam-deque v0.8.3
Downloaded lazy_static v1.4.0
Downloaded value-bag v1.4.1
Downloaded rayon-core v1.12.0
Downloaded async-lock v2.8.0
Downloaded serde v1.0.189
Downloaded strsim v0.10.0
Downloaded tokio-native-tls v0.3.1
Downloaded rustls-webpki v0.101.6
Downloaded lock_api v0.4.10
Downloaded parking_lot_core v0.9.8
Downloaded serde_json v1.0.107
Downloaded http v0.2.9
Downloaded maybe-async v0.2.7
Downloaded untrusted v0.7.1
Downloaded tower-service v0.3.2
Downloaded time-core v0.1.1
Downloaded num_threads v0.1.6
Downloaded tracing-attributes v0.1.27
Downloaded thiserror v1.0.49
Downloaded rustls v0.21.7
Downloaded atomic-waker v1.1.2
Downloaded clap_lex v0.5.1
Downloaded tracing v0.1.39
Downloaded anstyle-parse v0.2.2
Downloaded futures-channel v0.3.28
Downloaded kv-log-macro v1.0.7
Downloaded time v0.3.23
Downloaded thiserror-impl v1.0.49
Downloaded mio v0.8.8
Downloaded jwalk v0.8.1
Downloaded termcolor v1.3.0
Downloaded cassowary v0.3.0
Downloaded async-channel v1.9.0
Downloaded errno v0.3.5
Downloaded overload v0.1.1
Downloaded proc-macro2 v1.0.69
Downloaded tokio-rustls v0.24.1
Downloaded lru-cache v0.1.2
Downloaded http-body v0.4.5
Downloaded match_cfg v0.1.0
Downloaded ratatui v0.20.1
Downloaded sharded-slab v0.1.7
Downloaded tracing-core v0.1.32
Downloaded oorandom v11.1.3
Downloaded generic-array v0.14.7
Compiling proc-macro2 v1.0.69
Compiling unicode-ident v1.0.12
Compiling libc v0.2.149
Compiling autocfg v1.1.0
Compiling serde v1.0.189
Compiling cfg-if v1.0.0
Compiling once_cell v1.18.0
Compiling thiserror v1.0.49
Compiling memchr v2.6.4
Compiling log v0.4.20
Compiling quote v1.0.33
Compiling futures-core v0.3.28
Compiling syn v2.0.38
Compiling scopeguard v1.2.0
Compiling tracing-core v0.1.32
Compiling crossbeam-utils v0.8.16
Compiling pin-project-lite v0.2.13
Compiling itoa v1.0.9
Compiling mio v0.8.8
Compiling lock_api v0.4.10
Compiling parking_lot_core v0.9.8
Compiling regex-syntax v0.8.1
Compiling errno v0.3.5
Compiling slab v0.4.9
Compiling bytes v1.5.0
Compiling futures-io v0.3.28
Compiling memoffset v0.9.0
Compiling signal-hook v0.3.17
Compiling rustix v0.38.21
Compiling futures-sink v0.3.28
Compiling regex-automata v0.4.1
Compiling signal-hook-registry v1.4.1
Compiling crossbeam-epoch v0.9.15
Compiling linux-raw-sys v0.4.10
Compiling time-core v0.1.1
Compiling futures-channel v0.3.28
Compiling bitflags v1.3.2
Compiling time-macros v0.2.10
Compiling serde_derive v1.0.189
Compiling thiserror-impl v1.0.49
Compiling gix-trace v0.1.4 (/home/builder/.termux-build/gitoxide/src/gix-trace)
Compiling unicode-width v0.1.11
Compiling num_threads v0.1.6
Compiling time v0.3.23
Compiling signal-hook-mio v0.2.3
Compiling socket2 v0.4.9
Compiling event-listener v2.5.3
Compiling smallvec v1.11.1
Compiling bitflags v2.4.0
Compiling faster-hex v0.8.1
Compiling parking_lot v0.12.1
Compiling bstr v1.7.0
Compiling io-lifetimes v1.0.11
Compiling crossterm v0.26.1
Compiling crossbeam-deque v0.8.3
Compiling concurrent-queue v2.3.0
Compiling polling v2.8.0
Compiling fastrand v1.9.0
Compiling rustix v0.37.25
Compiling waker-fn v1.1.1
Compiling crc32fast v1.3.2
Compiling unicode-segmentation v1.10.1
Compiling rayon-core v1.12.0
Compiling parking v2.1.1
Compiling cassowary v0.3.0
Compiling crossbeam-queue v0.3.8
Compiling ratatui v0.20.1
Compiling futures-lite v1.13.0
Compiling async-io v1.13.0
Compiling either v1.9.0
Compiling adler v1.0.2
Compiling linux-raw-sys v0.3.8
Compiling miniz_oxide v0.7.1
Compiling tui-react v0.20.0
Compiling is-terminal v0.4.9
Compiling async-channel v1.9.0
Compiling async-lock v2.8.0
Compiling crossbeam-channel v0.5.8
Compiling ansi_term v0.12.1
Compiling humantime v2.1.0
Compiling crosstermion v0.11.0
Compiling crossbeam v0.8.2
Compiling rayon v1.8.0
Compiling flate2 v1.0.28
Compiling gix-hash v0.13.2 (/home/builder/.termux-build/gitoxide/src/gix-hash)
Compiling bytesize v1.3.0
Compiling same-file v1.0.6
Compiling human_format v1.0.3
Compiling prodash v26.2.2
Compiling walkdir v2.4.0
Compiling sha1_smol v1.0.0
Compiling jwalk v0.8.1
Compiling num-traits v0.2.17
Compiling gix-features v0.36.1 (/home/builder/.termux-build/gitoxide/src/gix-features)
Compiling version_check v0.9.4
Compiling ahash v0.8.3
Compiling home v0.5.5
Compiling gix-path v0.10.1 (/home/builder/.termux-build/gitoxide/src/gix-path)
Compiling btoi v0.4.3
Compiling gix-date v0.8.1 (/home/builder/.termux-build/gitoxide/src/gix-date)
Compiling getrandom v0.2.10
Compiling winnow v0.5.24
Compiling allocator-api2 v0.2.16
Compiling gix-validate v0.8.1 (/home/builder/.termux-build/gitoxide/src/gix-validate)
Compiling hashbrown v0.14.1
Compiling memmap2 v0.9.0
Compiling fastrand v2.0.1
Compiling gix-actor v0.28.1 (/home/builder/.termux-build/gitoxide/src/gix-actor)
Compiling gix-object v0.39.0 (/home/builder/.termux-build/gitoxide/src/gix-object)
Compiling gix-hashtable v0.4.1 (/home/builder/.termux-build/gitoxide/src/gix-hashtable)
Compiling gix-chunk v0.4.5 (/home/builder/.termux-build/gitoxide/src/gix-chunk)
Compiling cc v1.0.83
Compiling gix-commitgraph v0.22.1 (/home/builder/.termux-build/gitoxide/src/gix-commitgraph)
Compiling gix-utils v0.1.6 (/home/builder/.termux-build/gitoxide/src/gix-utils)
Compiling gix-fs v0.8.1 (/home/builder/.termux-build/gitoxide/src/gix-fs)
Compiling tempfile v3.8.1
Compiling gix-revwalk v0.10.0 (/home/builder/.termux-build/gitoxide/src/gix-revwalk)
Compiling gix-quote v0.4.8 (/home/builder/.termux-build/gitoxide/src/gix-quote)
Compiling gix-glob v0.14.1 (/home/builder/.termux-build/gitoxide/src/gix-glob)
Compiling unicode-bom v2.0.2
Compiling shell-words v1.1.0
Compiling static_assertions v1.1.0
Compiling kstring v2.0.0
Compiling gix-command v0.3.0 (/home/builder/.termux-build/gitoxide/src/gix-command)
Compiling gix-tempfile v11.0.1 (/home/builder/.termux-build/gitoxide/src/gix-tempfile)
Compiling gix-lock v11.0.1 (/home/builder/.termux-build/gitoxide/src/gix-lock)
Compiling gix-attributes v0.20.1 (/home/builder/.termux-build/gitoxide/src/gix-attributes)
Compiling ring v0.16.20
Compiling encoding_rs v0.8.33
Compiling hashbrown v0.12.3
Compiling fnv v1.0.7
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.6.0
Compiling gix-traverse v0.35.0 (/home/builder/.termux-build/gitoxide/src/gix-traverse)
Compiling tracing-attributes v0.1.27
Compiling filetime v0.2.22
Compiling num_cpus v1.16.0
Compiling socket2 v0.5.4
Compiling futures-task v0.3.28
Compiling untrusted v0.7.1
Compiling percent-encoding v2.3.0
Compiling spin v0.5.2
Compiling tracing v0.1.39
Compiling form_urlencoded v1.2.0
Compiling tokio v1.33.0
Compiling unicode-normalization v0.1.22
Compiling gix-packetline-blocking v0.17.0 (/home/builder/.termux-build/gitoxide/src/gix-packetline-blocking)
Compiling indexmap v1.9.3
Compiling futures-util v0.3.28
Compiling unicode-bidi v0.3.13
Compiling idna v0.4.0
Compiling gix-filter v0.7.0 (/home/builder/.termux-build/gitoxide/src/gix-filter)
Compiling http v0.2.9
Compiling gix-config-value v0.14.1 (/home/builder/.termux-build/gitoxide/src/gix-config-value)
warning: unused variable: `name`
--> gix-config-value/src/path.rs:54:26
|
54 | pub fn home_for_user(name: &str) -> Option<PathBuf> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
|
= note: `#[warn(unused_variables)]` on by default
warning: `gix-config-value` (lib) generated 1 warning (run `cargo fix --lib -p gix-config-value` to apply 1 suggestion)
Compiling gix-bitmap v0.2.8 (/home/builder/.termux-build/gitoxide/src/gix-bitmap)
Compiling futures-macro v0.3.28
Compiling rustls v0.21.7
Compiling httparse v1.8.0
Compiling pin-utils v0.1.0
Compiling gix-index v0.27.0 (/home/builder/.termux-build/gitoxide/src/gix-index)
error[E0308]: mismatched types
--> gix-index/src/fs.rs:47:31
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:47:29
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:47:48
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR.into()
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:31
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:136:29
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:48
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG.into() && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:82
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:136:80
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:99
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ------------------------------ ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR.into()
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:146:31
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:146:29
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:146:48
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK.into()
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:156:31
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:156:29
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:156:48
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG.into()
| +++++++
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `gix-index` (lib) due to 15 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.
info: downloading component 'rust-std' for 'i686-linux-android'
info: installing component 'rust-std' for 'i686-linux-android'
Updating crates.io index
Downloading crates ...
Downloaded serial_test_derive v2.0.0
Downloaded thread_local v1.1.7
Downloaded serial_test v2.0.0
Downloaded strsim v0.10.0
Downloaded gix-features v0.36.1
Downloaded sysinfo v0.29.10
Downloaded hyper-tls v0.5.0
Downloaded ciborium-io v0.2.1
Downloaded anyhow v1.0.75
Downloaded rustls-ffi v0.8.2
Downloaded curl-sys v0.4.68+curl-8.4.0
Downloaded memoffset v0.9.0
Downloaded idna v0.4.0
Downloaded lzma-sys v0.1.20
Downloaded bstr v1.7.0
Downloaded libz-sys v1.1.12
Downloaded libsqlite3-sys v0.26.0
Downloaded ring v0.17.3
Downloaded openssl v0.10.57
Downloaded rustls v0.21.7
Downloaded ring v0.16.20
Downloaded xattr v1.0.1
Downloaded same-file v1.0.6
Downloaded fallible-iterator v0.2.0
Downloaded parking_lot_core v0.9.8
Downloaded socket2 v0.5.4
Downloaded mio v0.8.8
Downloaded anes v0.1.6
Downloaded clap v4.4.6
Downloaded serde_urlencoded v0.7.1
Downloaded async-net v1.8.0
Downloaded unicode-segmentation v1.10.1
Downloaded unicode-width v0.1.11
Downloaded faster-hex v0.8.1
Downloaded hashbrown v0.12.3
Downloaded foreign-types-shared v0.1.1
Downloaded fastrand v2.0.1
Downloaded openssl-probe v0.1.5
Downloaded gix-path v0.8.4
Downloaded rustls-webpki v0.101.6
Downloaded io-lifetimes v1.0.11
Downloaded fs-err v2.9.0
Downloaded prodash v26.2.2
Downloaded fnv v1.0.7
Downloaded gix-traverse v0.25.0
Downloaded num_threads v0.1.6
Downloaded papergrid v0.7.1
Downloaded ryu v1.0.15
Downloaded crossbeam-utils v0.8.16
Downloaded byteorder v1.5.0
Downloaded gix-lock v5.0.1
Downloaded h2 v0.3.21
Downloaded itoa v1.0.9
Downloaded tracing v0.1.39
Downloaded dashmap v5.5.3
Downloaded hyper v0.14.27
Downloaded gix-hash v0.11.4
Downloaded base64 v0.21.4
Downloaded tracing-log v0.1.3
Downloaded hex v0.4.3
Downloaded plotters v0.3.5
Downloaded clru v0.6.1
Downloaded document-features v0.2.7
Downloaded openssl-macros v0.1.1
Downloaded form_urlencoded v1.2.0
Downloaded kv-log-macro v1.0.7
Downloaded gix-sec v0.8.4
Downloaded yansi v0.5.1
Downloaded async-std v1.12.0
Downloaded tokio-native-tls v0.3.1
Downloaded http-body v0.4.5
Downloaded time-core v0.1.1
Downloaded tar v0.4.40
Downloaded owo-colors v3.5.0
Downloaded cmake v0.1.50
Downloaded webpki v0.22.4
Downloaded gix-glob v0.7.0
Downloaded lazy_static v1.4.0
Downloaded libz-ng-sys v1.1.12
Downloaded futures v0.3.28
Downloaded lru-cache v0.1.2
Downloaded rand_core v0.6.4
Downloaded resolv-conf v0.7.0
Downloaded crc-catalog v2.2.0
Downloaded regex v1.10.0
Downloaded home v0.5.5
Downloaded memchr v2.6.4
Downloaded gix-attributes v0.12.0
Downloaded pkg-config v0.3.27
Downloaded gix-utils v0.1.5
Downloaded human_format v1.0.3
Downloaded termcolor v1.3.0
Downloaded uluru v3.0.0
Downloaded toml_datetime v0.6.3
Downloaded enum-as-inner v0.6.0
Downloaded gix-date v0.5.1
Downloaded reqwest v0.11.22
Downloaded curl v0.4.44
Downloaded expectrl v0.7.1
Downloaded indexmap v1.9.3
Downloaded heck v0.4.1
Downloaded jwalk v0.8.1
Downloaded hashlink v0.8.4
Downloaded generic-array v0.14.7
Downloaded digest v0.10.7
Downloaded allocator-api2 v0.2.16
Downloaded kstring v2.0.0
Downloaded futures-sink v0.3.28
Downloaded trust-dns-resolver v0.23.1
Downloaded tabled v0.10.0
Downloaded time v0.3.23
Downloaded futures-executor v0.3.28
Downloaded tracing-forest v0.1.6
Downloaded clap_derive v4.4.2
Downloaded ansi_term v0.12.1
Downloaded foreign-types v0.3.2
Downloaded gix-quote v0.4.7
Downloaded bitflags v1.3.2
Downloaded base64 v0.13.1
Downloaded rand_chacha v0.3.1
Downloaded proc-macro-crate v1.3.1
Downloaded value-bag v1.4.1
Downloaded tokio v1.33.0
Downloaded gix-fs v0.8.1
Downloaded trust-dns-proto v0.23.1
Downloaded anstream v0.6.4
Downloaded crc32fast v1.3.2
Downloaded log v0.4.20
Downloaded num_enum v0.5.11
Downloaded adler v1.0.2
Downloaded unicode-bom v2.0.2
Downloaded try-lock v0.2.4
Downloaded gix-worktree v0.17.1
Downloaded once_cell v1.18.0
Downloaded plotters-svg v0.3.5
Downloaded equivalent v1.0.1
Downloaded version_check v0.9.4
Downloaded crc v3.0.1
Downloaded maybe-async v0.2.7
Downloaded rustls v0.20.9
Downloaded bitflags v2.4.0
Downloaded cassowary v0.3.0
Downloaded crossbeam-channel v0.5.8
Downloaded futures-util v0.3.28
Downloaded lock_api v0.4.10
Downloaded futures-core v0.3.28
Downloaded signal-hook v0.3.17
Downloaded zip v0.6.6
Downloaded static_assertions v1.1.0
Downloaded num_cpus v1.16.0
Downloaded rayon v1.8.0
Downloaded trybuild v1.0.85
Downloaded nom v7.1.3
Downloaded syn v2.0.38
Downloaded toml_edit v0.19.15
Downloaded indexmap v2.0.2
Downloaded serde_derive v1.0.189
Downloaded libc v0.2.149
Downloaded filetime v0.2.22
Downloaded tracing-core v0.1.32
Downloaded rayon-core v1.12.0
Downloaded unicode-bidi v0.3.13
Downloaded gix-features v0.29.0
Downloaded rand v0.8.5
Downloaded gix-bitmap v0.2.7
Downloaded async-task v4.4.1
Downloaded gix-validate v0.7.7
Downloaded syn v1.0.109
Downloaded is-docker v0.2.0
Downloaded http v0.2.9
Downloaded minimal-lexical v0.2.1
Downloaded sha1_smol v1.0.0
Downloaded errno v0.3.5
Downloaded crossbeam-epoch v0.9.15
Downloaded nix v0.26.4
Downloaded webpki-roots v0.25.2
Downloaded unicode-normalization v0.1.22
Downloaded regex-syntax v0.8.1
Downloaded serde_json v1.0.107
Downloaded rusqlite v0.29.0
Downloaded aho-corasick v1.1.2
Downloaded regex-automata v0.4.1
Downloaded linux-raw-sys v0.4.10
Downloaded rustix v0.38.21
Downloaded encoding_rs v0.8.33
Downloaded bytes v1.5.0
Downloaded tui-react v0.20.0
Downloaded gix-hashtable v0.2.4
Downloaded winnow v0.5.24
Downloaded rustls-pemfile v0.2.1
Downloaded data-encoding v2.4.0
Downloaded unicode-ident v1.0.12
Downloaded async-executor v1.5.4
Downloaded signal-hook-registry v1.4.1
Downloaded litrs v0.2.3
Downloaded glob v0.3.1
Downloaded quick-error v1.2.3
Downloaded maplit v1.0.2
Downloaded is-wsl v0.4.0
Downloaded tinyvec v1.6.0
Downloaded scopeguard v1.2.0
Downloaded async-io v1.13.0
Downloaded humantime v2.1.0
Downloaded async-lock v2.8.0
Downloaded gix-actor v0.20.0
Downloaded crossbeam-deque v0.8.3
Downloaded memmap2 v0.5.10
Downloaded cast v0.3.0
Downloaded bytecount v0.6.4
Downloaded fallible-streaming-iterator v0.1.9
Downloaded spin v0.9.8
Downloaded anstyle-query v1.0.0
Downloaded open v5.0.0
Downloaded fastrand v1.9.0
Downloaded getrandom v0.2.10
Downloaded symlink v0.1.0
Downloaded xz2 v0.1.7
Downloaded half v1.8.2
Downloaded gix-fs v0.1.1
Downloaded event-listener v2.5.3
Downloaded rustls-pemfile v1.0.3
Downloaded num_enum_derive v0.5.11
Downloaded gix-index v0.16.1
Downloaded itertools v0.11.0
Downloaded async-trait v0.1.73
Downloaded openssl-sys v0.9.93
Downloaded linux-raw-sys v0.3.8
Downloaded btoi v0.4.3
Downloaded plotters-backend v0.3.5
Downloaded parking v2.1.1
Downloaded atomic-waker v1.1.2
Downloaded gix-tempfile v11.0.1
Downloaded crossbeam v0.8.2
Downloaded gix-hash v0.13.2
Downloaded arrayvec v0.7.4
Downloaded untrusted v0.9.0
Downloaded vcpkg v0.2.15
Downloaded overload v0.1.1
Downloaded clap_complete v4.4.3
Downloaded async-global-executor v2.3.1
Downloaded criterion-plot v0.5.0
Downloaded ppv-lite86 v0.2.17
Downloaded tokio-rustls v0.24.1
Downloaded bytesize v1.3.0
Downloaded gix-discover v0.18.1
Downloaded imara-diff v0.1.5
Downloaded sharded-slab v0.1.7
Downloaded pin-utils v0.1.0
Downloaded sha1-asm v0.5.2
Downloaded tower-service v0.3.2
Downloaded mime v0.3.17
Downloaded env_logger v0.10.0
Downloaded smallvec v1.11.1
Downloaded diff v0.1.13
Downloaded ratatui v0.20.1
Downloaded is-terminal v0.4.9
Downloaded percent-encoding v2.3.0
Downloaded parking_lot v0.12.1
Downloaded native-tls v0.2.11
Downloaded ahash v0.8.3
Downloaded slab v0.4.9
Downloaded shell-words v1.1.0
Downloaded num-traits v0.2.17
Downloaded tinyvec_macros v0.1.1
Downloaded io-close v0.3.7
Downloaded thiserror-impl v1.0.49
Downloaded gix-trace v0.1.4
Downloaded block-buffer v0.10.4
Downloaded spin v0.5.2
Downloaded rustix v0.37.25
Downloaded flate2 v1.0.28
Downloaded sha1 v0.10.6
Downloaded hyper-rustls v0.24.1
Downloaded thiserror v1.0.49
Downloaded pin-project-lite v0.2.13
Downloaded tracing-attributes v0.1.27
Downloaded basic-toml v0.1.4
Downloaded criterion v0.5.1
Downloaded async-channel v1.9.0
Downloaded httparse v1.8.0
Downloaded gix-ref v0.29.1
Downloaded ciborium v0.2.1
Downloaded url v2.4.1
Downloaded quote v1.0.33
Downloaded linked-hash-map v0.5.6
Downloaded prodash v23.1.2
Downloaded ipnet v2.8.0
Downloaded proc-macro2 v1.0.69
Downloaded futures-task v0.3.28
Downloaded pretty_assertions v1.4.0
Downloaded arc-swap v1.6.0
Downloaded match_cfg v0.1.0
Downloaded miniz_oxide v0.7.1
Downloaded anstyle v1.0.4
Downloaded assert_matches v1.5.0
Downloaded colorchoice v1.0.0
Downloaded futures-macro v0.3.28
Downloaded waker-fn v1.1.1
Downloaded utf8parse v0.2.1
Downloaded ptyprocess v0.4.1
Downloaded clap_lex v0.5.1
Downloaded blocking v1.4.1
Downloaded is_ci v1.1.1
Downloaded autocfg v1.1.0
Downloaded memoffset v0.7.1
Downloaded untrusted v0.7.1
Downloaded gix-ignore v0.2.0
Downloaded gix-object v0.29.2
Downloaded ciborium-ll v0.2.1
Downloaded async-attributes v1.1.2
Downloaded gix-tempfile v5.0.3
Downloaded crossbeam-queue v0.3.8
Downloaded futures-lite v1.13.0
Downloaded layout-rs v0.1.1
Downloaded concurrent-queue v2.3.0
Downloaded tinytemplate v1.2.1
Downloaded tempfile v3.8.1
Downloaded cc v1.0.83
Downloaded either v1.9.0
Downloaded piper v0.2.1
Downloaded tokio-util v0.7.9
Downloaded httpdate v1.0.3
Downloaded sct v0.7.0
Downloaded polling v2.8.0
Downloaded socket2 v0.4.9
Downloaded walkdir v2.4.0
Downloaded nu-ansi-term v0.46.0
Downloaded hashbrown v0.14.1
Downloaded memmap2 v0.9.0
Downloaded oorandom v11.1.3
Downloaded signal-hook-mio v0.2.3
Downloaded crossterm v0.26.1
Downloaded serde v1.0.189
Downloaded want v0.3.1
Downloaded crypto-common v0.1.6
Downloaded time-macros v0.2.10
Downloaded cfg-if v1.0.0
Downloaded pathdiff v0.2.1
Downloaded itertools v0.10.5
Downloaded futures-channel v0.3.28
Downloaded hostname v0.3.1
Downloaded anstyle-parse v0.2.2
Downloaded cpufeatures v0.2.9
Downloaded fs_extra v1.3.0
Downloaded clap_builder v4.4.6
Downloaded crosstermion v0.11.0
Downloaded typenum v1.17.0
Downloaded tracing-subscriber v0.3.17
Downloaded futures-io v0.3.28
Compiling proc-macro2 v1.0.69
Compiling unicode-ident v1.0.12
Compiling libc v0.2.149
Compiling autocfg v1.1.0
Compiling serde v1.0.189
Compiling cfg-if v1.0.0
Compiling once_cell v1.18.0
Compiling memchr v2.6.4
Compiling thiserror v1.0.49
Compiling quote v1.0.33
Compiling syn v2.0.38
Compiling log v0.4.20
Compiling scopeguard v1.2.0
Compiling futures-core v0.3.28
Compiling tracing-core v0.1.32
Compiling crossbeam-utils v0.8.16
Compiling pin-project-lite v0.2.13
Compiling itoa v1.0.9
Compiling mio v0.8.8
Compiling lock_api v0.4.10
Compiling parking_lot_core v0.9.8
Compiling regex-syntax v0.8.1
Compiling errno v0.3.5
Compiling slab v0.4.9
Compiling bytes v1.5.0
Compiling futures-io v0.3.28
Compiling memoffset v0.9.0
Compiling signal-hook v0.3.17
Compiling rustix v0.38.21
Compiling futures-sink v0.3.28
Compiling regex-automata v0.4.1
Compiling signal-hook-registry v1.4.1
Compiling crossbeam-epoch v0.9.15
Compiling futures-channel v0.3.28
Compiling bitflags v1.3.2
Compiling linux-raw-sys v0.4.10
Compiling time-core v0.1.1
Compiling time-macros v0.2.10
Compiling serde_derive v1.0.189
Compiling thiserror-impl v1.0.49
Compiling gix-trace v0.1.4 (/home/builder/.termux-build/gitoxide/src/gix-trace)
Compiling unicode-width v0.1.11
Compiling num_threads v0.1.6
Compiling time v0.3.23
Compiling signal-hook-mio v0.2.3
Compiling socket2 v0.4.9
Compiling event-listener v2.5.3
Compiling smallvec v1.11.1
Compiling bitflags v2.4.0
Compiling faster-hex v0.8.1
Compiling parking_lot v0.12.1
Compiling bstr v1.7.0
Compiling io-lifetimes v1.0.11
Compiling crossterm v0.26.1
Compiling crossbeam-deque v0.8.3
Compiling concurrent-queue v2.3.0
Compiling polling v2.8.0
Compiling rayon-core v1.12.0
Compiling rustix v0.37.25
Compiling parking v2.1.1
Compiling unicode-segmentation v1.10.1
Compiling waker-fn v1.1.1
Compiling crc32fast v1.3.2
Compiling fastrand v1.9.0
Compiling crossbeam-queue v0.3.8
Compiling cassowary v0.3.0
Compiling futures-lite v1.13.0
Compiling ratatui v0.20.1
Compiling async-io v1.13.0
Compiling adler v1.0.2
Compiling either v1.9.0
Compiling linux-raw-sys v0.3.8
Compiling tui-react v0.20.0
Compiling miniz_oxide v0.7.1
Compiling is-terminal v0.4.9
Compiling async-channel v1.9.0
Compiling async-lock v2.8.0
Compiling crossbeam-channel v0.5.8
Compiling humantime v2.1.0
Compiling ansi_term v0.12.1
Compiling crossbeam v0.8.2
Compiling crosstermion v0.11.0
Compiling flate2 v1.0.28
Compiling rayon v1.8.0
Compiling gix-hash v0.13.2 (/home/builder/.termux-build/gitoxide/src/gix-hash)
Compiling bytesize v1.3.0
Compiling same-file v1.0.6
Compiling human_format v1.0.3
Compiling prodash v26.2.2
Compiling walkdir v2.4.0
Compiling sha1_smol v1.0.0
Compiling num-traits v0.2.17
Compiling version_check v0.9.4
Compiling jwalk v0.8.1
Compiling gix-features v0.36.1 (/home/builder/.termux-build/gitoxide/src/gix-features)
Compiling ahash v0.8.3
Compiling btoi v0.4.3
Compiling home v0.5.5
Compiling gix-path v0.10.1 (/home/builder/.termux-build/gitoxide/src/gix-path)
Compiling gix-date v0.8.1 (/home/builder/.termux-build/gitoxide/src/gix-date)
Compiling getrandom v0.2.10
Compiling winnow v0.5.24
Compiling allocator-api2 v0.2.16
Compiling gix-validate v0.8.1 (/home/builder/.termux-build/gitoxide/src/gix-validate)
Compiling hashbrown v0.14.1
Compiling memmap2 v0.9.0
Compiling fastrand v2.0.1
Compiling gix-hashtable v0.4.1 (/home/builder/.termux-build/gitoxide/src/gix-hashtable)
Compiling gix-actor v0.28.1 (/home/builder/.termux-build/gitoxide/src/gix-actor)
Compiling gix-chunk v0.4.5 (/home/builder/.termux-build/gitoxide/src/gix-chunk)
Compiling gix-commitgraph v0.22.1 (/home/builder/.termux-build/gitoxide/src/gix-commitgraph)
Compiling gix-object v0.39.0 (/home/builder/.termux-build/gitoxide/src/gix-object)
Compiling cc v1.0.83
Compiling gix-utils v0.1.6 (/home/builder/.termux-build/gitoxide/src/gix-utils)
Compiling gix-fs v0.8.1 (/home/builder/.termux-build/gitoxide/src/gix-fs)
Compiling tempfile v3.8.1
Compiling gix-glob v0.14.1 (/home/builder/.termux-build/gitoxide/src/gix-glob)
Compiling gix-quote v0.4.8 (/home/builder/.termux-build/gitoxide/src/gix-quote)
Compiling gix-revwalk v0.10.0 (/home/builder/.termux-build/gitoxide/src/gix-revwalk)
Compiling unicode-bom v2.0.2
Compiling static_assertions v1.1.0
Compiling shell-words v1.1.0
Compiling gix-command v0.3.0 (/home/builder/.termux-build/gitoxide/src/gix-command)
Compiling kstring v2.0.0
Compiling gix-tempfile v11.0.1 (/home/builder/.termux-build/gitoxide/src/gix-tempfile)
Compiling gix-attributes v0.20.1 (/home/builder/.termux-build/gitoxide/src/gix-attributes)
Compiling gix-lock v11.0.1 (/home/builder/.termux-build/gitoxide/src/gix-lock)
Compiling ring v0.16.20
Compiling encoding_rs v0.8.33
Compiling hashbrown v0.12.3
Compiling tinyvec_macros v0.1.1
Compiling fnv v1.0.7
Compiling tinyvec v1.6.0
Compiling gix-traverse v0.35.0 (/home/builder/.termux-build/gitoxide/src/gix-traverse)
Compiling tracing-attributes v0.1.27
Compiling socket2 v0.5.4
Compiling num_cpus v1.16.0
Compiling filetime v0.2.22
Compiling futures-task v0.3.28
Compiling spin v0.5.2
Compiling untrusted v0.7.1
Compiling percent-encoding v2.3.0
Compiling form_urlencoded v1.2.0
Compiling tokio v1.33.0
Compiling tracing v0.1.39
Compiling unicode-normalization v0.1.22
Compiling gix-packetline-blocking v0.17.0 (/home/builder/.termux-build/gitoxide/src/gix-packetline-blocking)
Compiling indexmap v1.9.3
Compiling futures-util v0.3.28
Compiling unicode-bidi v0.3.13
Compiling idna v0.4.0
Compiling gix-filter v0.7.0 (/home/builder/.termux-build/gitoxide/src/gix-filter)
Compiling http v0.2.9
Compiling gix-config-value v0.14.1 (/home/builder/.termux-build/gitoxide/src/gix-config-value)
warning: unused variable: `name`
--> gix-config-value/src/path.rs:54:26
|
54 | pub fn home_for_user(name: &str) -> Option<PathBuf> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
|
= note: `#[warn(unused_variables)]` on by default
warning: `gix-config-value` (lib) generated 1 warning (run `cargo fix --lib -p gix-config-value` to apply 1 suggestion)
Compiling gix-bitmap v0.2.8 (/home/builder/.termux-build/gitoxide/src/gix-bitmap)
Compiling futures-macro v0.3.28
Compiling httparse v1.8.0
Compiling pin-utils v0.1.0
Compiling rustls v0.21.7
Compiling gix-index v0.27.0 (/home/builder/.termux-build/gitoxide/src/gix-index)
error[E0308]: mismatched types
--> gix-index/src/fs.rs:47:31
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:47:29
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:47:48
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
47 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFDIR.into()
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:31
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:136:29
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:48
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG.into() && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:82
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:136:80
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:136:99
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR
| ------------------------------ ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
136 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG && self.0.st_mode & libc::S_IXUSR == libc::S_IXUSR.into()
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:146:31
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:146:29
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:146:48
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
146 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFLNK.into()
| +++++++
error[E0308]: mismatched types
--> gix-index/src/fs.rs:156:31
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG
| ^^^^^^^^^^^^ expected `u32`, found `u16`
error[E0277]: no implementation for `u32 & u16`
--> gix-index/src/fs.rs:156:29
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG
| ^ no implementation for `u32 & u16`
|
= help: the trait `BitAnd<u16>` is not implemented for `u32`
= help: the following other types implement trait `BitAnd<Rhs>`:
<u32 as BitAnd>
<u32 as BitAnd<&u32>>
<&'a u32 as BitAnd<u32>>
<&u32 as BitAnd<&u32>>
error[E0308]: mismatched types
--> gix-index/src/fs.rs:156:48
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG
| ------------------------------- ^^^^^^^^^^^^^ expected `u32`, found `u16`
| |
| expected because this is `u32`
|
help: you can convert a `u16` to a `u32`
|
156 | (self.0.st_mode & libc::S_IFMT) == libc::S_IFREG.into()
| +++++++
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `gix-index` (lib) due to 15 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.
aarch64 and x86_64 targets are built fine.
Expected behavior 🤔
No response
Git behavior
No response
Steps to reproduce 🕹
Try to build gitoxide for i686-linux-android
or armv7-linux-androideabi
targets.
Metadata
Metadata
Assignees
Labels
No labels