Skip to content

Improve error message for custom type with fields but no constructor #12675

Improve error message for custom type with fields but no constructor

Improve error message for custom type with fields but no constructor #12675

Triggered via pull request July 11, 2026 14:26
Status Failure
Total duration 5m 20s
Artifacts 1

ci.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 50 warnings, and 1 notice
test (stable, x86_64-unknown-linux-gnu)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
test (stable, x86_64-unknown-linux-gnu): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test (stable, aarch64-apple-darwin, macos-latest, arm64, cargo, true)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
test (stable, aarch64-apple-darwin, macos-latest, arm64, cargo, true): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test (stable, aarch64-unknown-linux-gnu)
The process '/home/runner/.cargo/bin/cross' failed with exit code 101
test (stable, aarch64-unknown-linux-gnu): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test (stable, x86_64-pc-windows-msvc)
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
test (stable, x86_64-pc-windows-msvc): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test (stable, aarch64-unknown-linux-musl)
The process '/home/runner/.cargo/bin/cross' failed with exit code 101
test (stable, aarch64-unknown-linux-musl): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test (stable, x86_64-unknown-linux-musl)
The process '/home/runner/.cargo/bin/cross' failed with exit code 101
test (stable, x86_64-unknown-linux-musl): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test (stable, x86_64-apple-darwin)
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
test (stable, x86_64-apple-darwin): compiler-core/src/parse/error.rs#L153
expected one of `:`, `;`, `<`, `=`, or `where`, found `{`
test-projects
Deprecated pipe use
test-projects: test/subdir_ffi/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam_stdlib.erl#L168
'catch ...' is deprecated; please use 'try ... catch ... end' instead.
test-projects: test/subdir_ffi/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam_stdlib.erl#L162
'catch ...' is deprecated; please use 'try ... catch ... end' instead.
test-projects: test/subdir_ffi/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam_stdlib.erl#L156
'catch ...' is deprecated; please use 'try ... catch ... end' instead.
test-projects
Incompatible gleam version range
test-projects
Incompatible gleam version range
test-projects
Incompatible gleam version range
test-projects
Incompatible gleam version range
test-projects
Transitive dependency imported
test-projects
Transitive dependency imported
test-projects
Truncated bit array segment
test-projects
Transitive dependency imported
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Transitive dependency imported
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Transitive dependency imported
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Transitive dependency imported
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects
Truncated bit array segment
test-projects: test/language/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam_stdlib.erl#L91
'catch ...' is deprecated; please use 'try ... catch ... end' instead.
test-projects: test/language/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam_stdlib.erl#L85
'catch ...' is deprecated; please use 'try ... catch ... end' instead.
test-projects: test/language/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam_stdlib.erl#L79
'catch ...' is deprecated; please use 'try ... catch ... end' instead.
test (stable, aarch64-apple-darwin, macos-latest, arm64, cargo, true)
The macos-latest label will migrate to macOS 26 beginning June 15, 2026. For more information see https://github.com/actions/runner-images/issues/14167

Artifacts

Produced during runtime
Name Size Digest
gleam
17.2 MB
sha256:0b9b028a89cb8dd85bacb7c3ece9b83752d6dffe7cdb30d8f232776eb85a6723