The Piston core is now 0.5 and includes some breaking changes:

The event crate is merged with the input crate

crate is merged with the crate The event_loop is reexported as a module under piston

If you are using Piston-Window these changes will not have much effects.

To fix your code, replace use piston::event::*; with use piston::input::*; .