This file contains multiple declarations of the form 'module SomeNamespace.SomeModule'. Only one declaration of this form ...

This file contains multiple declarations of the form 'module SomeNamespace.SomeModule'. Only one declaration of this form is permitted in a file. Change your file to use an initial namespace declaration and/or use 'module ModuleName = ...' to define your modules.