Ament Build -test failed

Your error is different than what is discussed in this thread. Therefore I suggest in the future create a new thread or a question on answers.ros.org.

Regarding the error message: it looks like you are mixing a newer version of rmw_fastrtps_cpp with an older version of rmw. This is not supported. Either stick two both packages from e.g. the latest release or use both packages from the current default branch.