Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master Build Failure (unresolved import image::FilterType) #28

Open
kj800x opened this issue Mar 8, 2020 · 1 comment
Open

Master Build Failure (unresolved import image::FilterType) #28

kj800x opened this issue Mar 8, 2020 · 1 comment

Comments

@kj800x
Copy link

kj800x commented Mar 8, 2020

A fresh build from master on a fresh install of rust fails.

kevin@rayquaza:~$ rustc --version
rustc 1.39.0
kevin@rayquaza:~$ cargo --version
cargo 1.41.0 (626f0f40e 2019-12-03)
kevin@rayquaza:~$ cargo install --git https://github.com/hopey-dishwasher/termpix
    Updating git repository `https://github.com/hopey-dishwasher/termpix`
  Installing termpix v0.1.0 (https://github.com/hopey-dishwasher/termpix#c22d061f)
    Updating crates.io index
   Compiling autocfg v1.0.0
   Compiling lazy_static v1.4.0
   Compiling semver-parser v0.7.0
   Compiling cfg-if v0.1.10
   Compiling maybe-uninit v2.0.0
   Compiling libc v0.2.67
   Compiling byteorder v1.3.4
   Compiling proc-macro2 v1.0.9
   Compiling unicode-xid v0.2.0
   Compiling scopeguard v1.1.0
   Compiling adler32 v1.0.4
   Compiling rayon-core v1.7.0
   Compiling syn v1.0.16
   Compiling memchr v2.3.3
   Compiling bitflags v1.2.1
   Compiling crc32fast v1.2.0
   Compiling serde v1.0.104
   Compiling either v1.5.3
   Compiling lzw v0.10.0
   Compiling regex-syntax v0.6.16
   Compiling color_quant v1.0.1
   Compiling bytemuck v1.2.0
   Compiling scoped_threadpool v0.1.9
   Compiling strsim v0.9.3
   Compiling ansi_term v0.7.5
   Compiling thread_local v1.0.1
   Compiling inflate v0.4.5
   Compiling miniz_oxide v0.3.6
   Compiling semver v0.9.0
   Compiling gif v0.10.3
   Compiling rustc_version v0.2.3
   Compiling aho-corasick v0.7.9
   Compiling crossbeam-utils v0.7.2
   Compiling crossbeam-epoch v0.8.2
   Compiling num-traits v0.2.11
   Compiling num-integer v0.1.42
   Compiling num-iter v0.1.40
   Compiling num-rational v0.2.3
   Compiling quote v1.0.3
   Compiling deflate v0.7.20
   Compiling tiff v0.4.0
   Compiling memoffset v0.5.3
   Compiling num_cpus v1.12.0
   Compiling terminal_size v0.1.10
   Compiling png v0.15.3
   Compiling regex v1.3.4
   Compiling crossbeam-queue v0.2.1
   Compiling crossbeam-deque v0.7.3
   Compiling rayon v1.3.0
   Compiling jpeg-decoder v0.1.18
   Compiling image v0.23.0
   Compiling serde_derive v1.0.104
   Compiling docopt v1.1.0
   Compiling termpix v0.1.0 (https://github.com/hopey-dishwasher/termpix#c22d061f)
error[E0432]: unresolved import `image::FilterType`
 --> /home/kevin/.cargo/git/checkouts/termpix-408ef1586b012b19/c22d061/src/lib.rs:8:23
  |
8 | use image::{imageops, FilterType, Pixel};
  |                       ^^^^^^^^^^ no `FilterType` in the root

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `termpix`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `termpix v0.1.0 (https://github.com/hopey-dishwasher/termpix#c22d061f)`, intermediate artifacts can be found at `/tmp/cargo-installSuybPh`

Caused by:
  build failed
kevin@rayquaza:~$ 
@kj800x
Copy link
Author

kj800x commented Mar 8, 2020

Using mmacedoeu's fork seems to have the build issues fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant