Skip to content

simulation: Use Double for DiffTime (#116) #617

simulation: Use Double for DiffTime (#116)

simulation: Use Double for DiffTime (#116) #617

Triggered via push December 18, 2024 17:28
Status Failure
Total duration 3m 51s
Artifacts 1

ci.yaml

on: push
docs: Build
43s
docs: Build
formal-spec: Typecheck
2m 21s
formal-spec: Typecheck
simulation: Check with HLint
14s
simulation: Check with HLint
simulation: Check with fourmolu
7s
simulation: Check with fourmolu
sim-rs: Check
34s
sim-rs: Check
docs: Generate D2 Diagrams
35s
docs: Generate D2 Diagrams
Matrix: simulation-test
docs: Publish
2s
docs: Publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
simulation: Check with HLint
HLint failed with status: 1. Warning (1), Suggestion (2)
simulation: Check with HLint: simulation/src/SimTCPLinks.hs#L1
Warning in module SimTCPLinks: Unused LANGUAGE pragma ▫︎ Found: "{-# LANGUAGE NamedFieldPuns #-}"
simulation: Check with HLint: simulation/src/LeiosProtocol/Short/VizSim.hs#L232
Suggestion in LeiosModelConfig in module LeiosProtocol.Short.VizSim: Use newtype instead of data ▫︎ Found: "data LeiosModelConfig = LeiosModelConfig {recentSpan :: DiffTime}" ▫︎ Perhaps: "newtype LeiosModelConfig\n = LeiosModelConfig {recentSpan :: DiffTime}" ▫︎ Note: decreases laziness
simulation: Check with HLint: simulation/src/LeiosProtocol/Short/VizSimP2P.hs#L100
Suggestion in messageLegend in module LeiosProtocol.Short.VizSimP2P: Move brackets to avoid $ ▫︎ Found: "d `Dia.atop`\n (Dia.fc Dia.white\n $ Dia.lc Dia.white\n $ Dia.rect (Dia.width d + 20 * 12) (Dia.height d))" ▫︎ Perhaps: "d `Dia.atop`\n Dia.fc\n Dia.white\n (Dia.lc Dia.white\n $ Dia.rect (Dia.width d + 20 * 12) (Dia.height d))"
formal-spec: Typecheck
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
formal-spec: Typecheck
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
formal-spec: Typecheck
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
docusaurus-build
556 KB