Subject: | Undeclared dependency Mail::Transport::Send |
Tests fail if Mail::Transport::Send is not installed:
...
# Failed test 'use RDF::Crypt;'
# at t/01basic.t line 2.
# Tried to use 'RDF::Crypt'.
# Error: Could not load class (RDF::Crypt::Role::DoesEncrypt) because : Can't locate Mail/Transport/Send.pm in @INC (you may need to install the Mail::Transport::Send module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Role/DoesEncrypt.pm line 11.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Role/DoesEncrypt.pm line 11.
# Compilation failed in require at /usr/perl5.27.4p/lib/site_perl/5.27.4/amd64-freebsd/Mouse/Util.pm line 295.
# at /usr/perl5.27.4p/lib/site_perl/5.27.4/amd64-freebsd/Mouse/Util.pm line 304.
# Mouse::Util::load_class("RDF::Crypt::Role::DoesEncrypt") called at /usr/perl5.27.4p/lib/site_perl/5.27.4/amd64-freebsd/Mouse/Util.pm line 327
# Mouse::Util::apply_all_roles("RDF::Crypt::Encrypter", "RDF::Crypt::Role::WithPublicKeys", "RDF::Crypt::Role::DoesEncrypt", "RDF::Crypt::Role::ToString") called at /usr/perl5.27.4p/lib/site_perl/5.27.4/amd64-freebsd/Mouse.pm line 40
# Mouse::with("RDF::Crypt::Role::WithPublicKeys", "RDF::Crypt::Role::DoesEncrypt", "RDF::Crypt::Role::ToString") called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 5
# require RDF/Crypt/Encrypter.pm called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt.pm line 7
# RDF::Crypt::BEGIN() called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 0
# eval {...} called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 0
# require RDF/Crypt.pm called at t/01basic.t line 2
# main::BEGIN() called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 0
# eval {...} called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 0
# eval 'package main;
# BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] }
# #line 2 t/01basic.t
# use RDF::Crypt @{$args[0]};
# 1;
# ' called at /usr/perl5.27.4p/lib/site_perl/5.27.4/Test/More.pm line 1031
# Test::More::_eval("package main;\x{a}BEGIN { \${^WARNING_BITS} = \$args[-1] if defined"..., ARRAY(0x42e8e4c8), undef) called at /usr/perl5.27.4p/lib/site_perl/5.27.4/Test/More.pm line 1007
# Test::More::use_ok("RDF::Crypt") called at t/01basic.t line 2
# main::BEGIN() called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 0
# eval {...} called at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt/Encrypter.pm line 0
# Compilation failed in require at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt.pm line 7.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102809/RDF-Crypt-0.002-0/blib/lib/RDF/Crypt.pm line 7.
# Compilation failed in require at t/01basic.t line 2.
# BEGIN failed--compilation aborted at t/01basic.t line 2.
# Looks like you failed 1 test of 1.
t/01basic.t ...........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...