Skip to content

Rust 1.19 regression, geogrid 0.3.0 #42458

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

Closed
brson opened this issue Jun 6, 2017 · 3 comments
Closed

Rust 1.19 regression, geogrid 0.3.0 #42458

brson opened this issue Jun 6, 2017 · 3 comments
Assignees
Labels
P-low Low priority regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.

Comments

@brson
Copy link
Contributor

brson commented Jun 6, 2017

https://github.com/pelmers/geogrid

commit ab1fd34287e596cfb2e96de384c4c53311db430d
Author: Peter Elmers <[email protected]>
Date:   Wed Apr 5 18:00:20 2017 -0500

    Delete ocl suppression impl because it's slow
brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +nightly -Vv
rustc 1.19.0-nightly (0418fa9d3 2017-06-04)
binary: rustc
commit-hash: 0418fa9d382a47d782cc1e195c14573be9c32095
commit-date: 2017-06-04
host: x86_64-unknown-linux-gnu
release: 1.19.0-nightly
LLVM version: 4.0

130 brian@ip-10-145-43-250:~/dev/geogrid⟫ cargo +nightly test
error: failed to parse manifest at `/mnt2/dev/geogrid/Cargo.toml`

Caused by:
  invalid type: string "true", expected a boolean for key `dependencies.ocl.optional`
@brson brson added the regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. label Jun 6, 2017
@brson
Copy link
Contributor Author

brson commented Jun 6, 2017

cc @pelmers

@Mark-Simulacrum
Copy link
Member

Looks like this was already fixed on geogrid master in pelmers/geogrid@c8a8b3d; but bisection shows introduction in d3abc80 (#41830) which updated cargo.

Possibly related to rust-lang/cargo#3964 (which updated Serde to 1.0.0 which removed some implicit conversions), but uncertain. This is the diff in Cargo: rust-lang/cargo@fa7584c...cf17c9f.

@brson brson added regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue. P-high High priority and removed regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. labels Jun 12, 2017
@Mark-Simulacrum Mark-Simulacrum added P-low Low priority and removed P-high High priority labels Jun 15, 2017
@alexcrichton
Copy link
Member

This was removed from Serde in the push to 1.0.0, but Cargo shipped in Rust 1.17.0 was the first Cargo to use Serde for deserialization (Serde 0.9). This was then also shipped in Rust 1.18.0 and the version of Cargo with Rust 1.19.0 (beta right now) uses Serde 1.0.0.

In that case this looks like it was a pretty small window of time that this bug was in Cargo and this has since been fixed upstream, so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-low Low priority regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-cargo Relevant to the cargo team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants