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

Error with GitHub Action #57

Open
MathieuSoysal opened this issue Mar 7, 2024 · 3 comments
Open

Error with GitHub Action #57

MathieuSoysal opened this issue Mar 7, 2024 · 3 comments

Comments

@MathieuSoysal
Copy link

Introduction

Hello, first thank you for your project! :D

I'm currently trying the GitHub Action on this project: https://github.com/MathieuSoysal/Exercism-Rust-Template/tree/5-feature-add-release-ci

But I have some issues with the execution of the GitHub Action, I don't know if the issue is from the GitHub Action or missing settings.

The GitHub Action shows this error:

cargo lockbud -k deadlock
  shell: sh -e {0}
  env:
    RUST_BACKTRACE: 1
    CARGO_TERM_COLOR: always
    CLICOLOR: 1
    CARGO_INCREMENTAL: 0
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `lockbud /usr/local/rustup/toolchains/nightly-x86_6[4](https://github.com/MathieuSoysal/Exercism-Rust-Template/actions/runs/8193380089/job/22407008331?pr=9#step:5:4)-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 127)
  --- stderr
  lockbud: error while loading shared libraries: librustc_driver-678dead[5](https://github.com/MathieuSoysal/Exercism-Rust-Template/actions/runs/8193380089/job/22407008331?pr=9#step:5:5)[8](https://github.com/MathieuSoysal/Exercism-Rust-Template/actions/runs/8193380089/job/22407008331?pr=9#step:5:8)8f20b2[9](https://github.com/MathieuSoysal/Exercism-Rust-Template/actions/runs/8193380089/job/22407008331?pr=9#step:5:10).so: cannot open shared object file: No such file or directory

Link to the failed job: https://github.com/MathieuSoysal/Exercism-Rust-Template/actions/runs/8193380089/job/22407008331?pr=9

@BurtonQin
Copy link
Owner

Add export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib

@MathieuSoysal
Copy link
Author

I added your recommendation, but it's still not working.

Do you have any other suggestions?

https://github.com/MathieuSoysal/Exercism-Rust-Template/actions/runs/8214666086/job/22467353532?pr=9

@BurtonQin
Copy link
Owner

BurtonQin commented Mar 13, 2024

Seems that you should use LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib. Besides, we currently support nightly-2023-10-19. Your version of Rust does not match.

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

No branches or pull requests

2 participants