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

Breakage in Rust 1.15 Beta #317

Closed
johnthagen opened this Issue Dec 22, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@johnthagen
Copy link

johnthagen commented Dec 22, 2016

See: https://travis-ci.org/johnthagen/rust-belt/jobs/185932707

error[E0432]: unresolved import ``
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/piston2d-gfx_graphics-0.33.1/src/back_end.rs:30:1
   |
30 |   gfx_pipeline_base!( pipe_colored {
   |  _^ starting here...
31 | |     pos: ::gfx::VertexBuffer<PositionFormat>,
32 | |     color: ::gfx::VertexBuffer<ColorFormat>,
33 | |     blend_target: ::gfx::BlendTarget<::gfx::format::Srgba8>,
34 | |     stencil_target: ::gfx::StencilTarget<::gfx::format::DepthStencil>,
35 | |     blend_ref: ::gfx::BlendRef,
36 | |     scissor: ::gfx::Scissor,
37 | | });
   | |___^ ...ending here: no `` in the root
   |
   = note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import ``
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/piston2d-gfx_graphics-0.33.1/src/back_end.rs:39:1
   |
39 | gfx_pipeline_base!( pipe_textured {
   | ^ no `` in the root
   |
   = note: this error originates in a macro outside of the current crate
error: aborting due to 2 previous errors
Build failed, waiting for other jobs to finish...
error: Could not compile `piston2d-gfx_graphics`.

My Cargo.toml:

[dependencies]
piston_window = "0.59.0"
piston2d-opengl_graphics = "0.36.1"
piston-music = "0.16.0"

It could be that piston_window needs to pin to a newer version of gfx_graphics?

@kvark

This comment has been minimized.

Copy link
Member

kvark commented Dec 22, 2016

gfx_graphics currently depends on gfx-0.12.0. This is issue is fixed in gfx-0.12.2

@kvark

This comment has been minimized.

Copy link
Member

kvark commented Dec 22, 2016

So you could try cargo update and see if that picks up gfx-0.12.2 automatically for you.

@kvark

This comment has been minimized.

Copy link
Member

kvark commented Dec 22, 2016

@johnthagen the new versions of piston_window, gfx_texture, and gfx_graphics are now published, based on gfx-0.13. Let me know if you need anything else!

@kvark kvark closed this Dec 22, 2016

@johnthagen

This comment has been minimized.

Copy link
Author

johnthagen commented Dec 22, 2016

Fixed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.