@@ -178,7 +178,7 @@ private static ImmutableList<CcToolchain> getCcToolchains(OutputInfo outputInfo)
178
178
179
179
private ImmutableMap <Label , ImmutableSetMultimap <BuildArtifact , ArtifactMetadata >>
180
180
extractArtifactMetadata (
181
- Iterable <TargetBuildInfo > targetBuildInfo , DigestMap digestMap , String buildId )
181
+ Iterable <TargetBuildInfo > targetBuildInfo , DigestMap digestMap , String buildIdForLogging )
182
182
throws BuildException {
183
183
Map <MetadataKey , ListenableFuture <ArtifactMetadata >> metadataFutures = Maps .newHashMap ();
184
184
for (TargetBuildInfo targetInfo : targetBuildInfo ) {
@@ -200,7 +200,7 @@ private static ImmutableList<CcToolchain> getCcToolchains(OutputInfo outputInfo)
200
200
+ " It was requested for metadata %s." ,
201
201
entry .getKey ().artifactPath (),
202
202
targetInfo .label (),
203
- buildId ,
203
+ buildIdForLogging ,
204
204
entry .getValue ().getClass ().getName ())));
205
205
ListenableFuture <CachedArtifact > artifact =
206
206
artifactCache
@@ -214,7 +214,7 @@ private static ImmutableList<CcToolchain> getCcToolchains(OutputInfo outputInfo)
214
214
digest ,
215
215
entry .getKey ().artifactPath (),
216
216
targetInfo .label (),
217
- buildId ,
217
+ buildIdForLogging ,
218
218
entry .getValue ().metadataClass ().getName ())));
219
219
ListenableFuture <ArtifactMetadata > transformed =
220
220
Futures .transformAsync (
@@ -245,7 +245,7 @@ private static ImmutableList<CcToolchain> getCcToolchains(OutputInfo outputInfo)
245
245
entry .getKey ().mdClass .getName (),
246
246
entry .getKey ().artifact .artifactPath (),
247
247
entry .getKey ().artifact .target (),
248
- buildId ),
248
+ buildIdForLogging ),
249
249
e ));
250
250
}
251
251
}
@@ -357,7 +357,7 @@ public void update(Set<Label> targets, OutputInfo outputInfo, C context) throws
357
357
// extract required metadata from the build artifacts
358
358
ImmutableMap <Label , ImmutableSetMultimap <BuildArtifact , ArtifactMetadata >> metadata =
359
359
extractArtifactMetadata (
360
- newTargetInfo .values (), digestMap , outputInfo .getBuildContext ().buildId ());
360
+ newTargetInfo .values (), digestMap , outputInfo .getBuildContext ().buildIdForLogging ());
361
361
362
362
// insert this metadata into newTargetInfo
363
363
for (Map .Entry <Label , ImmutableSetMultimap <BuildArtifact , ArtifactMetadata >> entry :
0 commit comments