anchor.diff:                      if node.Name = "dependency" then
                           let packName = attr "id" node |> Option.map PackageName
                           let versionRange = attr "version" node |> Option.bind VersionRequirement.TryParse
  +                        tracefn "Checking dependency status for package %O, version %O" packName versionRange
   
                           // Ignore unknown packages, see https://github.com/fsprojects/Paket/issues/2694
                           // Assert that the version we remove it not newer than what we have in our resolution!
  
positive.code:                            && not (directDeps.Contains (PackageName packageName)) then
                          match packName with
                          | Some IndirectDependency ->
                              nodesToRemove.Add node |> ignore
                          | Some UnknownDependency -> ()
                          | Some (DirectDependency ((GroupName(grp, _)) as g, (PackageName.PackageName(pkg, _) as p))) ->
                              match versionRange with
                              | Some versionRange ->
                                  match (g, p), versionRange with
                                  | MatchesRange -> ()
                                  | LockRangeNotFound ->
                                      printfn "Couldn't find a version range for package '%s' in group '%s', is this package in your paket.dependencies file?" pkg grp
                                      ()
                                  | NeedsRangeUpdate newVersionRange ->
                                      let nugetVersionRangeString = newVersionRange.FormatInNuGetSyntax()
                                      node.Attributes.["version"].InnerText <- nugetVersionRangeString
                              | None ->
                                  ()
                          | None ->
                              raise (Exception(sprintf "Could not read dependency id for package node %O" node))
  
negative.code: //        printfn ""
  
          let (|IndirectDependency|DirectDependency|UnknownDependency|) (p: PackageName) =
              if not (implicitOrExplictlyReferencedPackages.Contains p)
              then
                  UnknownDependency
              else
                  match groupsForProjectReferencedDeps.TryFind p with
                  | None -> IndirectDependency
  