Add deprecated fields support #89
Merged
Garnix CI / package moat-ghc90 [x86_64-linux]
succeeded
Oct 10, 2024 in 52s
Run results
Build succeeded
Details
Last 100 lines of logs:
[2 of 9] Compiling Moat.Types ( src/Moat/Types.hs, dist/build/Moat/Types.p_o )
[3 of 9] Compiling Moat.Pretty.Doc.KDoc ( src/Moat/Pretty/Doc/KDoc.hs, dist/build/Moat/Pretty/Doc/KDoc.p_o )
[4 of 9] Compiling Moat.Pretty.Kotlin ( src/Moat/Pretty/Kotlin.hs, dist/build/Moat/Pretty/Kotlin.p_o )
[5 of 9] Compiling Moat.Pretty.Doc.DocC ( src/Moat/Pretty/Doc/DocC.hs, dist/build/Moat/Pretty/Doc/DocC.p_o )
[6 of 9] Compiling Moat.Pretty.Swift ( src/Moat/Pretty/Swift.hs, dist/build/Moat/Pretty/Swift.p_o )
[7 of 9] Compiling Moat.Class ( src/Moat/Class.hs, dist/build/Moat/Class.p_o )
[8 of 9] Compiling Moat ( src/Moat.hs, dist/build/Moat.p_o )
[9 of 9] Compiling Paths_moat ( dist/build/autogen/Paths_moat.hs, dist/build/Paths_moat.p_o )
buildPhase completed in 38 seconds
@nix {"action":"setPhase","phase":"checkPhase"}
running tests
Running 1 test suites...
Test suite spec: RUNNING...
DeprecatedField
stays golden
swift [✔]
Golden and Actual output didn't change
fromList [("field1",Just "Deprecated since build 500")]
"field0"
[Field {fieldName = "field0", fieldType = I, fieldDoc = Nothing},Field {fieldName = "field1", fieldType = Optional I, fieldDoc = Nothing}]
[Field {fieldName = "field1", fieldType = Optional I, fieldDoc = Nothing}]
fromList [("field1",Just "Deprecated since build 500")]
"field1"
[Field {fieldName = "field0", fieldType = I, fieldDoc = Nothing},Field {fieldName = "field1", fieldType = Optional I, fieldDoc = Nothing}]
[]
"test"
kotlin [✔]
Golden and Actual output didn't change
Finished in 0.0004 seconds
2 examples, 0 failures
Test suite spec: PASS
Test suite logged to: dist/test/moat-0.1-spec.log
1 of 1 test suites (1 of 1 test cases) passed.
@nix {"action":"setPhase","phase":"haddockPhase"}
haddockPhase
Preprocessing test suite 'spec' for moat-0.1..
Preprocessing library for moat-0.1..
Running Haddock on library for moat-0.1..
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: data-array-byte-0.1.0.1
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
Warning: '()' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'getMoat' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'getMoatWithTags' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Ty' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'decode' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'prettySwiftType' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ToMoatType' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'ToMoatData' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'rawValue' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'strictFields' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Ty' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'SwiftData' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'Ty' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'mobileGen' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'mobileGenWith' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
Warning: 'strictFields' is out of scope.
If you qualify the identifier, haddock can try to link it anyway.
93% ( 56 / 60) in 'Moat'
Missing documentation for:
Interface (src/Moat/Types.hs:246)
Annotation (src/Moat/Types.hs:262)
SumOfProductEncodingOptions (src/Moat/Types.hs:477)
KeepOrDiscard (src/Moat/Types.hs:594)
Warning: Moat: could not find link destinations for:
- Moat.TyVarBndr
- Moat.giveBase
Documentation created: dist/doc/html/moat/index.html,
dist/doc/html/moat/moat.txt
@nix {"action":"setPhase","phase":"installPhase"}
installing
Installing library in /nix/store/pvsdac5253qpik9y199rzahxhldkz5j5-moat-0.1/lib/ghc-9.0.2/x86_64-linux-ghc-9.0.2/moat-0.1-CVbFZKZpqmClbhS2BwpOQ
@nix {"action":"setPhase","phase":"fixupPhase"}
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pvsdac5253qpik9y199rzahxhldkz5j5-moat-0.1
shrinking /nix/store/pvsdac5253qpik9y199rzahxhldkz5j5-moat-0.1/lib/ghc-9.0.2/x86_64-linux-ghc-9.0.2/libHSmoat-0.1-CVbFZKZpqmClbhS2BwpOQ-ghc9.0.2.so
checking for references to /build/ in /nix/store/pvsdac5253qpik9y199rzahxhldkz5j5-moat-0.1...
patching script interpreter paths in /nix/store/pvsdac5253qpik9y199rzahxhldkz5j5-moat-0.1
stripping (with command strip and flags -S -p) in /nix/store/pvsdac5253qpik9y199rzahxhldkz5j5-moat-0.1/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/9fvrb7gwnbgnfw296770q59559dzysbl-moat-0.1-doc
checking for references to /build/ in /nix/store/9fvrb7gwnbgnfw296770q59559dzysbl-moat-0.1-doc...
patching script interpreter paths in /nix/store/9fvrb7gwnbgnfw296770q59559dzysbl-moat-0.1-doc
Loading