diff --git a/src/Main.cpp b/src/Main.cpp index 7dc004d..b9b6186 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -789,6 +789,16 @@ int execute_build_or_test(BuildCmdOptions opts, bool run_tests) { all_ok = false; continue; } + // Surface compiler warnings and notes from actions that succeeded: only + // failures used to print their captured stderr, hiding warnings entirely. + for (const auto &ar : rep->results) { + if (ar.succeeded && !ar.from_cache && !ar.stderr_data.empty()) { + std::cerr << ar.stderr_data; + if (ar.stderr_data.back() != '\n') { + std::cerr << '\n'; + } + } + } Void::Log::info("Build", "[{}] Finished in {:.2f}s ({} executed, {} cached)", prof_name, prof_sw.elapsed_ms() / 1000.0, rep->executed_count, rep->cached_count); std::cout << "vbs: [" << prof_name << "] built (" << rep->executed_count << " executed, "