You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone http://github.com/rust-lang/rust/ --depth=1
cd ./rust/src
cargo clippy
thread 'main' panicked at 'could not find parent of path /', src/main.rs:124:48
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at libstd/sys_common/backtrace.rs:71
2: std::panicking::default_hook::{{closure}}
at libstd/sys_common/backtrace.rs:59
at libstd/panicking.rs:206
3: std::panicking::default_hook
at libstd/panicking.rs:222
4: std::panicking::rust_panic_with_hook
at libstd/panicking.rs:400
5: std::panicking::begin_panic_fmt
at libstd/panicking.rs:347
6: cargo_clippy::main::{{closure}}
at src/main.rs:124
7: <core::option::Option<T>>::unwrap_or_else
at /checkout/src/libcore/option.rs:376
8: cargo_clippy::main
at src/main.rs:122
9: std::rt::lang_start::{{closure}}
at /checkout/src/libstd/rt.rs:74
10: std::panicking::try::do_call
at libstd/rt.rs:59
at libstd/panicking.rs:305
11: __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:102
12: std::rt::lang_start_internal
at libstd/panicking.rs:284
at libstd/panic.rs:361
at libstd/rt.rs:58
13: std::rt::lang_start
at /checkout/src/libstd/rt.rs:74
14: main
15: __libc_start_main
16: _start
Hi,
in the rustc repo tools/clippy is a submodule, its probably uninitialized (thus the empty directory).
If you run ./x.py I think that should fetch and initialize all the required submodules. :)
clippy 0.0.186
rustc 1.25.0-nightly (27a046e 2018-02-18)
The text was updated successfully, but these errors were encountered: