This mod takes 'dorfl' https://mods.factorio.com/mod/logiquipment mod and extends it to include the cargo wagon entity, for those of us who want construction trains.
i dont know if it was prior to the 4.0 update or not, but if the spider now has no (zero blue) request slots it will not empty its inventory with the trash slot