Open YtvwlD opened 4 years ago
I tried building 0.2.0 in my laptop last week and it failed with this message:
$ cargo install unbox Updating crates.io index Downloaded unbox v0.2.0 Downloaded 1 crate (241.6 KB) in 0.75s Installing unbox v0.2.0 Downloaded cc v1.0.52 Downloaded termios v0.3.2 Downloaded console v0.11.2 Downloaded zip v0.5.5 Downloaded tree_magic v0.2.3 Downloaded cab v0.2.0 Downloaded xz2 v0.1.6 Downloaded ar v0.6.2 Downloaded regex v1.3.7 Downloaded backtrace-sys v0.1.36 Downloaded parking_lot v0.10.2 Downloaded strum_macros v0.13.0 Downloaded libc v0.2.69 Downloaded strum v0.13.0 Downloaded owning_ref v0.4.1 Downloaded syn v1.0.18 Downloaded terminal_size v0.1.12 Downloaded time v0.1.43 Downloaded petgraph v0.5.0 Downloaded podio v0.1.6 Downloaded parking_lot_core v0.7.2 Downloaded lock_api v0.3.4 Downloaded lzma-sys v0.1.15 Downloaded nom v3.2.1 Downloaded smallvec v1.4.0 Downloaded fixedbitset v0.2.0 Compiling libc v0.2.69 Compiling cfg-if v0.1.10 Compiling autocfg v1.0.0 Compiling cc v1.0.52 Compiling rand_core v0.4.2 Compiling autocfg v0.1.7 Compiling proc-macro2 v0.4.30 Compiling memchr v2.3.3 Compiling lazy_static v1.4.0 Compiling unicode-xid v0.1.0 Compiling proc-macro2 v1.0.10 Compiling semver-parser v0.7.0 Compiling crc32fast v1.2.0 Compiling syn v0.15.44 Compiling unicode-xid v0.2.0 Compiling smallvec v1.4.0 Compiling scopeguard v1.1.0 Compiling adler32 v1.0.4 Compiling syn v1.0.18 Compiling unicode-width v0.1.7 Compiling byteorder v1.3.4 Compiling regex-syntax v0.6.17 Compiling pkg-config v0.3.17 Compiling bitflags v1.2.1 Compiling failure_derive v0.1.7 Compiling log v0.4.8 Compiling fixedbitset v0.2.0 Compiling rustc-demangle v0.1.16 Compiling unicode-segmentation v1.6.0 Compiling podio v0.1.6 Compiling rle-decode-fast v1.0.1 Compiling strsim v0.8.0 Compiling vec_map v0.8.1 Compiling ansi_term v0.11.0 Compiling fixedbitset v0.1.9 Compiling plain v0.2.3 Compiling fnv v1.0.6 Compiling stable_deref_trait v1.1.1 Compiling take_mut v0.2.2 Compiling ordermap v0.3.5 Compiling strum v0.13.0 Compiling rand_core v0.3.1 Compiling rand_jitter v0.1.4 Compiling num-traits v0.2.11 Compiling num-integer v0.1.42 Compiling indexmap v1.3.2 Compiling thread_local v1.0.1 Compiling rand_chacha v0.1.1 Compiling rand_pcg v0.1.2 Compiling rand v0.6.5 Compiling semver v0.9.0 Compiling lock_api v0.3.4 Compiling miniz_oxide v0.3.6 Compiling textwrap v0.11.0 Compiling bzip2-sys v0.1.8+1.0.8 Compiling backtrace-sys v0.1.36 Compiling lzma-sys v0.1.15 Compiling heck v0.3.1 Compiling owning_ref v0.4.1 Compiling rand_xorshift v0.1.1 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling petgraph v0.4.13 Compiling rustc_version v0.2.3 Compiling parking_lot_core v0.7.2 Compiling time v0.1.43 Compiling termios v0.3.2 Compiling rand_os v0.1.3 Compiling memchr v1.0.2 Compiling atty v0.2.14 Compiling terminal_size v0.1.12 Compiling clicolors-control v1.0.1 Compiling filetime v0.2.9 Compiling xattr v0.2.2 Compiling memmap v0.7.0 Compiling quote v0.6.13 Compiling aho-corasick v0.7.10 Compiling flate2 v1.0.14 Compiling libflate v0.1.27 Compiling quote v1.0.3 Compiling scroll v0.9.2 Compiling ar v0.6.2 Compiling number_prefix v0.2.8 Compiling parking_lot v0.10.2 Compiling nom v3.2.1 Compiling clap v2.33.0 Compiling tar v0.4.26 Compiling petgraph v0.5.0 Compiling regex v1.3.7 Compiling xz2 v0.1.6 Compiling chrono v0.4.11 Compiling backtrace v0.3.46 Compiling bzip2 v0.3.3 Compiling tree_magic v0.2.3 Compiling uuid v0.7.4 Compiling console v0.11.2 Compiling console v0.7.7 Compiling synstructure v0.12.3 Compiling scroll_derive v0.9.5 Compiling strum_macros v0.13.0 Compiling cab v0.2.0 Compiling zip v0.5.5 Compiling indicatif v0.11.0 Compiling goblin v0.0.19 Compiling failure v0.1.7 Compiling unbox v0.2.0 error[E0308]: mismatched types --> /home/niklas/.cargo/registry/src/github.com-1ecc6299db9ec823/unbox-0.2.0/src/formats/mod.rs:79:55 | 79 | for index in graph.neighbors_directed(node_index, Direction::Incoming) { | ^^^^^^^^^^^^^^^^^^^ expected enum `petgraph::Direction`, found a different enum `petgraph::Direction` | = note: perhaps two different versions of crate `petgraph` are being used? error: aborting due to previous error For more information about this error, try `rustc --explain E0308`. error: failed to compile `unbox v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installDSeoU6` Caused by: could not compile `unbox`. To learn more, run the command again with --verbose.
The weird thing is that I managed to install unbox 0.2.0 on a different machine some time ago.
I have created a now maintained fork of this tool called unpack as this project appears to be unmaintained.
unpack
It can be installed with cargo install unpack.
cargo install unpack
I tried building 0.2.0 in my laptop last week and it failed with this message:
The weird thing is that I managed to install unbox 0.2.0 on a different machine some time ago.