It actually gets error `Command 'test_scala_import_fetch_sources' not found. Try 'bazel help'.`, but the message was silenced by `$runner`. `action_should_fail` is designed to take a Bazel command, not a shell function.