Because we have to compile all the contracts with truffle, so it only supports solidity with version under 0.5.0 now. Upgrade [reference](https://ethereum.stackexchange.com/questions/73662/using-two-solc-versions-within-the-same-truffle-project).