Compiling ./contracts/ConvertLib.sol...
Compiling ./contracts/MetaCoin.sol...
Compiling ./contracts/Migrations.sol...
Compilation warnings encountered:
/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:15:2: Warning: This declaration shadows an existing declaration.
function MetaCoin() public {
^ (Relevant source part starts here and spans across multiple lines).
/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:10:1: The shadowed declaration is here:
contract MetaCoin {
^ (Relevant source part starts here and spans across multiple lines).
/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/ConvertLib.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.17;
^----------------------^
,/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.17;
^----------------------^
,/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:15:2: SyntaxError: Functions are not allowed to have the same name as the contract. If you intend this to be a constructor, use "constructor(...) { ... }" to define it.
function MetaCoin() public {
^ (Relevant source part starts here and spans across multiple lines).
,/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/Migrations.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.5.0+commit.1d4f565a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.17;
^----------------------^
,/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:15:2: Warning: This declaration shadows an existing declaration.
function MetaCoin() public {
^ (Relevant source part starts here and spans across multiple lines).
/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:10:1: The shadowed declaration is here:
contract MetaCoin {
^ (Relevant source part starts here and spans across multiple lines).
,/Users/iSh3lan/Udacity/Block Chain/Project 5/ExpressBox/contracts/MetaCoin.sol:23:3: TypeError: Event invocations have to be prefixed by "emit".
Transfer(msg.sender, receiver, amount);
^------------------------------------^
Compilation failed. See above.
Truffle v5.0.2 (core: 5.0.2)
Node v11.2.0