       switch (removeInputFromInvocation, removeSwiftDepsFile) {
       case (false, false):
         readGraphAndSkipAll("main", "other", removedInput)
-      case
-        (true, false),
-        (true, true):
+      case (true, false):
+        disabledForRemoval(removedInput)
+        findingBatchingCompiling("main", "other")
+        linking
+      case (true, true):
         disabledForRemoval(removedInput)
         findingBatchingCompiling("main", "other")
         linking

        schedulingInvalidated(affectedInputsInBuild)
        let affectedInputsInInvocationOrder = inputs.filter(affectedInputsInBuild.contains)
        findingBatchingCompiling(affectedInputsInInvocationOrder)
        schedLinking
      }
    }

        queuingInitial(removedInput)
        skipping("main", "other")
        findingBatchingCompiling(removedInput)
        reading(deps: removedInput)
        schedulingPostCompileJobs
        linking
        skipped("main", "other")
