Subject: | Can't locate object method "remaining" via package "Mojo::IOLoop::Delay" |
Tests fail, probably with newer Mojolicious versions:
...
Mojo::Reactor::Poll: Timer failed: Can't locate object method "remaining" via package "Mojo::IOLoop::Delay" at /home/cpansand/.cpan/build/2018022500/Mojo-SMTP-Client-0.14-1/blib/lib/Mojo/SMTP/Client.pm line 205.
t/02_smtp.t .....
All 10 subtests passed
Mojo::Reactor::Poll: Timer failed: Can't locate object method "remaining" via package "Mojo::IOLoop::Delay" at /home/cpansand/.cpan/build/2018022500/Mojo-SMTP-Client-0.14-1/blib/lib/Mojo/SMTP/Client.pm line 205, <$sock1> line 12.
Mojo::Reactor::Poll: I/O watcher failed: Timer not active at /home/cpansand/.cpan/build/2018022500/Mojolicious-7.68-0/blib/lib/Mojo/IOLoop/Stream.pm line 93.
... (etc.) ...
With earlier Mojolicious versions there's a deprecation warning:
...
Mojo::IOLoop::Delay::remaining is DEPRECATED at /home/cpansand/.cpan/build/2018012015/Mojo-SMTP-Client-0.14-0/blib/lib/Mojo/SMTP/Client.pm line 205.
t/02_smtp.t ..... ok
...