Custom shipping method does not work with MSI

I have a custom shipping method that worked fine until I added a source and actions other than the default sources and actions. I use data examples.

I had followed this tutorial to create the expedition mode

Thanks in advance