feat: produce OpenTelemetry traces with hs-opentelemetry
#3140
Cirrus CI / Build FreeBSD (Stack)
failed
May 20, 2026 in 3m 20s
Task Summary
Instruction build failed in 02:39
Details
✅ 00:03 clone
✅ 00:32 install
✅ 00:01 stack
✅ 00:01 stack_work
❌ 02:39 build
Processed 195200 cabal files
Processed 195600 cabal files
Processed 196000 cabal files
Processed 196400 cabal files
Processed 196800 cabal files
Package index cache populated
Warning: Not ignoring hs-opentelemetry-utils-exceptions's bounds on hs-opentelemetry-api
(>=0.2 && <0.3) and using hs-opentelemetry-api-0.3.1.0.
Reason: hs-opentelemetry-utils-exceptions is not an allow-newer-dep although allow-newer
enabled.
Warning: Not ignoring hs-opentelemetry-instrumentation-wai's bounds on hs-opentelemetry-api
(>=0.2 && <0.3) and using hs-opentelemetry-api-0.3.1.0.
Reason: hs-opentelemetry-instrumentation-wai is not an allow-newer-dep although allow-newer
enabled.
Warning: Ignoring fuzzyset's bounds on text (>=1.2.3.1 && <2.1) and using text-2.1.3.
Reason: fuzzyset is an allow-newer-dep and allow-newer enabled.
Warning: Ignoring fuzzyset's bounds on data-default (>=0.7.1.1 && <0.8) and using
data-default-0.8.0.2.
Reason: fuzzyset is an allow-newer-dep and allow-newer enabled.
Error: [S-4804]
Stack failed to construct a build plan.
While constructing the build plan, Stack encountered the following errors. The 'Stack
configuration' refers to the set of package versions specified by the snapshot (after any
dropped packages, or pruned GHC boot packages; if a boot package is replaced, Stack prunes
all other such packages that depend on it) and any extra-deps:
In the dependencies for hs-opentelemetry-instrumentation-wai-0.1.1.0:
* hs-opentelemetry-api must match >=0.2 && <0.3, but hs-opentelemetry-api-0.3.1.0 is in the
Stack configuration (latest matching version is 0.2.0.0).
The above is/are needed due to postgrest-15 -> hs-opentelemetry-instrumentation-wai-0.1.1.0
In the dependencies for hs-opentelemetry-utils-exceptions-0.2.0.1:
* hs-opentelemetry-api must match >=0.2 && <0.3, but hs-opentelemetry-api-0.3.1.0 is in the
Stack configuration (latest matching version is 0.2.0.0).
The above is/are needed due to postgrest-15 -> hs-opentelemetry-utils-exceptions-0.2.0.1
Some different approaches to resolving some or all of this:
* To ignore all version constraints and build anyway, pass --allow-newer, or, in
/.stack/config.yaml (global configuration) or /tmp/cirrus-ci-build/stack.yaml
(project-level configuration), set allow-newer: true.
* To ignore certain version constraints and build anyway, also add these package names
under allow-newer-deps: hs-opentelemetry-instrumentation-wai and
hs-opentelemetry-utils-exceptions.
* Recommended action: try adding the following to your extra-deps in
/tmp/cirrus-ci-build/stack.yaml (project-level configuration):
- hs-opentelemetry-api-0.2.0.0@sha256:bbdbe7e212e99f17a7e68d09b94c1a6613e50ce88b3cb1b68979bbb0221291ae,4051
Loading