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

Getting-started example won't build, failed dependency: x11-dl #420

Open
haiitch opened this issue Jul 23, 2018 · 0 comments
Open

Getting-started example won't build, failed dependency: x11-dl #420

haiitch opened this issue Jul 23, 2018 · 0 comments

Comments

@haiitch
Copy link

haiitch commented Jul 23, 2018

Getting-started example won't build, failed dependency: x11-dl

Output of cargo build follows:

   Compiling memoffset v0.2.1
   Compiling scoped_threadpool v0.1.9
   Compiling num-traits v0.2.5
   Compiling log v0.4.3
   Compiling crossbeam-utils v0.2.2
   Compiling xml-rs v0.7.0
   Compiling unreachable v0.1.1
   Compiling proc-macro2 v0.4.9
   Compiling arrayvec v0.4.7
   Compiling x11-dl v2.18.1
   Compiling inflate v0.4.3
error: non-reference pattern used to match a reference (see issue #42640)
  --> /home/vxv/.cargo/registry/src/github.com-1ecc6299db9ec823/x11-dl-2.18.1/build.rs:33:9
   |
33 |     for (lib, pcname) in libraries.iter() {
   |         ^^^^^^^^^^^^^ help: consider using a reference: `&(lib, pcname)`

error: aborting due to previous error

error: Could not compile `x11-dl`.
warning: build failed, waiting for other jobs to finish...
error: build failed
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