When a Canadian enters Canada it's acceptable for the government to say, "Show me all of your apples." It can even say, "Give me the bill of sale for those apples." That's inspecting goods.
It's not acceptable for the government to say, "Show me all of your text messages, emails, pictures, and personal journals." That's a warrantless search.
It is illegal, and it should remain illegal regardless of what good deeds a government bureaucrat might be able to do with that information.
If the government wants to conduct a search like that, it needs to accuse you of a specific crime and set out the reasons why it believes getting those items will prove it. Any just government must assign different people who act at arms length from each other to make the request and to decide if the request is justified. (eg. Police, Prosecutor, and Judge) This is necessary in order to prevent any individual human agent acting with the power of the government from abusing that power.
Just governments do not search everyone because some of them might be guilty. Just governments don't say, "Show me your apples. OK, that's fine. Now give me your passwords because you might be a pedophile and I need to make sure I can't find any evidence that you are." Just governments don't say, "Show me your journals, emails, and pictures, then and then we'll see if we can charge you with a crime."
I wouldn't give up living under a just and fair government even if that meant we could catch all of the criminals... which of course we couldn't.