Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hclogvet: updates for go1.22 #138

Merged
merged 1 commit into from Mar 4, 2024
Merged

hclogvet: updates for go1.22 #138

merged 1 commit into from Mar 4, 2024

Conversation

shoenig
Copy link
Member

@shoenig shoenig commented Mar 4, 2024

fixes panic due to go1.22 incompats

==> Linting hclog statements...
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x59351e]

goroutine 14 [running]:
go/types.(*Checker).handleBailout(0xc0004c9c00, 0xc0023f5c10)
        /opt/google/go/src/go/types/check.go:367 +0x88
panic({0x70ef40?, 0x991a80?})
        /opt/google/go/src/runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0x7db790, 0x995620})
        /opt/google/go/src/go/types/sizes.go:228 +0x31e
go/types.(*Config).sizeof(...)
        /opt/google/go/src/go/types/sizes.go:333
go/types.representableConst.func1({0x7db790?, 0x995620?})
        /opt/google/go/src/go/types/const.go:76 +0x9e
go/types.representableConst({0x7dccc8, 0x98a388}, 0xc0004c9c00, 0x995620, 0xc0023f1c88)
        /opt/google/go/src/go/types/const.go:92 +0x192

@shoenig shoenig requested a review from tgross March 4, 2024 21:16
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@shoenig shoenig merged commit 5dbb615 into main Mar 4, 2024
19 checks passed
jooola pushed a commit to hetznercloud/terraform-provider-hcloud that referenced this pull request Apr 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/hashicorp/go-hclog](https://togithub.com/hashicorp/go-hclog)
| `v1.6.2` -> `v1.6.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hashicorp/go-hclog (github.com/hashicorp/go-hclog)</summary>

###
[`v1.6.3`](https://togithub.com/hashicorp/go-hclog/releases/tag/v1.6.3):
Optional JSON escaping

[Compare
Source](https://togithub.com/hashicorp/go-hclog/compare/v1.6.2...v1.6.3)

#### What's Changed

- hclogvet: updates for go1.22 by
[@&#8203;shoenig](https://togithub.com/shoenig) in
[hashicorp/go-hclog#138
- support configure json escape when log in json format by
[@&#8203;Ericwww](https://togithub.com/Ericwww) in
[hashicorp/go-hclog#141

#### New Contributors

- [@&#8203;Ericwww](https://togithub.com/Ericwww) made their first
contribution in
[hashicorp/go-hclog#141

**Full Changelog**:
hashicorp/go-hclog@v1.6.2...v1.6.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/hetznercloud/terraform-provider-hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Apr 2, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/hashicorp/go-hclog](https://togithub.com/hashicorp/go-hclog)
| `v1.6.2` -> `v1.6.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>hashicorp/go-hclog (github.com/hashicorp/go-hclog)</summary>

###
[`v1.6.3`](https://togithub.com/hashicorp/go-hclog/releases/tag/v1.6.3):
Optional JSON escaping

[Compare
Source](https://togithub.com/hashicorp/go-hclog/compare/v1.6.2...v1.6.3)

#### What's Changed

- hclogvet: updates for go1.22 by
[@&#8203;shoenig](https://togithub.com/shoenig) in
[hashicorp/go-hclog#138
- support configure json escape when log in json format by
[@&#8203;Ericwww](https://togithub.com/Ericwww) in
[hashicorp/go-hclog#141

#### New Contributors

- [@&#8203;Ericwww](https://togithub.com/Ericwww) made their first
contribution in
[hashicorp/go-hclog#141

**Full Changelog**:
hashicorp/go-hclog@v1.6.2...v1.6.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
jaredallard pushed a commit to rgst-io/stencil that referenced this pull request Apr 6, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/hashicorp/go-hclog](https://togithub.com/hashicorp/go-hclog)
| `v1.6.2` -> `v1.6.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hashicorp/go-hclog (github.com/hashicorp/go-hclog)</summary>

###
[`v1.6.3`](https://togithub.com/hashicorp/go-hclog/releases/tag/v1.6.3):
Optional JSON escaping

[Compare
Source](https://togithub.com/hashicorp/go-hclog/compare/v1.6.2...v1.6.3)

#### What's Changed

- hclogvet: updates for go1.22 by
[@&#8203;shoenig](https://togithub.com/shoenig) in
[hashicorp/go-hclog#138
- support configure json escape when log in json format by
[@&#8203;Ericwww](https://togithub.com/Ericwww) in
[hashicorp/go-hclog#141

#### New Contributors

- [@&#8203;Ericwww](https://togithub.com/Ericwww) made their first
contribution in
[hashicorp/go-hclog#141

**Full Changelog**:
hashicorp/go-hclog@v1.6.2...v1.6.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/rgst-io/stencil).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ycombinator pushed a commit to ycombinator/opentelemetry-collector-contrib that referenced this pull request Apr 9, 2024
…n-telemetry#32090)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/hashicorp/go-hclog](https://togithub.com/hashicorp/go-hclog)
| `v1.6.2` -> `v1.6.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>hashicorp/go-hclog (github.com/hashicorp/go-hclog)</summary>

###
[`v1.6.3`](https://togithub.com/hashicorp/go-hclog/releases/tag/v1.6.3):
Optional JSON escaping

[Compare
Source](https://togithub.com/hashicorp/go-hclog/compare/v1.6.2...v1.6.3)

#### What's Changed

- hclogvet: updates for go1.22 by
[@&open-telemetry#8203;shoenig](https://togithub.com/shoenig) in
[hashicorp/go-hclog#138
- support configure json escape when log in json format by
[@&open-telemetry#8203;Ericwww](https://togithub.com/Ericwww) in
[hashicorp/go-hclog#141

#### New Contributors

- [@&open-telemetry#8203;Ericwww](https://togithub.com/Ericwww) made their first
contribution in
[hashicorp/go-hclog#141

**Full Changelog**:
hashicorp/go-hclog@v1.6.2...v1.6.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
rimitchell pushed a commit to rimitchell/opentelemetry-collector-contrib that referenced this pull request May 8, 2024
…n-telemetry#32090)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/hashicorp/go-hclog](https://togithub.com/hashicorp/go-hclog)
| `v1.6.2` -> `v1.6.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fgo-hclog/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fgo-hclog/v1.6.2/v1.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>hashicorp/go-hclog (github.com/hashicorp/go-hclog)</summary>

###
[`v1.6.3`](https://togithub.com/hashicorp/go-hclog/releases/tag/v1.6.3):
Optional JSON escaping

[Compare
Source](https://togithub.com/hashicorp/go-hclog/compare/v1.6.2...v1.6.3)

#### What's Changed

- hclogvet: updates for go1.22 by
[@&open-telemetry#8203;shoenig](https://togithub.com/shoenig) in
[hashicorp/go-hclog#138
- support configure json escape when log in json format by
[@&open-telemetry#8203;Ericwww](https://togithub.com/Ericwww) in
[hashicorp/go-hclog#141

#### New Contributors

- [@&open-telemetry#8203;Ericwww](https://togithub.com/Ericwww) made their first
contribution in
[hashicorp/go-hclog#141

**Full Changelog**:
hashicorp/go-hclog@v1.6.2...v1.6.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants