Skip to content

thread 'main' panicked at 'unexpected file ...' #850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
osa1 opened this issue Mar 18, 2021 · 1 comment
Closed

thread 'main' panicked at 'unexpected file ...' #850

osa1 opened this issue Mar 18, 2021 · 1 comment
Labels
C-bug A bug

Comments

@osa1
Copy link

osa1 commented Mar 18, 2021

Using master branch (e4e5da4)

In a clean tree, if I run

./target/release/collector \
    profile_local \
    self-profile \
    /home/omer/rust/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc \
    test

I get this output:

Profiling with SelfProfile
46 benchmarks remaining
Preparing await-call-tree
Running await-call-tree: Check + [Full, IncrFull, IncrUnchanged, IncrPatched]
thread 'main' panicked at 'unexpected file "results/Zsp-test-await-call-tree-Check-Full/await_call_tree-4903.mm_profdata"', collector/src/execute.rs:884:25
stack backtrace:
   0: rust_begin_unwind
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:493:5
   1: std::panicking::begin_panic_fmt
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:435:5
   2: <collector::execute::ProfileProcessor as collector::execute::Processor>::process_output
             at ./collector/src/execute.rs:884:25
   3: collector::execute::CargoProcess::run_rustc
             at ./collector/src/execute.rs:424:23
   4: collector::execute::Benchmark::measure
             at ./collector/src/execute.rs:1242:21
   5: collector::main_result
             at ./collector/src/main.rs:763:21
   6: collector::main
             at ./collector/src/main.rs:441:11
   7: core::ops::function::FnOnce::call_once
             at /home/omer/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
@tgnottingham
Copy link
Contributor

This looks like it was fixed by commit 4fa8ee6 of #865.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug A bug
Projects
None yet
Development

No branches or pull requests

3 participants