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 upExample from the guide not working? #743
Comments
This comment has been minimized.
|
Can you run |
This comment has been minimized.
|
Also make sure you |
This comment has been minimized.
This comment has been minimized.
|
Hm. That assertion is coming from somewhere other than Diesel. Can you run again with |
This comment has been minimized.
kirs
commented
Feb 20, 2017
|
BTW, I'm running rust 1.15.1.
Not sure if I also tried grepping |
This comment has been minimized.
|
What version of Rust are you running against? ( |
This comment has been minimized.
|
Assuming the answer is stable 1.15.1, I found the assertion. Very unsure what it means though... Can you give the output of |
This comment has been minimized.
kirs
commented
Feb 20, 2017
I'm curious about how did you find the assertion. |
This comment has been minimized.
|
I grepped the Rust source for I'd maybe give it a try on nightly. I'm unsure if this is an issue on our end or Rust's. |
This comment has been minimized.
kirs
commented
Feb 20, 2017
|
It works on nightly. |
This comment has been minimized.
kirs
commented
Feb 20, 2017
|
Thanks for your help! Should we close the issue? |
This comment has been minimized.
|
I suppose so. I wish I could reproduce the issue locally. :\ |
kirs commentedFeb 20, 2017
•
edited
I copied the project from
examples/postgres/getting_started_step_3/and prepared.env, but there's something aboutinfer_schema!that fails on compile:However the
.envis valid:I also tried running
DATABASE_URL=... cargo installbut it causes the same error.I checked that maybe
infer_schema!usage have changed from the previous version and the code from the guide is using outdates API, but looking atdiesel_tests/tests/schema.rsI see nothing wrong.cc @sgrif