CC: | perler [...] cpan.org |
Subject: | Moose 2.1902-TRIAL breaks DBIx-Class-Graph-1.05 |
If Moose-2.1902-TRIAL is installed, then the DBIx-Class-Graph-1.05 test suite fails:
Output from './Build test':
Could not generate inline handles for _graph->("" because : Failed to compile source: syntax error at (eval 210) line 21, near """( "
source:
#line 1 "inline delegation in DBIx::Class::ResultSet::Graph for _graph->("" (attribute declared in lib/DBIx/Class/Graph/Role/ResultSet.pm at line 22)"
sub {
my $self = shift;
my $proxy = $self->_graph;
if ( !defined $proxy ) {
die Module::Runtime::use_module("Moose::Exception::AttributeValueIsNotDefined")->new(method => $self->meta->find_method_by_name("(\"\""),
instance => $self,
attribute => $self->meta->find_attribute_by_name("_graph"),
);
}
elsif ( ref $proxy && !Scalar::Util::blessed($proxy) ) {
die Module::Runtime::use_module("Moose::Exception::AttributeValueIsNotAnObject")->new(method => $self->meta->find_method_by_name("(\"\""),
instance => $self,
attribute => $self->meta->find_attribute_by_name("_graph"),
given_value => $proxy,
);
}
return $proxy->(""( @_ );
}
at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Class/MOP/Method/Generated.pm line 56.
at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Method/Delegation.pm line 148
Moose::Meta::Method::Delegation::catch {...} ('Failed to compile source: syntax error at (eval 210) line 21, near """( "^J^J^Jsource:^J#line 1 "inline delegation in DBIx::Class::ResultSet::Graph for _graph->("" (attribute declared in lib/DBIx/Class/Graph/Role/ResultSet.pm at line 22)"^Jsub {^J my $self = shift;^J^J my $proxy = $self->_graph;^J if ( !defined $proxy ) {^J die Module::Runtime::use_module("Moose::Exception::AttributeValueIsNotDefined")->new(method => $self->meta->find_method_by_name("(\"\""),^Jinstance => $self,^Jattribute => $self->meta->find_attribute_by_name("_graph"),^J);^J }^J elsif ( ref $proxy && !Scalar::Util::blessed($proxy) ) {^J die Module::Runtime::use_module("Moose::Exception::AttributeValueIsNotAnObject")->new(method => $self->meta->find_method_by_name("(\"\""),^Jinstance => $self,^Jattribute => $self->meta->find_attribute_by_name("_graph"),^Jgiven_value => $proxy,^J);^J }^J return $proxy->(""( @_ );^J}^J at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Class/MOP/Method/Generated.pm line 56.^J') called at /opt/perl-5.18.4/lib/site_perl/5.18.4/Try/Tiny.pm line 124
Try::Tiny::try('CODE(0x3a5ca90)', 'Try::Tiny::Catch=REF(0x3a45720)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Method/Delegation.pm line 154
Moose::Meta::Method::Delegation::_generate_inline_method('Moose::Meta::Method::Delegation=HASH(0x2580438)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Method/Delegation.pm line 82
Moose::Meta::Method::Delegation::_initialize_body('Moose::Meta::Method::Delegation=HASH(0x2580438)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Method/Delegation.pm line 54
Moose::Meta::Method::Delegation::new('Moose::Meta::Method::Delegation', 'name', '(""', 'package_name', 'DBIx::Class::ResultSet::Graph', 'attribute', 'Moose::Meta::Attribute=HASH(0x3a128c0)', 'delegate_to_method', '(""', 'curried_arguments', 'ARRAY(0x2859098)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Attribute.pm line 1255
Moose::Meta::Attribute::_make_delegation_method('Moose::Meta::Attribute=HASH(0x3a128c0)', '(""', '(""') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Attribute.pm line 1122
Moose::Meta::Attribute::install_delegation('Moose::Meta::Attribute=HASH(0x3a128c0)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Attribute.pm line 1015
Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x3a128c0)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Class/MOP/Class.pm line 899
Class::MOP::Class::try {...} at /opt/perl-5.18.4/lib/site_perl/5.18.4/Try/Tiny.pm line 103
eval {...} at /opt/perl-5.18.4/lib/site_perl/5.18.4/Try/Tiny.pm line 94
Try::Tiny::try('CODE(0x3a12008)', 'Try::Tiny::Catch=REF(0x2b1b738)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Class/MOP/Class.pm line 904
Class::MOP::Class::_post_add_attribute('Moose::Meta::Class=HASH(0x1d568d8)', 'Moose::Meta::Attribute=HASH(0x3a128c0)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Class/MOP/Mixin/HasAttributes.pm line 39
Class::MOP::Mixin::HasAttributes::add_attribute('Moose::Meta::Class=HASH(0x1d568d8)', 'Moose::Meta::Attribute=HASH(0x3a128c0)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Class.pm line 577
Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x1d568d8)', 'Moose::Meta::Attribute=HASH(0x3a128c0)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Role/Application/ToClass.pm line 126
Moose::Meta::Role::Application::ToClass::apply_attributes('Moose::Meta::Role::Application::ToClass=HASH(0x3a29400)', 'Moose::Meta::Role=HASH(0x3a0fab8)', 'Moose::Meta::Class=HASH(0x1d568d8)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Role/Application.pm line 59
Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0x3a29400)', 'Moose::Meta::Role=HASH(0x3a0fab8)', 'Moose::Meta::Class=HASH(0x1d568d8)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Role/Application/ToClass.pm line 31
Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0x3a29400)', 'Moose::Meta::Role=HASH(0x3a0fab8)', 'Moose::Meta::Class=HASH(0x1d568d8)', 'HASH(0x28e3388)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Meta/Role.pm line 472
Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x3a0fab8)', 'Moose::Meta::Class=HASH(0x1d568d8)') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Util.pm line 172
Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x1d568d8)', undef, 'DBIx::Class::Graph::Role::ResultSet') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Util.pm line 114
Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x1d568d8)', 'DBIx::Class::Graph::Role::ResultSet') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose.pm line 57
Moose::with('Moose::Meta::Class=HASH(0x1d568d8)', 'DBIx::Class::Graph::Role::ResultSet') called at /home/cpansand/.cpan/build/2016111706/Moose-2.1902-2/blib/lib/Moose/Exporter.pm line 419
Moose::with('DBIx::Class::Graph::Role::ResultSet') called at lib/DBIx/Class/ResultSet/Graph.pm line 19
require DBIx/Class/ResultSet/Graph.pm at -e line 1
Compilation failed in require at -e line 1.
# Failed test 'DBIx::Class::ResultSet::Graph loaded ok'
# at t/00-compile.t line 71.
# ''
# doesn't match '(?^s:^\s*DBIx::Class::ResultSet::Graph ok)'
# Looks like you failed 1 test of 5.
t/00-compile.t ................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
(etc.)