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 Failure on Rust 1.80.00 or later #340

Open
tomodachi94 opened this issue Aug 17, 2024 · 0 comments · May be fixed by #341 or #347
Open

Build Failure on Rust 1.80.00 or later #340

tomodachi94 opened this issue Aug 17, 2024 · 0 comments · May be fixed by #341 or #347
Labels
bug Something isn't working

Comments

@tomodachi94
Copy link

Description of the bug

The crab.fit API fails to build on Rust 1.80.0 or later.

To reproduce

  1. cd `mktemp -d` && git clone https://github.com/GRA0007/crab.fit && cd crab.fit/api
  2. cargo build
  3. See error related to the time crate

Expected behavior

Builds should probably work on Rust versions 1.80.0 or later.

Additional information

Further reading:

@tomodachi94 tomodachi94 added the bug Something isn't working label Aug 17, 2024
tomodachi94 added a commit to tomodachi94/crab.fit that referenced this issue Aug 17, 2024
This is necessary due to an outdated `time` crate causing a build
failure on Rust 1.80.0 and later.

To reproduce these changes, run the following commands:
```
<clone my fork>
cd api
mv Cargo.lock Cargo.lock.bak
cargo update
diff Cargo.lock Cargo.lock.bak
-- There should be no changes, assuming that new updates to your
-- dependencies exist.
```

Further reading:
* time-rs/time#681
* rust-lang/rust#127343

Closes GRA0007#340
@tomodachi94 tomodachi94 linked a pull request Aug 17, 2024 that will close this issue
tomodachi94 added a commit to tomodachi94/crab.fit that referenced this issue Aug 22, 2024
This is necessary due to an outdated `time` crate causing a build
failure on Rust 1.80.0 and later.

To reproduce these changes, run the following commands:
```
<clone my fork>
cd api
mv Cargo.lock Cargo.lock.bak
cargo update chrono
cargo update [email protected] --precise 0.3.36
diff Cargo.lock Cargo.lock.bak
-- There should be no changes, assuming that new updates to your
-- dependencies exist.
```

Further reading:
* time-rs/time#681
* rust-lang/rust#127343

Closes GRA0007#340
tomodachi94 added a commit to tomodachi94/nixpkgs that referenced this issue Aug 23, 2024
alyssais pushed a commit to NixOS/nixpkgs that referenced this issue Aug 24, 2024
@pratclot pratclot linked a pull request Nov 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant