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

Unable to build project template after the latest gtest release #571

Open
btwiuse opened this issue Oct 8, 2024 · 0 comments
Open

Unable to build project template after the latest gtest release #571

btwiuse opened this issue Oct 8, 2024 · 0 comments

Comments

@btwiuse
Copy link
Member

btwiuse commented Oct 8, 2024

Problem

gtest 1.6.1 got yanked and updated to 1.6.2: https://crates.io/crates/gtest/versions

Now it is breaking the build of programs depending on sails 0.6.0

Steps

[root@codespaces-48b72c workspaces]# cargo sails new-program x && cd x
[root@codespaces-48b72c x]# cargo b -r
    Updating crates.io index
error: failed to select a version for the requirement `gtest = "=1.6.1"`
candidate versions found which didn't match: 1.6.2, 1.5.1, 1.5.0, ...
location searched: crates.io index
required by package `sails-rs v0.6.0`
    ... which satisfies dependency `sails-rs = "^0.6.0"` of package `x v0.1.0 (/workspaces/x)`
if you are looking for the prerelease package it needs to be specified explicitly
    gtest = { version = "1.3.1-pre.3" }

Possible Solution

Allow cargo sails new-program to specify a historical sails version in case the latest doesn't work. It would also be good for reproducibility

Possible cmdline interface:

$ cargo sails new-program --sails-version v0.5.0

Notes

No response

Relevant Log Output

Click to expand/collapse

<Paste your log here>

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

1 participant