Skip to content

memory allocation of 18446744073709551615 bytes failed #8558

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
pickfire opened this issue Mar 17, 2022 · 2 comments
Closed

memory allocation of 18446744073709551615 bytes failed #8558

pickfire opened this issue Mar 17, 2022 · 2 comments
Labels
C-bug Category: Clippy is not doing the correct thing

Comments

@pickfire
Copy link
Contributor

Summary

Failed when I run cargo clippy

Reproducer

  1. Checkout code from https://github.com/pickfire/fs-ledger
  2. cargo clippy
memory allocation of 18446744073709551615 bytes failed
error: could not compile `fs-ledger`

Caused by:
  process didn't exit successfully: `/home/ivan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name fs_ledger --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 -C metadata=a81954ee3b30982f -C extra-filename=-a81954ee3b30982f --out-dir /home/ivan/src/pickfire/rs/fs-ledger/target/debug/deps -C linker=clang -C incremental=/home/ivan/src/pickfire/rs/fs-ledger/target/debug/incremental -L dependency=/home/ivan/src/pickfire/rs/fs-ledger/target/debug/deps --extern regex=/home/ivan/src/pickfire/rs/fs-ledger/target/debug/deps/libregex-04ebdbaf36af43bd.rmeta -C link-arg=-fuse-ld=/usr/bin/mold` (signal: 6, SIGABRT: process abort signal)

Version

rustc 1.59.0 (9d1b2106e 2022-02-23)
binary: rustc
commit-hash: 9d1b2106e23b1abd32fce1f17267604a5102f57a
commit-date: 2022-02-23
host: x86_64-unknown-linux-gnu
release: 1.59.0
LLVM version: 13.0.0

Additional Labels

No response

@pickfire pickfire added the C-bug Category: Clippy is not doing the correct thing label Mar 17, 2022
@Alexendoo
Copy link
Member

Doesn't happen on nightly, I believe this was fixed by #8250

@giraffate
Copy link
Contributor

Thanks for the report!

As said in #8558 (comment), it seems to have been resolved, so I close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing
Projects
None yet
Development

No branches or pull requests

3 participants