Closed SpectralDragon closed 6 months ago
What's in this log?
stderr (/private/var/tmp/_bazel_v.prusakov/e44332a643cc6911c41cf089411221c1/execroot/_main/bazel-out/_tmp/actions/stderr-4) 10543988 exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping
It's saying the log was too big to print it directly to stderr
@keith I'm so scared, 10mb of err logs stderr-4.zip
What's in this log?
stderr (/private/var/tmp/_bazel_v.prusakov/e44332a643cc6911c41cf089411221c1/execroot/_main/bazel-out/_tmp/actions/stderr-4) 10543988 exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping
It's saying the log was too big to print it directly to stderr
Long story short, the problem in duplicate symbols, and I need a time to understand - why?
Looks like it's related to your build configuration. Is it possible you have SwiftSyntax
and SwiftSyntax_opt
both in the same dependency tree?
@keith You definitely right! I removed @SwiftSyntax
and it's just works! And I glad to see a new way to get stderr in Bazel :)
Thanks!
awesome!
Hi! I'm trying to move my SPM project to bazel, and encounter a problem with Swift Compiler Plugin. It's failed when I trying to build my project with the next message:
You can check this project here: https://github.com/AdaEngine/AdaEngine/tree/feature/bazel
I'm not really sure where I should digging. Thanks!