Fix demo with rustc nightly

* `get` should use `[]`
* warning with unused result