anchor.diff:              'a|web/index${metadataExtension(soundNullSafety)}': isNotEmpty,
             };
             var reportedUnused = <AssetId, Iterable<AssetId>>{};
  -          await withEnabledExperiments(() async {
  -            await testBuilder(
  -                DevCompilerBuilder(
  -                    platform: ddcPlatform,
  -                    useIncrementalCompiler: trackUnusedInputs,
  -                    trackUnusedInputs: trackUnusedInputs,
  -                    soundNullSafety: soundNullSafety),
  -                assets,
  -                outputs: expectedOutputs,
  -                reportUnusedAssetsForInput: (input, unused) =>
  -                    reportedUnused[input] = unused);
  -          }, ['non-nullable']);
  +
  +          await testBuilder(
  +              DevCompilerBuilder(
  +                  platform: ddcPlatform,
  +                  useIncrementalCompiler: trackUnusedInputs,
  +                  trackUnusedInputs: trackUnusedInputs,
  +                  soundNullSafety: soundNullSafety),
  +              assets,
  +              outputs: expectedOutputs,
  +              reportUnusedAssetsForInput: (input, unused) =>
  +                  reportedUnused[input] = unused);
   
             expect(
                 reportedUnused[
  
positive.code:       ''',
          };
  
          await withEnabledExperiments(() async {
            // Set up all the other required inputs for this test.
            await testBuilderAndCollectAssets(
                const ModuleLibraryBuilder(), assets);
            await testBuilderAndCollectAssets(
                MetaModuleBuilder(ddcPlatform), assets);
            await testBuilderAndCollectAssets(
                MetaModuleCleanBuilder(ddcPlatform), assets);
            await testBuilderAndCollectAssets(ModuleBuilder(ddcPlatform), assets);
            await testBuilderAndCollectAssets(
                ddcKernelBuilder(BuilderOptions({}),
                    soundNullSafety: soundNullSafety),
                assets);
          }, ['non-nullable']);
        });
  
        for (var trackUnusedInputs in [true, false]) {
  
negative.code: // BSD-style license that can be found in the LICENSE file.
  
  import 'package:build/build.dart';
  import 'package:build_modules/build_modules.dart';
  import 'package:build_test/build_test.dart';
  import 'package:build_web_compilers/build_web_compilers.dart';
  