They will eat molluscs , other crustaceans , worms , fungi and bacteria . Crabs are omnivores , feeding primarily on algae , and taking any other food , including molluscs , worms , other crustaceans , fungi , bacteria and detritus , depending on their availability and the crab species .