In Chapter 3, section Marker Traits, the provided example code has a struct MyStruct, and in main() clone() is called on an instance of MyStruct.
But for this code to compile, it is necessary to derive the Copy and Clone traits:
#[derive(Copy, Clone)]
struct MyStruct;