skyframe: improve .bzl loading error messages

Was: "Extension file 'foo.bzl' has errors"
Now: "(compil|initializ)ation of module 'foo.bzl' failed",
 with the location of the failing load statement.
PiperOrigin-RevId: 346836812
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/PackageFunctionTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/PackageFunctionTest.java
index be98af2..89dc9fd 100644
--- a/src/test/java/com/google/devtools/build/lib/skyframe/PackageFunctionTest.java
+++ b/src/test/java/com/google/devtools/build/lib/skyframe/PackageFunctionTest.java
@@ -644,7 +644,7 @@
         .hasMessageThat()
         .isEqualTo(
             "error loading package 'test/starlark': "
-                + "in /workspace/test/starlark/extension.bzl: "
+                + "at /workspace/test/starlark/extension.bzl:1:6: "
                 + "cannot load '//test/starlark:bad_extension.bzl': no such file");
     assertDetailedExitCode(
         errorInfo.getException(), PackageLoading.Code.IMPORT_STARLARK_FILE_ERROR);