Skip to content
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

esp-backtrace (0.12.1) - error[E0583]: file not found for module arc #1787

Closed
Token-Thinker opened this issue Jul 11, 2024 Discussed in #1783 · 1 comment
Closed

esp-backtrace (0.12.1) - error[E0583]: file not found for module arc #1787

Token-Thinker opened this issue Jul 11, 2024 Discussed in #1783 · 1 comment
Labels
package:esp-backtrace Issues related to the esp-backtrace package

Comments

@Token-Thinker
Copy link

Discussed in #1783

Originally posted by Token-Thinker July 11, 2024
I strongly believe it is user error but I can't find the answer. Some assistance would be appreciated.

toolchain = esp

rustc 1.77.0-nightly (424037dcb 2024-03-18) (1.77.0.0)
binary: rustc
host: x86_64-unknown-linux-gnu
release: 1.77.0-nightly
LLVM version: 17.0.1

error[E0583]: file not found for module `arch`
  --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-backtrace-0.12.1/src/lib.rs:50:1
   |
50 | pub mod arch;
   | ^^^^^^^^^^^^^
   |
   = help: to create the module `arch`, create file "~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-backtrace-0.12.1/src/arch.rs" or "/home/mguerrier/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-backtrace-0.12.1/src/arch/mod.rs"
   = note: if there is a `mod arch` elsewhere in the crate already, import it with `use crate::...` instead

error[E0425]: cannot find function `backtrace` in module `crate::arch`
   --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-backtrace-0.12.1/src/lib.rs:105:34
    |
105 |     let backtrace = crate::arch::backtrace();
    |                                  ^^^^^^^^^ not found in `crate::arch`

error[E0425]: cannot find value `RA_OFFSET` in module `crate::arch`
   --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-backtrace-0.12.1/src/lib.rs:116:52
    |
116 |             println!("0x{:x}", addr - crate::arch::RA_OFFSET);
    |                                                    ^^^^^^^^^ not found in `crate::arch`

Some errors have detailed explanations: E0425, E0583.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `esp-backtrace` (lib) due to 3 previous errors

``` </div>
@MabezDev
Copy link
Member

I have replied in the original discussion.

@SergioGasquez SergioGasquez added the package:esp-backtrace Issues related to the esp-backtrace package label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:esp-backtrace Issues related to the esp-backtrace package
Projects
Archived in project
Development

No branches or pull requests

3 participants