Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fidget breaks nim CI #155

Open
timotheecour opened this issue May 18, 2021 · 0 comments
Open

fidget breaks nim CI #155

timotheecour opened this issue May 18, 2021 · 0 comments

Comments

@timotheecour
Copy link

timotheecour commented May 18, 2021

previous instances:
#121
#133

https://github.com/nim-lang/Nim/runs/2610679279

is there something in fidget's CI that can be done to catch those failures before a merge?

  PASS: [6/35] docopt c                                                     (21.62 sec)
  FAIL: [7/35] fidget c                                                     (45.43 sec)
  Test "fidget" in category "nimble-packages"
  Failure: reBuildFailed
  nimble test
    Verifying dependencies for fidget@0.7.7
        Info: Dependency on typography@>= 0.7.8 already satisfied
    Verifying dependencies for typography@0.7.9
        Info: Dependency on pixie@>= 1.1.2 already satisfied
    Verifying dependencies for pixie@2.0.0
        Info: Dependency on vmath@>= 1.0.4 already satisfied
    Verifying dependencies for vmath@1.0.6
        Info: Dependency on chroma@>= 0.2.5 already satisfied
    Verifying dependencies for chroma@0.2.5
        Info: Dependency on zippy@>= 0.3.5 already satisfied
    Verifying dependencies for zippy@0.5.7
        Info: Dependency on flatty@>= 0.1.3 already satisfied
    Verifying dependencies for flatty@0.2.1
        Info: Dependency on nimsimd@>= 1.0.0 already satisfied
    Verifying dependencies for nimsimd@1.0.0
        Info: Dependency on bumpy@>= 1.0.3 already satisfied
    Verifying dependencies for bumpy@1.0.3
        Info: Dependency on vmath@>= 1.0.0 already satisfied
    Verifying dependencies for vmath@1.0.6
        Info: Dependency on vmath@>= 1.0.0 already satisfied
    Verifying dependencies for vmath@1.0.6
        Info: Dependency on chroma@>= 0.2.3 already satisfied
    Verifying dependencies for chroma@0.2.5
        Info: Dependency on print@>= 0.1.0 already satisfied
    Verifying dependencies for print@1.0.0
        Info: Dependency on bumpy@>= 1.0.3 already satisfied
    Verifying dependencies for bumpy@1.0.3
        Info: Dependency on vmath@>= 1.0.0 already satisfied
    Verifying dependencies for vmath@1.0.6
        Info: Dependency on flatty@>= 0.1.3 already satisfied
    Verifying dependencies for flatty@0.2.1
        Info: Dependency on pixie@>= 1.1.2 already satisfied
    Verifying dependencies for pixie@2.0.0
        Info: Dependency on vmath@>= 1.0.4 already satisfied
    Verifying dependencies for vmath@1.0.6
        Info: Dependency on chroma@>= 0.2.5 already satisfied
    Verifying dependencies for chroma@0.2.5
        Info: Dependency on zippy@>= 0.3.5 already satisfied
    Verifying dependencies for zippy@0.5.7
        Info: Dependency on flatty@>= 0.1.3 already satisfied
    Verifying dependencies for flatty@0.2.1
        Info: Dependency on nimsimd@>= 1.0.0 already satisfied
    Verifying dependencies for nimsimd@1.0.0
        Info: Dependency on bumpy@>= 1.0.3 already satisfied
    Verifying dependencies for bumpy@1.0.3
        Info: Dependency on vmath@>= 1.0.0 already satisfied
    Verifying dependencies for vmath@1.0.6
        Info: Dependency on print@>= 0.1.0 already satisfied
    Verifying dependencies for print@1.0.0
        Info: Dependency on opengl@>= 1.2.3 already satisfied
    Verifying dependencies for opengl@1.2.6
        Info: Dependency on x11@>= 1.1 already satisfied
    Verifying dependencies for x11@1.1
        Info: Dependency on html5_canvas@>= 1.3 already satisfied
    Verifying dependencies for html5_canvas@1.3
        Info: Dependency on staticglfw@>= 4.1.2 already satisfied
    Verifying dependencies for staticglfw@4.1.2
        Info: Dependency on opengl@>= 1.2.3 already satisfied
    Verifying dependencies for opengl@1.2.6
        Info: Dependency on x11@>= 1.1 already satisfied
    Verifying dependencies for x11@1.1
        Info: Dependency on cligen@>= 1.0.0 already satisfied
    Verifying dependencies for cligen@1.5.3
        Info: Dependency on supersnappy@>= 1.0.0 already satisfied
    Verifying dependencies for supersnappy@2.0.0
    Compiling /Users/runner/work/Nim/Nim/pkgstemp/fidget/tests/test (from package fidget) using c backend
  /Users/runner/work/Nim/Nim/pkgstemp/fidget/src/fidget/common.nim(6, 10) Warning: imported and not used: 'typography' [UnusedImport]�
  /Users/runner/work/Nim/Nim/pkgstemp/fidget/src/fidget/opengl/base.nim(1, 50) Warning: imported and not used: 'pixie' [UnusedImport]�
  /Users/runner/work/Nim/Nim/pkgstemp/fidget/src/fidget/opengl/context.nim(572, 10) Error: type mismatch: got <Image, Rect, float32, ColorRGBA, float32>
  but expected one of: 
  proc strokeRoundedRect(image: Image; rect: Rect; nw, ne, se, sw: float32;
                         color: SomeColor; transform: Vec2 | Mat3 = vec2(0, 0);
                         strokeWidth = 1.0)
    first type mismatch at position: 4
    required type for ne: float32
    but expression 'rgba(255, 255, 255, 255)' is of type: ColorRGBA
  proc strokeRoundedRect(image: Image; rect: Rect; radius: float32;
                         color: SomeColor; transform: Vec2 | Mat3 = vec2(0, 0);
                         strokeWidth = 1.0)
    first type mismatch at position: 5
    required type for transform: Vec2 or Mat3
    but expression 'weight' is of type: float32
  3 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them
  
  expression: strokeRoundedRect(image, rect(weight / 2, weight / 2, rect.w - weight,
                                rect.h - weight), radius,
                    rgba(255, 255, 255, 255), weight)�
         Tip: 65 messages have been suppressed, use --verbose to show them.
       Error: Execution failed with exit code 256
          ... Command: /Users/runner/work/Nim/Nim/bin/nim c --noNimblePath -d:NimblePkgVersion=0.7.7 --path:/Users/runner/.nimble/pkgs/typography-0.7.9 --path:/Users/runner/.nimble/pkgs/pixie-2.0.0 --path:/Users/runner/.nimble/pkgs/vmath-1.0.6 --path:/Users/runner/.nimble/pkgs/chroma-0.2.5 --path:/Users/runner/.nimble/pkgs/zippy-0.5.7 --path:/Users/runner/.nimble/pkgs/flatty-0.2.1 --path:/Users/runner/.nimble/pkgs/nimsimd-1.0.0 --path:/Users/runner/.nimble/pkgs/bumpy-1.0.3 --path:/Users/runner/.nimble/pkgs/vmath-1.0.6 --path:/Users/runner/.nimble/pkgs/vmath-1.0.6 --path:/Users/runner/.nimble/pkgs/chroma-0.2.5 --path:/Users/runner/.nimble/pkgs/print-1.0.0 --path:/Users/runner/.nimble/pkgs/bumpy-1.0.3 --path:/Users/runner/.nimble/pkgs/vmath-1.0.6 --path:/Users/runner/.nimble/pkgs/flatty-0.2.1 --path:/Users/runner/.nimble/pkgs/pixie-2.0.0 --path:/Users/runner/.nimble/pkgs/vmath-1.0.6 --path:/Users/runner/.nimble/pkgs/chroma-0.2.5 --path:/Users/runner/.nimble/pkgs/zippy-0.5.7 --path:/Users/runner/.nimble/pkgs/flatty-0.2.1 --path:/Users/runner/.nimble/pkgs/nimsimd-1.0.0 --path:/Users/runner/.nimble/pkgs/bumpy-1.0.3 --path:/Users/runner/.nimble/pkgs/vmath-1.0.6 --path:/Users/runner/.nimble/pkgs/print-1.0.0 --path:/Users/runner/.nimble/pkgs/opengl-1.2.6 --path:/Users/runner/.nimble/pkgs/x11-1.1 --path:/Users/runner/.nimble/pkgs/html5_canvas-1.3 --path:/Users/runner/.nimble/pkgs/staticglfw-4.1.2 --path:/Users/runner/.nimble/pkgs/opengl-1.2.6 --path:/Users/runner/.nimble/pkgs/x11-1.1 --path:/Users/runner/.nimble/pkgs/cligen-1.5.3 --path:/Users/runner/.nimble/pkgs/supersnappy-2.0.0 --hints:off -r --path:. /Users/runner/work/Nim/Nim/pkgstemp/fidget/tests/test
  
  PASS: [8/35] gara c                                                       ( 3.46 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant