Subject: | You can only consume roles, MooseX::Getopt is not a Moose role |
The test suite fails on some of my smoker systems:
...
# Failed test 'use App::Fotagger;'
# at t/00-load.t line 4.
# Tried to use 'App::Fotagger'.
# Error: You can only consume roles, MooseX::Getopt is not a Moose role at /opt/perl-5.28.0t/lib/site_perl/5.28.0/x86_64-linux-thread-multi/Moose/Exporter.pm line 419
# Moose::with('MooseX::Getopt') called at /home/cpansand/.cpan/build/2018123110/App-Fotagger-0.001.1-0/blib/lib/App/Fotagger.pm line 10
# require App/Fotagger.pm at t/00-load.t line 4
# main::BEGIN at /home/cpansand/.cpan/build/2018123110/App-Fotagger-0.001.1-0/blib/lib/App/Fotagger.pm line 0
# eval {...} at /home/cpansand/.cpan/build/2018123110/App-Fotagger-0.001.1-0/blib/lib/App/Fotagger.pm line 0
# eval 'package main;
# BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] }
# #line 4 t/00-load.t
# use App::Fotagger @{$args[0]};
# 1;
# ' at /opt/perl-5.28.0t/lib/site_perl/5.28.0/Test/More.pm line 1032
# Test::More::_eval('package main;^JBEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] }^J#line 4 t/00-load.t^Juse App::Fotagger @{$args[0]};^J1;^J', 'ARRAY(0x116fb40)', undef) called at /opt/perl-5.28.0t/lib/site_perl/5.28.0/Test/More.pm line 1007
# Test::More::use_ok('App::Fotagger') called at t/00-load.t line 4
# main::BEGIN at /home/cpansand/.cpan/build/2018123110/App-Fotagger-0.001.1-0/blib/lib/App/Fotagger.pm line 0
# eval {...} at /home/cpansand/.cpan/build/2018123110/App-Fotagger-0.001.1-0/blib/lib/App/Fotagger.pm line 0
# Compilation failed in require at t/00-load.t line 4.
# BEGIN failed--compilation aborted at t/00-load.t line 4.
# Looks like you failed 1 test of 1.
t/00-load.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...