A binary can only have one entry point, and by default that entry point is the function main(). If there are multiple such functions, please rename one.

Erroneous code example:

fn main() {
    // ...
}

// ...

fn main() { // error!
    // ...
}