Coder Social home page Coder Social logo

Could not compile huffman about uncbv HOT 6 CLOSED

antoyo avatar antoyo commented on August 15, 2024
Could not compile huffman

from uncbv.

Comments (6)

antoyo avatar antoyo commented on August 15, 2024

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.

JustinHadi avatar JustinHadi commented on August 15, 2024

rustc 1.7.0
cargo install uncbv
Ubuntu 16.04.1 LTS

from uncbv.

JustinHadi avatar JustinHadi commented on August 15, 2024

Apologies command was cargo install --path . ,other command produces another error which I will post below.

from uncbv.

JustinHadi avatar JustinHadi commented on August 15, 2024

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.

antoyo avatar antoyo commented on August 15, 2024

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.

JustinHadi avatar JustinHadi commented on August 15, 2024

All works now!

from uncbv.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.