dan-t / rusty-tags

Create ctags/etags for a cargo project
Other
408 stars 32 forks source link

Currently does not build #64

Closed SirVer closed 5 years ago

SirVer commented 5 years ago

This is on x86_64 linux, latest rust (rustc 1.32.0-nightly (d09466ceb 2018-11-30)):

cargo install rusty-tags                        ~/src/giti
    Updating crates.io index
  Installing rusty-tags v3.5.1
   Compiling libc v0.2.62
   Compiling getrandom v0.1.12
   Compiling cfg-if v0.1.10
   Compiling proc-macro2 v1.0.5
   Compiling lazy_static v1.4.0
   Compiling ppv-lite86 v0.2.5
   Compiling unicode-xid v0.2.0
   Compiling serde v1.0.101
   Compiling ryu v1.0.0
   Compiling bitflags v1.2.0
   Compiling syn v1.0.5
   Compiling unicode-width v0.1.6
   Compiling itoa v0.4.4
   Compiling ansi_term v0.11.0
   Compiling remove_dir_all v0.5.2
   Compiling strsim v0.8.0
   Compiling semver-parser v0.7.0
   Compiling vec_map v0.8.1
   Compiling scoped_threadpool v0.1.9
   Compiling fnv v1.0.6
   Compiling textwrap v0.11.0
   Compiling c2-chacha v0.2.2
   Compiling semver v0.9.0
   Compiling atty v0.2.13
   Compiling num_cpus v1.10.1
   Compiling dirs v1.0.5
error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130)
  --> /home/sirver/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.12/src/error_impls.rs:13:5
   |
8  | extern crate std;
   | ----------------- not an extern crate passed with `--extern`
...
13 | use std::io;
   |     ^^^
   |
   = help: add #![feature(uniform_paths)] to the crate attributes to enable
note: this import refers to the extern crate imported here
  --> /home/sirver/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.12/src/error_impls.rs:8:1
   |
8  | extern crate std;
   | ^^^^^^^^^^^^^^^^^

   Compiling clap v2.33.0
error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `getrandom`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rusty-tags v3.5.1`, intermediate artifacts can be found at `/tmp/cargo-installPOYwdM`

Caused by:
  build failed
dan-t commented 5 years ago

I can't reproduce this with the current stable version (1.38.0) nor with the current nightly version of rustc (1.40.0).

SirVer commented 5 years ago

Sorry for the noise. The problem was the pinned rust nightly version in my repo which was no longer able to build rusty-tags. That seems not super surprising though. thanks for the swift reply!