Someone should really inform the human traffickers.
Modern human trafficking is prevalent in industries that are themselves illegal, so there isn't free market competition.
The problem with slave labor is considerable expense is necessary to guard them, and the slaves not only do as little as possible but they will actively sabotage the work.
Yes, the cost was huge - that's why stupid things like the Fugitive Slave Law and the Dred Scott Decision happened, leading to the failure of Whiggish Moderation and, well, you know the rest...
What drove slavery into the ... juggernaut it became was more that financial panics in the US ( and also even more globally ) destroyed so much cash value that slaves were all that was left of value when the tide went out.
I recommend the horribly-titled "A Nation of Deadbeats". It's narrative history, but wow its a good story. And at the same time, I bet financialization is completely critical to having the sort of standard of living we have now.
Child labor only became an issue when adult labor began to be idled.
More interestingly, society decided that slavery was wrong after it became unprofitable. The same goes for child labor.