-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rustpkg: workcache causes problems for "rustpkg install" #9112
Comments
ghost
assigned catamorphism
Sep 12, 2013
Yes, I see why this is true. Good catch, I'll look into it. |
I have a patch fixing this bug, but it's blocked on #9263 landing. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 18, 2022
Correct `[clippy::version]` for 1.62 lints and add note to docs closes: rust-lang/rust-clippy#9088 changelog: none --- It feels weird to have such a short PR description. So, what should I add to this one... Yes, art: ```txt ,-----.,--.,--. ' .--./| |`--' ,---. ,---.,--. ,--. | | | |,--.| .-. || .-. |\ ' / ' '--'\| || || '-' '| '-' ' \ ' `-----'`--'`--'| |-' | |-'.-' / `--' `--' `---' ``` ```txt ,-----.,--. ,--.,------. ,------.,--. ,--. ' .--./| | | || .--. '| .--. '\ `.' / | | | | | || '--' || '--' | '. / ' '--'\| '--.| || | --' | | --' | | `-----'`-----'`--'`--' `--' `--' ``` ```txt _____ _ _____ _____ _______ __ / ____| | |_ _| __ \| __ \ \ / / | | | | | | | |__) | |__) \ \_/ / | | | | | | | ___/| ___/ \ / | |____| |____ _| |_| | | | | | \_____|______|_____|_| |_| |_| ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some problems with workcache and
rustpkg install
, which I'm guessing stem from the same underlying problem:If you do a successful
rustpkg build
, then a subsequentrustpkg install
won't install anything (nothing is copied to bin, and bin is not created if it doesn't exist) but rustpkg will return a successful exit status, and print a few messages about files being fresh.If you do a successful
rustpkg install
(one which actually installs--not one that exhibits the problem above) and then remove the binary from bin, a subsequentrustpkg install
orrustpkg build
will fail with something like this:task failed at 'Unhandled condition: bad_stat: (std::path::PosixPath{is_absolute: true, components:
["home", ~"micah", ~"progs", ~"rustpkg-wc-bug", ~"bin", ~"myapp"]}, ~"Couldn't get file access time")'Removing
.rust/rustpkg_db.json
from the workspace fixes both problems (temporarily, until the next rustpkg build or install puts it back.)The text was updated successfully, but these errors were encountered: