How to make /fill and /setblock output not show up in the chat?

Wrong Gamerule

You should be running the command:

/gamerule sendCommandFeedback false

Also

You can also run:

/gamerule commandBlockOutput false

to make command block commands not appear in chat.