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

Build error #161

Closed
thewchan opened this issue Feb 16, 2022 · 11 comments
Closed

Build error #161

thewchan opened this issue Feb 16, 2022 · 11 comments
Assignees
Labels
bug Something isn't working high-priority

Comments

@thewchan
Copy link

Hi, I've been trying to build the newest version of robyn (v0.12.1) for distributing in conda-forge, but I've been getting this error during the build process:

  error[E0308]: mismatched types
     --> src/server.rs:160:33
      |
  160 |                 .client_timeout(0)
      |                                 ^ expected struct `std::time::Duration`, found integer

I've tried conforming to the rust version in the CI to no avail. Does anyone have any advice?

@sansyrox
Copy link
Member

Hi @thewchan .

I will be happy to help. Can you please tell me the exact steps you took in the build process?

@thewchan
Copy link
Author

The build happens in the conda-forge CI pipeline; here's the link to the printout, I wonder if there's a better way to show you exactly the steps other than this though:
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=460137&view=logs&j=9a864fd9-6c8f-52ca-79ce-2aa6dca1a1de&t=10fc5aa2-324e-5982-4c88-6b31fcab16b3

Let me know if you have access issue

@sansyrox
Copy link
Member

@thewchan , I can see that one of the library functions is deprecated in the error log, which is probably why the resulting error. Can you confirm if you get the same error in the latest version, i.e. 0.13.0 . If yes, I will make a new release with the updated dependencies.

@sansyrox
Copy link
Member

@thewchan , this is not good news :(

No worries, I will make a new release by tomorrow eod.

@sansyrox sansyrox self-assigned this Feb 17, 2022
@sansyrox sansyrox added bug Something isn't working high-priority labels Feb 17, 2022
@thewchan
Copy link
Author

Thanks so much @sansyrox, really appreciate it. Hope this works!

@sansyrox
Copy link
Member

Hi @thewchan , I just released v0.13.1. It is working well on my Pipeline. Can you please check if this works for you too?

@thewchan
Copy link
Author

Thanks, I'll give it a try and report back!

@thewchan
Copy link
Author

@sansyrox It built correctly now; thanks so much!

@sansyrox
Copy link
Member

My Please @thewchan :D

Does this mean that robyn can also be installed via conda now?

@thewchan
Copy link
Author

Indeed; earlier versions (0.10 I think) are already available via conda install -c conda-forge robyn
v0.13.1 will take a bit for the CI to go through completely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority
Projects
None yet
Development

No branches or pull requests

2 participants