Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCompile error when trying to use infer_schema!() against existing database #496
Comments
This comment has been minimized.
ghotiphud
commented
Nov 16, 2016
|
Enabling the "large-tables" feature fixes the compiler panic, but still getting warnings about |
This comment has been minimized.
|
IIRC, #493 aims to fix the |
This comment has been minimized.
|
Oh good, nightlies are building again. This is fixed by #493. I'll try to release tonight. |
sgrif
closed this
Nov 16, 2016
This comment has been minimized.
|
As a workaround in the short term you can use an older nightly. |
This comment has been minimized.
ghotiphud
commented
Nov 17, 2016
|
That's alright. I was just walking through the getting started guide when I hit this, so I'm going to take a look at rust-postgres and check back later. Thanks for your work on this, seems like it's going to be pretty awesome! |
This comment has been minimized.
bronson
commented
Nov 18, 2016
|
I just hit this too, couldn't finish step 1 in the getting_started guide. Ah, nightlies! Looks like rustc needs a little more time in the oven... I'll try again in a few weeks. |
This comment has been minimized.
|
All rust nightlies which have this issue are actually completely broken for procedural macros. It's all fixed on master, so we'll release tomorrow or the day after depending on when the nightly was rolled |
This comment has been minimized.
bronson
commented
Nov 18, 2016
|
Oh good. I'll try again in a few days. How far back to I need to go if I want to keep going tonight? Maybe a month old nightly? |
This comment has been minimized.
|
2016-11-06 |
This comment has been minimized.
bronson
commented
Nov 18, 2016
|
|
This comment has been minimized.
bronson
commented
Nov 18, 2016
|
Hm, late oct / early nov only appear to work on Linux. Getting consistent ICEs on Mac:
owell, I'll try again in a few days. sgrif, just curious: which platform to you use for Diesel dev? |
This comment has been minimized.
|
Run |
This comment has been minimized.
bronson
commented
Nov 18, 2016
|
Yep, that worked! Thanks for ignoring my attempts to give up. |
This comment has been minimized.
nkhinchi
commented
Nov 19, 2016
•
|
Hi, I am getting the same error on rustc 1.14.0-nightly (cae6ab1c4 2016-11-05) error: custom derive attribute panicked error: Could not compile I am using code from the examples directory to test diesel. |
This comment has been minimized.
|
@nkhinchi Do you have the |
This comment has been minimized.
nkhinchi
commented
Nov 19, 2016
|
Thanks, that did the trick. I was struggling with the original error before. |
sgrif
referenced this issue
Nov 22, 2016
Closed
Conflicting trait implementations caused by Insertable, Queryable derivations. #498
This comment has been minimized.
|
0.8.2 has been released with a fix |
This comment has been minimized.
bronson
commented
Nov 22, 2016
|
Right on, looks great. |
ghotiphud commentedNov 16, 2016
•
edited