Subject: | Tests started to fail (because of api.metacpan.org changes?) |
The t/01-use.t test started to fail on all my smokers:
$ perl5.22.2 -T -Mblib t/01-use.t
1..1
Smartmatch is experimental at /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/lib/lib/remote.pm line 133.
Smartmatch is experimental at /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/lib/lib/remote.pm line 140.
lib::remote->import: возможно проблемы с модулем [Module::Stubber]: Can't locate Module::Stubber in @INC (@INC contains: /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/arch /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/lib /opt/perl-5.22.2/lib/site_perl/5.22.2/x86_64-linux /opt/perl-5.22.2/lib/site_perl/5.22.2 /opt/perl-5.22.2/lib/5.22.2/x86_64-linux /opt/perl-5.22.2/lib/5.22.2 CODE(0x2147cb8)) at /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/lib/lib/remote.pm line 102.
at t/01-use.t line 15.
Module::Stubber: Can't locate Unavailable/Module/As/Stub2.pm in @INC (you may need to install the Unavailable::Module::As::Stub2 module) (@INC contains: /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/arch /home/cpansand/.cpan/build/2017060512/lib-remote-0.11-0/blib/lib /opt/perl-5.22.2/lib/site_perl/5.22.2/x86_64-linux /opt/perl-5.22.2/lib/site_perl/5.22.2 /opt/perl-5.22.2/lib/5.22.2/x86_64-linux /opt/perl-5.22.2/lib/5.22.2 CODE(0x2147cb8)) at /opt/perl-5.22.2/lib/site_perl/5.22.2/Module/Stubber.pm line 85.
Runtime start at t/01-use.t line 11.
Can't locate object method "new" via package "Unavailable::Module::As::Stub" (perhaps you forgot to load "Unavailable::Module::As::Stub"?) at t/01-use.t line 23.
# Looks like your test exited with 255 before it could output anything.
I see that the tests are using api.metacpan.org. Pointing the browser to http://api.metacpan.org/source/MNUNBERG/Module-Stubber-0.03/lib/Module/Stubber.pm shows:
MetaCPAN v0 API has been has been shut down!
See the MetaCPAN v1 API should be used instead.