Skip to content

Instantly share code, notes, and snippets.

@pirapira
Created January 25, 2020 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pirapira/cfa3afd6928b98f3171a38a67a98d113 to your computer and use it in GitHub Desktop.
Save pirapira/cfa3afd6928b98f3171a38a67a98d113 to your computer and use it in GitHub Desktop.
log.txt
yh@14h:~/src/k-dss$ make
dapp --version
dapp 0.26.0
solc, the solidity compiler commandline interface
Version: 0.5.15+commit.6a57276f.Linux.g++
hevm 0.36
git submodule update --init --recursive
Submodule 'dss' (https://github.com/makerdao/dss.git) registered for path 'dss'
Cloning into '/home/yh/src/k-dss/dss'...
Submodule path 'dss': checked out 'b5e9bc0717defffae73cd4f4e7f30fb84843c200'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-test'
Submodule 'lib/ds-token' (https://github.com/dapphub/ds-token) registered for path 'dss/lib/ds-token'
Submodule 'lib/ds-value' (https://github.com/dapphub/ds-value) registered for path 'dss/lib/ds-value'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-test'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value'...
Submodule path 'dss/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-token': checked out 'cee36a14685b3f93ffa0332853d3fcd943fe96a5'
Submodule 'lib/ds-math' (https://github.com/dapphub/ds-math) registered for path 'dss/lib/ds-token/lib/ds-math'
Submodule 'lib/ds-stop' (https://github.com/dapphub/ds-stop) registered for path 'dss/lib/ds-token/lib/ds-stop'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-token/lib/ds-test'
Submodule 'lib/erc20' (https://github.com/dapphub/erc20) registered for path 'dss/lib/ds-token/lib/erc20'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-math'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-test'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/erc20'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-stop'...
Submodule path 'dss/lib/ds-token/lib/ds-math': checked out '784079b72c4d782b022b3e893a7c5659aa35971a'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-token/lib/ds-math/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-math/lib/ds-test'...
Submodule path 'dss/lib/ds-token/lib/ds-math/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-token/lib/ds-stop': checked out '6e2bda69cb3cbf25a475491d9bc22969adb05993'
Submodule 'lib/ds-auth' (https://github.com/dapphub/ds-auth) registered for path 'dss/lib/ds-token/lib/ds-stop/lib/ds-auth'
Submodule 'lib/ds-note' (https://github.com/dapphub/ds-note) registered for path 'dss/lib/ds-token/lib/ds-stop/lib/ds-note'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-token/lib/ds-stop/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-stop/lib/ds-auth'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-stop/lib/ds-test'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-stop/lib/ds-note'...
Submodule path 'dss/lib/ds-token/lib/ds-stop/lib/ds-auth': checked out 'f783169408c278f85e26d77ba7b45823ed9503dd'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-token/lib/ds-stop/lib/ds-auth/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-stop/lib/ds-auth/lib/ds-test'...
Submodule path 'dss/lib/ds-token/lib/ds-stop/lib/ds-auth/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-token/lib/ds-stop/lib/ds-note': checked out 'beef8166f2184a4bac3d02abdb944647fd735060'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-token/lib/ds-stop/lib/ds-note/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-token/lib/ds-stop/lib/ds-note/lib/ds-test'...
Submodule path 'dss/lib/ds-token/lib/ds-stop/lib/ds-note/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-token/lib/ds-stop/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-token/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-token/lib/erc20': checked out 'f322aaca414db343337814097d2af43214bee96c'
Submodule path 'dss/lib/ds-value': checked out 'f3071713afbd583991637f8cfab5e0d29466dffd'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-value/lib/ds-test'
Submodule 'lib/ds-thing' (https://github.com/dapphub/ds-thing) registered for path 'dss/lib/ds-value/lib/ds-thing'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-test'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing'...
Submodule path 'dss/lib/ds-value/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-value/lib/ds-thing': checked out '5e49fcbdf4ef8ccd241423ed114576f51c42f1e0'
Submodule 'lib/ds-auth' (https://github.com/dapphub/ds-auth) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-auth'
Submodule 'lib/ds-math' (https://github.com/dapphub/ds-math) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-math'
Submodule 'lib/ds-note' (https://github.com/dapphub/ds-note) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-note'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-auth'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-note'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-test'...
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-math'...
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-auth': checked out 'f783169408c278f85e26d77ba7b45823ed9503dd'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-auth/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-auth/lib/ds-test'...
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-auth/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-math': checked out '784079b72c4d782b022b3e893a7c5659aa35971a'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-math/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-math/lib/ds-test'...
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-math/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-note': checked out 'beef8166f2184a4bac3d02abdb944647fd735060'
Submodule 'lib/ds-test' (https://github.com/dapphub/ds-test) registered for path 'dss/lib/ds-value/lib/ds-thing/lib/ds-note/lib/ds-test'
Cloning into '/home/yh/src/k-dss/dss/lib/ds-value/lib/ds-thing/lib/ds-note/lib/ds-test'...
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-note/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
Submodule path 'dss/lib/ds-value/lib/ds-thing/lib/ds-test': checked out 'a4e40050b809705b15867939f5829540c50cb84f'
cd /home/yh/src/k-dss/dss && dapp --use solc:0.5.9 build && cd ../
[1 built, 10 copied (181.0 MiB), 38.5 MiB DL]
+ dapp clean
+ rm -rf out
+ solc --overwrite ds-test/=lib/ds-test/src/ ds-test=lib/ds-test/src/index.sol ds-token/=lib/ds-token/src/ ds-token=lib/ds-token/src/index.sol ds-value/=lib/ds-value/src/ ds-value=lib/ds-value/src/index.sol erc20/=lib/ds-token/lib/erc20/src/ erc20=lib/ds-token/lib/erc20/src/index.sol ds-math/=lib/ds-token/lib/ds-math/src/ ds-math=lib/ds-token/lib/ds-math/src/index.sol ds-stop/=lib/ds-token/lib/ds-stop/src/ ds-stop=lib/ds-token/lib/ds-stop/src/index.sol ds-thing/=lib/ds-value/lib/ds-thing/src/ ds-thing=lib/ds-value/lib/ds-thing/src/index.sol ds-auth/=lib/ds-token/lib/ds-stop/lib/ds-auth/src/ ds-auth=lib/ds-token/lib/ds-stop/lib/ds-auth/src/index.sol ds-note/=lib/ds-token/lib/ds-stop/lib/ds-note/src/ ds-note=lib/ds-token/lib/ds-stop/lib/ds-note/src/index.sol --combined-json=abi,bin,bin-runtime,srcmap,srcmap-runtime,ast,metadata /=/ src/cat.sol src/vat.sol src/flap.sol src/jug.sol src/pot.sol src/spot.sol src/lib.sol src/flip.sol src/dai.sol src/flop.sol src/test/fork.t.sol src/test/vat.t.sol src/test/jug.t.sol src/test/flap.t.sol src/test/flip.t.sol src/test/vow.t.sol src/test/dai.t.sol src/test/pot.t.sol src/test/end.t.sol src/test/flop.t.sol src/end.sol src/vow.sol src/join.sol
src/cat.sol:19:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments.
pragma experimental ABIEncoderV2;
^-------------------------------^
src/end.sol:20:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments.
pragma experimental ABIEncoderV2;
^-------------------------------^
src/jug.sol:2:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments.
pragma experimental ABIEncoderV2;
^-------------------------------^
src/test/jug.t.sol:2:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments.
pragma experimental ABIEncoderV2;
^-------------------------------^
src/test/vat.t.sol:2:1: Warning: Experimental features are turned on. Do not use experimental features on live deployments.
pragma experimental ABIEncoderV2;
^-------------------------------^
src/jug.sol:64:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/pot.sol:103:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/pot.sol:111:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/pot.sol:107:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:93:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, int y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:108:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:103:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, int y) internal pure returns (int z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:114:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:98:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, int y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:111:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:93:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, int y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:108:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:103:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, int y) internal pure returns (int z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:114:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:98:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, int y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:111:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:93:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, int y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:108:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function add(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:103:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, int y) internal pure returns (int z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:114:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function mul(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:98:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, int y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/vat.sol:111:5: Warning: Variable is shadowed in inline assembly by an instruction of the same name
function sub(uint x, uint y) internal pure returns (uint z) {
^ (Relevant source part starts here and spans across multiple lines).
src/test/flop.t.sol:50:5: Warning: Function state mutability can be restricted to view
function dai(address usr) public returns (uint) {
^ (Relevant source part starts here and spans across multiple lines).
mkdir -p /home/yh/src/k-dss/out/specs
KLAB_OUT=/home/yh/src/k-dss/out klab build
internal/fs/utils.js:524
throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
at Object.openSync (fs.js:432:10)
at Object.readFileSync (fs.js:342:35)
at read (/home/yh/src/klab/lib/util.js:44:27)
at /home/yh/src/klab/lib/config.js:31:24
at Array.forEach (<anonymous>)
at module.exports (/home/yh/src/klab/lib/config.js:26:6)
at Object.<anonymous> (/home/yh/src/klab/lib/storage.js:15:23)
at Module._compile (internal/modules/cjs/loader.js:971:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
at Module.load (internal/modules/cjs/loader.js:822:32) {
code: 'ERR_INVALID_ARG_TYPE'
}
make: *** [Makefile:38: /home/yh/src/k-dss/out/specs/specs.manifest] Error 1
yh@14h:~/src/k-dss$ nix --version
nix (Nix) 2.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment