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

Chronic #353

Closed
AlexDaniel opened this issue Feb 8, 2019 · 2 comments
Closed

Chronic #353

AlexDaniel opened this issue Feb 8, 2019 · 2 comments
Assignees
Labels
rakudobug works for me Does not seem to be any problem

Comments

@AlexDaniel
Copy link
Member

Module Chronic cannot be installed (Fail), perhaps it has some failing tests.

  • Tickets are opened/closed in this repo automatically (though not immediately).
  • If you can install the module without any problems, add works for me label, leave a comment saying that it works for you and mention any details that you feel are important.
  • If it needs a native library, put native dependency label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.
  • If the module is broken, try to fix it and send a PR. Add PR sent label.
  • If there is a problem in one of the dependencies, add failing dependency label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.
  • It is a good idea to assign yourself to this ticket if you're working on it (to make sure two or more people are not working on the same ticket at the same time).
  • Once you are done, search for a next ticket.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: Chronic
===> Found: Chronic:ver<0.0.7>:auth<github:jonathanstowe>:api<1.0> [via Zef::Repository::Ecosystems<cpan>]
===> Fetching [OK]: Chronic:ver<0.0.7>:auth<github:jonathanstowe>:api<1.0> to /home/alex/Blin/data/zef-data/tmp/1549579287.7248.8904/Chronic-0.0.7.tar.gz
===> Extraction [OK]: Chronic to /home/alex/Blin/data/zef-data/store/Chronic-0.0.7.tar.gz
===> Testing: Chronic:ver<0.0.7>:auth<github:jonathanstowe>:api<1.0>
t/001-meta.t ..... ok
t/001-use.t ...... ok
    # Failed test 'range constructor for day-of-week (1)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-dows(1..1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day-of-week  (1)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-dows([1]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day-of-week  ( 1 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-dows(1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day-of-week (1 2)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-dows(1..2); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day-of-week  (1 2)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-dows([1 2]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day-of-week  ( 2 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-dows(2); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Looks like you failed 6 tests of 6
# Failed test 'constructor for day-of-week'
# at t/020-basic.t line 18
    # Failed test 'range constructor for month (1)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-months(1..1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for month  (1)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-months([1]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for month  ( 1 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-months(1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Looks like you failed 3 tests of 3
# Failed test 'constructor for month'
# at t/020-basic.t line 18
    # Failed test 'range constructor for minute (0)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-minutes(0..0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for minute  (0)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-minutes([0]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for minute  ( 0 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-minutes(0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Looks like you failed 3 tests of 3
# Failed test 'constructor for minute'
# at t/020-basic.t line 18
    # Failed test 'range constructor for day (1)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(1..1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (1)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([1]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 1 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day (2)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(2..2); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (2)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([2]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 2 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(2); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day (3)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(3..3); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (3)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([3]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 3 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(3); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day (3 4)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(3..4); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (3 4)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([3 4]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 4 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(4); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day (4)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(4..4); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (4)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([4]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 4 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(4); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day (4 5)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(4..5); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (4 5)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([4 5]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 4 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(4); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for day (4 5 6)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-days(4..6); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for day  (4 5 6)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-days([4 5 6]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for day  ( 4 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-days(4); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Looks like you failed 21 tests of 21
# Failed test 'constructor for day'
# at t/020-basic.t line 18
    # Failed test 'range constructor for hour (0)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-hours(0..0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for hour  (0)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-hours([0]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for hour  ( 0 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-hours(0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for hour (0 1)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-hours(0..1); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for hour  (0 1)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-hours([0 1]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for hour  ( 0 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-hours(0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for hour (0 1 2)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-hours(0..2); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for hour  (0 1 2)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-hours([0 1 2]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for hour  ( 0 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-hours(0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'range constructor for hour (0 1 2 3)'
    # at t/020-basic.t line 22
    # Cannot resolve caller get-hours(0..3); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'array constructor for hour  (0 1 2 3)'
    # at t/020-basic.t line 24
    # Cannot resolve caller get-hours([0 1 2 3]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Failed test 'integer constructor for hour  ( 0 )'
    # at t/020-basic.t line 26
    # Cannot resolve caller get-hours(0); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
    # Looks like you failed 12 tests of 12
# Failed test 'constructor for hour'
# at t/020-basic.t line 18
Cannot resolve caller get-minutes(10..23); none of these signatures match:
    (Whatever)
    (Str $ where { ... })
    (Str $exp)
    (Range $r where { ... })
    (*@m where { ... })
    (@m where { ... })
  in block  at /home/alex/Blin/data/zef-data/store/Chronic-0.0.7.tar.gz/Chronic-0.0.7/lib/Chronic.pm (Chronic) line 359
  in method new at /home/alex/Blin/data/zef-data/store/Chronic-0.0.7.tar.gz/Chronic-0.0.7/lib/Chronic.pm (Chronic) line 354
  in block <unit> at t/020-basic.t line 255

t/020-basic.t .... 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/8 subtests 
    # Failed test 'and matches the expected result'
    # at t/030-pattern.t line 153
    # Looks like you failed 1 test of 2
# Failed test 'day-of-week with pattern '*''
# at t/030-pattern.t line 148
    # Failed test 'create object with pattern'
    # at t/030-pattern.t line 152
    # Cannot resolve caller get-dows([1 2 3 4 5 6 7]); none of these signatures match:
    #     (Whatever)
    #     (Str $ where { ... })
    #     (Str $exp)
    #     (Range $r where { ... })
    #     (*@m where { ... })
    #     (@m where { ... })
No such method 'day-of-week' for invocant of type 'Any'
  in block  at t/030-pattern.t line 153
  in block <unit> at t/030-pattern.t line 147

t/030-pattern.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/040-at.t ....... ok

Test Summary Report
-------------------
t/020-basic.t  (Wstat: 1280 Tests: 8 Failed: 5)
  Failed tests:  1-5
  Non-zero exit status: 5
  Parse errors: No plan found in TAP output
t/030-pattern.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=5, Tests=15, 18 wallclock secs ( 0.05 usr  0.02 sys +  9.15 cusr  0.52 csys =  9.74 CPU)
Result: FAIL
===> Testing [FAIL]: Chronic:ver<0.0.7>:auth<github:jonathanstowe>:api<1.0>
Failed to get passing tests, but continuing with --force-test
===> Installing: Chronic:ver<0.0.7>:auth<github:jonathanstowe>:api<1.0>
===> Install [OK] for Chronic:ver<0.0.7>:auth<github:jonathanstowe>:api<1.0>

Ping @jonathanstowe

@jonathanstowe
Copy link

Yep that's definitely a regression as it worked fine the other day. I'll take a look to golf later.

@jonathanstowe jonathanstowe self-assigned this Feb 8, 2019
@jonathanstowe jonathanstowe added the works for me Does not seem to be any problem label Feb 8, 2019
@jonathanstowe
Copy link

Just re-tested against a

This is Rakudo version 2018.12-293-gd904b7048 built on MoarVM version 2018.12-94-g2eab275df
implementing Perl 6.d.

And it seems fine. So closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rakudobug works for me Does not seem to be any problem
Projects
None yet
Development

No branches or pull requests

2 participants