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

[BUG] Compile fails in nightly #1508

Open
martinellison opened this issue Apr 13, 2019 · 4 comments

Comments

6 participants
@martinellison
Copy link

commented Apr 13, 2019

Description

Compile error in the renderer in nightly.

Reproduction Steps

Build amethyst in nightly.

What You Expected to Happen

Clean compile.

What Actually Happened

Build failed; see messages below.

Screenshots and Logs

This is what I am getting:

/home/martin/.cargo/registry/src/github.com-1ecc6299db9ec823/amethyst_renderer-0.10.4/src/light.rs:185:50
|
185 | #[derive(Default, Clone, Serialize, Deserialize, PrefabData)]
| ^^^^^^^^^^ invalid suffix usize

error: proc-macro derive produced unparseable tokens

Your Environment

System: Host: xiaomading Kernel: 4.4.154-59-rockchip-g5e70f14 aarch64 bits: 32
Desktop: Xfce 4.12.3 Distro: Ubuntu 18.04.2 LTS
CPU: 6 core (-MCP-) (ARM)
clock speeds: max: 1416 MHz 1: 1008 MHz 2: 1008 MHz 3: 1008 MHz 4: 1008 MHz
5: 1008 MHz 6: 1008 MHz
Graphics: Card: Failed to Detect Video Card!
Display Server: x11 (X.Org 1.19.6 ) driver: modesetting
Resolution: 1920x1080@60.00hz
OpenGL: renderer: llvmpipe (LLVM 7.0, 128 bits) version: 3.3 Mesa 18.2.8

"amethyst_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"amethyst_renderer 0.10.4 (registry+https://github.com/rust-lang/crates.io-index)",

Additional Context

@Patryk27

This comment has been minimized.

Copy link

commented Apr 13, 2019

Probably same as here - could you please try on the master version of Amethyst?

@0x6273

This comment has been minimized.

Copy link
Contributor

commented Apr 13, 2019

If you want to use the 0.10 release on nightly, you will need to clone the repo, git reset --hard v0.10.0, and git cherry-pick this and this commit.

@torkleyy

This comment has been minimized.

Copy link
Member

commented Apr 14, 2019

Ah, we should release new versions with the fix!

@fhaynes fhaynes added this to Needs triage in Bugs Apr 23, 2019

@fhaynes fhaynes moved this from Needs triage to Low priority in Bugs Apr 23, 2019

@Mec-iS

This comment has been minimized.

Copy link

commented Apr 26, 2019

On Ubuntu 18.04, this is still affecting building with official crate (0.10.0) and rust 1.34.0. Building is successful when using the code in master with rustc 1.36.0:

[INFO][amethyst::app] Amethyst git commit: ddabdc56c5b18dc557fe25c3f79e3c39417e77f3
[INFO][amethyst::app] Rustc version: 1.36.0-nightly Nightly
[INFO][amethyst::app] Rustc git commit: 3991285f55a4b7cd92b7ffcdc396a3023076f5cb
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.