Skip to content

Bump github.com/anchore/syft from 0.80.0 to 0.87.0 #1144

Bump github.com/anchore/syft from 0.80.0 to 0.87.0

Bump github.com/anchore/syft from 0.80.0 to 0.87.0 #1144

Triggered via pull request August 15, 2023 05:23
Status Failure
Total duration 2m 32s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: sbom/internal/formats/syft2/source/image_metadata.go#L1
: # github.com/paketo-buildpacks/packit/v2/sbom/internal/formats/syft2/source
lint: sbom/internal/formats/syft2/source/image_metadata.go#L5
undefined: source.ImageMetadata (typecheck)
lint: sbom/internal/formats/syft2/model/source.go#L9
could not import github.com/paketo-buildpacks/packit/v2/sbom/internal/formats/syft2/source (-: # github.com/paketo-buildpacks/packit/v2/sbom/internal/formats/syft2/source
lint: sbom/internal/formats/syft2/source/image_metadata.go#L5
undefined: source.ImageMetadata) (typecheck)
lint: sbom/internal/formats/syft301/model/document.go#L1
: # github.com/paketo-buildpacks/packit/v2/sbom/internal/formats/syft301/model
lint: sbom/internal/formats/syft301/model/source.go#L41
undefined: source.ImageMetadata (typecheck)
lint: sbom/sbom.go#L43
cannot use path (variable of type string) as source.DirectoryConfig value in argument to source.NewFromDirectory (typecheck)
lint: sbom/sbom.go#L49
cannot use path (variable of type string) as source.FileConfig value in argument to source.NewFromFile (typecheck)
lint: sbom/sbom.go#L59
cannot use &src (value of type *source.Source) as source.Source value in argument to syft.CatalogPackages: *source.Source does not implement source.Source (type *source.Source is pointer to interface, not interface) (typecheck)
lint: sbom/sbom.go#L70
src.Metadata undefined (type source.Source has no field or method Metadata) (typecheck)