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

Upgrade dependencies to fix rust nightly regression #3334

Merged
merged 1 commit into from
May 24, 2024

Conversation

stevenengler
Copy link
Contributor

@stevenengler stevenengler commented May 22, 2024

Previously shadow wouldn't compile on nightly due to a rust compiler type inference change that breaks existing rust code, and they intend to stabilize this change in a couple of months. For us that breakage occurs in the time crate, so this PR upgrades all dependencies (including the time library) to fix the build error.

rust-lang/rust#99969 (comment)

rust-lang/rust#125319

The upgraded schemars version did change the cli output, specifically the displayed default values of Option arguments. I don't think there's much we can do about this, and it's not a big deal. I updated the test for the new cli output.

Edit: The schemars issue has now been fixed, so I upgraded the dependencies again. There is now no change to the cli output.

@stevenengler stevenengler self-assigned this May 22, 2024
@github-actions github-actions bot added the Component: Build Build/install tools and dependencies label May 22, 2024
@stevenengler stevenengler changed the title Upgrade dependencies to fix nightly build failure Upgrade dependencies to fix rust nightly regression May 22, 2024
@github-actions github-actions bot added the Component: Testing Unit and integration tests and frameworks label May 22, 2024
@stevenengler stevenengler requested review from robgjansen and removed request for robgjansen May 22, 2024 22:20
Previously shadow wouldn't compile on nightly due to a rust type inference
change that breaks existing rust code, and they intend to stabilize this
change. For us that breakage occurs in the time crate, so this PR upgrades all
dependencies (including the time library) to fix the build errors.

rust-lang/rust#99969 (comment)

rust-lang/rust#125319
@github-actions github-actions bot removed the Component: Testing Unit and integration tests and frameworks label May 23, 2024
@stevenengler stevenengler merged commit e706c23 into shadow:main May 24, 2024
26 checks passed
@stevenengler stevenengler deleted the fix-broken-nightly branch May 24, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build Build/install tools and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants