concurrent/mainError.cfa:1:1 error: thread keyword requires threads to be in scope, add #include thread Test: with body 1 concurrent/mainError.cfa:2:1 error: thread keyword requires threads to be in scope, add #include main: function ... with parameters reference to instance of struct Test with body 1 ... returning nothing ... with body CompoundStmt