Comments (6)
Which Rust version do you have (rustc -V
)?
Which command did you run?
On which platform?
I cannot reproduce this issue with both Rust stable (1.14) and nightly on ArchLinux.
Thanks for reporting this issue.
from uncbv.
rustc 1.7.0
cargo install uncbv
Ubuntu 16.04.1 LTS
from uncbv.
Apologies command was cargo install --path . ,other command produces another error which I will post below.
from uncbv.
rustc 1.7.0
cargo install uncbv
Ubuntu 16.04.1 LTS
Compiling memchr v0.1.11
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:47:27: 47:31 error: unresolved name node
[E0425]
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:47 let $dir: &Tree = node.$dir.as_ref().unwrap();
^~~~
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:13: 111:55 note: in this expansion of visit! (defined in /home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs)
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:47:27: 47:31 help: run rustc --explain E0425
to see a detailed explanation
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:48: 111:53 error: unresolved name right
[E0425]
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111 visit!(current_node, tree, result, right);
^~~~~
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:13: 111:55 note: in this expansion of visit! (defined in /home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs)
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:48: 111:53 help: run rustc --explain E0425
to see a detailed explanation
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:48: 111:53 error: unresolved name right
[E0425]
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111 visit!(current_node, tree, result, right);
^~~~~
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:13: 111:55 note: in this expansion of visit! (defined in /home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs)
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:111:48: 111:53 help: run rustc --explain E0425
to see a detailed explanation
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:47:27: 47:31 error: unresolved name node
[E0425]
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:47 let $dir: &Tree = node.$dir.as_ref().unwrap();
^~~~
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:13: 114:54 note: in this expansion of visit! (defined in /home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs)
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:47:27: 47:31 help: run rustc --explain E0425
to see a detailed explanation
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:48: 114:52 error: unresolved name left
[E0425]
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114 visit!(current_node, tree, result, left);
^~~~
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:13: 114:54 note: in this expansion of visit! (defined in /home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs)
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:48: 114:52 help: run rustc --explain E0425
to see a detailed explanation
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:48: 114:52 error: unresolved name left
[E0425]
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114 visit!(current_node, tree, result, left);
^~~~
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:13: 114:54 note: in this expansion of visit! (defined in /home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs)
/home/squirrel/.cargo/registry/src/github.com-88ac128001ac3a9a/huffman-0.0.2/src/lib.rs:114:48: 114:52 help: run rustc --explain E0425
to see a detailed explanation
error: aborting due to 6 previous errors
Build failed, waiting for other jobs to finish...
failed to compile uncbv v0.2.2
, intermediate artifacts can be found at /home/squirrel/uncbv/target-install
from uncbv.
This is a very old version, but I made the changes to make it work on it.
Please tell me if cargo install uncbv
now works.
from uncbv.
All works now!
from uncbv.
Related Issues (3)
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 uncbv.