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

Build Fails for Missing File Panic #65

Open
lucasbrendel opened this issue Sep 15, 2019 · 2 comments
Open

Build Fails for Missing File Panic #65

lucasbrendel opened this issue Sep 15, 2019 · 2 comments

Comments

@lucasbrendel
Copy link

I have been having issues with multiple repos on my projects failing for the following error

Cloning into 'target/doc-upload'...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5
note: r

I have the GH_TOKEN. Even with filling in all env vars locally i get the same error. Not sure where the error is occurring.

@martinmroz
Copy link

Ah, yeah, I was just seeing this myself. Thoughts here would be much appreciated. I assume it's the same problem for both of us so here's a link to my repo and configuration:

https://github.com/martinmroz/iata_bcbp

@martinmroz
Copy link

martinmroz commented Jun 15, 2020

@lucasbrendel Looks like this was actually fixed on master, however the Cargo.toml was never bumped to match (#67). You can work around this one of two ways, either change your before_script to:

- cargo install --git https://github.com/roblabla/cargo-travis || echo "cargo-travis already installed"

Or, specify a --path $TRAVIS_BRANCH argument to doc-upload.

Note that the former is going to drastically increase your build times.

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