Add a DynFlags plugin. #56
Draft
Garnix CI / package default [aarch64-linux]
failed
Feb 9, 2024 in 51m 43s
Run results
Build failed
Details
Last 100 lines of logs:
categorifier-plugin-test> 318 ┃ . HInsert1 (Proxy @"Not") (TestCases (const [((), pure ([|Gen.bool|], [|show|]))]))
categorifier-plugin-test> 319 ┃ . HInsert1 (Proxy @"Plus") (TestCases (const [([t|Int64|], Nothing)]))
categorifier-plugin-test> 320 ┃ . HInsert1 (Proxy @"Minus") (TestCases (const [([t|Int64|], Nothing)]))
categorifier-plugin-test> 321 ┃ . HInsert1 (Proxy @"Times") (TestCases (const [([t|Int64|], Nothing)]))
categorifier-plugin-test> 322 ┃ . HInsert1 (Proxy @"Quot") (TestCases (const [([t|Word8|], Nothing)]))
categorifier-plugin-test> 323 ┃ . HInsert1
categorifier-plugin-test> 324 ┃ (Proxy @"RealToFrac")
categorifier-plugin-test> 325 ┃ (TestCases (const [(([t|Double|], [t|Float|]), pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 326 ┃ . HInsert1 (Proxy @"Recip") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 327 ┃ . HInsert1 (Proxy @"Rem") (TestCases (const [([t|Word8|], Nothing)]))
categorifier-plugin-test> 328 ┃ . HInsert1 (Proxy @"Div") (TestCases (const [([t|Word64|], Nothing)]))
categorifier-plugin-test> 329 ┃ . HInsert1 (Proxy @"Mod") (TestCases (const [([t|Word8|], Nothing)]))
categorifier-plugin-test> 330 ┃ . HInsert1 (Proxy @"Divide") (TestCases (const [([t|Double|], Nothing)]))
categorifier-plugin-test> 331 ┃ . HInsert1 (Proxy @"DivideDouble") (TestCases (const [((), Nothing)]))
categorifier-plugin-test> 332 ┃ . HInsert1 (Proxy @"DivideFloat") (TestCases (const [((), Nothing)]))
categorifier-plugin-test> 333 ┃ . HInsert1 (Proxy @"Atan2") (TestCases (const [])) -- no `curry`
categorifier-plugin-test> 334 ┃ . HInsert1 (Proxy @"Abs") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 335 ┃ . HInsert1 (Proxy @"Negate") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 336 ┃ . HInsert1 (Proxy @"Signum") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 337 ┃ . HInsert1 (Proxy @"PowI") (TestCases (const []))
categorifier-plugin-test> 338 ┃ . HInsert1 (Proxy @"PowInt") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 339 ┃ . HInsert1
categorifier-plugin-test> 340 ┃ (Proxy @"FromInteger")
categorifier-plugin-test> 341 ┃ ( TestCases
categorifier-plugin-test> 358 ┃ . HInsert1
categorifier-plugin-test> 359 ┃ (Proxy @"FromIntegral")
categorifier-plugin-test> 360 ┃ ( TestCases
categorifier-plugin-test> 361 ┃ (const [(([t|Int64|], [t|Double|]), pure ([|Gen.int64 Range.linearBounded|], [|show|]))])
categorifier-plugin-test> 362 ┃ )
categorifier-plugin-test> 363 ┃ . HInsert1 (Proxy @"Append") (TestCases (const [([t|[Word8]|], Nothing)]))
categorifier-plugin-test> 364 ┃ . HInsert1 (Proxy @"Mappend") (TestCases (const [([t|[Word8]|], Nothing)]))
categorifier-plugin-test> 365 ┃ . HInsert1 (Proxy @"ListAppend") (TestCases (const [([t|Word8|], Nothing)]))
categorifier-plugin-test> 366 ┃ . HInsert1
categorifier-plugin-test> 367 ┃ (Proxy @"Pure")
categorifier-plugin-test> 368 ┃ ( TestCases
categorifier-plugin-test> 369 ┃ ( const
categorifier-plugin-test> 370 ┃ [ ([t|Double|], pure ([|genFloating|], [|show|])),
categorifier-plugin-test> 371 ┃ ([t|Word8|], pure ([|genIntegralBounded|], [|show|]))
categorifier-plugin-test> 372 ┃ ]
categorifier-plugin-test> 373 ┃ )
categorifier-plugin-test> 374 ┃ )
categorifier-plugin-test> 375 ┃ . HInsert1 (Proxy @"Return") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 376 ┃ . HInsert1
categorifier-plugin-test> 377 ┃ (Proxy @"Error")
categorifier-plugin-test> 378 ┃ ( TestCases
categorifier-plugin-test> 379 ┃ ( \arrow ->
categorifier-plugin-test> 380 ┃ if arrow `elem` [''(->), ''Hask]
categorifier-plugin-test> 381 ┃ then [] -- we expect bottomC to raise an exception in these categories
categorifier-plugin-test> 382 ┃ else
categorifier-plugin-test> 383 ┃ [ ( [t|Word8|],
categorifier-plugin-test> 384 ┃ pure ([|Gen.string Range.linearBounded Gen.unicodeAll|], [|show|])
categorifier-plugin-test> 385 ┃ )
categorifier-plugin-test> 386 ┃ ]
categorifier-plugin-test> 387 ┃ )
categorifier-plugin-test> 388 ┃ )
categorifier-plugin-test> 389 ┃ . HInsert1 (Proxy @"BuildLeft") (TestCases (const [(([t|Int64|], [t|Word8|]), pure ([|genIntegralBounded|], [|show|]))]))
categorifier-plugin-test> 400 ┃ . HInsert1 (Proxy @"Ap") (TestCases (const [])) -- no curry
categorifier-plugin-test> 403 ┃ . HInsert1 (Proxy @"Curry") (TestCases (const [(([t|Word8|], [t|Bool|]), Nothing)]))
categorifier-plugin-test> 404 ┃ . HInsert1 (Proxy @"Uncurry") (TestCases (const [(([t|Word8|], [t|Bool|]), Nothing)]))
categorifier-plugin-test> 405 ┃ . HInsert1 (Proxy @"SequenceA") (TestCases (const []))
categorifier-plugin-test> 406 ┃ . HInsert1 (Proxy @"Traverse") (TestCases (const []))
categorifier-plugin-test> 407 ┃ . HInsert1 (Proxy @"UnsafeCoerce") (TestCases (const [([t|Double|], pure ([|genFloating|], [|show|]))]))
categorifier-plugin-test> 408 ┃ . HInsert1 (Proxy @"Sum") (TestCases (const [])) -- can only work with specialization
categorifier-plugin-test> 409 ┃ . HInsert1 (Proxy @"SumList") (TestCases (const []))
categorifier-plugin-test> 410 ┃ . HInsert1 (Proxy @"ToList") (TestCases (const [])) -- can only work with specialization
categorifier-plugin-test> 411 ┃ . HInsert1 (Proxy @"Even") (TestCases (const [([t|Int64|], pure ([|genIntegralBounded|], [|show|]))]))
categorifier-plugin-test> 412 ┃ . HInsert1 (Proxy @"Odd") (TestCases (const [([t|Int64|], pure ([|genIntegralBounded|], [|show|]))]))
categorifier-plugin-test> 413 ┃ $ HEmpty1
categorifier-plugin-test> ┃ │ 0.0
categorifier-plugin-test> ┃ ^^^^^^^^^
categorifier-plugin-test> ┃ │ ━━━ Exception (UnconvertedCall) ━━━
categorifier-plugin-test> ┃ │ error: Categorifier failed to eliminate a call to `Categorifier.Categorify.expression`.
categorifier-plugin-test> ┃ │ | This should only be possible if the module mentioned above was compiled
categorifier-plugin-test> ┃ │ | without the Categorifier plugin enabled. Ensure that you're configuring
categorifier-plugin-test> ┃ │ | it properly for your build process. E.g., passing `-fplugin=Categorifier`
categorifier-plugin-test> ┃ │ | to GHC directly.
categorifier-plugin-test> ┃ │ |
categorifier-plugin-test> ┃ │ | It's also possible that some other plugin that you've enabled has interfered
categorifier-plugin-test> ┃ │ | with this one. If you've enabled other plugins, try permuting the order of
categorifier-plugin-test> ┃ │ | the `-fplugin` flags. (GHC installs the plugins in the /reverse/ order that
categorifier-plugin-test> ┃ │ | `-fplugin` flags are provided on the command line.)
categorifier-plugin-test> ┃ │
categorifier-plugin-test> ┃ │ CallStack (from HasCallStack):
categorifier-plugin-test> ┃ │ expression, called at test/Base/Main.hs:45:1 in main:Main
error: build of '/nix/store/56hjd8d9arbg9dkg4jrxgm9y366j6a1s-categorifier-plugin-test-0.1.drv' on 'ssh-ng://nix-ssh@arm-server-1' failed: builder for '/nix/store/56hjd8d9arbg9dkg4jrxgm9y366j6a1s-categorifier-plugin-test-0.1.drv' failed with exit code 1;
last 10 log lines:
> ┃ │ expression, called at test/Base/Main.hs:45:1 in main:Main
>
> This failure can be reproduced by running:
> > recheckAt (Seed 15628859612685087056 18327975270298478735) "1:" plainArrowOdd0
>
> ✗ 89 failed, 119 succeeded.
> Test suite default-plugin: FAIL
> Test suite logged to:
> dist/test/categorifier-plugin-test-0.1-default-plugin.log
> 0 of 3 test suites (0 of 3 test cases) passed.
For full logs, run 'nix log /nix/store/56hjd8d9arbg9dkg4jrxgm9y366j6a1s-categorifier-plugin-test-0.1.drv'.
error: builder for '/nix/store/56hjd8d9arbg9dkg4jrxgm9y366j6a1s-categorifier-plugin-test-0.1.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/hxn1gcvnijjkbnbnbyks0pk5vhk9pj6n-ghc-9.2.8-with-packages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y0xczdnxl48mhp5ra95c8icg3vm5wjfc-all-packages.drv' failed to build
Loading