I had some trouble getting this to work with version 1.54 of the Rust toolchain, so I had to bump it up to 1.59.