Giter Club home page Giter Club logo

Comments (8)

nwin avatar nwin commented on August 26, 2024

Update rustc or do cargo update

from exa.

thisiswei avatar thisiswei commented on August 26, 2024

yo @nwin

exa(master)$ cargo update
    Updating registry `https://github.com/rust-lang/crates.io-index`
exa(master)$ cargo build --verbose
       Fresh pkg-config v0.1.7
       Fresh pad v0.1.2
       Fresh number_prefix v0.2.3
       Fresh matches v0.1.2
       Fresh bitflags v0.1.1
       Fresh locale v0.1.3
       Fresh gcc v0.2.1
       Fresh libc v0.1.2
       Fresh ansi_term v0.5.0
       Fresh log v0.2.4
       Fresh natord v1.0.7
   Compiling rustc-serialize v0.2.15
     Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.15/src/lib.rs --crate-name rustc-serialize --crate-type lib -g -C metadata=ebc743271f9255aa -C extra-filename=-ebc743271f9255aa --out-dir /private/tmp/exa/target/deps --emit=dep-info,link -L dependency=/private/tmp/exa/target/deps -L dependency=/private/tmp/exa/target/deps -Awarnings`
   Compiling regex v0.1.15
     Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.15/src/lib.rs --crate-name regex --crate-type lib -g -C metadata=2796c106c9344244 -C extra-filename=-2796c106c9344244 --out-dir /private/tmp/exa/target/deps --emit=dep-info,link -L dependency=/private/tmp/exa/target/deps -L dependency=/private/tmp/exa/target/deps -Awarnings`
       Fresh pkg-config v0.2.2
       Fresh users v0.2.3
       Fresh getopts v0.2.4
       Fresh libz-sys v0.1.0
   Compiling libssh2-sys v0.1.8
     Running `/private/tmp/exa/target/build/libssh2-sys-207fdfe7cc83e73b/build-script-build`
   Compiling openssl-sys v0.4.3
     Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.4.3/src/lib.rs --crate-name openssl-sys --crate-type lib -g -C metadata=26edf94d95ec3590 -C extra-filename=-26edf94d95ec3590 --out-dir /private/tmp/exa/target/deps --emit=dep-info,link -L dependency=/private/tmp/exa/target/deps -L dependency=/private/tmp/exa/target/deps -Awarnings -L native=/usr/lib -L native=/private/tmp/exa/target/build/openssl-sys-26edf94d95ec3590/out -l ssl -l crypto -l z -l static=old_openssl_shim`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.15/src/re.rs:582:58: 582:70 error: wrong number of type arguments: expected 2, found 1 [E0243]
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.15/src/re.rs:582     fn reg_replace<'a>(&'a mut self, caps: &Captures) -> Cow<'a, str>;
                                                                                                                                               ^~~~~~~~~~~~
Build failed, waiting for other jobs to finish...
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.15/src/collection_impls.rs:17:24: 17:34 error: unresolved import `std::collections::LinkedList`. There is no `LinkedList` in `std::collections`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.15/src/collection_impls.rs:17 use std::collections::{LinkedList, VecDeque, BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
                                                                                                                                    ^~~~~~~~~~
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.15/src/collection_impls.rs:17:36: 17:44 error: unresolved import `std::collections::VecDeque`. There is no `VecDeque` in `std::collections`
/Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.15/src/collection_impls.rs:17 use std::collections::{LinkedList, VecDeque, BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
                                                                                                                                                ^~~~~~~~
error: aborting due to 2 previous errors
Could not compile `regex`.

Caused by:
  Process didn't exit successfully: `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.15/src/lib.rs --crate-name regex --crate-type lib -g -C metadata=2796c106c9344244 -C extra-filename=-2796c106c9344244 --out-dir /private/tmp/exa/target/deps --emit=dep-info,link -L dependency=/private/tmp/exa/target/deps -L dependency=/private/tmp/exa/target/deps -Awarnings` (status=101)
exa(master)$

from exa.

ogham avatar ogham commented on August 26, 2024

Could you please paste your rustc --version? I'm using 2b01a37ec 2015-02-21.

from exa.

thisiswei avatar thisiswei commented on August 26, 2024

(air)air(master*)$ rustc --version
rustc 1.0.0-nightly (b63cee4a1 2015-02-14 17:01:11 +0000)

from exa.

thisiswei avatar thisiswei commented on August 26, 2024

I will update rust and cargo.

from exa.

ogham avatar ogham commented on August 26, 2024

Any luck?

from exa.

thisiswei avatar thisiswei commented on August 26, 2024

Yup, updated rustc solved the problem. 👍 @ogham

from exa.

ogham avatar ogham commented on August 26, 2024

👍

from exa.

Related Issues (20)

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.