Skip to content

fix: snowpipe error integration #50

fix: snowpipe error integration

fix: snowpipe error integration #50

Re-run triggered December 1, 2023 10:56
Status Failure
Total duration 1m 47s
Artifacts

reviewdog-staticcheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
reviewdog: framework/provider/provider_helpers.go#L23
[staticcheck] reported by reviewdog 🐶 func mergeSchemas is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func mergeSchemas is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/framework/provider/provider_helpers.go","range":{"start":{"line":23,"column":6}}},"severity":"ERROR"}
reviewdog: main.go#L16
[staticcheck] reported by reviewdog 🐶 var version is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var version is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/main.go","range":{"start":{"line":16,"column":5}}},"severity":"ERROR"}
reviewdog: pkg/provider/provider_helpers.go#L69
[staticcheck] reported by reviewdog 🐶 func getInt64Env is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func getInt64Env is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/provider/provider_helpers.go","range":{"start":{"line":69,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/provider/provider_helpers.go#L81
[staticcheck] reported by reviewdog 🐶 func getBoolEnv is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func getBoolEnv is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/provider/provider_helpers.go","range":{"start":{"line":81,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/file_format.go#L23
[staticcheck] reported by reviewdog 🐶 var formatTypeOptions is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var formatTypeOptions is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/file_format.go","range":{"start":{"line":23,"column":5}}},"severity":"ERROR"}
reviewdog: pkg/resources/file_format.go#L1149
[staticcheck] reported by reviewdog 🐶 func getFormatTypeOption is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func getFormatTypeOption is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/file_format.go","range":{"start":{"line":1149,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/file_format.go#L1160
[staticcheck] reported by reviewdog 🐶 func validateFormatTypeOptions is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func validateFormatTypeOptions is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/file_format.go","range":{"start":{"line":1160,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/grant_privileges_to_role_acceptance_test.go#L97
[staticcheck] reported by reviewdog 🐶 func grantPrivilegesToRole_onAccountConfigAllPrivileges is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func grantPrivilegesToRole_onAccountConfigAllPrivileges is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/grant_privileges_to_role_acceptance_test.go","range":{"start":{"line":97,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helper_expansion.go#L28
[staticcheck] reported by reviewdog 🐶 func expandStringListAllowEmpty is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func expandStringListAllowEmpty is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helper_expansion.go","range":{"start":{"line":28,"column":6}}},"severity":"ERROR"}
reviewdog
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085