Skip to content

Instantly share code, notes, and snippets.

@e00dan
Created July 19, 2021 09:56
Show Gist options
  • Save e00dan/8e580be15ee80f7f0c090a0839acd1fd to your computer and use it in GitHub Desktop.
Save e00dan/8e580be15ee80f7f0c090a0839acd1fd to your computer and use it in GitHub Desktop.
source gw_util.sh && generateSubmodulesEnvFile
make install
make[1]: Entering directory '/home/kuzi/projects/godwoken-kicker'
source ./gw_util.sh && init_submodule_if_empty
if [ "true" = true ] ; then \
docker run --rm -v `pwd`/godwoken-polyman:/app -w=/app $DOCKER_JS_PREBUILD_IMAGE_NAME:$DOCKER_JS_PREBUILD_IMAGE_TAG yarn ; \
fi
yarn install v1.22.5
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.61s.
if [ "true" = true ] ; then \
docker run --rm -v `pwd`/godwoken-web3:/app -w=/app $DOCKER_JS_PREBUILD_IMAGE_NAME:$DOCKER_JS_PREBUILD_IMAGE_TAG /bin/bash -c "yarn; yarn workspace @godwoken-web3/godwoken tsc; yarn workspace @godwoken-web3/api-server tsc" ; \
fi
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
Done in 9.28s.
yarn workspace v1.22.5
yarn run v1.22.5
$ /app/node_modules/.bin/tsc
Done in 1.36s.
Done in 1.54s.
yarn workspace v1.22.5
yarn run v1.22.5
$ /app/node_modules/.bin/tsc
Done in 5.45s.
Done in 5.64s.
if [ "true" = true ] ; then \
docker run --rm -it -v `pwd`/godwoken:/app -v `pwd`/cargo-cache-data:/root/.cargo/registry -w=/app retricsu/godwoken-manual-build cargo build ; \
fi
info: syncing channel updates for '1.50.0-x86_64-unknown-linux-gnu'
info: latest update on 2021-02-11, rust version 1.50.0 (cb75ad5db 2021-02-10)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
Updating crates.io index
Updating git repository `https://github.com/nervosnetwork/ckb-vm.git`
Updating git repository `https://github.com/jjyr/ckb-cli.git`
Downloaded ckb-occupied-capacity v0.38.0
Downloaded ckb-dao-utils v0.38.0
Downloaded futures-macro v0.3.13
Downloaded adler v0.2.3
Downloaded time-macros-impl v0.1.1
Downloaded once_cell v1.5.2
Downloaded rand v0.8.2
Downloaded rustc-hex v2.1.0
Downloaded vec-arena v1.1.0
Downloaded eaglesong v0.1.0
Downloaded native-tls v0.2.7
Downloaded async-jsonrpc-client v0.3.0
Downloaded nix v0.20.0
Downloaded numext-fixed-uint v0.1.6
Downloaded num_cpus v1.13.0
Downloaded nb-connect v1.1.0
Downloaded parking_lot v0.9.0
Downloaded rand v0.7.3
Downloaded percent-encoding v1.0.1
Downloaded openssl-sys v0.9.61
Downloaded numext-fixed-uint-hack v0.1.6
Downloaded serde_json v1.0.60
Downloaded want v0.2.0
Downloaded sluice v0.5.4
Downloaded merkle-cbt v0.3.0
Downloaded value-bag v1.0.0-alpha.6
Downloaded rayon-core v1.9.0
Downloaded crunchy v0.2.2
Downloaded funty v1.1.0
Downloaded hkdf v0.10.0
Downloaded hex v0.4.2
Downloaded net2 v0.2.37
Downloaded mio v0.6.23
Downloaded opaque-debug v0.3.0
Downloaded scrypt v0.2.0
Downloaded pkg-config v0.3.19
Downloaded parking v2.0.0
Downloaded parking_lot_core v0.8.1
Downloaded polling v2.0.3
Downloaded quote v1.0.7
Downloaded pin-project-internal v1.0.6
Downloaded ppv-lite86 v0.2.10
Downloaded parking_lot v0.11.1
Downloaded signal-hook v0.3.7
Downloaded secp256k1 v0.20.0
Downloaded serde_urlencoded v0.5.5
Downloaded syn v0.11.11
Downloaded pin-project-lite v0.2.6
Downloaded slab v0.4.2
Downloaded phf_generator v0.7.24
Downloaded heapsize v0.4.2
Downloaded proc-macro-hack v0.5.19
Downloaded percent-encoding v2.1.0
Downloaded bitflags v1.2.1
Downloaded phf v0.7.24
Downloaded sha3 v0.9.1
Downloaded serde_derive v1.0.118
Downloaded standback v0.2.17
Downloaded unicode_categories v0.1.1
Downloaded sha-1 v0.9.4
Downloaded tokio v1.4.0
Downloaded crossbeam-utils v0.6.6
Downloaded crypto-mac v0.10.0
Downloaded hmac v0.10.1
Downloaded kv-log-macro v1.0.7
Downloaded rand_core v0.3.1
Downloaded tinyvec_macros v0.1.0
Downloaded molecule v0.6.0
Downloaded httpdate v0.3.2
Downloaded ckb-error v0.38.0
Downloaded mio v0.7.11
Downloaded md-5 v0.9.1
Downloaded rand v0.6.5
Downloaded rand_hc v0.1.0
Downloaded rand_pcg v0.1.2
Downloaded rand_jitter v0.1.4
Downloaded rustc_version v0.2.3
Downloaded base64 v0.9.3
Downloaded goblin v0.2.3
Downloaded rand_os v0.1.3
Downloaded unicode-xid v0.0.4
Downloaded signal-hook-registry v1.3.0
Downloaded sqlx-rt v0.3.0
Downloaded idna v0.2.2
Downloaded subtle v1.0.0
Downloaded reqwest v0.9.24
Downloaded sqlx-core v0.5.1
Downloaded time v0.2.26
Downloaded try_from v0.3.2
Downloaded thiserror-impl v1.0.22
Downloaded thiserror v1.0.22
Downloaded surf v2.2.0
Downloaded synom v0.11.3
Downloaded sqlx v0.5.1
Downloaded rand_core v0.4.2
Downloaded tempfile v3.2.0
Downloaded tiny-keccak v1.5.0
Downloaded tap v1.0.1
Downloaded chrono v0.4.19
Downloaded sparse-merkle-tree v0.4.0-rc1
Downloaded reqwest v0.11.2
Downloaded scopeguard v1.1.0
Downloaded rand v0.5.6
Downloaded subtle v2.4.0
Downloaded want v0.3.0
Downloaded stream-cipher v0.3.2
Downloaded vec_map v0.8.2
Downloaded unicode-bidi v0.3.4
Downloaded spinning_top v0.2.2
Downloaded unicode-xid v0.2.1
Downloaded smallvec v0.6.14
Downloaded try-lock v0.2.3
Downloaded tokio-executor v0.1.10
Downloaded semver v0.9.0
Downloaded regex-syntax v0.6.23
Downloaded http-body v0.1.0
Downloaded sqlformat v0.1.6
Downloaded faster-hex v0.3.1
Downloaded dotenv v0.15.0
Downloaded blocking v1.0.2
Downloaded isahc v0.9.14
Downloaded serde_qs v0.7.2
Downloaded universal-hash v0.4.0
Downloaded toml v0.5.7
Downloaded smallvec v1.5.1
Downloaded fake-simd v0.1.2
Downloaded bitcoin_hashes v0.3.2
Downloaded fastrand v1.4.0
Downloaded async-io v1.3.1
Downloaded static_assertions v1.1.0
Downloaded matches v0.1.8
Downloaded tokio-util v0.6.5
Downloaded hyper v0.14.4
Downloaded string v0.2.1
Downloaded sqlx-macros v0.5.1
Downloaded cookie v0.12.0
Downloaded rand_core v0.6.1
Downloaded tinyvec v1.1.1
Downloaded maybe-uninit v2.0.0
Downloaded sha2 v0.9.3
Downloaded libnghttp2-sys v0.1.6+1.43.0
Downloaded unicode-segmentation v1.7.1
Downloaded curl v0.4.35
Downloaded mime v0.3.16
Downloaded tokio-buf v0.1.1
Downloaded quote v0.3.15
Downloaded clap v2.33.3
Downloaded hyper-tls v0.3.2
Downloaded ctr v0.3.2
Downloaded socket2 v0.4.0
Downloaded tower-service v0.3.1
Downloaded tracing-attributes v0.1.15
Downloaded unicase v2.6.0
Downloaded typenum v1.12.0
Downloaded tracing v0.1.25
Downloaded proc-macro-nested v0.1.7
Downloaded sha2 v0.8.2
Downloaded synstructure v0.12.4
Downloaded tokio-timer v0.2.13
Downloaded tracing-core v0.1.17
Downloaded waker-fn v1.1.0
Downloaded unicode-normalization v0.1.17
Downloaded whoami v1.1.1
Downloaded termcolor v1.1.2
Downloaded libsqlite3-sys v0.20.1
Downloaded walkdir v2.3.1
Downloaded tokio-reactor v0.1.12
Downloaded uuid v0.7.4
Downloaded tokio v0.1.22
Downloaded wyz v0.2.0
Downloaded miniz_oxide v0.4.3
Downloaded h2 v0.1.26
Downloaded futures v0.3.13
Downloaded lazy_static v1.4.0
Downloaded jsonrpc-v2 v0.10.0
Downloaded tokio-current-thread v0.1.7
Downloaded gimli v0.23.0
Downloaded iovec v0.1.4
Downloaded aes-ctr v0.3.0
Downloaded hashlink v0.6.0
Downloaded crc v1.8.1
Downloaded http-body v0.4.1
Downloaded http-client v6.3.5
Downloaded faster-hex v0.5.0
Downloaded cfg-if v0.1.10
Downloaded async-channel v1.6.1
Downloaded aes v0.6.0
Downloaded foreign-types v0.3.2
Downloaded failure_derive v0.1.8
Downloaded log v0.4.14
Downloaded fnv v1.0.7
Downloaded url v2.2.1
Downloaded tokio-threadpool v0.1.18
Downloaded tokio-native-tls v0.3.0
Downloaded siphasher v0.2.3
Downloaded itoa v0.4.6
Downloaded parking_lot_core v0.6.2
Downloaded http v0.1.21
Downloaded url v1.7.2
Downloaded mime_guess v2.0.3
Downloaded version_check v0.9.2
Downloaded libz-sys v1.1.2
Downloaded encoding_rs v0.8.28
Downloaded curl-sys v0.4.41+curl-7.75.0
Downloaded cipher v0.2.5
Downloaded aes-soft v0.3.3
Downloaded ckb-librocksdb-sys v6.11.6
Downloaded memchr v2.3.4
Downloaded keccak v0.1.0
Downloaded ansi_term v0.11.0
Downloaded time-macros v0.1.1
Downloaded futures-task v0.3.13
Downloaded crossbeam-utils v0.8.1
Downloaded build_const v0.2.1
Downloaded form_urlencoded v1.0.1
Downloaded rayon v1.5.0
Downloaded hashbrown v0.9.1
Downloaded cache-padded v1.1.1
Downloaded arrayvec v0.5.2
Downloaded futures-cpupool v0.1.8
Downloaded serde_urlencoded v0.7.0
Downloaded safemem v0.3.3
Downloaded memoffset v0.5.6
Downloaded tracing-futures v0.2.5
Downloaded time v0.1.43
Downloaded stringprep v0.1.2
Downloaded crossbeam-channel v0.5.0
Downloaded libc v0.2.91
Downloaded glob v0.2.11
Downloaded crossbeam-epoch v0.9.1
Downloaded lexical-core v0.7.5
Downloaded http v0.2.3
Downloaded concurrent-queue v1.2.2
Downloaded bytes v0.5.6
Downloaded tokio-io v0.1.13
Downloaded getrandom v0.2.2
Downloaded crossbeam-queue v0.3.1
Downloaded base64 v0.13.0
Downloaded cc v1.0.41
Downloaded bech32 v0.6.0
Downloaded ckb-jsonrpc-types v0.38.0
Downloaded hyper v0.12.36
Downloaded block-buffer v0.9.0
Downloaded block-cipher-trait v0.6.2
Downloaded humantime v2.1.0
Downloaded autocfg v1.0.1
Downloaded blake2b-ref v0.2.1
Downloaded bitvec v0.19.5
Downloaded generic-array v0.12.4
Downloaded futures-core v0.3.13
Downloaded blake2b-rs v0.1.5
Downloaded anyhow v1.0.35
Downloaded async-native-tls v0.3.3
Downloaded async-executor v1.4.0
Downloaded backtrace v0.3.55
Downloaded async-fs v1.5.0
Downloaded hmac v0.7.1
Downloaded event-listener v2.5.1
Downloaded digest v0.8.1
Downloaded crc32fast v1.2.1
Downloaded failure v0.1.8
Downloaded extensions v0.2.0
Downloaded async-trait v0.1.48
Downloaded crossbeam-queue v0.2.3
Downloaded atomic-waker v1.0.0
Downloaded async-task v4.0.3
Downloaded async-std v1.9.0
Downloaded ckb-fixed-hash-macros v0.38.0
Downloaded async-mutex v1.4.0
Downloaded jsonrpc-core v14.1.0
Downloaded addr2line v0.14.0
Downloaded futures-channel v0.3.13
Downloaded jsonrpc-types v0.3.3
Downloaded secp256k1-sys v0.1.2
Downloaded futures v0.1.30
Downloaded ahash v0.6.3
Downloaded crypto-mac v0.7.0
Downloaded bit-vec v0.5.1
Downloaded async-lock v2.3.0
Downloaded async-global-executor v2.0.2
Downloaded tokio-tcp v0.1.4
Downloaded aead v0.3.2
Downloaded unicode-width v0.1.8
Downloaded textwrap v0.11.0
Downloaded infer v0.2.3
Downloaded opaque-debug v0.2.3
Downloaded derive_more v0.99.11
Downloaded http-types v2.10.0
Downloaded tokio-sync v0.1.8
Downloaded indexmap v1.6.2
Downloaded futures-sink v0.3.13
Downloaded semver-parser v0.7.0
Downloaded rand_isaac v0.1.1
Downloaded erased-serde v0.3.13
Downloaded hyper-tls v0.5.0
Downloaded env_logger v0.8.3
Downloaded ckb-script v0.38.0
Downloaded ipnet v2.3.0
Downloaded block-padding v0.2.1
Downloaded aho-corasick v0.7.15
Downloaded instant v0.1.9
Downloaded cty v0.2.1
Downloaded rand_xorshift v0.1.1
Downloaded ryu v1.0.5
Downloaded radium v0.5.3
Downloaded nom v6.1.2
Downloaded const_fn v0.4.4
Downloaded cfg-if v1.0.0
Downloaded bytes v0.4.12
Downloaded block-padding v0.1.5
Downloaded phf_codegen v0.7.24
Downloaded foreign-types-shared v0.1.1
Downloaded enum-display-derive v0.1.0
Downloaded smol v1.2.5
Downloaded regex v1.4.5
Downloaded memmap v0.7.0
Downloaded async-process v1.0.2
Downloaded ahash v0.4.7
Downloaded aes-soft v0.6.4
Downloaded dashmap v4.0.2
Downloaded secp256k1-sys v0.4.0
Downloaded num-traits v0.2.14
Downloaded rust_decimal v1.11.1
Downloaded byte-tools v0.3.1
Downloaded strsim v0.8.0
Downloaded scroll v0.10.2
Downloaded syn v1.0.64
Downloaded ckb-vm v0.19.3
Downloaded socket2 v0.3.19
Downloaded same-file v1.0.6
Downloaded rustc-demangle v0.1.18
Downloaded rand_chacha v0.2.2
Downloaded rand_core v0.5.1
Downloaded rand_chacha v0.1.1
Downloaded proc-macro2 v1.0.24
Downloaded either v1.6.1
Downloaded futures-lite v1.11.3
Downloaded ckb-traits v0.38.0
Downloaded lock_api v0.3.4
Downloaded dtoa v0.4.8
Downloaded ctrlc v3.1.8
Downloaded pbkdf2 v0.3.0
Downloaded idna v0.1.5
Downloaded getrandom v0.1.15
Downloaded digest v0.9.0
Downloaded data-encoding v2.3.2
Downloaded ckb-hash v0.38.0
Downloaded generic-array v0.14.4
Downloaded ctr v0.6.0
Downloaded ctor v0.1.16
Downloaded crossbeam-deque v0.8.0
Downloaded ckb-system-scripts v0.5.1
Downloaded ckb-resource v0.38.0
Downloaded ckb-pow v0.38.0
Downloaded cpuid-bool v0.2.0
Downloaded ckb-rational v0.38.0
Downloaded ckb-logger v0.38.0
Downloaded ckb-fixed-hash-core v0.38.0
Downloaded ckb-channel v0.38.0
Downloaded ckb-fixed-hash v0.38.0
Downloaded ckb-crypto v0.38.0
Downloaded publicsuffix v1.5.6
Downloaded blake2b-rs v0.2.0
Downloaded atty v0.2.14
Downloaded rlp v0.5.0
Downloaded rand_chacha v0.3.0
Downloaded phf_shared v0.7.24
Downloaded polyval v0.4.5
Downloaded ckb-chain-spec v0.38.0
Downloaded mapr v0.8.0
Downloaded h2 v0.3.2
Downloaded openssl v0.10.33
Downloaded block-buffer v0.7.3
Downloaded numext-fixed-uint-core v0.1.6
Downloaded scroll_derive v0.10.4
Downloaded remove_dir_all v0.5.3
Downloaded openssl-probe v0.1.2
Downloaded lock_api v0.4.2
Downloaded includedir_codegen v0.5.0
Downloaded ckb-types v0.38.0
Downloaded secp256k1 v0.17.2
Downloaded fxhash v0.2.1
Downloaded atoi v0.4.0
Downloaded faster-hex v0.4.1
Downloaded bytes v1.0.1
Downloaded num-integer v0.1.44
Downloaded plain v0.2.3
Downloaded pin-project v1.0.6
Downloaded crossbeam-channel v0.3.9
Downloaded cookie v0.14.3
Downloaded num-bigint v0.3.2
Downloaded pin-utils v0.1.0
Downloaded object v0.22.0
Downloaded httparse v1.3.5
Downloaded memoffset v0.6.1
Downloaded includedir v0.5.0
Downloaded heck v0.3.2
Downloaded futures-util v0.3.13
Downloaded crossbeam-epoch v0.8.2
Downloaded crossbeam-utils v0.7.2
Downloaded cpuid-bool v0.1.2
Downloaded crossbeam-deque v0.7.3
Downloaded ckb-occupied-capacity-macros v0.38.0
Downloaded semver v1.0.3
Downloaded ckb-vm-definitions v0.19.3
Downloaded byteorder v1.3.4
Downloaded ckb-occupied-capacity-core v0.38.0
Downloaded async-net v1.5.0
Downloaded maplit v1.0.2
Downloaded ghash v0.3.1
Downloaded base64 v0.12.3
Downloaded base64 v0.10.1
Downloaded numext-constructor v0.1.6
Downloaded autocfg v0.1.7
Downloaded aes-gcm v0.8.0
Downloaded serde v1.0.118
Downloaded flume v0.9.2
Downloaded ckb-rocksdb v0.15.1
Downloaded flate2 v1.0.19
Downloaded futures-executor v0.3.13
Downloaded futures-io v0.3.13
Downloaded cookie_store v0.7.0
Downloaded num-bigint v0.4.0
Downloaded 423 crates (44.7 MB) in 2.64s (largest was `ckb-librocksdb-sys` at 10.1 MB)
Compiling libc v0.2.91
Compiling autocfg v1.0.1
Compiling cfg-if v1.0.0
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling syn v1.0.64
Compiling lazy_static v1.4.0
Compiling scopeguard v1.1.0
Compiling either v1.6.1
Compiling const_fn v0.4.4
Compiling rayon-core v1.9.0
Compiling serde_derive v1.0.118
Compiling serde v1.0.118
Compiling value-bag v1.0.0-alpha.6
Compiling log v0.4.14
Compiling cfg-if v0.1.10
Compiling version_check v0.9.2
Compiling typenum v1.12.0
Compiling once_cell v1.5.2
Compiling byteorder v1.3.4
Compiling memchr v2.3.4
Compiling ppv-lite86 v0.2.10
Compiling itoa v0.4.6
Compiling adler v0.2.3
Compiling getrandom v0.1.15
Compiling pin-project-lite v0.2.6
Compiling pkg-config v0.3.19
Compiling futures-core v0.3.13
Compiling ryu v1.0.5
Compiling failure_derive v0.1.8
Compiling slab v0.4.2
Compiling gimli v0.23.0
Compiling futures v0.1.30
Compiling object v0.22.0
Compiling futures-io v0.3.13
Compiling rustc-demangle v0.1.18
Compiling serde_json v1.0.60
Compiling rand_core v0.4.2
Compiling matches v0.1.8
Compiling faster-hex v0.4.1
Compiling tinyvec_macros v0.1.0
Compiling heapsize v0.4.2
Compiling autocfg v0.1.7
Compiling unicode-xid v0.0.4
Compiling proc-macro-hack v0.5.19
Compiling getrandom v0.2.2
Compiling quote v0.3.15
Compiling bitflags v1.2.1
Compiling bytes v1.0.1
Compiling fnv v1.0.7
Compiling percent-encoding v2.1.0
Compiling opaque-debug v0.3.0
Compiling fastrand v1.4.0
Compiling cache-padded v1.1.1
Compiling waker-fn v1.1.0
Compiling futures-sink v0.3.13
Compiling parking v2.0.0
Compiling event-listener v2.5.1
Compiling pin-utils v0.1.0
Compiling bit-vec v0.5.1
Compiling openssl-probe v0.1.2
Compiling ahash v0.4.7
Compiling block-padding v0.2.1
Compiling async-task v4.0.3
Compiling proc-macro-nested v0.1.7
Compiling vec-arena v1.1.0
Compiling atomic-waker v1.0.0
Compiling openssl v0.10.33
Compiling foreign-types-shared v0.1.1
Compiling subtle v2.4.0
Compiling futures-task v0.3.13
Compiling native-tls v0.2.7
Compiling signal-hook v0.3.7
Compiling remove_dir_all v0.5.3
Compiling anyhow v1.0.35
Compiling semver-parser v0.7.0
Compiling crc32fast v1.2.1
Compiling maybe-uninit v2.0.0
Compiling siphasher v0.2.3
Compiling glob v0.2.11
Compiling blake2b-ref v0.2.1
Compiling gw-types v0.1.0 (/app/crates/types)
Compiling cpuid-bool v0.1.2
Compiling try-lock v0.2.3
Compiling httparse v1.3.5
Compiling smallvec v1.5.1
Compiling plain v0.2.3
Compiling base64 v0.13.0
Compiling same-file v1.0.6
Compiling hex v0.4.2
Compiling radium v0.5.3
Compiling regex-syntax v0.6.23
Compiling cpuid-bool v0.2.0
Compiling faster-hex v0.3.1
Compiling lexical-core v0.7.5
Compiling mime v0.3.16
Compiling arrayvec v0.5.2
Compiling static_assertions v1.1.0
Compiling rustc-hex v2.1.0
Compiling ckb-vm-definitions v0.19.1 (https://github.com/nervosnetwork/ckb-vm.git?tag=0.19.1#3e23ff67)
Compiling curl v0.4.35
Compiling funty v1.1.0
Compiling async-trait v0.1.48
Compiling tap v1.0.1
Compiling build_const v0.2.1
Compiling cty v0.2.1
Compiling keccak v0.1.0
Compiling wyz v0.2.0
Compiling whoami v1.1.1
Compiling data-encoding v2.3.2
Compiling http-types v2.10.0
Compiling httpdate v0.3.2
Compiling base64 v0.12.3
Compiling tower-service v0.3.1
Compiling isahc v0.9.14
Compiling maplit v1.0.2
Compiling infer v0.2.3
Compiling unicode_categories v0.1.1
Compiling unicode-segmentation v1.7.1
Compiling unicode-width v0.1.8
Compiling percent-encoding v1.0.1
Compiling subtle v1.0.0
Compiling vec_map v0.8.2
Compiling opaque-debug v0.2.3
Compiling encoding_rs v0.8.28
Compiling termcolor v1.1.2
Compiling strsim v0.8.0
Compiling humantime v2.1.0
Compiling dotenv v0.15.0
Compiling ansi_term v0.11.0
Compiling eaglesong v0.1.0
Compiling byte-tools v0.3.1
Compiling faster-hex v0.5.0
Compiling semver v1.0.3
Compiling ckb-script v0.38.0
Compiling crunchy v0.2.2
Compiling ckb-vm-definitions v0.19.3
Compiling safemem v0.3.3
Compiling fake-simd v0.1.2
Compiling dtoa v0.4.8
Compiling ipnet v2.3.0
Compiling bech32 v0.6.0
Compiling gw-benches v0.1.0 (/app/crates/benches)
Compiling instant v0.1.9
Compiling lock_api v0.4.2
Compiling lock_api v0.3.4
Compiling merkle-cbt v0.3.0
Compiling sparse-merkle-tree v0.4.0-rc1
Compiling try_from v0.3.2
Compiling crossbeam-utils v0.6.6
Compiling tracing-core v0.1.17
Compiling unicode-bidi v0.3.4
Compiling tinyvec v1.1.1
Compiling synom v0.11.3
Compiling rand_core v0.3.1
Compiling rand_jitter v0.1.4
Compiling generic-array v0.14.4
Compiling standback v0.2.17
Compiling unicase v2.6.0
Compiling time v0.2.26
Compiling nom v6.1.2
Compiling cookie v0.14.3
Compiling ahash v0.6.3
Compiling crossbeam-utils v0.8.1
Compiling memoffset v0.6.1
Compiling rayon v1.5.0
Compiling miniz_oxide v0.4.3
Compiling indexmap v1.6.2
Compiling num-traits v0.2.14
Compiling crossbeam-utils v0.7.2
Compiling tokio v1.4.0
Compiling num-integer v0.1.44
Compiling memoffset v0.5.6
Compiling crossbeam-epoch v0.8.2
Compiling num-bigint v0.3.2
Compiling num-bigint v0.4.0
Compiling concurrent-queue v1.2.2
Compiling futures-channel v0.3.13
Compiling form_urlencoded v1.0.1
Compiling async-lock v2.3.0
Compiling async-mutex v1.4.0
Compiling hashbrown v0.9.1
Compiling http v0.2.3
Compiling foreign-types v0.3.2
Compiling rand_chacha v0.1.1
Compiling rand_pcg v0.1.2
Compiling rand v0.6.5
Compiling semver v0.9.0
Compiling phf_shared v0.7.24
Compiling walkdir v2.3.1
Compiling rlp v0.5.0
Compiling tokio-sync v0.1.8
Compiling crc v1.8.1
Compiling gw-hash v0.1.0 (/app/crates/hash)
Compiling textwrap v0.11.0
Compiling block-padding v0.1.5
Compiling heck v0.3.2
Compiling spinning_top v0.2.2
Compiling rand_isaac v0.1.1
Compiling rand_xorshift v0.1.1
Compiling rand_hc v0.1.0
Compiling syn v0.11.11
Compiling crossbeam-channel v0.3.9
Compiling addr2line v0.14.0
Compiling async-channel v1.6.1
Compiling sluice v0.5.4
Compiling phf v0.7.24
Compiling rustc_version v0.2.3
Compiling unicode-normalization v0.1.17
Compiling flume v0.9.2
Compiling hashlink v0.6.0
Compiling futures-lite v1.11.3
Compiling aho-corasick v0.7.15
Compiling fxhash v0.2.1
Compiling base64 v0.9.3
Compiling base64 v0.10.1
Compiling bitcoin_hashes v0.3.2
Compiling quote v1.0.7
Compiling ckb-channel v0.38.0
Compiling smallvec v0.6.14
Compiling tiny-keccak v1.5.0
Compiling bitvec v0.19.5
Compiling extensions v0.2.0
Compiling generic-array v0.12.4
Compiling parking_lot_core v0.6.2
Compiling parking_lot v0.9.0
Compiling hyper v0.12.36
Compiling mime_guess v2.0.3
Compiling num_cpus v1.13.0
Compiling socket2 v0.4.0
Compiling rand_os v0.1.3
Compiling signal-hook-registry v1.3.0
Compiling iovec v0.1.4
Compiling time v0.1.43
Compiling parking_lot_core v0.8.1
Compiling socket2 v0.3.19
Compiling memmap v0.7.0
Compiling net2 v0.2.37
Compiling atty v0.2.14
Compiling nix v0.20.0
Compiling mapr v0.8.0
Compiling rand v0.5.6
Compiling tokio-executor v0.1.10
Compiling crossbeam-queue v0.2.3
Compiling crossbeam-epoch v0.9.1
Compiling crossbeam-channel v0.5.0
Compiling crossbeam-queue v0.3.1
Compiling http-body v0.4.1
Compiling blocking v1.0.2
Compiling async-executor v1.4.0
Compiling regex v1.4.5
Compiling backtrace v0.3.55
Compiling flate2 v1.0.19
Compiling block-cipher-trait v0.6.2
Compiling digest v0.8.1
Compiling crypto-mac v0.7.0
Compiling stream-cipher v0.3.2
Compiling block-buffer v0.7.3
Compiling dashmap v4.0.2
Compiling futures-cpupool v0.1.8
Compiling idna v0.2.2
Compiling idna v0.1.5
Compiling stringprep v0.1.2
Compiling digest v0.9.0
Compiling block-buffer v0.9.0
Compiling crypto-mac v0.10.0
Compiling cipher v0.2.5
Compiling universal-hash v0.4.0
Compiling aead v0.3.2
Compiling rand_core v0.5.1
Compiling rand_core v0.6.1
Compiling bytes v0.4.12
Compiling atoi v0.4.0
Compiling nb-connect v1.1.0
Compiling clap v2.33.3
Compiling parking_lot v0.11.1
Compiling tokio-timer v0.2.13
Compiling tokio-current-thread v0.1.7
Compiling enum-display-derive v0.1.0
Compiling crossbeam-deque v0.7.3
Compiling crossbeam-deque v0.8.0
Compiling aes-soft v0.3.3
Compiling async-fs v1.5.0
Compiling pbkdf2 v0.3.0
Compiling hmac v0.7.1
Compiling ctr v0.3.2
Compiling sha2 v0.8.2
Compiling hmac v0.10.1
Compiling sha2 v0.9.3
Compiling sha3 v0.9.1
Compiling sha-1 v0.9.4
Compiling md-5 v0.9.1
Compiling polyval v0.4.5
Compiling includedir v0.5.0
Compiling aes-soft v0.6.4
Compiling ctr v0.6.0
Compiling rand_chacha v0.3.0
Compiling rand_chacha v0.2.2
Compiling http v0.1.21
Compiling tokio-buf v0.1.1
Compiling string v0.2.1
Compiling url v1.7.2
Compiling chrono v0.4.19
Compiling aes-ctr v0.3.0
Compiling hkdf v0.10.0
Compiling scrypt v0.2.0
Compiling phf_generator v0.7.24
Compiling uuid v0.7.4
Compiling ghash v0.3.1
Compiling rand v0.7.3
Compiling rand v0.8.2
Compiling aes v0.6.0
Compiling phf_codegen v0.7.24
Compiling aes-gcm v0.8.0
Compiling includedir_codegen v0.5.0
Compiling cookie v0.12.0
Compiling tempfile v3.2.0
Compiling synstructure v0.12.4
Compiling ctrlc v3.1.8
Compiling http-body v0.1.0
Compiling sqlformat v0.1.6
Compiling cc v1.0.41
Compiling ctor v0.1.16
Compiling thiserror-impl v1.0.22
Compiling numext-constructor v0.1.6
Compiling futures-macro v0.3.13
Compiling tracing-attributes v0.1.15
Compiling pin-project-internal v1.0.6
Compiling scroll_derive v0.10.4
Compiling derive_more v0.99.11
Compiling time-macros-impl v0.1.1
Compiling openssl-sys v0.9.61
Compiling blake2b-rs v0.1.5
Compiling ckb-librocksdb-sys v6.11.6
Compiling libnghttp2-sys v0.1.6+1.43.0
Compiling libz-sys v1.1.2
Compiling curl-sys v0.4.41+curl-7.75.0
Compiling secp256k1-sys v0.4.0
Compiling secp256k1-sys v0.1.2
Compiling blake2b-rs v0.2.0
Compiling ckb-vm v0.19.1 (https://github.com/nervosnetwork/ckb-vm.git?tag=0.19.1#3e23ff67)
Compiling libsqlite3-sys v0.20.1
Compiling ckb-vm v0.19.3
Compiling time-macros v0.1.1
Compiling failure v0.1.8
Compiling scroll v0.10.2
Compiling futures-util v0.3.13
Compiling thiserror v1.0.22
Compiling ckb-hash v0.38.0
Compiling gw-common v0.1.0 (/app/crates/common)
Compiling ckb-system-scripts v0.5.1
Compiling polling v2.0.3
Compiling tracing v0.1.25
Compiling kv-log-macro v1.0.7
Compiling goblin v0.2.3
Compiling mio v0.7.11
Compiling want v0.3.0
Compiling tokio-io v0.1.13
Compiling mio v0.6.23
Compiling tokio-threadpool v0.1.18
Compiling want v0.2.0
Compiling env_logger v0.8.3
Compiling ckb-logger v0.38.0
Compiling pin-project v1.0.6
Compiling async-io v1.3.1
Compiling tracing-futures v0.2.5
Compiling h2 v0.1.26
Compiling secp256k1 v0.20.0
Compiling secp256k1 v0.17.2
Compiling tokio-reactor v0.1.12
Compiling async-process v1.0.2
Compiling async-global-executor v2.0.2
Compiling async-net v1.5.0
Compiling tokio-tcp v0.1.4
Compiling async-std v1.9.0
Compiling smol v1.2.5
Compiling tokio v0.1.22
Compiling futures-executor v0.3.13
Compiling futures v0.3.13
Compiling tokio-util v0.6.5
Compiling tokio-native-tls v0.3.0
Compiling h2 v0.3.2
Compiling bytes v0.5.6
Compiling ckb-fixed-hash-core v0.38.0
Compiling ckb-occupied-capacity-core v0.38.0
Compiling numext-fixed-uint-core v0.1.6
Compiling url v2.2.1
Compiling serde_urlencoded v0.7.0
Compiling toml v0.5.7
Compiling serde_qs v0.7.2
Compiling rust_decimal v1.11.1
Compiling erased-serde v0.3.13
Compiling serde_urlencoded v0.5.5
Compiling hyper-tls v0.3.2
Compiling ckb-occupied-capacity-macros v0.38.0
Compiling ckb-fixed-hash-macros v0.38.0
Compiling molecule v0.6.0
Compiling publicsuffix v1.5.6
Compiling ckb-occupied-capacity v0.38.0
Compiling jsonrpc-core v14.1.0
Compiling jsonrpc-types v0.3.3
Compiling cookie_store v0.7.0
Compiling ckb-error v0.38.0
Compiling async-native-tls v0.3.3
Compiling ckb-fixed-hash v0.38.0
Compiling reqwest v0.9.24
Compiling sqlx-rt v0.3.0
Compiling ckb-crypto v0.38.0
Compiling sqlx-core v0.5.1
Compiling http-client v6.3.5
Compiling surf v2.2.0
Compiling hyper v0.14.4
Compiling async-jsonrpc-client v0.3.0
Compiling numext-fixed-uint-hack v0.1.6
Compiling jsonrpc-v2 v0.10.0
Compiling hyper-tls v0.5.0
Compiling sqlx-macros v0.5.1
Compiling reqwest v0.11.2
Compiling numext-fixed-uint v0.1.6
Compiling ckb-rational v0.38.0
Compiling ckb-types v0.38.0
Compiling sqlx v0.5.1
Compiling ckb-jsonrpc-types v0.38.0
Compiling ckb-traits v0.38.0
Compiling ckb-dao-utils v0.38.0
Compiling ckb-pow v0.38.0
Compiling ckb-resource v0.38.0
Compiling gw-jsonrpc-types v0.1.0 (/app/crates/jsonrpc-types)
Compiling ckb-sdk-types v0.38.0 (https://github.com/jjyr/ckb-cli.git?branch=ckb-v0.38.0#b04b1d46)
Compiling ckb-chain-spec v0.38.0
Compiling gw-config v0.1.0 (/app/crates/config)
Compiling ckb-sdk v0.38.0 (https://github.com/jjyr/ckb-cli.git?branch=ckb-v0.38.0#b04b1d46)
Compiling ckb-rocksdb v0.15.1
Compiling gw-db v0.1.0 (/app/crates/db)
Compiling gw-traits v0.1.0 (/app/crates/traits)
Compiling gw-store v0.1.0 (/app/crates/store)
Compiling gw-generator v0.1.0 (/app/crates/generator)
Compiling gw-mem-pool v0.1.0 (/app/crates/mem-pool)
Compiling gw-tools v0.1.0 (/app/crates/tools)
Compiling gw-chain v0.1.0 (/app/crates/chain)
Compiling gw-web3-indexer v0.1.0 (/app/crates/web3-indexer)
Compiling gw-rpc-server v0.1.0 (/app/crates/rpc-server)
Compiling gw-block-producer v0.2.0-rc1 (/app/crates/block-producer)
Compiling gw-tests v0.1.0 (/app/crates/tests)
Finished dev [unoptimized + debuginfo] target(s) in 2m 00s
if [ "true" = true ] ; then \
make rebuild-polyjuice-bin ; \
else make copy-polyjuice-bin-from-docker ; \
fi
make[2]: Entering directory '/home/kuzi/projects/godwoken-kicker'
cd godwoken-polyjuice && make all-via-docker
make[3]: Entering directory '/home/kuzi/projects/godwoken-kicker/godwoken-polyjuice'
test "$(moleculec --version | awk '{ print $2 }' | tr -d ' ')" = 0.6.1
mkdir -p build
curl -L -o build/blockchain.mol https://raw.githubusercontent.com/nervosnetwork/godwoken/72c2e901078ad0d2b3f7270722e46e5b1cdab67a/crates/types/schemas/blockchain.mol
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2432 100 2432 0 0 4632 0 --:--:-- --:--:-- --:--:-- 4632
moleculec --language c --schema-file build/blockchain.mol > build/blockchain.h
mkdir -p build
curl -L -o build/godwoken.mol https://raw.githubusercontent.com/nervosnetwork/godwoken/72c2e901078ad0d2b3f7270722e46e5b1cdab67a/crates/types/schemas/godwoken.mol
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8238 100 8238 0 0 25347 0 --:--:-- --:--:-- --:--:-- 25347
moleculec --language c --schema-file build/godwoken.mol > build/godwoken.h
mkdir -p build
docker run --rm -v `pwd`:/code nervos/ckb-riscv-gnu-toolchain@sha256:7b168b4b109a0f741078a71b7c4dddaf1d283a5244608f7851f5714fbad273ba bash -c "cd /code && make"
cd deps/secp256k1-fix && \
(git apply -R workaround-fix-g++-linking.patch || true) && \
./autogen.sh && \
CC=riscv64-unknown-elf-gcc LD=riscv64-unknown-elf-gcc ./configure --with-bignum=no --enable-ecmult-static-precomputation --enable-endomorphism --enable-module-recovery --host=riscv64-unknown-elf && \
make src/ecmult_static_pre_context.h src/ecmult_static_context.h
fatal: not a git repository: /code/deps/secp256k1-fix/../../../.git/modules/godwoken-polyjuice/modules/deps/secp256k1-fix
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
checking build system type... x86_64-pc-linux-gnu
checking host system type... riscv64-unknown-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for riscv64-unknown-elf-strip... riscv64-unknown-elf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for riscv64-unknown-elf-gcc... riscv64-unknown-elf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether riscv64-unknown-elf-gcc accepts -g... yes
checking for riscv64-unknown-elf-gcc option to accept ISO C89... none needed
checking whether riscv64-unknown-elf-gcc understands -c and -o together... yes
checking dependency style of riscv64-unknown-elf-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by riscv64-unknown-elf-gcc... riscv64-unknown-elf-gcc
checking if the linker (riscv64-unknown-elf-gcc) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /riscv/bin/riscv64-unknown-elf-nm -B
checking the name lister (/riscv/bin/riscv64-unknown-elf-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to riscv64-unknown-elf format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for riscv64-unknown-elf-gcc option to reload object files... -r
checking for riscv64-unknown-elf-objdump... riscv64-unknown-elf-objdump
checking how to recognize dependent libraries... unknown
checking for riscv64-unknown-elf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-unknown-elf-ar... riscv64-unknown-elf-ar
checking for archiver @FILE support... @
checking for riscv64-unknown-elf-strip... (cached) riscv64-unknown-elf-strip
checking for riscv64-unknown-elf-ranlib... riscv64-unknown-elf-ranlib
checking command to parse /riscv/bin/riscv64-unknown-elf-nm -B output from riscv64-unknown-elf-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for riscv64-unknown-elf-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... riscv64-unknown-elf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if riscv64-unknown-elf-gcc supports -fno-rtti -fno-exceptions... no
checking for riscv64-unknown-elf-gcc option to produce PIC... -fPIC -DPIC
checking if riscv64-unknown-elf-gcc PIC flag -fPIC -DPIC works... yes
checking if riscv64-unknown-elf-gcc static flag -static works... yes
checking if riscv64-unknown-elf-gcc supports -c -o file.o... yes
checking if riscv64-unknown-elf-gcc supports -c -o file.o... (cached) yes
checking whether the riscv64-unknown-elf-gcc linker (riscv64-unknown-elf-gcc) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for riscv64-unknown-elf-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for riscv64-unknown-elf-ar... /riscv/bin/riscv64-unknown-elf-ar
checking for riscv64-unknown-elf-ranlib... /riscv/bin/riscv64-unknown-elf-ranlib
checking for riscv64-unknown-elf-strip... /riscv/bin/riscv64-unknown-elf-strip
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for riscv64-unknown-elf-gcc option to accept ISO C89... (cached) none needed
checking dependency style of riscv64-unknown-elf-gcc... gcc3
checking if riscv64-unknown-elf-gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if riscv64-unknown-elf-gcc supports -fvisibility=hidden... yes
checking for __int128... yes
checking if native gcc supports -Wall -Wextra -Wno-unused-function... yes
checking for working native compiler: gcc... yes
checking for x86_64 assembly availability... no
checking for CRYPTO... yes
checking for main in -lcrypto... no
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Build Options:
with endomorphism = yes
with ecmult precomp = yes
with external callbacks = no
with jni = no
with benchmarks = yes
with coverage = no
module ecdh = no
module recovery = yes
asm = no
bignum = no
field = 64bit
scalar = 64bit
ecmult window size = 15
CC = riscv64-unknown-elf-gcc
CFLAGS = -g -O2 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -O3
CPPFLAGS =
LDFLAGS =
make[1]: Entering directory '/code/deps/secp256k1-fix'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_pre_context.c -o gen_pre_context.o
gcc -g -O2 -Wall -Wextra -Wno-unused-function gen_pre_context.o -o gen_pre_context
./gen_pre_context
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc -g -O2 -Wall -Wextra -Wno-unused-function gen_context.o -o gen_context
./gen_context
make[1]: Leaving directory '/code/deps/secp256k1-fix'
mkdir -p build
gcc -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -o build/dump_secp256k1_data c/dump_secp256k1_data.c
build/dump_secp256k1_data
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/evmone.o deps/evmone/lib/evmone/evmone.cpp -DPROJECT_VERSION=\"0.5.0-dev\"
In file included from deps/evmone/lib/evmone/baseline.hpp:6,
from deps/evmone/lib/evmone/evmone.cpp:9:
deps/evmone/lib/evmone/execution_state.hpp:55:51: warning: 'clang::no_sanitize' scoped attribute directive ignored [-Wattributes]
[[clang::no_sanitize("bounds")]] void clear() noexcept { top_item = storage - 1; }
^~~~~~~~
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/baseline.o deps/evmone/lib/evmone/baseline.cpp
In file included from deps/evmone/lib/evmone/baseline.hpp:6,
from deps/evmone/lib/evmone/baseline.cpp:5:
deps/evmone/lib/evmone/execution_state.hpp:55:51: warning: 'clang::no_sanitize' scoped attribute directive ignored [-Wattributes]
[[clang::no_sanitize("bounds")]] void clear() noexcept { top_item = storage - 1; }
^~~~~~~~
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/analysis.o deps/evmone/lib/evmone/analysis.cpp
In file included from deps/evmone/lib/evmone/analysis.hpp:6,
from deps/evmone/lib/evmone/analysis.cpp:5:
deps/evmone/lib/evmone/execution_state.hpp:55:51: warning: 'clang::no_sanitize' scoped attribute directive ignored [-Wattributes]
[[clang::no_sanitize("bounds")]] void clear() noexcept { top_item = storage - 1; }
^~~~~~~~
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/instruction_metrics.o deps/evmone/evmc/lib/instructions/instruction_metrics.c
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/instruction_names.o deps/evmone/evmc/lib/instructions/instruction_names.c
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/execution.o deps/evmone/lib/evmone/execution.cpp
In file included from deps/evmone/lib/evmone/analysis.hpp:6,
from deps/evmone/lib/evmone/execution.cpp:6:
deps/evmone/lib/evmone/execution_state.hpp:55:51: warning: 'clang::no_sanitize' scoped attribute directive ignored [-Wattributes]
[[clang::no_sanitize("bounds")]] void clear() noexcept { top_item = storage - 1; }
^~~~~~~~
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/instructions.o deps/evmone/lib/evmone/instructions.cpp
In file included from deps/evmone/lib/evmone/instructions.hpp:6,
from deps/evmone/lib/evmone/instructions.cpp:5:
deps/evmone/lib/evmone/execution_state.hpp:55:51: warning: 'clang::no_sanitize' scoped attribute directive ignored [-Wattributes]
[[clang::no_sanitize("bounds")]] void clear() noexcept { top_item = storage - 1; }
^~~~~~~~
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -std=c++1z -Wl,--gc-sections -c -o build/instructions_calls.o deps/evmone/lib/evmone/instructions_calls.cpp
In file included from deps/evmone/lib/evmone/instructions.hpp:6,
from deps/evmone/lib/evmone/instructions_calls.cpp:5:
deps/evmone/lib/evmone/execution_state.hpp:55:51: warning: 'clang::no_sanitize' scoped attribute directive ignored [-Wattributes]
[[clang::no_sanitize("bounds")]] void clear() noexcept { top_item = storage - 1; }
^~~~~~~~
riscv64-unknown-elf-gcc -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/keccakf800.o deps/ethash/lib/keccak/keccakf800.c
riscv64-unknown-elf-gcc -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/keccak.o deps/ethash/lib/keccak/keccak.c
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/sha256.o deps/crypto-algorithms/sha256.c
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/memzero.o c/ripemd160/memzero.c
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/ripemd160.o c/ripemd160/ripemd160.c
riscv64-unknown-elf-gcc -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/bignum.o deps/mbedtls/library/bignum.c
riscv64-unknown-elf-gcc -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -c -o build/platform_util.o deps/mbedtls/library/platform_util.c
cd deps/secp256k1-fix && (git apply workaround-fix-g++-linking.patch || true) && cd - # apply patch
fatal: not a git repository: /code/deps/secp256k1-fix/../../../.git/modules/godwoken-polyjuice/modules/deps/secp256k1-fix
/code
riscv64-unknown-elf-g++ -O3 -Ic/ripemd160 -Ideps/ckb-c-stdlib -Ideps/ckb-c-stdlib/molecule -Ideps/evmone/lib/evmone -Ideps/evmone/include -Ideps/evmone/evmc/include -Ideps/intx/lib/intx -Ideps/intx/include -Ideps/bn128/include -Ideps/ethash/include -Ideps/ethash/lib/ethash -Ideps/ethash/lib/keccak -Ideps/ethash/lib/support -Ideps/crypto-algorithms -Ideps/mbedtls/include -Ideps/godwoken-scripts/c -isystem deps/secp256k1-fix/src -isystem deps/secp256k1-fix -Wall -g -fdata-sections -ffunction-sections -Wl,--gc-sections -Ibuild -o build/test_contracts c/tests/test_contracts.c build/evmone.o build/baseline.o build/analysis.o build/instruction_metrics.o build/instruction_names.o build/execution.o build/instructions.o build/instructions_calls.o build/keccak.o build/keccakf800.o build/sha256.o build/memzero.o build/ripemd160.o build/bignum.o build/platform_util.o
In file included from c/tests/test_contracts.c:15:
deps/godwoken-scripts/c/common.h:6:10: fatal error: ckb_smt.h: No such file or directory
#include "ckb_smt.h"
^~~~~~~~~~~
compilation terminated.
make: *** [build/test_contracts] Error 1
Makefile:81: recipe for target 'build/test_contracts' failed
make[3]: *** [Makefile:46: all-via-docker] Error 2
make[3]: Leaving directory '/home/kuzi/projects/godwoken-kicker/godwoken-polyjuice'
make[2]: *** [Makefile:261: rebuild-polyjuice-bin] Error 2
make[2]: Leaving directory '/home/kuzi/projects/godwoken-kicker'
make[1]: *** [Makefile:36: install] Error 2
make[1]: Leaving directory '/home/kuzi/projects/godwoken-kicker'
make: *** [Makefile:63: init] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment