dmfutcher / rustfm-scrobble

Last.fm Scrobble API for Rust
MIT License
34 stars 10 forks source link

I can`t build the code #37

Closed bDrwx closed 4 years ago

bDrwx commented 4 years ago

D:\prj\rustfm-scrobble (master -> origin) λ cargo test Compiling try-lock v0.2.2 Compiling crc32fast v1.2.0 Compiling regex-syntax v0.6.12 Compiling native-tls v0.2.3 Compiling percent-encoding v2.1.0 error: local variables in const fn are unstable --> C:\Users\Андрей.cargo\registry\src\github.com-1ecc6299db9ec823\percent-encoding-2.1.0\lib.rs:72:13 | 72 | let chunk = self.mask[byte as usize / BITS_PER_CHUNK]; | ^^^^^

error: aborting due to previous error

error: Could not compile percent-encoding. warning: build failed, waiting for other jobs to finish... error: build failed

D:\prj\rustfm-scrobble (master -> origin)

dmfutcher commented 4 years ago

It's currently building okay for me, and the Travis CI builds seem happy. Both using Rust 1.38. Do you have an up to date Rust toolchain? Could maybe be a Windows issue, I have no way to check, doesn't seem hugely likely.

bDrwx commented 4 years ago

Thank. Ubuntu LTS 18.04 and Rust 1.38 build fine.

dmfutcher commented 4 years ago

Happy it's working! If you're interested in contributing there are a bunch of Hacktoberfest issues open to work on. Always happy to see more people contribute.