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

Add Delay type and use it #5910

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Use tilded 'data' instead of 'newtype'

7a0fa2c
Select commit
Loading
Failed to load commit list.
Open

Add Delay type and use it #5910

Use tilded 'data' instead of 'newtype'
7a0fa2c
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-darwin.required failed Jun 19, 2024 in 0s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/3i626fwjwqkihmgxdk3awq1lm47y5nbd-plutus-tx-plugin-test-size-1.25.0.0-check.drv

Log

unpacking sources
unpacking source archive /nix/store/rcspcd9476z21rz1byvd9ya56v3y1zc6-source-root-plutus-tx-plugin-test-size-root
source root is source-root-plutus-tx-plugin-test-size-root
patching sources
building
/nix/store/vbcndmb27pwwhxp5m96isappdpn7bv0z-plutus-tx-plugin-test-size-1.25.0.0/bin:
patching script interpreter paths in /private/tmp/nix-build-plutus-tx-plugin-test-size-1.25.0.0-check.drv-0/tmp.oQXnZSgeRG/bin
Size regression tests
  Rational
    Eq
      equal:                 OK (0.05s)
      not-equal:             OK (0.05s)
    Ord
      compare:               OK (0.05s)
      less-than-equal:       OK (0.05s)
      greater-than-equal:    OK (0.05s)
      less-than:             OK (0.05s)
      greater-than:          OK (0.05s)
      max:                   OK (0.05s)
      min:                   OK
    Additive
      plus:                  OK (0.02s)
      zero:                  OK (0.01s)
      minus:                 OK (0.02s)
      negate-specialized:    OK (0.02s)
    Multiplicative
      times:                 OK (0.03s)
      one:                   OK (0.02s)
      scale:                 OK (0.02s)
    Serialization
      toBuiltinData:         OK (0.02s)
      fromBuiltinData:       FAIL (0.02s)
        Test output was different from 'test/size/fromBuiltinData.size.golden'. Output of ["diff","-u","test/size/fromBuiltinData.size.golden","/private/tmp/nix-build-plutus-tx-plugin-test-size-1.25.0.0-check.drv-0/fromBuiltinData.size40297-17.actual"]:
        --- test/size/fromBuiltinData.size.golden       1970-01-01 00:00:01.000000000 +0000
        +++ /private/tmp/nix-build-plutus-tx-plugin-test-size-1.25.0.0-check.drv-0/fromBuiltinData.size40297-17.actual  2024-06-19 23:07:06.328536103 +0000
        @@ -1 +1 @@
        -343
        \ No newline at end of file
        +334
        \ No newline at end of file
        
        Use -p '/fromBuiltinData/' to rerun this test only.
      unsafeFromBuiltinData: OK (0.02s)
    Construction
      unsafeRatio:           OK (0.02s)
      ratio:                 OK (0.02s)
      fromInteger:           OK (0.02s)
    Other
      numerator:             OK (0.02s)
      denominator:           OK (0.02s)
      round:                 OK (0.02s)
      truncate:              OK (0.02s)
      properFraction:        OK (0.02s)
      recip:                 OK (0.02s)
      abs-specialized:       OK (0.02s)
    Comparison
      negate:                OK
        Target: general; size 163
        Measured: specialized; size 12
        Remaining headroom: 151
      abs:                   OK
        Target: general; size 207
        Measured: specialized; size 26
        Remaining headroom: 181
      scale:                 OK
        Target: equivalent in other primitives; size 76
        Measured: type class method; size 69
        Remaining headroom: 7

1 out of 32 tests failed (0.12s)