Thanks for the report.
It appears the oil rig is too big and doesn't combine well with a piece of logic that assumes an oil pumpjack is 3x3 in size. I think I'll be able to fix that, simply by not assuming a fixed size, but rather look up the size before doing that series of calculations.
Though I doubt how usefull it'll be. I'm not familiar with the Cargo Ships mod, but it doesn't appear to involve placement of pipes with the rig? So I wonder why you'd want to use P.U.M.P. with oil rigs?
Also, the preliminary testing I did so far does indicate P.U.M.P. will just place ghosts of oil rigs on oil wells on land. Which is odd?
P.U.M.P. does a query on the factorio API if the pump-of-choice (the oil rig in this case) can be placed, and the game engine informs back that it can, so P.U.M.P. places a ghost. However, when manually placed, a message pops up that it can't be placed on land. I bet Cargo Ship did some magic to make water-based buildings possible, but that's not something I can take into account in P.U.M.P. So even without crash, P.U.M.P. will probably still work a bit funky when used with oil rigs.
Regardless, avoiding this crash would also be good when there's other mods that work with larger land-based pumpjacks. So I'll try to get a fix out for it soon. Until then, you can hold shift when using P.U.M.P. to popup a menu from which you'll be able to chose a land-based pumpjack.