Comments (3)
Indeed, a more recent stable compiler is needed. v1.48 will do the job.
Once gitoxide
reaches 1.0 one can think about supporting older stable compilers to make source installation on stable linux distributions easier.
from gitoxide.
Thanks for reporting. I have re-released the crates which broke due to me messing up version numbers in the light of breaking changes, again 😅.
Now I setup CI to install the latest version which should catch this issue in future.
Please try again.
from gitoxide.
New problem with using rustc 1.43.0 stable. Could only install with 1.50 nightly. I don't know if it is your desired behaviour, but I leave it here :)
❯ cargo install gitoxide
Updating crates.io index
Downloaded gitoxide v0.5.0
Downloaded 1 crate (36.3 KB) in 0.93s
Installing gitoxide v0.5.0
Downloaded prodash v11.0.0
Downloaded crosstermion v0.5.0
Downloaded gitoxide-core v0.6.0
Downloaded git-transport v0.4.0
Downloaded git-features v0.9.0
Downloaded git-odb v0.6.0
Downloaded git-protocol v0.3.0
Downloaded crossterm v0.18.2
Downloaded git-commitgraph v0.2.0
Downloaded tui-react v0.13.0
Downloaded tui v0.13.0
Downloaded git-packetline v0.4.0
Downloaded jwalk v0.5.1
Downloaded bytes v0.6.0
Downloaded git-object v0.5.0
Compiling libc v0.2.81
Compiling autocfg v1.0.1
Compiling version_check v0.9.2
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling syn v1.0.54
Compiling cfg-if v0.1.10
Compiling lazy_static v1.4.0
Compiling cfg-if v1.0.0
Compiling serde_derive v1.0.118
Compiling serde v1.0.118
Compiling scopeguard v1.1.0
Compiling memchr v2.3.4
Compiling log v0.4.11
Compiling bitflags v1.2.1
Compiling proc-macro-hack v0.5.19
Compiling const_fn v0.4.4
Compiling futures-core v0.3.8
Compiling crunchy v0.2.2
Compiling maybe-uninit v2.0.0
Compiling getrandom v0.2.0
Compiling tiny-keccak v2.0.2
Compiling unicode-width v0.1.8
Compiling typenum v1.12.0
Compiling quick-error v2.0.0
Compiling cc v1.0.66
Compiling pkg-config v0.3.19
Compiling rayon-core v1.9.0
Compiling radium v0.5.3
Compiling cache-padded v1.1.1
Compiling cassowary v0.3.0
Compiling waker-fn v1.1.0
Compiling unicode-segmentation v1.7.1
Compiling pin-project-lite v0.1.11
Compiling parking v2.0.0
Compiling fastrand v1.4.0
Compiling futures-io v0.3.8
Compiling nix v0.18.0
Compiling tap v1.0.0
Compiling futures-sink v0.3.8
Compiling event-listener v2.5.1
Compiling wyz v0.2.0
Compiling funty v1.0.1
Compiling build_const v0.2.1
Compiling ansi_term v0.12.1
Compiling vec-arena v1.0.0
Compiling either v1.6.1
Compiling tinyvec_macros v0.1.0
Compiling getrandom v0.1.15
Compiling matches v0.1.8
Compiling humantime v2.0.1
Compiling once_cell v1.5.2
Compiling hex v0.4.2
Compiling itoa v0.4.6
Compiling cpuid-bool v0.1.2
Compiling human_format v1.0.3
Compiling opaque-debug v0.3.0
Compiling same-file v1.0.6
Compiling bytesize v1.0.1
Compiling sha1 v0.6.0
Compiling bytes v0.6.0
Compiling percent-encoding v2.1.0
Compiling curl v0.4.34
Compiling byteorder v1.3.4
Compiling ppv-lite86 v0.2.10
Compiling ryu v1.0.5
Compiling home v0.5.3
Compiling arrayvec v0.5.2
Compiling remove_dir_all v0.5.3
Compiling anyhow v1.0.35
Compiling adler v0.2.3
Compiling base64 v0.13.0
Compiling serde_json v1.0.60
Compiling termcolor v1.1.2
Compiling hashbrown v0.9.1
Compiling vec_map v0.8.2
Compiling strsim v0.10.0
Compiling os_str_bytes v2.4.0
Compiling instant v0.1.9
Compiling lock_api v0.4.2
Compiling git-repository v0.4.0
Compiling textwrap v0.12.1
Compiling concurrent-queue v1.2.2
Compiling standback v0.2.13
Compiling generic-array v0.14.4
Compiling time v0.2.23
Compiling nom v6.0.1
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling futures-channel v0.3.8
Compiling crossbeam-utils v0.7.2
Compiling crossbeam-utils v0.8.1
Compiling memoffset v0.6.1
Compiling memoffset v0.5.6
Compiling crossbeam-epoch v0.8.2
Compiling num-traits v0.2.14
Compiling rayon v1.5.0
Compiling miniz_oxide v0.4.3
Compiling indexmap v1.6.1
Compiling tinyvec v1.1.0
Compiling unicode-bidi v0.3.4
Compiling crc v1.8.1
Compiling walkdir v2.3.1
Compiling form_urlencoded v1.0.0
Compiling uluru v1.0.0
Compiling heck v0.3.1
Compiling async-channel v1.5.1
Compiling libz-sys v1.1.2
Compiling curl-sys v0.4.39+curl-7.74.0
Compiling futures-lite v1.11.2
Compiling bitvec v0.19.4
Compiling quote v1.0.7
Compiling unicode-normalization v0.1.16
Compiling mio v0.7.6
Compiling signal-hook-registry v1.2.2
Compiling num_cpus v1.13.0
Compiling nb-connect v1.0.2
Compiling polling v2.0.2
Compiling socket2 v0.3.17
Compiling filebuffer v0.4.0
Compiling atty v0.2.14
Compiling crossbeam-channel v0.4.4
Compiling crossbeam-queue v0.2.3
Compiling crossbeam-epoch v0.9.1
Compiling crossbeam-channel v0.5.0
Compiling signal-hook v0.1.16
Compiling async-io v1.3.1
Compiling rand_core v0.5.1
Compiling idna v0.2.0
Compiling btoi v0.4.2
Compiling env_logger v0.8.2
Compiling crossbeam-deque v0.7.3
Compiling crossbeam-deque v0.8.0
Compiling const-random-macro v0.1.13
Compiling rand_chacha v0.2.2
Compiling digest v0.9.0
Compiling block-buffer v0.9.0
Compiling crossbeam v0.7.3
Compiling url v2.2.0
Compiling sha-1 v0.9.2
Compiling rand v0.7.3
Compiling const-random v0.1.13
Compiling ahash v0.3.8
Compiling dashmap v3.11.10
Compiling tempfile v3.1.0
Compiling ctrlc v3.1.7
Compiling jwalk v0.5.1
Compiling time-macros-impl v0.1.1
Compiling thiserror-impl v1.0.22
Compiling clap_derive v3.0.0-beta.2
Compiling time-macros v0.1.1
Compiling thiserror v1.0.22
Compiling clap v3.0.0-beta.2
Compiling smallvec v1.5.1
Compiling bstr v0.2.14
Compiling parking_lot_core v0.8.1
Compiling parking_lot v0.11.1
Compiling git-ref v0.4.0
Compiling git-packetline v0.4.0
Compiling git-url v0.1.0
Compiling git-object v0.5.0
Compiling crossterm v0.18.2
Compiling tui v0.13.0
Compiling tui-react v0.13.0
Compiling crosstermion v0.5.0
Compiling prodash v11.0.0
Compiling git-features v0.9.0
Compiling git-transport v0.4.0
Compiling git-odb v0.6.0
Compiling git-commitgraph v0.2.0
error[E0658]: use of unstable library feature 'str_strip': newly added
--> /Users/patrickhaller/.cargo/registry/src/github.com-1ecc6299db9ec823/git-commitgraph-0.2.0/src/file/verify.rs:145:39
|
145 | .and_then(|filename| filename.strip_suffix(".graph"))
| ^^^^^^^^^^^^
|
= note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information
error[E0658]: use of unstable library feature 'str_strip': newly added
--> /Users/patrickhaller/.cargo/registry/src/github.com-1ecc6299db9ec823/git-commitgraph-0.2.0/src/file/verify.rs:146:31
|
146 | .and_then(|stem| stem.strip_prefix("graph-"))
| ^^^^^^^^^^^^
|
= note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `git-commitgraph`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gitoxide v0.5.0`, intermediate artifacts can be found at `/var/folders/pz/1bgtc0456j33k6w2w_ggxm5m0000gn/T/cargo-installoPhW9q`
Caused by:
build failed
from gitoxide.
Related Issues (20)
- OSS-Fuzz issue 64904 HOT 1
- update ring dependency HOT 4
- Inconsistency in gix clone with repo url with a dot. HOT 1
- oxidize `lilgit` HOT 1
- `gix-archive` - submodule support
- Updating packed-refs fails on Windows if `mmap`-ed (i.e. file size is over 32KiB) HOT 6
- OSS-Fuzz issue 65196 HOT 1
- Consider a `crates` folder HOT 1
- OSS-Fuzz issue 65229 HOT 1
- OSS-Fuzz issue 65231 HOT 1
- some dependencies are yanked HOT 1
- gitoxide requires miniz_oxide even when building with libz-ng HOT 3
- OSS-Fuzz issue 65351 HOT 1
- gix-index failing to build on NetBSD HOT 3
- Provide usage examples for the `Find` trait HOT 3
- Create a git wrapper that polyfill's unsupported behaviour HOT 1
- Rewrite tracker panics on BlobExecutable HOT 2
- OSS-Fuzz issue 65492 HOT 1
- make `ItemSliceSync` safe HOT 15
- OSS-Fuzz issue 65543 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitoxide.