Subject: | Can't locate Moose.pm |
On some of my smokers the test suite fails:
...
# Failed test 'use BookDB::Schema;'
# at t/02-book.t line 10.
# Tried to use 'BookDB::Schema'.
# Error: {UNKNOWN}: Can't locate Moose.pm in @INC (you may need to install the Moose module) (@INC contains: ... .) at t/lib/BookDB/Schema/Result/Book2PK.pm line 3.
# BEGIN failed--compilation aborted at t/lib/BookDB/Schema/Result/Book2PK.pm line 3.
# Compilation failed in require at /home/cpansand/.cpan/build/2018061721/Class-C3-Componentised-1.001002-_QeEll/blib/lib/Class/C3/Componentised.pm line 146. at /home/cpansand/.cpan/build/2018061721/Class-C3-Componentised-1.001002-_QeEll/blib/lib/Class/C3/Componentised.pm line 151
# Compilation failed in require at t/02-book.t line 10.
# BEGIN failed--compilation aborted at t/02-book.t line 10.
DBIx::Class::Schema::source(): Can't find source for Book at t/02-book.t line 15
Can't call method "delete" on an undefined value at t/02-book.t line 45.
END failed--call queue aborted at t/02-book.t line 77.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 4.
t/02-book.t .........
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 1/4 subtests
... (more test fails follow) ...