Skip to content

Instantly share code, notes, and snippets.

@mineo
Created July 1, 2014 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mineo/f9f60d0c045fa598cc08 to your computer and use it in GitHub Desktop.
Save mineo/f9f60d0c045fa598cc08 to your computer and use it in GitHub Desktop.
Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Util/TypeConstraints.pm line 440.
Moose::Util::TypeConstraints::enum("StorageClass", "standard", "reduced_redundancy") called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 21
require Net/Amazon/S3/Client/Object.pm called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3.pm line 17
Net::Amazon::S3::BEGIN() called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
eval {...} called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
require Net/Amazon/S3.pm called at t/delete.t line 6
main::BEGIN() called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
eval {...} called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
Attribute (rabbitmq) is required at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 37
Moose::Exception::_build_trace('Moose::Exception::AttributeIsRequired=HASH(0x5766c18)') called at reader Moose::Exception::trace (defined at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 9) line 8
Moose::Exception::trace('Moose::Exception::AttributeIsRequired=HASH(0x5766c18)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 49
Moose::Exception::BUILD('Moose::Exception::AttributeIsRequired=HASH(0x5766c18)', 'HASH(0x5766cf0)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Class/MOP/Method.pm line 126
Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x57d7050)', 'Moose::Exception::AttributeIsRequired=HASH(0x5766c18)', 'HASH(0x5766cf0)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Object.pm line 55
Moose::Object::BUILDALL('Moose::Exception::AttributeIsRequired=HASH(0x5766c18)', 'HASH(0x5766cf0)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Meta/Class.pm line 281
Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x5773978)', 'HASH(0x5766cf0)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Object.pm line 26
Moose::Object::new('Moose::Exception::AttributeIsRequired', 'params', 'HASH(0x57721c0)', 'class_name', 'CoverArtArchive::Indexer::Context', 'attribute_name', 'rabbitmq') called at constructor CoverArtArchive::Indexer::Context::new (defined at /home/wieland/dev/CAA-indexer/lib/CoverArtArchive/Indexer/Context.pm line 24) line 44
CoverArtArchive::Indexer::Context::new('CoverArtArchive::Indexer::Context', 'dbh', undef, 'lwp', 'LWP::UserAgent=HASH(0x57664c8)', 's3', 'Net::Amazon::S3=HASH(0x1b940c0)') called at t/delete.t line 41
# Looks like your test exited with 255 before it could output anything.
t/delete.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/3 subtests
Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Util/TypeConstraints.pm line 440.
Moose::Util::TypeConstraints::enum("StorageClass", "standard", "reduced_redundancy") called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 21
require Net/Amazon/S3/Client/Object.pm called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3.pm line 17
Net::Amazon::S3::BEGIN() called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
eval {...} called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
require Net/Amazon/S3.pm called at t/index.t line 9
main::BEGIN() called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
eval {...} called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
Attribute (rabbitmq) is required at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 37
Moose::Exception::_build_trace('Moose::Exception::AttributeIsRequired=HASH(0x5f78900)') called at reader Moose::Exception::trace (defined at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 9) line 8
Moose::Exception::trace('Moose::Exception::AttributeIsRequired=HASH(0x5f78900)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 49
Moose::Exception::BUILD('Moose::Exception::AttributeIsRequired=HASH(0x5f78900)', 'HASH(0x5f78828)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Class/MOP/Method.pm line 126
Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x5fe35a0)', 'Moose::Exception::AttributeIsRequired=HASH(0x5f78900)', 'HASH(0x5f78828)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Object.pm line 55
Moose::Object::BUILDALL('Moose::Exception::AttributeIsRequired=HASH(0x5f78900)', 'HASH(0x5f78828)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Meta/Class.pm line 281
Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x5f7cd00)', 'HASH(0x5f78828)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Object.pm line 26
Moose::Object::new('Moose::Exception::AttributeIsRequired', 'params', 'HASH(0x5f786d8)', 'class_name', 'CoverArtArchive::Indexer::Context', 'attribute_name', 'rabbitmq') called at constructor CoverArtArchive::Indexer::Context::new (defined at /home/wieland/dev/CAA-indexer/lib/CoverArtArchive/Indexer/Context.pm line 24) line 44
CoverArtArchive::Indexer::Context::new('CoverArtArchive::Indexer::Context', 'dbh', 'Test::MockObject=HASH(0x5f6ad60)', 'lwp', 'LWP::UserAgent=HASH(0x5f6a7d8)', 's3', 'Net::Amazon::S3=HASH(0x248d0c0)') called at t/index.t line 125
# Looks like your test exited with 255 before it could output anything.
t/index.t ...
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 21/21 subtests
Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Util/TypeConstraints.pm line 440.
Moose::Util::TypeConstraints::enum("StorageClass", "standard", "reduced_redundancy") called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 21
require Net/Amazon/S3/Client/Object.pm called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3.pm line 17
Net::Amazon::S3::BEGIN() called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
eval {...} called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
require Net/Amazon/S3.pm called at t/move.t line 6
main::BEGIN() called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
eval {...} called at /home/wieland/perl5/lib/perl5/Net/Amazon/S3/Client/Object.pm line 0
Attribute (rabbitmq) is required at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 37
Moose::Exception::_build_trace('Moose::Exception::AttributeIsRequired=HASH(0x3e44fb0)') called at reader Moose::Exception::trace (defined at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 9) line 8
Moose::Exception::trace('Moose::Exception::AttributeIsRequired=HASH(0x3e44fb0)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Exception.pm line 49
Moose::Exception::BUILD('Moose::Exception::AttributeIsRequired=HASH(0x3e44fb0)', 'HASH(0x3e451a8)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Class/MOP/Method.pm line 126
Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x3eb34d0)', 'Moose::Exception::AttributeIsRequired=HASH(0x3e44fb0)', 'HASH(0x3e451a8)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Object.pm line 55
Moose::Object::BUILDALL('Moose::Exception::AttributeIsRequired=HASH(0x3e44fb0)', 'HASH(0x3e451a8)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Meta/Class.pm line 281
Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x3ea3a80)', 'HASH(0x3e451a8)') called at /home/wieland/perl5/lib/perl5/x86_64-linux-thread-multi/Moose/Object.pm line 26
Moose::Object::new('Moose::Exception::AttributeIsRequired', 'params', 'HASH(0x3e454a8)', 'class_name', 'CoverArtArchive::Indexer::Context', 'attribute_name', 'rabbitmq') called at constructor CoverArtArchive::Indexer::Context::new (defined at /home/wieland/dev/CAA-indexer/lib/CoverArtArchive/Indexer/Context.pm line 24) line 44
CoverArtArchive::Indexer::Context::new('CoverArtArchive::Indexer::Context', 'dbh', undef, 'lwp', 'LWP::UserAgent=HASH(0x3e99500)', 's3', 'Net::Amazon::S3=HASH(0x6400c0)') called at t/move.t line 54
# Looks like your test exited with 255 before it could output anything.
t/move.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests
Test Summary Report
-------------------
t/delete.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/index.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 21 tests but ran 0.
t/move.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 0.
Files=3, Tests=0, 3 wallclock secs ( 0.03 usr 0.00 sys + 2.43 cusr 0.14 csys = 2.60 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment