The hypothesis here is that this error is caused by insufficient memory on the build worker. I raised the memory constraint and am running some test builds.