Exactly what is says! Your function block never ends!
In order to close the function you must use }
at the end of the function block.
However, this is only preference. You can omit {
}
and instead just use indenting as formatting.
Examples:
randomOrder(HouseButton) : void =
#stuff goes here
Or
randomOrder(HouseButton) : void = {
#stuff goes here
}