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

Cargo sometimes thinks that an unfresh project is fresh #143

Closed
TyOverby opened this issue Jul 8, 2014 · 2 comments
Closed

Cargo sometimes thinks that an unfresh project is fresh #143

TyOverby opened this issue Jul 8, 2014 · 2 comments

Comments

@TyOverby
Copy link

TyOverby commented Jul 8, 2014

Inside my project called my-piston-project, running cargo build twice in a row yields interesting results. After editing a file, I ran cargo build and it said that my project is fresh. Without doing anything else, I ran cargo build again and it correctly recompiled.

ty@ty-VirtualBox:~/workspace/personal/rust/piston-tutorial$ cargo build
       Fresh gl v0.0.1 (https://github.com/bjz/gl-rs)
       Fresh piston v0.0.0 (https://github.com/PistonDevelopers/piston)
       Fresh glfw v0.0.1 (https://github.com/bjz/glfw-rs)
       Fresh glfw_game_window v0.0.0 (https://github.com/PistonDevelopers/glfw_game_window.git)
       Fresh image v0.0.0 (https://github.com/PistonDevelopers/rust-image)
       Fresh graphics v0.0.0 (https://github.com/PistonDevelopers/rust-graphics.git)
       Fresh opengl_graphics v0.0.0 (https://github.com/PistonDevelopers/opengl_graphics.git)
       Fresh my-piston-project v0.0.0 (file:/home/ty/workspace/personal/rust/piston-tutorial)
ty@ty-VirtualBox:~/workspace/personal/rust/piston-tutorial$ cargo build
       Fresh gl v0.0.1 (https://github.com/bjz/gl-rs)
       Fresh image v0.0.0 (https://github.com/PistonDevelopers/rust-image)
       Fresh graphics v0.0.0 (https://github.com/PistonDevelopers/rust-graphics.git)
       Fresh opengl_graphics v0.0.0 (https://github.com/PistonDevelopers/opengl_graphics.git)
       Fresh piston v0.0.0 (https://github.com/PistonDevelopers/piston)
       Fresh glfw v0.0.1 (https://github.com/bjz/glfw-rs)
       Fresh glfw_game_window v0.0.0 (https://github.com/PistonDevelopers/glfw_game_window.git)
   Compiling my-piston-project v0.0.0 (file:/home/ty/workspace/personal/rust/piston-tutorial)

This is the 3rd or 4th time this has happened to me, but because I tried to force it to recompile other times (by touching files in the project) there wasn't a clear bug.

@alexcrichton
Copy link
Member

Much of the management around freshness has seem some recent improvements, is this still an issue?

@TyOverby
Copy link
Author

Ok. I'll close it for now because it's basically impossible to reliably reproduce. If I see it again I'll reopen.

bors added a commit that referenced this issue Sep 24, 2019
…Eh2406

Update env_logger requirement from 0.6.0 to 0.7.0

Updates the requirements on [env_logger](https://github.com/sebasmagri/env_logger) to permit the latest version.
<details>
<summary>Release notes</summary>

*Sourced from [env_logger's releases](https://github.com/sebasmagri/env_logger/releases).*

> ## 0.7.0
> # Key Changes
>
> - Indent multiline messages by default
> - Support more timestamp precision
> - Update to the 2018 edition
>
> # Changes to minimum Rust
>
> The minimum version of Rust required has been set at `1.31.0`. We may change this in patch versions, but will always flag it in the release notes here.
>
> You can always check the `.travis.yml` file to see the current minimum supported version.
>
> # Contributions
>
> - [@&#8203;95ulisse](https://github.com/95ulisse) [Indentation for multiline log messages](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/134)
> - [@&#8203;oherrala](https://github.com/oherrala) [Add more timestamp precisions](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/140)
> - [Update to 2018 edition](https://github-redirect.dependabot.com/sebasmagri/env_logger/pull/142)
</details>
<details>
<summary>Commits</summary>

- [`424f031`](rust-cli/env_logger@424f031) Merge pull request [#143](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/143) from KodrAus/cargo/0.7.0
- [`058655e`](rust-cli/env_logger@058655e) prepare for 0.7.0 release
- [`bfac641`](rust-cli/env_logger@bfac641) Merge pull request [#142](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/142) from KodrAus/feat/2018
- [`ef10fa5`](rust-cli/env_logger@ef10fa5) use specific log version
- [`dc65e48`](rust-cli/env_logger@dc65e48) bump msrv to 1.31.0 for editions
- [`8209524`](rust-cli/env_logger@8209524) update to 2018 edition
- [`7105e63`](rust-cli/env_logger@7105e63) make breaking changes to timestamp API
- [`75911d7`](rust-cli/env_logger@75911d7) Merge pull request [#140](https://github-redirect.dependabot.com/sebasmagri/env_logger/issues/140) from oherrala/timestamp-formats
- [`95cd4ed`](rust-cli/env_logger@95cd4ed) Trick the compiler to think we are using timestamp
- [`92a5b2d`](rust-cli/env_logger@92a5b2d) Add more timestamp precisions
- Additional commits viewable in [compare view](rust-cli/env_logger@v0.6.0...v0.7.0)
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
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