Giter Club home page Giter Club logo

enigma-core's Introduction

Enigma Core library

Service Master Develop
CI Badge Build Status Build Status

Pure Rust Enclave && Untrusted in Rust. Core is part of the Enigma node software stack. The Core component as it's name suggests is responsible for the core operations. The core includes Remote Attestation (SGX SDK), Cryptography and execution of WASM secret contracts.

Getting Started (With the Enigma Docker)

Prerequisites

Build and Compile

  • build the enigma docker image
 cd /some/path/enigma-core/dockerfile
 docker build -t enigma_core .

The output should look like that:

Sending build context to Docker daemon  2.048kB
Step 1/7 : FROM baiduxlab/sgx-rust:1.0.0
 ---> 44a7928943e4
Step 2/7 : MAINTAINER enigmampc
 ---> Using cache
 ---> 2a1b994a20f4
Step 3/7 : WORKDIR /root
 ---> Using cache
 ---> 33fc66f979b8
Step 4/7 : RUN rm -rf /root/sgx
 ---> Using cache
 ---> da313d0a4471
Step 5/7 : RUN git clone https://github.com/baidu/rust-sgx-sdk.git sgx -b v1.0.0
 ---> Using cache
 ---> 704631bc2d68
Step 6/7 : RUN apt-get install -y libzmq3-dev
 ---> Using cache
 ---> 141b17bb1564
Step 7/7 : RUN echo '/opt/intel/sgxpsw/aesm/aesm_service &' >> /root/.bashrc
 ---> Using cache
 ---> cd6787969fd1
Successfully built cd6787969fd1
  • run docker:
docker run -v /some/path/enigma-core/:/root/enigma-core -ti -p 5552:5552 --device /dev/isgx enigma_core
  • build the project
cd enigma-core/enigma-core
make 

If the following error occurs then this is an open issue that will be solved.

error[E0463]: can't find crate for `std`
  --> /root/.cargo/git/checkouts/rust-sgx-sdk-fc8771c5c45bde9a/378a4f0/xargo/sgx_tunittest/../../sgx_tunittest/src/lib.rs:88:1
   |
88 | extern crate sgx_tstd as std;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: Could not compile `sgx_tunittest`.

check out Troubleshooting and then make clean && make

Run the tests (inside Docker)

  • Build the project
make
cd app/

Run the tests (no std)

cargo test

Run the test (with std)

cargo test -- --nocapture

Run the project

cd root/enigma-core/enigma-core/bin
./app

Simulation Mode

If you want to run this in a computer that doesn't support SGX you can run both enigma-core and surface in simulation mode.
To do this, run surface with --simulation, then fire up the docker and run:

$ cd enigma-core
$ make full-clean
$ export SGX_MODE=SW
$ make # Here you can add JOBS=N to pass on to cargo the number of jobs to run simultaneously.

Principal Node

Principal Node README.

TBD

Installing

TBD

Deployment

Built With

TBD

Contributing

The master branch always contain the latest release, develop branch is used for continuous developing
Tags will be used to signify releases.

Pull Request

Every new feature or a bug fix will be presented in a pull request while it's a work in progress under the correct label.
When finished change the label to 3 - Ready for reviewing, every pull request is required to pass a code review from at least 1 member before merging.

Issues

Please use the templates accordingly.

Versioning

TBD

Troubleshooting

Errors while building with make

1. wrong sgx_tstd:
error[E0463]: can't find crate for `std`
  --> /root/.cargo/git/checkouts/rust-sgx-sdk-fc8771c5c45bde9a/378a4f0/xargo/sgx_tunittest/../../sgx_tunittest/src/lib.rs:88:1
  • Temp Solution:
rm -rf ~/.cargo/git/checkouts/rust-sgx-sdk-fc8771c5c45bde9a/378a4f0/xargo/
1. wrong wasmi:
error[E0599]: no function or associated item named `new` found for type `std::ops::RangeInclusive<_>` in the current scope
    --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.76/src/de/impls.rs:2084:12
     |
2084 |         Ok(RangeInclusive::new(start, end))
     |            ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `std::ops::RangeInclusive<_>`

  • Temp Solution:
rm -rf ~/.cargo/git/checkouts/rust-sgx-sdk-fc8771c5c45bde9a/378a4f0/samplecode/wasmi

Authors

License

The Enigma Core is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Acknowledgements

Thanks to Baidu X-Lab for their great work on Rust SGX SDK.

enigma-core's People

Contributors

apalepu23 avatar assafmo avatar avishaiw avatar bshevchenko avatar elichai avatar fredfortier avatar isan-rivkin avatar lacabra avatar lenak25 avatar mdemri avatar moriaab avatar reuvenpo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

enigma-core's Issues

ipcMessages: Bug regarding the packed message in a ptt request

the packed message received in the PTTRequest, according to the p2p docs looks like this:
{ prefix: b"Enigma Message", data: [addresses], pubkey: 'DH pubkey', id: '12-bytes-msgID', }
however, when I receive the actual data and deserialize it, according to this and this i get the following Value:

Object({"data": Object({"Request": Array([Array([Number(184), Number(9), Number(232), Number(63), Number(130), Number(214), Number(28), Number(214), Number(130), Number(77), Number(79), Number(244), Number(147), Number(127), Number(95), Number(111), Number(252), Number(140), Number(93), Number(183), Number(224), Number(201), Number(13), Number(215), Number(20), Number(185), Number(81), Number(102), Number(32), Number(217), Number(206), Number(55)]), Array([Number(117), Number(37), Number(131), Number(36), Number(68), Number(25), Number(63), Number(109), Number(70), Number(224), Number(116), Number(37), Number(219), Number(237), Number(51), Number(69), Number(4), Number(219), Number(16), Number(248), Number(151), Number(231), Number(8), Number(153), Number(89), Number(200), Number(42), Number(52), Number(53), Number(10), Number(228), Number(199)])])}), "id": Array([Number(36), Number(206), Number(141), Number(207), Number(13), Number(151), Number(215), Number(212), Number(82), Number(115), Number(227), Number(232)]), "prefix": Array([Number(69), Number(110), Number(105), Number(103), Number(109), Number(97), Number(32), Number(77), Number(101), Number(115), Number(115), Number(97), Number(103), Number(101)]), "pubkey": Array([Number(236), Number(223), Number(151), Number(150), Number(147), Number(82), Number(22), Number(85), Number(130), Number(30), Number(174), Number(181), Number(54), Number(106), Number(121), Number(197), Number(192), Number(128), Number(216), Number(54), Number(181), Number(254), Number(196), Number(162), Number(232), Number(8), Number(30), Number(29), Number(64), Number(64), Number(187), Number(70), Number(192), Number(34), Number(42), Number(145), Number(251), Number(67), Number(245), Number(195), Number(42), Number(67), Number(24), Number(197), Number(146), Number(62), Number(48), Number(232), Number(89), Number(205), Number(137), Number(217), Number(206), Number(226), Number(62), Number(231), Number(183), Number(123), Number(84), Number(225), Number(141), Number(206), Number(226), Number(51)])})

which is a value that contains bytes

ipc get_tip- redundant result

there is a redundant "address" field in the get_tip result.
expected:

{
   id : <unique_request_id>,
   type : GetTip,
   result : {
       key : [],
       delta : []
   }
}

accepted:

{
   id : <unique_request_id>,
   type : GetTip,
   result : {
       address: [],
       key : [],
       delta : []
   }
}

Move duplicate stuff in enigma-tools

We have some multiple functions all over, I want to move them into the enigma-tools dir

  • init_enclave_wrapper function (Decide what to accept as parameter and refactor)
  • Part of the main.rs files.

response typo ipc

the "getDeltas" response should be with "data" and not delta:

{
    id : <unique_request_id>,
    type : GetDeltas,
    result : {
        deltas : [{address, key, **data**},...]
    }
}

Deploy/Compute with wrong parameters fails due to Out of Gas

Describe the bug

This may be more of a question than a bug, but running a deploy or compute with the wrong set of parameters fails due to an out of gas, with the following message:

Error in execution of smart contract function: Invocation resulted in gas limit violated

Is there a way we can distinguish this case from a when the execution fails because of out of gas when the gas is too low?

To Reproduce
Run the following integration tests in order:

  1. 01_init.spec.js
  2. 02_deploy_calculator.spec.js
  3. 10_execute_calculator.spec.js <- not strictly necessary, but you will see how a mul()computation will consume about 26956 gas
  4. 03_deploy_fail_parameters.spec.js fails because out of gas, even when the gas limit is set much higher (at 1,000,000) than what a successful compute with the correct parameters will take for the same mul() operation.

Expected behavior

I would expect a different error that would help me tell them apart.

[Ppal Node]: Retries for connecting to sgx.enigma.co

Is your feature request related to a problem? Please describe.
I got the following error while launching the Principal Node:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: Io(Custom { kind: TimedOut, error: StringError("timed out") }), url: Some("https://sgx.enigma.co/api") }

I don't know if this would also be an issue in Core? Cc: @elichai

https://sgx.enigma.co/api was indeed online at the time, and a subsequent manual request succeeded.

Describe the solution you'd like
I would suggest coding in at least 3 retries for trying this connection, otherwise the Principal Node crashes.

Describe alternatives you've considered
N/A

Additional context

backtrace of the error above:

principal_1   | stack backtrace:
principal_1   |    0: failure::backtrace::internal::InternalBacktrace::new::h012a694690d84db0 (0x55cb161236fe)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
principal_1   |    1: failure::backtrace::Backtrace::new::h1c372c7f484dc91c (0x55cb161231cd)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
principal_1   |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h7e6fd421c5f4b853 (0x55cb15852b2f)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
principal_1   |    3: <failure::error::Error as core::convert::From<F>>::from::h637432e372f33cfc (0x55cb15840122)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
principal_1   |    4: enigma_tools_u::attestation_service::service::AttestationService::send_request::h043a328328fe84e7 (0x55cb15819ef2)
principal_1   |              at /root/enigma-core/enigma-tools-u/src/attestation_service/service.rs:118
principal_1   |    5: enigma_tools_u::attestation_service::service::AttestationService::get_report::{{closure}}::h1da9c57383505c95 (0x55cb15831782)
principal_1   |              at /root/enigma-core/enigma-tools-u/src/attestation_service/service.rs:97
principal_1   |    6: enigma_tools_u::attestation_service::service::AttestationService::get_report::h5a07212ab6e43f4c (0x55cb1581ba3c)
principal_1   |              at /root/enigma-core/enigma-tools-u/src/attestation_service/service.rs:94
principal_1   |    7: enigma_principal_app::boot_network::principal_manager::ReportManager::get_registration_params::{{closure}}::h1f1c1f4ac90cd80e (0x55cb1539b529)
principal_1   |              at src/main.rs:1
principal_1   |    8: enigma_principal_app::boot_network::principal_manager::ReportManager::get_registration_params::h63d34d26d7da11c4 (0x55cb153d20d9)
principal_1   |              at src/boot_network/principal_manager.rs:77
principal_1   |    9: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::register::h53dc61f57c55e04b (0x55cb15392dbd)
principal_1   |              at src/boot_network/principal_manager.rs:165
principal_1   |   10: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::verify_identity_or_register::{{closure}}::hb6fc10e55956cb1c (0x55cb1539d6ed)
principal_1   |              at src/boot_network/principal_manager.rs:187
principal_1   |   11: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::verify_identity_or_register::h9985b4b06fb97672 (0x55cb1539c208)
principal_1   |              at src/boot_network/principal_manager.rs:178
principal_1   |   12: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::{{closure}}::h26edff5a3bbb3269 (0x55cb1539e37a)
principal_1   |              at src/boot_network/principal_manager.rs:207
principal_1   |   13: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::h3517570f4bfe8a65 (0x55cb1539dc5a)
principal_1   |              at src/boot_network/principal_manager.rs:204
principal_1   |   14: enigma_principal_app::cli::app::start::{{closure}}::hcb790015458b97f5 (0x55cb153bce64)
principal_1   |              at src/cli/app.rs:80
principal_1   |   15: enigma_principal_app::cli::app::start::h34b1500ab6b3c7e1 (0x55cb152a0633)
principal_1   |              at src/cli/app.rs:17
principal_1   |   16: enigma_principal_app::main::hd42b6335d59d24d6 (0x55cb1530c644)
principal_1   |              at src/main.rs:73
principal_1   |   17: std::rt::lang_start::{{closure}}::h6422b3b451175020 (0x55cb153d2c4f)
principal_1   |              at libstd/rt.rs:74
principal_1   |   18: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x55cb16205ec2)
principal_1   |              at libstd/rt.rs:59
principal_1   |       std::panicking::try::do_call::h5a4eb2ce70a501f5
principal_1   |              at libstd/panicking.rs:310
principal_1   |   19: __rust_maybe_catch_panic (0x55cb16228789)
principal_1   |              at libpanic_unwind/lib.rs:102
principal_1   |   20: std::panicking::try::h97436c380f30f437 (0x55cb162083d5)
principal_1   |              at libstd/panicking.rs:289
principal_1   |       std::panic::catch_unwind::h9c28ef6e0c478c5d
principal_1   |              at libstd/panic.rs:392
principal_1   |       std::rt::lang_start_internal::h6abd6befa9748e41
principal_1   |              at libstd/rt.rs:58
principal_1   |   21: std::rt::lang_start::h9c265978b259098c (0x55cb153d2c27)
principal_1   |              at libstd/rt.rs:74
principal_1   |   22: main (0x55cb1530c829)
principal_1   |   23: __libc_start_main (0x7f50c1ba4b96)
principal_1   |   24: _start (0x55cb152a0399)
principal_1   |   25: <unknown> (0x0)', libcore/result.rs:1009:5
principal_1   | stack backtrace:
principal_1   |    0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
principal_1   |              at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
principal_1   |    1: std::sys_common::backtrace::print
principal_1   |              at libstd/sys_common/backtrace.rs:71
principal_1   |              at libstd/sys_common/backtrace.rs:59
principal_1   |    2: std::panicking::default_hook::{{closure}}
principal_1   |              at libstd/panicking.rs:211
principal_1   |    3: std::panicking::default_hook
principal_1   |              at libstd/panicking.rs:227
principal_1   |    4: std::panicking::rust_panic_with_hook
principal_1   |              at libstd/panicking.rs:476
principal_1   |    5: std::panicking::continue_panic_fmt
principal_1   |              at libstd/panicking.rs:390
principal_1   |    6: rust_begin_unwind
principal_1   |              at libstd/panicking.rs:325
principal_1   |    7: core::panicking::panic_fmt
principal_1   |              at libcore/panicking.rs:77
principal_1   |    8: core::result::unwrap_failed
principal_1   |              at libcore/macros.rs:26
principal_1   |    9: <core::result::Result<T, E>>::unwrap
principal_1   |              at libcore/result.rs:808
principal_1   |   10: enigma_principal_app::cli::app::start::{{closure}}
principal_1   |              at src/cli/app.rs:80
principal_1   |   11: enigma_principal_app::cli::app::start
principal_1   |              at src/cli/app.rs:17
principal_1   |   12: enigma_principal_app::main
principal_1   |              at src/main.rs:73
principal_1   |   13: std::rt::lang_start::{{closure}}
principal_1   |              at libstd/rt.rs:74
principal_1   |   14: std::panicking::try::do_call
principal_1   |              at libstd/rt.rs:59
principal_1   |              at libstd/panicking.rs:310
principal_1   |   15: __rust_maybe_catch_panic
principal_1   |              at libpanic_unwind/lib.rs:102
principal_1   |   16: std::rt::lang_start_internal
principal_1   |              at libstd/panicking.rs:289
principal_1   |              at libstd/panic.rs:392
principal_1   |              at libstd/rt.rs:58
principal_1   |   17: std::rt::lang_start
principal_1   |              at libstd/rt.rs:74
principal_1   |   18: main
principal_1   |   19: __libc_start_main
principal_1   |   20: _start

Mismatch between specs and implementation around NewTaskEncryptionKey

KeyMgmt node crashed when setting workerParams when there is a contract deployed

Describe the bug
The Key Management node crashes when trying to set Worker Parameters AND there is at least one secret contract deployed in the network. When there are no contracts deployed, it works just fine.

To Reproduce

  1. Launch the network
  2. Deploy a secret contract
  3. Trigger an epoch change

Expected behavior
The Key Management node should handle epoch changes with secret contracts deployed.

Backtrace

principal_1   | [? ] Blocks @ previous: 44, current: 54, next: 54 [? ]
principal_1   | [? ] New epoch found [? ]
principal_1   | The active workers: InputWorkerParams { block_number: 54, workers: [0xe43e4e5aeae608861b0d8d7c9533d22204b08181], stakes: [90000000000] }
principal_1   | Successfully decoded RLP worker parameters
principal_1   | Getting epoch for block number: None
principal_1   | Generated a nonce by incrementing the previous by 1 0x2
principal_1   | Generated random seed: 0xda927dd3be310c65d528cf260380ee33eeb95dbaf34516dd16a85f81ada03ce6
principal_1   | [+] Home dir is /root
principal_1   | Back from Ocall: /root/.enigma
principal_1   | Sealed document: "/root/.enigma/epoch/nonce.sealed" written successfully.
principal_1   | Sealed the epoch marker: "/root/.enigma/epoch/nonce.sealed"
principal_1   | Storing epoch: Epoch { nonce: 0x2, seed: 0xda927dd3be310c65d528cf260380ee33eeb95dbaf34516dd16a85f81ada03ce6, worker_params: InputWorkerParams { block_number: 0x36, workers: [0xe43e4e5aeae608861b0d8d7c9533d22204b08181], stakes: [0x14f46b0400] } }
principal_1   | Initial epoch stored successfully
principal_1   | Signed the message : 0xda927dd3be310c65d528cf260380ee33eeb95dbaf34516dd16a85f81ada03ce60000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e43e4e5aeae608861b0d8d7c9533d22204b08181000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000014f46b0400
principal_1   | Worker parameters set successfully
principal_1   | Waiting for setWorkerParams(54, 98863029089481325137085764549926061734584761540774669191620898061628498525414, Bytes([118, 62, 207, 186, 30, 44, 224, 4, 11, 72, 84, 96, 22, 220, 246, 238, 59, 178, 78, 79, 235, 41, 87, 232, 27, 152, 51, 68, 56, 20, 137, 38, 23, 177, 154, 137, 228, 204, 23, 233, 69, 210, 146, 25, 47, 70, 226, 149, 17, 107, 161, 124, 221, 84, 139, 194, 44, 221, 235, 100, 160, 126, 237, 75, 28]))
principal_1   | Got the receipt: Receipt { transaction_hash: 0x58699a02444f5bf5ede125ecdd40010d239cdf3b4f54ce87428d047d0bbd9c54, transaction_index: 0, block_hash: Some(0xa9074f9a0f823801dc3ec3097251cc6f1b3b12c597c80315442f291f9a4a9577), block_number: Some(55), cumulative_gas_used: 284154, gas_used: Some(284154), contract_address: None, logs: [Log { address: 0x59d3631c86bbe35ef041872d502f218a39fba150, topics: [0x4ac4fa4588e2c6fdaec0f375ac3b33fab7b69895fbb538347f8adb03164c5ddd], data: Bytes([218, 146, 125, 211, 190, 49, 12, 101, 213, 40, 207, 38, 3, 128, 238, 51, 238, 185, 93, 186, 243, 69, 22, 221, 22, 168, 95, 129, 173, 160, 60, 230, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 228, 62, 78, 90, 234, 230, 8, 134, 27, 13, 141, 124, 149, 51, 210, 34, 4, 176, 129, 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 244, 107, 4, 0]), block_hash: Some(0xa9074f9a0f823801dc3ec3097251cc6f1b3b12c597c80315442f291f9a4a9577), block_number: Some(55), transaction_hash: Some(0x58699a02444f5bf5ede125ecdd40010d239cdf3b4f54ce87428d047d0bbd9c54), transaction_index: Some(0), log_index: Some(0), transaction_log_index: None, log_type: None, removed: None }], status: Some(1), logs_bloom: 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000 }
principal_1   | Parsed the WorkerParameterized event: Log { params: [LogParam { name: "seed", value: Uint(98863029089481325137085764549926061734584761540774669191620898061628498525414) }, LogParam { name: "firstBlockNumber", value: Uint(55) }, LogParam { name: "inclusionBlockNumber", value: Uint(54) }, LogParam { name: "workers", value: Array([Address(0xe43e4e5aeae608861b0d8d7c9533d22204b08181)]) }, LogParam { name: "stakes", value: Array([Uint(90000000000)]) }, LogParam { name: "nonce", value: Uint(2) }] }
principal_1   | Caching selected workers
principal_1   | The secret contract count: 1
principal_1   | The secret contract addresses: [Hash256([136, 152, 122, 247, 211, 94, 171, 202, 217, 89, 21, 185, 59, 253, 61, 43, 195, 48, 143, 6, 183, 25, 116, 120, 176, 223, 202, 38, 143, 4, 151, 220])]
principal_1   | Confirmed epoch with worker params: InputWorkerParams { block_number: 54, workers: [0xe43e4e5aeae608861b0d8d7c9533d22204b08181], stakes: [90000000000] }
principal_1   | Getting the selected worker for: Hash256([136, 152, 122, 247, 211, 94, 171, 202, 217, 89, 21, 185, 59, 253, 61, 43, 195, 48, 143, 6, 183, 25, 116, 120, 176, 223, 202, 38, 143, 4, 151, 220])
principal_1   | Found selected worker: 0xe43e4e5aeae608861b0d8d7c9533d22204b08181 for contract: Hash256([136, 152, 122, 247, 211, 94, 171, 202, 217, 89, 21, 185, 59, 253, 61, 43, 195, 48, 143, 6, 183, 25, 116, 120, 176, 223, 202, 38, 143, 4, 151, 220])
principal_1   | First selected worker inserted
principal_1   | Replacing EpochMaker mutex: Some(EpochState { seed: 98863029089481325137085764549926061734584761540774669191620898061628498525414, sig: Bytes([118, 62, 207, 186, 30, 44, 224, 4, 11, 72, 84, 96, 22, 220, 246, 238, 59, 178, 78, 79, 235, 41, 87, 232, 27, 152, 51, 68, 56, 20, 137, 38, 23, 177, 154, 137, 228, 204, 23, 233, 69, 210, 146, 25, 47, 70, 226, 149, 17, 107, 161, 124, 221, 84, 139, 194, 44, 221, 235, 100, 160, 126, 237, 75, 28]), nonce: 2, confirmed_state: Some(ConfirmedEpochState { selected_workers: {Hash256([136, 152, 122, 247, 211, 94, 171, 202, 217, 89, 21, 185, 59, 253, 61, 43, 195, 48, 143, 6, 183, 25, 116, 120, 176, 223, 202, 38, 143, 4, 151, 220]): 0xe43e4e5aeae608861b0d8d7c9533d22204b08181}, block_number: 55 }) })
principal_1   | Replaced EpochMaker: Some(EpochState { seed: 71872192111550777480056716804724733771791342950088026133095723568720506161118, sig: Bytes([176, 186, 92, 3, 145, 231, 238, 242, 10, 100, 159, 245, 140, 49, 103, 94, 151, 87, 54, 54, 216, 28, 151, 156, 252, 50, 219, 151, 161, 49, 8, 51, 9, 234, 1, 65, 15, 47, 5, 218, 145, 10, 66, 161, 6, 59, 125, 207, 217, 123, 7, 225, 18, 75, 119, 35, 133, 155, 172, 155, 139, 108, 151, 228, 28]), nonce: 1, confirmed_state: Some(ConfirmedEpochState { selected_workers: {}, block_number: 44 }) }) with: Some(EpochState { seed: 98863029089481325137085764549926061734584761540774669191620898061628498525414, sig: Bytes([118, 62, 207, 186, 30, 44, 224, 4, 11, 72, 84, 96, 22, 220, 246, 238, 59, 178, 78, 79, 235, 41, 87, 232, 27, 152, 51, 68, 56, 20, 137, 38, 23, 177, 154, 137, 228, 204, 23, 233, 69, 210, 146, 25, 47, 70, 226, 149, 17, 107, 161, 124, 221, 84, 139, 194, 44, 221, 235, 100, 160, 126, 237, 75, 28]), nonce: 2, confirmed_state: Some(ConfirmedEpochState { selected_workers: {Hash256([136, 152, 122, 247, 211, 94, 171, 202, 217, 89, 21, 185, 59, 253, 61, 43, 195, 48, 143, 6, 183, 25, 116, 120, 176, 223, 202, 38, 143, 4, 151, 220]): 0xe43e4e5aeae608861b0d8d7c9533d22204b08181}, block_number: 55 }) })
principal_1   | [+] Home dir is /root
principal_1   | thread 'main' panicked at 'Unable to set worker params. Please recover manually.: ErrorMessage { msg: Error("key must be a string", line: 0, column: 0)
principal_1   | 
principal_1   | stack backtrace:
principal_1   |    0: failure::backtrace::internal::InternalBacktrace::new::hf867e4e9d99c9480 (0x558bc8a457ce)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
principal_1   |    1: failure::backtrace::Backtrace::new::hcdbeb17bff96e963 (0x558bc8a4529d)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
principal_1   |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h6d7672ad92dfd3ba (0x558bc812797f)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
principal_1   |    3: <failure::error::Error as core::convert::From<F>>::from::h525b60e188527c7b (0x558bc8104f82)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
principal_1   |    4: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::write_epoch_state::h8e2f9e2322a7dd4e (0x558bc7b8bfe9)
principal_1   |              at src/epoch_u/epoch_provider.rs:76
principal_1   |    5: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::set_epoch_state::{{closure}}::h555911303c9ca161 (0x558bc7bfe872)
principal_1   |              at src/epoch_u/epoch_provider.rs:124
principal_1   |    6: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::set_epoch_state::h740704e224a7dd9b (0x558bc7b8d72d)
principal_1   |              at src/epoch_u/epoch_provider.rs:114
principal_1   |    7: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::set_worker_params::he44c45d6af0cdaf6 (0x558bc7bfb2fc)
principal_1   |              at src/epoch_u/epoch_provider.rs:183
principal_1   |    8: <enigma_tools_u::web3_utils::enigma_contract::EnigmaContract as enigma_principal_app::boot_network::principal_utils::Principal>::watch_blocks::{{closure}}::hda2417817ce2c3af (0x558bc7c227a0)
principal_1   |              at src/boot_network/principal_utils.rs:43
principal_1   |    9: <enigma_tools_u::web3_utils::enigma_contract::EnigmaContract as enigma_principal_app::boot_network::principal_utils::Principal>::watch_blocks::hbe7deceee6e8781a (0x558bc7bd6387)
principal_1   |              at src/boot_network/principal_utils.rs:23
principal_1   |   10: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::{{closure}}::h8acaeebcb0573f67 (0x558bc7ca9bdb)
principal_1   |              at src/boot_network/principal_manager.rs:230
principal_1   |   11: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::h6278e3242b8b4a55 (0x558bc7ca8e9a)
principal_1   |              at src/boot_network/principal_manager.rs:206
principal_1   |   12: enigma_principal_app::cli::app::start::{{closure}}::had69debde7541a25 (0x558bc7c7cc7a)
principal_1   |              at src/cli/app.rs:78
principal_1   |   13: enigma_principal_app::cli::app::start::hb6e3b5c54b1e8c73 (0x558bc7be34c3)
principal_1   |              at src/cli/app.rs:14
principal_1   |   14: enigma_principal_app::main::h87b6fd8c6645f40f (0x558bc7b83aaa)
principal_1   |              at src/main.rs:65
principal_1   |   15: std::rt::lang_start::{{closure}}::h03ef5a4683367f1c (0x558bc7c9ce2f)
principal_1   |              at libstd/rt.rs:74
principal_1   |   16: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x558bc8b18142)
principal_1   |              at libstd/rt.rs:59
principal_1   |       std::panicking::try::do_call::h5a4eb2ce70a501f5
principal_1   |              at libstd/panicking.rs:310
principal_1   |   17: __rust_maybe_catch_panic (0x558bc8b3a9e9)
principal_1   |              at libpanic_unwind/lib.rs:102
principal_1   |   18: std::panicking::try::h97436c380f30f437 (0x558bc8b1a655)
principal_1   |              at libstd/panicking.rs:289
principal_1   |       std::panic::catch_unwind::h9c28ef6e0c478c5d
principal_1   |              at libstd/panic.rs:392
principal_1   |       std::rt::lang_start_internal::h6abd6befa9748e41
principal_1   |              at libstd/rt.rs:58
principal_1   |   19: std::rt::lang_start::hea4f08f84bbd1ba1 (0x558bc7c9ce07)
principal_1   |              at libstd/rt.rs:74
principal_1   |   20: main (0x558bc7b83c89)
principal_1   |   21: __libc_start_main (0x7f1ea3867b96)
principal_1   |   22: _start (0x558bc7b73b59)
principal_1   |   23: <unknown> (0x0) }
principal_1   | 
principal_1   | stack backtrace:
principal_1   |    0: failure::backtrace::internal::InternalBacktrace::new::hf867e4e9d99c9480 (0x558bc8a457ce)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
principal_1   |    1: failure::backtrace::Backtrace::new::hcdbeb17bff96e963 (0x558bc8a4529d)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
principal_1   |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h9fb934c840892e71 (0x558bc7b8f6b7)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
principal_1   |    3: <failure::error::Error as core::convert::From<F>>::from::h1e03dd5803028b7f (0x558bc7be328c)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
principal_1   |    4: failure::error_message::err_msg::hc654fd682723dbdf (0x558bc7c965b0)
principal_1   |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error_message.rs:12
principal_1   |    5: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::set_epoch_state::{{closure}}::h555911303c9ca161 (0x558bc7bfe95e)
principal_1   |              at src/epoch_u/epoch_provider.rs:126
principal_1   |    6: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::set_epoch_state::h740704e224a7dd9b (0x558bc7b8d72d)
principal_1   |              at src/epoch_u/epoch_provider.rs:114
principal_1   |    7: enigma_principal_app::epoch_u::epoch_provider::EpochProvider::set_worker_params::he44c45d6af0cdaf6 (0x558bc7bfb2fc)
principal_1   |              at src/epoch_u/epoch_provider.rs:183
principal_1   |    8: <enigma_tools_u::web3_utils::enigma_contract::EnigmaContract as enigma_principal_app::boot_network::principal_utils::Principal>::watch_blocks::{{closure}}::hda2417817ce2c3af (0x558bc7c227a0)
principal_1   |              at src/boot_network/principal_utils.rs:43
principal_1   |    9: <enigma_tools_u::web3_utils::enigma_contract::EnigmaContract as enigma_principal_app::boot_network::principal_utils::Principal>::watch_blocks::hbe7deceee6e8781a (0x558bc7bd6387)
principal_1   |              at src/boot_network/principal_utils.rs:23
principal_1   |   10: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::{{closure}}::h8acaeebcb0573f67 (0x558bc7ca9bdb)
principal_1   |              at src/boot_network/principal_manager.rs:230
principal_1   |   11: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::h6278e3242b8b4a55 (0x558bc7ca8e9a)
principal_1   |              at src/boot_network/principal_manager.rs:206
principal_1   |   12: enigma_principal_app::cli::app::start::{{closure}}::had69debde7541a25 (0x558bc7c7cc7a)
principal_1   |              at src/cli/app.rs:78
principal_1   |   13: enigma_principal_app::cli::app::start::hb6e3b5c54b1e8c73 (0x558bc7be34c3)
principal_1   |              at src/cli/app.rs:14
principal_1   |   14: enigma_principal_app::main::h87b6fd8c6645f40f (0x558bc7b83aaa)
principal_1   |              at src/main.rs:65
principal_1   |   15: std::rt::lang_start::{{closure}}::h03ef5a4683367f1c (0x558bc7c9ce2f)
principal_1   |              at libstd/rt.rs:74
principal_1   |   16: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x558bc8b18142)
principal_1   |              at libstd/rt.rs:59
principal_1   |       std::panicking::try::do_call::h5a4eb2ce70a501f5
principal_1   |              at libstd/panicking.rs:310
principal_1   |   17: __rust_maybe_catch_panic (0x558bc8b3a9e9)
principal_1   |              at libpanic_unwind/lib.rs:102
principal_1   |   18: std::panicking::try::h97436c380f30f437 (0x558bc8b1a655)
principal_1   |              at libstd/panicking.rs:289
principal_1   |       std::panic::catch_unwind::h9c28ef6e0c478c5d
principal_1   |              at libstd/panic.rs:392
principal_1   |       std::rt::lang_start_internal::h6abd6befa9748e41
principal_1   |              at libstd/rt.rs:58
principal_1   |   19: std::rt::lang_start::hea4f08f84bbd1ba1 (0x558bc7c9ce07)
principal_1   |              at libstd/rt.rs:74
principal_1   |   20: main (0x558bc7b83c89)
principal_1   |   21: __libc_start_main (0x7f1ea3867b96)
principal_1   |   22: _start (0x558bc7b73b59)
principal_1   |   23: <unknown> (0x0)', libcore/result.rs:1009:5
principal_1   | stack backtrace:
principal_1   |    0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
principal_1   |              at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
principal_1   |    1: std::sys_common::backtrace::print
principal_1   |              at libstd/sys_common/backtrace.rs:71
principal_1   |              at libstd/sys_common/backtrace.rs:59
principal_1   |    2: std::panicking::default_hook::{{closure}}
principal_1   |              at libstd/panicking.rs:211
principal_1   |    3: std::panicking::default_hook
principal_1   |              at libstd/panicking.rs:227
principal_1   |    4: std::panicking::rust_panic_with_hook
principal_1   |              at libstd/panicking.rs:476
principal_1   |    5: std::panicking::continue_panic_fmt
principal_1   |              at libstd/panicking.rs:390
principal_1   |    6: rust_begin_unwind
principal_1   |              at libstd/panicking.rs:325
principal_1   |    7: core::panicking::panic_fmt
principal_1   |              at libcore/panicking.rs:77
principal_1   |    8: core::result::unwrap_failed
principal_1   |              at libcore/macros.rs:26
principal_1   |    9: <core::result::Result<T, E>>::expect
principal_1   |              at libcore/result.rs:835
principal_1   |   10: <enigma_tools_u::web3_utils::enigma_contract::EnigmaContract as enigma_principal_app::boot_network::principal_utils::Principal>::watch_blocks::{{closure}}
principal_1   |              at src/boot_network/principal_utils.rs:43
principal_1   |   11: <enigma_tools_u::web3_utils::enigma_contract::EnigmaContract as enigma_principal_app::boot_network::principal_utils::Principal>::watch_blocks
principal_1   |              at src/boot_network/principal_utils.rs:23
principal_1   |   12: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run::{{closure}}
principal_1   |              at src/boot_network/principal_manager.rs:230
principal_1   |   13: <enigma_principal_app::boot_network::principal_manager::PrincipalManager as enigma_principal_app::boot_network::principal_manager::Sampler>::run
principal_1   |              at src/boot_network/principal_manager.rs:206
principal_1   |   14: enigma_principal_app::cli::app::start::{{closure}}
principal_1   |              at src/cli/app.rs:78
principal_1   |   15: enigma_principal_app::cli::app::start
principal_1   |              at src/cli/app.rs:14
principal_1   |   16: enigma_principal_app::main
principal_1   |              at src/main.rs:65
principal_1   |   17: std::rt::lang_start::{{closure}}
principal_1   |              at libstd/rt.rs:74
principal_1   |   18: std::panicking::try::do_call
principal_1   |              at libstd/rt.rs:59
principal_1   |              at libstd/panicking.rs:310
principal_1   |   19: __rust_maybe_catch_panic
principal_1   |              at libpanic_unwind/lib.rs:102
principal_1   |   20: std::rt::lang_start_internal
principal_1   |              at libstd/panicking.rs:289
principal_1   |              at libstd/panic.rs:392
principal_1   |              at libstd/rt.rs:58
principal_1   |   21: std::rt::lang_start
principal_1   |              at libstd/rt.rs:74
principal_1   |   22: main
principal_1   |   23: __libc_start_main
principal_1   |   24: _start

deploy_contract expects public_key instead of public_address

The function deploy_contract() gets a 20-byte/40-hex-char public address here but tries to process it as if it were a 32-byte/64-hex-char public address resulting in Invalid input length error thrown here https://github.com/enigmampc/enigma-core-internal/blob/0c1ae25cad865340fe9182fa833980c055f682cf/enigma-types/src/hash.rs#L15 in trying to coerce into the Hash256([u8; 32]); struct.

The code should be amended to process a 20-byte/40-hex-char public address for the contract_address variable.

Error when running the unit test in the develop branch

Describe the bug
I'm following the instruction in the README page with a new Docker image. Here is my output:

running 44 tests
test db::dal::test::test_fail_cf_exists_no_key_read ... ok
test db::dal::test::test_create_when_cf_exists ... ok
test db::dal::test::test_create_read_delete_fail_reading ... ok
test db::dal::test::test_create_read ... ok
test db::dal::test::test_create_update_read ... ok
test db::dal::test::test_create_update_read_delta ... ok
test db::dal::test::test_create_delete ... ok
test db::dal::test::test_create_force_update_success ... ok
test db::dal::test::test_fail_deleting ... ok
test db::dal::test::test_fail_reading ... ok
test db::dal::test::test_fail_updating ... ok
test db::dal::test::test_fail_creating_exist ... ok
test db::dal::test::test_fail_deleting_cf_exists ... ok
test db::dal::test::test_new_db ... ok
test db::dal::test::test_fail_updating_cf_exists ... ok
test db::dal::test::test_force_update_no_cf_success ... ok
test db::dal::test::test_force_update_no_key_success ... ok
test db::iterator::test::test_get_tip_no_data ... ok
test db::iterator::test::test_get_deltas_different_hashes ... ok
test db::iterator::test::test_get_tip_data_no_delta ... ok
test db::iterator::test::test_get_all_addresses_success ... ok
test db::iterator::test::test_get_tip_multi_deltas_success ... ok
test db::iterator::test::test_get_deltas ... ok
test db::iterator::test::test_get_all_addresses_invalid_cf ... ok
test db::primitives::tests::test_deltakey_as_split ... ok
test db::primitives::tests::test_deltakey_from_split ... ok
test db::iterator::test::test_get_all_tips ... ok
test db::iterator::test::test_get_tip_success ... ok
test db::iterator::test::test_get_tips_no_addr ... ok
test db::iterator::test::test_get_tips_multi_row_per_add_success ... ok
test db::iterator::test::test_get_tips_single_row_success ... ok
test db::iterator::test::test_get_tips_multi_add_success ... ok
test db::iterator::test::test_get_tips_no_deltas ... ok
test evm_u::evm::tests::addition ... ok
Back from Ocall: /root/.enigma
thread panicked at 'Box<Any>', /root/src/enigma-tools-t/src/storage_t.rs:58:21
error: process didn't exit successfully: `/root/src/enigma-core/app/target/debug/deps/enigma_core_app-2bd27fbd8d847f7b` (signal: 4, SIGILL: illegal instruction)

To Reproduce
Steps to reproduce the behavior:

root@localhost:~/sgx/src/enigma-core# make
root@localhost:~/sgx/src/app# cargo test

Here is how I run the Docker container:

docker run --net="host" -it --mount src="$(pwd)/../",target=/root/src,type=bind --device /dev/isgx enigma-core

Here is my source code:

[fredfortier@localhost enigma-core-internal]$ git status
On branch develop
Your branch is up to date with 'origin/develop'.

As far as I know, my SGX driver is fine. I can run the SGX Rust SDK sample app:

root@localhost:~/sgx/samplecode/helloworld/bin# ./app
[+] global_eid: 2
This is normal world string passed into enclave!
This is a Rust string!
[+] say_something success ...

IPC: computeTask wrong name in json

a request for computeTask looks like this:

{
    id: <unique_request_id>,
    type: ComputeTask,
    input: {
        taskID: 'the ID of the task'
        encryptedArgs: 'hex of the encrypted args',
        encryptedFn: 'hex of the encrypted function signature',
        userDHKey: 'the-user-dh-pubkey',
        gasLimit: 'the-user-selected-gaslimit', // from ethereum not rpc
        contractAddress: 'the-address-of-the-contract'
    }
}

but when sending the following json i'm receiving: Error("missing field 'userPubKey'", line: 1, column: 683)', libcore/result.rs:1009:5

updating the state

when running a full round (ptt -> deploy -> compute) at least twice I receive the following error in the second ptt round: Failed applying delta: StateError { err: "Applying the delta" }
meaning the delta's previous hash is not the same as the state's hash. I looked at the flow of the code and noticed that at the end of the ecalls (deploy & execute) we encrypt and save the state which i believe leads to the error.
@moriaab I think its best you look at it- we have to decide which part of the code is unnecessary.
If this is not clear i'll be happy to elaborate.
Thanks!

Bug in ipc messaging

hi,
when attempting to send the following json: {"id": "42", "type": "GetRegistrationParams"} to core I'm receiving the following error: "{\"id\":\"42\",\"type\":\"GetRegistrationParams\"}": Error("invalid type: string \"{\\\"id\\\":\\\"42\\\",\\\"type\\\":\\\"GetRegistrationParams\\\"}\", expected internally tagged enum", line: 1, column: 52)', libcore/result.rs:1009:5
@elichai can you please look at it.
Thanks!

Failed build in Simulation mode in some computers (MacOS)

Describe the bug
Building core in some machine (MacOS) fails, while it succeeds in others (Linux/Ubuntu) in Simulation mode. This is only observed in Simulation mode because the machines in which the builds fail do not have SGX, and thus cannot build in Hardware mode.

The same build in Simulation mode used to work at some point in the recent past in these very same machines where it now fails.

Both @apalepu23 and I are experiencing the same issue in our respective machines.

To Reproduce
Steps to reproduce the behavior:

  1. Using the latest Docker Image for enigmampc/enigma-core:latest...
  2. ... then build it with:
cd enigma-core/enigma-core
. /opt/sgxsdk/environment && . /root/.cargo/env
make full-clean
SGX_MODE=SW RUSTFLAGS=-Awarnings make JOBS=8 DEBUG=1 

Expected behavior
A successful build

Backtrace
If applicable, Please paste the whole error and backtrace, if it's too long use:

RUN . /opt/sgxsdk/environment && . /root/.cargo/env && SGX_MODE=$SGX_MODE RUSTFLAGS=-Awarnings make JOBS=8 DEBUG=1 ||     echo "\n\n**** This is a known error. Ignore for now. Will succeed upon retry ***\n" &&     rm -rf /root/.cargo/git/checkouts/rust-sgx-sdk-fc8771c5c45bde9a/212d9f4/xargo &&     SGX_MODE=$SGX_MODE RUSTFLAGS=-Awarnings make JOBS=8 DEBUG=1 || true
 ---> Running in de9c53e4ae24
mkdir -p ./lib
make -C ./enclave/ CARGO_FLAGS=-j8 Rust_target_dir=debug
make[1]: Entering directory '/root/enigma-core/enigma-core/enclave'
cargo build -j8
    Updating git repository `https://github.com/enigmampc/error-chain.git`
    Updating crates.io index
    Updating git repository `https://github.com/enigmampc/ethabi.git`
    Updating git repository `https://github.com/enigmampc/parity-wasm.git`
    Updating git repository `https://github.com/enigmampc/wasm-utils.git`
    Updating git repository `https://github.com/baidu/rust-sgx-sdk.git`
    Updating git repository `https://github.com/enigmampc/sputnikvm.git`
    Updating git repository `https://github.com/enigmampc/wasmi`
    Updating git repository `https://github.com/elichai/ring.git`
    Updating git repository `https://github.com/enigmampc/json-patch.git`
    Updating git repository `https://github.com/enigmampc/msgpack-rust.git`
    Updating git repository `https://github.com/enigmampc/treediff-rs.git`
    Updating git repository `https://github.com/enigmampc/primitives.git`
    Updating git repository `https://github.com/enigmampc/rustc-hex.git`
 Downloading crates ...
  Downloaded lazy_static v1.2.0
  Downloaded hashmap_core v0.1.9
  Downloaded sha2 v0.6.0
  Downloaded byteorder v1.3.1
  Downloaded log v0.4.6
  Downloaded failure v0.1.5
  Downloaded cbindgen v0.8.2
  Downloaded libsecp256k1 v0.2.2
  Downloaded etcommon-hexutil v0.2.4
  Downloaded etcommon-bigint v0.2.10
  Downloaded digest v0.6.2
  Downloaded sha3 v0.6.0
  Downloaded memory_units v0.3.0
  Downloaded libm v0.1.2
  Downloaded sha2 v0.8.0
  Downloaded arrayvec v0.4.10
  Downloaded untrusted v0.6.2
  Downloaded rustc-hex v2.0.1
  Downloaded spin v0.4.10
  Downloaded cc v1.0.31
  Downloaded libc v0.2.50
  Downloaded uint v0.4.1
  Downloaded fixed-hash v0.2.5
  Downloaded crunchy v0.1.6
  Downloaded ripemd160 v0.6.0
  Downloaded etcommon-block-core v0.3.0
  Downloaded etcommon-rlp v0.2.4
  Downloaded quote v0.6.11
  Downloaded serde v1.0.89
  Downloaded tiny-keccak v1.4.2
  Downloaded block-buffer v0.2.0
  Downloaded byte-tools v0.2.0
  Downloaded fake-simd v0.1.2
  Downloaded syn v0.14.9
  Downloaded nodrop v0.1.13
  Downloaded toml v0.4.10
  Downloaded tempfile v3.0.7
  Downloaded opaque-debug v0.2.2
  Downloaded block-buffer v0.7.0
  Downloaded arrayref v0.3.5
  Downloaded elastic-array-plus v0.10.0
  Downloaded generic-array v0.8.3
  Downloaded cfg-if v0.1.7
  Downloaded clap v2.32.0
  Downloaded digest v0.8.0
  Downloaded syn v0.15.29
  Downloaded proc-macro2 v0.4.27
  Downloaded failure_derive v0.1.5
  Downloaded rand v0.4.6
  Downloaded serde_json v1.0.39
  Downloaded hmac-drbg v0.1.2
  Downloaded unicode-xid v0.1.0
  Downloaded typenum v1.10.0
  Downloaded strsim v0.7.0
  Downloaded atty v0.2.11
  Downloaded vec_map v0.8.1
  Downloaded block-padding v0.1.3
  Downloaded remove_dir_all v0.5.1
  Downloaded synstructure v0.10.1
  Downloaded ansi_term v0.11.0
  Downloaded bitflags v1.0.4
  Downloaded rand v0.6.5
  Downloaded textwrap v0.10.0
  Downloaded byte-tools v0.3.1
  Downloaded serde_derive v1.0.89
  Downloaded unicode-width v0.1.5
  Downloaded ryu v0.2.7
  Downloaded generic-array v0.12.0
  Downloaded rand_hc v0.1.0
  Downloaded rand_chacha v0.1.1
  Downloaded rand_os v0.1.3
  Downloaded rand_isaac v0.1.1
  Downloaded rand_pcg v0.1.2
  Downloaded hmac v0.4.2
  Downloaded rand_core v0.4.0
  Downloaded rand_xorshift v0.1.1
  Downloaded rand_jitter v0.1.3
  Downloaded itoa v0.4.3
  Downloaded autocfg v0.1.2
  Downloaded rand_core v0.3.1
  Downloaded crypto-mac v0.4.0
  Downloaded constant_time_eq v0.1.3
   Compiling proc-macro2 v0.4.27
   Compiling unicode-xid v0.1.0
   Compiling libc v0.2.50
   Compiling autocfg v0.1.2
   Compiling syn v0.15.29
   Compiling rand_core v0.4.0
   Compiling serde v1.0.89
   Compiling typenum v1.10.0
   Compiling ryu v0.2.7
   Compiling unicode-width v0.1.5
   Compiling sgx_build_helper v0.1.0 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_unwind v0.0.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_types v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling cfg-if v0.1.7
   Compiling nodrop v0.1.13
   Compiling remove_dir_all v0.5.1
   Compiling ansi_term v0.11.0
   Compiling strsim v0.7.0
   Compiling vec_map v0.8.1
   Compiling itoa v0.4.3
   Compiling bitflags v1.0.4
   Compiling serde v1.0.71 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling constant_time_eq v0.1.3
   Compiling byteorder v1.3.1
   Compiling failure_derive v0.1.5
   Compiling byte-tools v0.2.0
   Compiling byte-tools v0.3.1
   Compiling arrayvec v0.4.10
   Compiling crunchy v0.1.6
   Compiling cc v1.0.31
   Compiling fake-simd v0.1.2
   Compiling spin v0.4.10
   Compiling elastic-array-plus v0.10.0
   Compiling etcommon-hexutil v0.2.4
   Compiling untrusted v0.6.2
   Compiling arrayref v0.3.5
   Compiling opaque-debug v0.2.2
   Compiling rustc-hex v2.0.1
   Compiling rand v0.4.6
   Compiling libm v0.1.2
   Compiling memory_units v0.3.0
   Compiling hashmap_core v0.1.9
   Compiling fixed-hash v0.2.5
   Compiling sgx_tunittest v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
error[E0463]: can't find crate for `std`
  --> /root/.cargo/git/checkouts/rust-sgx-sdk-fc8771c5c45bde9a/212d9f4/xargo/sgx_tunittest/../../sgx_tunittest/src/lib.rs:88:1
   |
88 | extern crate sgx_tstd as std;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: Could not compile `sgx_tunittest`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make[1]: *** [libenclave.a] Error 101
Makefile:14: recipe for target 'libenclave.a' failed
make[1]: Leaving directory '/root/enigma-core/enigma-core/enclave'
Makefile:143: recipe for target 'enclave' failed
make: *** [enclave] Error 2


**** This is a known error. Ignore for now. Will succeed upon retry ***

mkdir -p ./lib
make -C ./enclave/ CARGO_FLAGS=-j8 Rust_target_dir=debug
make[1]: Entering directory '/root/enigma-core/enigma-core/enclave'
cargo build -j8
   Compiling proc-macro2 v0.4.27
   Compiling rand_pcg v0.1.2
   Compiling rand_chacha v0.1.1
   Compiling rand v0.6.5
   Compiling rand_core v0.3.1
   Compiling rand_jitter v0.1.3
   Compiling ryu v0.2.7
   Compiling serde v1.0.89
   Compiling typenum v1.10.0
   Compiling sgx_tstd v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_trts v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_tcrypto v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_tse v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_unwind v0.0.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling textwrap v0.10.0
   Compiling log v0.4.6
   Compiling serde v1.0.71 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling byteorder v1.3.1
   Compiling failure_derive v0.1.5
   Compiling block-padding v0.1.3
   Compiling arrayvec v0.4.10
   Compiling crunchy v0.1.6
   Compiling ring v0.14.3 (https://github.com/elichai/ring.git?rev=sgx-manual#8f2bee8c)
   Compiling lazy_static v1.2.0
   Compiling libc v0.2.50
   Compiling rand_hc v0.1.0
   Compiling rand_xorshift v0.1.1
   Compiling rand_isaac v0.1.1
   Compiling sgx_tprotected_fs v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_alloc v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling sgx_tseal v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling tiny-keccak v1.4.2
   Compiling etcommon-rlp v0.2.4
   Compiling parity-wasm v0.31.3 (https://github.com/enigmampc/parity-wasm.git?branch=enigma#faeef762)
   Compiling uint v0.4.1
   Compiling ethbloom v0.5.1 (https://github.com/enigmampc/primitives.git?rev=sgx-v0.4.0#35df127e)
   Compiling generic-array v0.8.3
   Compiling generic-array v0.12.0
   Compiling rand_os v0.1.3
   Compiling atty v0.2.11
   Compiling quote v0.6.11
   Compiling etcommon-bigint v0.2.10
   Compiling clap v2.32.0
   Compiling digest v0.6.2
   Compiling crypto-mac v0.4.0
   Compiling block-buffer v0.2.0
   Compiling block-buffer v0.7.0
   Compiling digest v0.8.0
   Compiling hmac v0.4.2
   Compiling sha2 v0.6.0
   Compiling sha3 v0.6.0
   Compiling ripemd160 v0.6.0
   Compiling syn v0.15.29
   Compiling syn v0.14.9
   Compiling sha2 v0.8.0
   Compiling hmac-drbg v0.1.2
   Compiling etcommon-block-core v0.3.0
   Compiling libsecp256k1 v0.2.2
   Compiling tempfile v3.0.7
   Compiling ethereum-types v0.4.0 (https://github.com/enigmampc/primitives.git?rev=sgx-v0.4.0#35df127e)
   Compiling sputnikvm v0.10.1 (https://github.com/enigmampc/sputnikvm.git?rev=enigma-next#ef68f18f)
   Compiling itoa v0.4.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling dtoa v0.4.2 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling byteorder v1.2.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling num-traits v0.2.5 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling pwasm-utils v0.5.0 (https://github.com/enigmampc/wasm-utils.git#9fe1db0c)
   Compiling rustc-hex v2.0.1 (https://github.com/enigmampc/rustc-hex.git?rev=sgx-2.0.1-v1.0.4#270d72d1)
   Compiling error-chain v0.12.0 (https://github.com/enigmampc/error-chain.git?rev=sgx-0.12.0#6bfcc339)
   Compiling sgx_tunittest v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling wasmi v0.4.2 (https://github.com/enigmampc/wasmi#cf901b5b)
   Compiling sputnikvm-network-classic v0.10.0 (https://github.com/enigmampc/sputnikvm.git?rev=enigma-next#ef68f18f)
   Compiling rmp v0.8.7 (https://github.com/enigmampc/msgpack-rust.git?rev=sgx-v1.0.4#0a43052c)
   Compiling serde_derive v1.0.71 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling serde_derive v1.0.89
   Compiling synstructure v0.10.1
   Compiling failure v0.1.5
   Compiling serde_json v1.0.24 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling rmp-serde v0.14.0 (https://github.com/enigmampc/msgpack-rust.git?rev=sgx-v1.0.4#0a43052c)
   Compiling treediff v3.0.1 (https://github.com/enigmampc/treediff-rs.git?rev=sgx-v3.0.1-v1.0.4#de7cb9b5)
   Compiling ethabi v6.1.0 (https://github.com/enigmampc/ethabi.git?rev=sgx-v6.1.0#085f0067)
   Compiling json-patch v0.2.2 (https://github.com/enigmampc/json-patch.git?rev=sgx-0.2.2-v1.0.4#50b13ae0)
   Compiling toml v0.4.10
   Compiling serde_json v1.0.39
   Compiling cbindgen v0.8.2
   Compiling enigma-types v0.1.0 (/root/enigma-core/enigma-types)
   Compiling enigma-crypto v0.1.0 (/root/enigma-core/enigma-crypto)
   Compiling enigma-tools-t v0.1.3 (/root/enigma-core/enigma-tools-t)
   Compiling enigma-runtime-t v0.1.0 (/root/enigma-core/enigma-runtime-t)
   Compiling enigma-core-enclave v0.1.3 (/root/enigma-core/enigma-core/enclave)
    Finished dev [unoptimized + debuginfo] target(s) in 4m 25s
cp ./target/debug/libenigmacoreenclave.a ../lib/libenclave.a
make[1]: Leaving directory '/root/enigma-core/enigma-core/enclave'
make -C /root/sgx/compiler-rt/ 2> /dev/null
make[1]: Entering directory '/root/sgx/compiler-rt'
cc -c -Wjump-misses-init -Wstrict-prototypes -Wunsuffixed-float-constants -fstack-protector -ggdb -DDEBUG -UNDEBUG -DSE_DEBUG_LEVEL=SE_TRACE_DEBUG -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls -DITT_ARCH_IA64 -ffreestanding -nostdinc -fvisibility=hidden -fpie -O2  -I../common/inc/ muloti4.c -o muloti4.o
ar rcsD libcompiler-rt-patch.a muloti4.o
make[1]: Leaving directory '/root/sgx/compiler-rt'
/opt/sgxsdk/bin/x64/sgx_edger8r --trusted enclave/Enclave.edl --search-path /opt/sgxsdk/include --search-path /root/sgx/edl --trusted-dir enclave
/opt/sgxsdk/bin/x64/sgx_edger8r --untrusted enclave/Enclave.edl --search-path /opt/sgxsdk/include --search-path /root/sgx/edl --untrusted-dir app
GEN  =>  enclave/Enclave_t.c enclave/Enclave_t.h app/Enclave_u.c app/Enclave_u.h
CC   <=  enclave/Enclave_t.c
ar rcsD app/libEnclave_u.a app/Enclave_u.o
cp app/libEnclave_u.a ./lib
    Updating crates.io index
    Updating git repository `https://github.com/3Hren/msgpack-rust.git`
    Updating git repository `https://github.com/elichai/rust-rocksdb.git`
    Updating git repository `https://github.com/baidu/rust-sgx-sdk.git`
    Updating git repository `https://github.com/elichai/ring.git`
    Updating git repository `https://github.com/tomusdrw/rust-web3.git`
 Downloading crates ...
  Downloaded simplelog v0.5.3
  Downloaded tokio-zmq v0.9.0
  Downloaded lazy_static v1.3.0
  Downloaded rayon v1.0.3
  Downloaded reqwest v0.9.11
  Downloaded make-cmd v0.1.0
  Downloaded base64 v0.10.1
  Downloaded openssl v0.10.19
  Downloaded url v1.7.2
  Downloaded ethereum-types v0.4.2
  Downloaded error-chain v0.12.0
  Downloaded zmq v0.9.0
  Downloaded log-derive v0.2.4
  Downloaded rustc-hex v1.0.0
  Downloaded futures v0.1.25
  Downloaded lru-cache v0.1.1
  Downloaded glob v0.2.11
  Downloaded backtrace v0.3.14
  Downloaded bindgen v0.37.4
  Downloaded tokio-timer v0.1.2
  Downloaded parking_lot v0.7.1
  Downloaded structopt v0.2.15
  Downloaded unicase v2.2.0
  Downloaded hyper v0.12.25
  Downloaded num-traits v0.1.43
  Downloaded ethabi v6.1.0
  Downloaded dirs v1.0.5
  Downloaded jsonrpc-core v8.0.1
  Downloaded tokio-core v0.1.17
  Downloaded either v1.5.1
  Downloaded quote v0.5.2
  Downloaded which v1.0.5
  Downloaded proc-macro2 v0.3.5
  Downloaded cexpr v0.2.3
  Downloaded tokio-timer v0.2.10
  Downloaded async-zmq-types v0.3.1
  Downloaded zmq-sys v0.9.0
  Downloaded bitflags v0.7.0
  Downloaded mime_guess v2.0.0-alpha.6
  Downloaded term v0.5.1
  Downloaded http v0.1.16
  Downloaded uuid v0.7.2
  Downloaded serde_urlencoded v0.5.4
  Downloaded bytes v0.4.12
  Downloaded native-tls v0.2.2
  Downloaded encoding_rs v0.8.17
  Downloaded tokio-tcp v0.1.3
  Downloaded time v0.1.42
  Downloaded iovec v0.1.2
  Downloaded percent-encoding v1.0.1
  Downloaded idna v0.1.5
  Downloaded heapsize v0.4.2
  Downloaded parking_lot_core v0.4.0
  Downloaded lock_api v0.1.5
  Downloaded structopt-derive v0.2.15
  Downloaded crossbeam-deque v0.2.0
  Downloaded env_logger v0.5.13
  Downloaded regex v1.1.2
  Downloaded clang-sys v0.23.0
  Downloaded tokio-reactor v0.1.9
  Downloaded chrono v0.4.6
  Downloaded mio v0.6.16
  Downloaded tokio-executor v0.1.6
  Downloaded tokio v0.1.17
  Downloaded httparse v1.3.3
  Downloaded tokio-io v0.1.12
  Downloaded h2 v0.1.17
  Downloaded matches v0.1.8
  Downloaded net2 v0.2.33
  Downloaded ethereum-types-serialize v0.2.2
  Downloaded version_check v0.1.5
  Downloaded foreign-types v0.3.2
  Downloaded rayon-core v1.4.1
  Downloaded peeking_take_while v0.1.2
  Downloaded num-traits v0.2.6
  Downloaded rustc-demangle v0.1.13
  Downloaded tokio-threadpool v0.1.12
  Downloaded mime v0.3.13
  Downloaded libflate v0.1.21
  Downloaded want v0.0.6
  Downloaded async-zmq-derive v0.1.0
  Downloaded linked-hash-map v0.4.2
  Downloaded hyper-tls v0.3.1
  Downloaded futures-cpupool v0.1.8
  Downloaded openssl-sys v0.9.42
  Downloaded ethbloom v0.5.3
  Downloaded crossbeam-utils v0.2.2
  Downloaded num_cpus v1.10.0
  Downloaded slab v0.3.0
  Downloaded humantime v1.2.0
  Downloaded libloading v0.5.0
  Downloaded thread_local v0.3.6
  Downloaded aho-corasick v0.6.10
  Downloaded slab v0.4.2
  Downloaded nom v3.2.1
  Downloaded owning_ref v0.4.0
  Downloaded rustc_version v0.2.3
  Downloaded lazycell v1.2.1
  Downloaded crossbeam-deque v0.7.1
  Downloaded unicase v1.4.2
  Downloaded fnv v1.0.6
  Downloaded tokio-current-thread v0.1.5
  Downloaded tokio-udp v0.1.3
  Downloaded unicode-normalization v0.1.8
  Downloaded tokio-codec v0.1.1
  Downloaded unicode-bidi v0.3.4
  Downloaded indexmap v1.0.2
  Downloaded crc32fast v1.2.0
  Downloaded foreign-types-shared v0.1.1
  Downloaded backtrace-sys v0.1.28
  Downloaded termcolor v1.0.4
  Downloaded crossbeam-epoch v0.3.1
  Downloaded utf8-ranges v1.0.2
  Downloaded scopeguard v0.3.3
  Downloaded regex-syntax v0.6.5
  Downloaded smallvec v0.6.9
  Downloaded tokio-sync v0.1.4
  Downloaded phf v0.7.24
  Downloaded phf_codegen v0.7.24
  Downloaded tokio-uds v0.2.5
  Downloaded dtoa v0.4.3
  Downloaded try-lock v0.2.2
  Downloaded log v0.3.9
  Downloaded scoped-tls v0.1.2
  Downloaded metadeps v1.1.2
  Downloaded memchr v2.2.0
  Downloaded crossbeam-queue v0.1.2
  Downloaded tokio-trace-core v0.1.0
  Downloaded string v0.1.3
  Downloaded num-integer v0.1.39
  Downloaded heck v0.3.1
  Downloaded tokio-fs v0.1.6
  Downloaded openssl-probe v0.1.2
  Downloaded adler32 v1.0.3
  Downloaded memoffset v0.2.1
  Downloaded ucd-util v0.1.3
  Downloaded error-chain v0.10.0
  Downloaded pkg-config v0.3.14
  Downloaded phf_shared v0.7.24
  Downloaded semver v0.9.0
  Downloaded mio-uds v0.6.7
  Downloaded quick-error v1.2.2
  Downloaded stable_deref_trait v1.1.1
  Downloaded unicode-segmentation v1.2.1
  Downloaded crossbeam-epoch v0.7.1
  Downloaded toml v0.2.1
  Downloaded phf_generator v0.7.24
  Downloaded memchr v1.0.2
  Downloaded crossbeam-utils v0.6.5
  Downloaded semver-parser v0.7.0
  Downloaded siphasher v0.2.3
   Compiling arrayvec v0.4.10
   Compiling libc v0.2.50
   Compiling cfg-if v0.1.7
   Compiling nodrop v0.1.13
   Compiling memoffset v0.2.1
   Compiling lazy_static v1.3.0
   Compiling scopeguard v0.3.3
   Compiling semver-parser v0.7.0
   Compiling autocfg v0.1.2
   Compiling rayon-core v1.4.1
   Compiling proc-macro2 v0.4.27
   Compiling rayon v1.0.3
   Compiling rand_core v0.4.0
   Compiling unicode-xid v0.1.0
   Compiling byteorder v1.3.1
   Compiling either v1.5.1
   Compiling version_check v0.1.5
   Compiling syn v0.15.29
   Compiling stable_deref_trait v1.1.1
   Compiling memchr v2.2.0
   Compiling toml v0.2.1
   Compiling serde v1.0.89
   Compiling smallvec v0.6.9
   Compiling ryu v0.2.7
   Compiling pkg-config v0.3.14
   Compiling error-chain v0.10.0
   Compiling typenum v1.10.0
   Compiling heapsize v0.4.2
   Compiling crunchy v0.1.6
   Compiling slab v0.4.2
   Compiling siphasher v0.2.3
   Compiling unicode-width v0.1.5
   Compiling fnv v1.0.6
   Compiling glob v0.2.11
   Compiling ucd-util v0.1.3
   Compiling lazycell v1.2.1
   Compiling futures v0.1.25
   Compiling regex v1.1.2
   Compiling quick-error v1.2.2
   Compiling itoa v0.4.3
   Compiling remove_dir_all v0.5.1
   Compiling bitflags v1.0.4
   Compiling ansi_term v0.11.0
   Compiling vec_map v0.8.1
   Compiling strsim v0.7.0
   Compiling utf8-ranges v1.0.2
   Compiling termcolor v1.0.4
   Compiling bindgen v0.37.4
   Compiling matches v0.1.8
   Compiling httparse v1.3.3
   Compiling foreign-types-shared v0.1.1
   Compiling rustc-hex v2.0.1
   Compiling openssl v0.10.19
   Compiling constant_time_eq v0.1.3
   Compiling peeking_take_while v0.1.2
   Compiling native-tls v0.2.2
   Compiling crc32fast v1.2.0
   Compiling try-lock v0.2.2
   Compiling rustc-demangle v0.1.13
   Compiling string v0.1.3
   Compiling num-traits v0.2.6
   Compiling byte-tools v0.2.0
   Compiling indexmap v1.0.2
   Compiling byte-tools v0.3.1
   Compiling failure_derive v0.1.5
   Compiling encoding_rs v0.8.17
   Compiling openssl-probe v0.1.2
   Compiling percent-encoding v1.0.1
   Compiling num-integer v0.1.39
   Compiling make-cmd v0.1.0
   Compiling fake-simd v0.1.2
   Compiling untrusted v0.6.2
   Compiling adler32 v1.0.3
   Compiling bitflags v0.7.0
   Compiling scoped-tls v0.1.2
   Compiling spin v0.4.10
   Compiling dtoa v0.4.3
   Compiling opaque-debug v0.2.2
   Compiling slab v0.3.0
   Compiling unicode-segmentation v1.2.1
   Compiling arrayref v0.3.5
   Compiling elastic-array-plus v0.10.0
   Compiling sgx_types v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling rustc-hex v1.0.0
   Compiling enigma-tools-u v0.1.3 (/root/enigma-core/enigma-tools-u)
   Compiling etcommon-hexutil v0.2.4
   Compiling linked-hash-map v0.4.2
   Compiling enigma-core-app v0.1.3 (/root/enigma-core/enigma-core/app)
   Compiling crossbeam-utils v0.2.2
   Compiling log v0.4.6
   Compiling crossbeam-utils v0.6.5
   Compiling thread_local v0.3.6
   Compiling tokio-trace-core v0.1.0
   Compiling proc-macro2 v0.3.5
   Compiling rand_core v0.3.1
   Compiling rand_jitter v0.1.3
   Compiling owning_ref v0.4.0
   Compiling rand_chacha v0.1.1
   Compiling rand_pcg v0.1.2
   Compiling rand v0.6.5
   Compiling backtrace v0.3.14
   Compiling semver v0.9.0
   Compiling unicase v1.4.2
   Compiling unicase v2.2.0
   Compiling unicode-normalization v0.1.8
   Compiling textwrap v0.10.0
   Compiling humantime v1.2.0
   Compiling regex-syntax v0.6.5
   Compiling metadeps v1.1.2
   Compiling unicode-bidi v0.3.4
   Compiling foreign-types v0.3.2
   Compiling clang-sys v0.23.0
   Compiling block-padding v0.1.3
   Compiling heck v0.3.1
   Compiling lru-cache v0.1.1
   Compiling tokio-sync v0.1.4
   Compiling tokio-timer v0.1.2
   Compiling rand_hc v0.1.0
   Compiling rand_xorshift v0.1.1
   Compiling rand_isaac v0.1.1
   Compiling want v0.0.6
   Compiling log v0.3.9
   Compiling lock_api v0.1.5
   Compiling tokio-executor v0.1.6
   Compiling crossbeam-queue v0.1.2
   Compiling rustc_version v0.2.3
   Compiling zmq-sys v0.9.0
   Compiling quote v0.5.2
   Compiling crossbeam-epoch v0.3.1
   Compiling crossbeam-epoch v0.7.1
   Compiling num_cpus v1.10.0
   Compiling rand_os v0.1.3
   Compiling iovec v0.1.2
   Compiling net2 v0.2.33
   Compiling memchr v1.0.2
   Compiling atty v0.2.11
   Compiling rand v0.4.6
   Compiling which v1.0.5
   Compiling time v0.1.42
   Compiling sgx_urts v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)
   Compiling dirs v1.0.5
   Compiling quote v0.6.11
   Compiling tiny-keccak v1.4.2
   Compiling tokio-current-thread v0.1.5
   Compiling tokio-timer v0.2.10
   Compiling uint v0.4.1
   Compiling base64 v0.10.1
   Compiling etcommon-rlp v0.2.4
   Compiling term v0.5.1
   Compiling aho-corasick v0.6.10
   Compiling libflate v0.1.21
   Compiling parking_lot_core v0.4.0
   Compiling generic-array v0.8.3
   Compiling generic-array v0.12.0
   Compiling crossbeam-deque v0.2.0
   Compiling bytes v0.4.12
   Compiling nom v3.2.1
   Compiling crossbeam-deque v0.7.1
   Compiling futures-cpupool v0.1.8
   Compiling clap v2.32.0
   Compiling mio v0.6.16
   Compiling phf_shared v0.7.24
   Compiling num-traits v0.1.43
   Compiling mime v0.3.13
   Compiling fixed-hash v0.2.5
warning: redundant linker flag specified for library `zmq`

   Compiling idna v0.1.5
   Compiling digest v0.6.2
   Compiling crypto-mac v0.4.0
   Compiling block-buffer v0.2.0
   Compiling block-buffer v0.7.0
   Compiling digest v0.8.0
   Compiling tokio-io v0.1.12
   Compiling http v0.1.16
   Compiling phf v0.7.24
   Compiling rmp v0.8.7 (https://github.com/3Hren/msgpack-rust.git#40b3d480)
   Compiling chrono v0.4.6
   Compiling zmq v0.9.0
   Compiling cexpr v0.2.3
   Compiling tempfile v3.0.7
   Compiling phf_generator v0.7.24
   Compiling tokio-threadpool v0.1.12
   Compiling uuid v0.7.2
   Compiling mio-uds v0.6.7
   Compiling hmac v0.4.2
   Compiling sha2 v0.6.0
   Compiling sha2 v0.8.0
   Compiling url v1.7.2
   Compiling tokio-codec v0.1.1
   Compiling phf_codegen v0.7.24
   Compiling simplelog v0.5.3
   Compiling tokio-fs v0.1.6
   Compiling env_logger v0.5.13
   Compiling h2 v0.1.17
   Compiling hmac-drbg v0.1.2
   Compiling parking_lot v0.7.1
   Compiling mime_guess v2.0.0-alpha.6
   Compiling libsecp256k1 v0.2.2
   Compiling tokio-reactor v0.1.9
   Compiling tokio-uds v0.2.5
   Compiling tokio-tcp v0.1.3
   Compiling tokio-udp v0.1.3
   Compiling cc v1.0.31
   Compiling tokio v0.1.17
   Compiling serde_derive v1.0.89
   Compiling synstructure v0.10.1
   Compiling async-zmq-derive v0.1.0
   Compiling structopt-derive v0.2.15
   Compiling log-derive v0.2.4
   Compiling tokio-core v0.1.17
   Compiling libloading v0.5.0
   Compiling backtrace-sys v0.1.28
   Compiling openssl-sys v0.9.42
   Compiling ring v0.14.3 (https://github.com/elichai/ring.git?rev=sgx-manual#8f2bee8c)
   Compiling hyper v0.12.25
   Compiling structopt v0.2.15
   Compiling error-chain v0.12.0
   Compiling failure v0.1.5
   Compiling async-zmq-types v0.3.1
   Compiling tokio-zmq v0.9.0
   Compiling hyper-tls v0.3.1
   Compiling serde_json v1.0.39
   Compiling toml v0.4.10
   Compiling ethereum-types-serialize v0.2.2
   Compiling serde_urlencoded v0.5.4
   Compiling rmp-serde v0.14.0 (https://github.com/3Hren/msgpack-rust.git#40b3d480)
   Compiling ethbloom v0.5.3
   Compiling ethereum-types v0.4.2
   Compiling jsonrpc-core v8.0.1
   Compiling reqwest v0.9.11
   Compiling cbindgen v0.8.2
   Compiling librocksdb-sys v5.14.2 (https://github.com/elichai/rust-rocksdb.git#94a71d71)
   Compiling ethabi v6.1.0
   Compiling web3 v0.6.0 (https://github.com/tomusdrw/rust-web3.git#56ad08e0)
   Compiling enigma-types v0.1.0 (/root/enigma-core/enigma-types)
   Compiling enigma-crypto v0.1.0 (/root/enigma-core/enigma-crypto)
error: failed to run custom build command for `librocksdb-sys v5.14.2 (https://github.com/elichai/rust-rocksdb.git#94a71d71)`
process didn't exit successfully: `/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-5917685663917303/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=rocksdb/
cargo:rerun-if-changed=snappy/
cargo:rerun-if-changed=lz4/
cargo:rerun-if-changed=zstd/
cargo:rerun-if-changed=zlib/
cargo:rerun-if-changed=bzip2/
NUM_JOBS = Some("8")
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/cache/clock_cache.o" "-c" "rocksdb/cache/clock_cache.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/full_filter_block.o" "-c" "rocksdb/table/full_filter_block.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/write_batch.o" "-c" "rocksdb/db/write_batch.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/thread_status_updater.o" "-c" "rocksdb/monitoring/thread_status_updater.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/experimental.o" "-c" "rocksdb/db/experimental.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block.o" "-c" "rocksdb/table/block.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_filesnapshot.o" "-c" "rocksdb/db/db_filesnapshot.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/options/options.o" "-c" "rocksdb/options/options.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/thread_status_updater_debug.o" "-c" "rocksdb/monitoring/thread_status_updater_debug.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/cache/lru_cache.o" "-c" "rocksdb/cache/lru_cache.cc"
exit code: 0
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/get_context.o" "-c" "rocksdb/table/get_context.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/cache/sharded_cache.o" "-c" "rocksdb/cache/sharded_cache.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_based_filter_block.o" "-c" "rocksdb/table/block_based_filter_block.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/options/options_helper.o" "-c" "rocksdb/options/options_helper.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/builder.o" "-c" "rocksdb/db/builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/thread_status_util.o" "-c" "rocksdb/monitoring/thread_status_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/external_sst_file_ingestion_job.o" "-c" "rocksdb/db/external_sst_file_ingestion_job.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl.o" "-c" "rocksdb/db/db_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_based_table_builder.o" "-c" "rocksdb/table/block_based_table_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/index_builder.o" "-c" "rocksdb/table/index_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/thread_status_util_debug.o" "-c" "rocksdb/monitoring/thread_status_util_debug.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/write_batch_base.o" "-c" "rocksdb/db/write_batch_base.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/write_controller.o" "-c" "rocksdb/db/write_controller.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/options/cf_options.o" "-c" "rocksdb/options/cf_options.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/write_thread.o" "-c" "rocksdb/db/write_thread.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/options/db_options.o" "-c" "rocksdb/options/db_options.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/env.o" "-c" "rocksdb/env/env.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/iterator.o" "-c" "rocksdb/table/iterator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/file_indexer.o" "-c" "rocksdb/db/file_indexer.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/merging_iterator.o" "-c" "rocksdb/table/merging_iterator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/memtable_list.o" "-c" "rocksdb/db/memtable_list.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/c.o" "-c" "rocksdb/db/c.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_based_table_factory.o" "-c" "rocksdb/table/block_based_table_factory.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/env_chroot.o" "-c" "rocksdb/env/env_chroot.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/flush_job.o" "-c" "rocksdb/db/flush_job.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/env_encryption.o" "-c" "rocksdb/env/env_encryption.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/meta_blocks.o" "-c" "rocksdb/table/meta_blocks.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/env_hdfs.o" "-c" "rocksdb/env/env_hdfs.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/column_family.o" "-c" "rocksdb/db/column_family.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/env_posix.o" "-c" "rocksdb/env/env_posix.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_based_table_reader.o" "-c" "rocksdb/table/block_based_table_reader.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/merge_helper.o" "-c" "rocksdb/db/merge_helper.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/partitioned_filter_block.o" "-c" "rocksdb/table/partitioned_filter_block.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/io_posix.o" "-c" "rocksdb/env/io_posix.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/flush_scheduler.o" "-c" "rocksdb/db/flush_scheduler.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/merge_operator.o" "-c" "rocksdb/db/merge_operator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/range_del_aggregator.o" "-c" "rocksdb/db/range_del_aggregator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/env/mock_env.o" "-c" "rocksdb/env/mock_env.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/options/options_parser.o" "-c" "rocksdb/options/options_parser.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/forward_iterator.o" "-c" "rocksdb/db/forward_iterator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/alloc_tracker.o" "-c" "rocksdb/memtable/alloc_tracker.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/persistent_cache_helper.o" "-c" "rocksdb/table/persistent_cache_helper.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/hash_cuckoo_rep.o" "-c" "rocksdb/memtable/hash_cuckoo_rep.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/repair.o" "-c" "rocksdb/db/repair.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_builder.o" "-c" "rocksdb/table/block_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/options/options_sanity_check.o" "-c" "rocksdb/options/options_sanity_check.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/plain_table_builder.o" "-c" "rocksdb/table/plain_table_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_fetcher.o" "-c" "rocksdb/table/block_fetcher.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/port/port_posix.o" "-c" "rocksdb/port/port_posix.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/port/stack_trace.o" "-c" "rocksdb/port/stack_trace.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/adaptive_table_factory.o" "-c" "rocksdb/table/adaptive_table_factory.cc"
exit code: 0
running: "c++Makefile:119: recipe for target 'enigma-core-app' failed
" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/hash_linklist_rep.o" "-c" "rocksdb/memtable/hash_linklist_rep.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/internal_stats.o" "-c" "rocksdb/db/internal_stats.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/block_prefix_index.o" "-c" "rocksdb/table/block_prefix_index.cc"
exit code: 0
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/plain_table_factory.o" "-c" "rocksdb/table/plain_table_factory.cc"
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/compacted_db_impl.o" "-c" "rocksdb/db/compacted_db_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/cuckoo_table_factory.o" "-c" "rocksdb/table/cuckoo_table_factory.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/bloom_block.o" "-c" "rocksdb/table/bloom_block.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/hash_skiplist_rep.o" "-c" "rocksdb/memtable/hash_skiplist_rep.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/cuckoo_table_builder.o" "-c" "rocksdb/table/cuckoo_table_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/snapshot_impl.o" "-c" "rocksdb/db/snapshot_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/cuckoo_table_reader.o" "-c" "rocksdb/table/cuckoo_table_reader.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/table_cache.o" "-c" "rocksdb/db/table_cache.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/plain_table_index.o" "-c" "rocksdb/table/plain_table_index.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/skiplistrep.o" "-c" "rocksdb/memtable/skiplistrep.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/blob_db/blob_log_format.o" "-c" "rocksdb/utilities/blob_db/blob_log_format.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/logs_with_prep_tracker.o" "-c" "rocksdb/db/logs_with_prep_tracker.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_compaction_flush.o" "-c" "rocksdb/db/db_impl_compaction_flush.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/plain_table_key_coding.o" "-c" "rocksdb/table/plain_table_key_coding.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/log_reader.o" "-c" "rocksdb/db/log_reader.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/compaction.o" "-c" "rocksdb/db/compaction.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/blob_db/blob_log_reader.o" "-c" "rocksdb/utilities/blob_db/blob_log_reader.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/table_properties_collector.o" "-c" "rocksdb/db/table_properties_collector.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/flush_block_policy.o" "-c" "rocksdb/table/flush_block_policy.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/vectorrep.o" "-c" "rocksdb/memtable/vectorrep.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/log_writer.o" "-c" "rocksdb/db/log_writer.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/blob_db/blob_log_writer.o" "-c" "rocksdb/utilities/blob_db/blob_log_writer.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/plain_table_reader.o" "-c" "rocksdb/table/plain_table_reader.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/malloc_stats.o" "-c" "rocksdb/db/malloc_stats.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/format.o" "-c" "rocksdb/table/format.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/transaction_log_impl.o" "-c" "rocksdb/db/transaction_log_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/managed_iterator.o" "-c" "rocksdb/db/managed_iterator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/memtable/write_buffer_manager.o" "-c" "rocksdb/memtable/write_buffer_manager.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/compaction_iterator.o" "-c" "rocksdb/db/compaction_iterator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/blob_db/ttl_extractor.o" "-c" "rocksdb/utilities/blob_db/ttl_extractor.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/histogram.o" "-c" "rocksdb/monitoring/histogram.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/histogram_windowing.o" "-c" "rocksdb/monitoring/histogram_windowing.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/cassandra/cassandra_compaction_filter.o" "-c" "rocksdb/utilities/cassandra/cassandra_compaction_filter.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_open.o" "-c" "rocksdb/db/db_impl_open.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/sst_file_writer.o" "-c" "rocksdb/table/sst_file_writer.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/version_builder.o" "-c" "rocksdb/db/version_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/instrumented_mutex.o" "-c" "rocksdb/monitoring/instrumented_mutex.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_debug.o" "-c" "rocksdb/db/db_impl_debug.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/cassandra/format.o" "-c" "rocksdb/utilities/cassandra/format.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_experimental.o" "-c" "rocksdb/db/db_impl_experimental.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/memtable.o" "-c" "rocksdb/db/memtable.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/compaction_job.o" "-c" "rocksdb/db/compaction_job.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/iostats_context.o" "-c" "rocksdb/monitoring/iostats_context.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/cassandra/merge_operator.o" "-c" "rocksdb/utilities/cassandra/merge_operator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/table_properties.o" "-c" "rocksdb/table/table_properties.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/perf_context.o" "-c" "rocksdb/monitoring/perf_context.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/checkpoint/checkpoint_impl.o" "-c" "rocksdb/utilities/checkpoint/checkpoint_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_info_dumper.o" "-c" "rocksdb/db/db_info_dumper.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/perf_level.o" "-c" "rocksdb/monitoring/perf_level.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/version_edit.o" "-c" "rocksdb/db/version_edit.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_files.o" "-c" "rocksdb/db/db_impl_files.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/statistics.o" "-c" "rocksdb/monitoring/statistics.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/table/two_level_iterator.o" "-c" "rocksdb/table/two_level_iterator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_iter.o" "-c" "rocksdb/db/db_iter.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/monitoring/thread_status_impl.o" "-c" "rocksdb/monitoring/thread_status_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/compaction_filters/remove_emptyvalue_compactionfilter.o" "-c" "rocksdb/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/merge_operators/bytesxor.o" "-c" "rocksdb/utilities/merge_operators/bytesxor.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/convenience/info_log_finder.o" "-c" "rocksdb/utilities/convenience/info_log_finder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/option_change_migration/option_change_migration.o" "-c" "rocksdb/utilities/option_change_migration/option_change_migration.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/tools/dump/db_dump_tool.o" "-c" "rocksdb/tools/dump/db_dump_tool.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/version_set.o" "-c" "rocksdb/db/version_set.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/date_tiered/date_tiered_db_impl.o" "-c" "rocksdb/utilities/date_tiered/date_tiered_db_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_readonly.o" "-c" "rocksdb/db/db_impl_readonly.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/compaction_picker.o" "-c" "rocksdb/db/compaction_picker.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/options/options_util.o" "-c" "rocksdb/utilities/options/options_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/document/json_document.o" "-c" "rocksdb/utilities/document/json_document.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/arena.o" "-c" "rocksdb/util/arena.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/dbformat.o" "-c" "rocksdb/db/dbformat.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/auto_roll_logger.o" "-c" "rocksdb/util/auto_roll_logger.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/document/json_document_builder.o" "-c" "rocksdb/utilities/document/json_document_builder.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/persistent_cache/block_cache_tier.o" "-c" "rocksdb/utilities/persistent_cache/block_cache_tier.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/event_helpers.o" "-c" "rocksdb/db/event_helpers.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/env_mirror.o" "-c" "rocksdb/utilities/env_mirror.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/bloom.o" "-c" "rocksdb/util/bloom.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/debug.o" "-c" "rocksdb/utilities/debug.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/compaction_picker_universal.o" "-c" "rocksdb/db/compaction_picker_universal.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/env_timed.o" "-c" "rocksdb/utilities/env_timed.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/db_impl_write.o" "-c" "rocksdb/db/db_impl_write.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/geodb/geodb_impl.o" "-c" "rocksdb/utilities/geodb/geodb_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/coding.o" "-c" "rocksdb/util/coding.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/compaction_job_stats_impl.o" "-c" "rocksdb/util/compaction_job_stats_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/persistent_cache/block_cache_tier_file.o" "-c" "rocksdb/utilities/persistent_cache/block_cache_tier_file.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/comparator.o" "-c" "rocksdb/util/comparator.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/convenience.o" "-c" "rocksdb/db/convenience.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/concurrent_arena.o" "-c" "rocksdb/util/concurrent_arena.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/document/document_db.o" "-c" "rocksdb/utilities/document/document_db.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/lua/rocks_lua_compaction_filter.o" "-c" "rocksdb/utilities/lua/rocks_lua_compaction_filter.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/memory/memory_util.o" "-c" "rocksdb/utilities/memory/memory_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/leveldb_options/leveldb_options.o" "-c" "rocksdb/utilities/leveldb_options/leveldb_options.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/persistent_cache/block_cache_tier_metadata.o" "-c" "rocksdb/utilities/persistent_cache/block_cache_tier_metadata.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/crc32c.o" "-c" "rocksdb/util/crc32c.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/db/wal_manager.o" "-c" "rocksdb/db/wal_manager.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/delete_scheduler.o" "-c" "rocksdb/util/delete_scheduler.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/dynamic_bloom.o" "-c" "rocksdb/util/dynamic_bloom.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/status.o" "-c" "rocksdb/util/status.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/status_message.o" "-c" "rocksdb/util/status_message.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/string_util.o" "-c" "rocksdb/util/string_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/event_logger.o" "-c" "rocksdb/util/event_logger.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/persistent_cache/persistent_cache_tier.o" "-c" "rocksdb/utilities/persistent_cache/persistent_cache_tier.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/transaction_test_util.o" "-c" "rocksdb/util/transaction_test_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/sync_point.o" "-c" "rocksdb/util/sync_point.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/thread_local.o" "-c" "rocksdb/util/thread_local.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/file_reader_writer.o" "-c" "rocksdb/util/file_reader_writer.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/persistent_cache/volatile_tier_impl.o" "-c" "rocksdb/utilities/persistent_cache/volatile_tier_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/sync_point_impl.o" "-c" "rocksdb/util/sync_point_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/merge_operators/max.o" "-c" "rocksdb/utilities/merge_operators/max.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/merge_operators/put.o" "-c" "rocksdb/utilities/merge_operators/put.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/threadpool_imp.o" "-c" "rocksdb/util/threadpool_imp.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/optimistic_transaction_db_impl.o" "-c" "rocksdb/utilities/transactions/optimistic_transaction_db_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/merge_operators/string_append/stringappend2.o" "-c" "rocksdb/utilities/merge_operators/string_append/stringappend2.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/xxhash.o" "-c" "rocksdb/util/xxhash.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/file_util.o" "-c" "rocksdb/util/file_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/transaction_util.o" "-c" "rocksdb/utilities/transactions/transaction_util.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/merge_operators/string_append/stringappend.o" "-c" "rocksdb/utilities/merge_operators/string_append/stringappend.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/backupable/backupable_db.o" "-c" "rocksdb/utilities/backupable/backupable_db.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/merge_operators/uint64add.o" "-c" "rocksdb/utilities/merge_operators/uint64add.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/simulator_cache/sim_cache.o" "-c" "rocksdb/utilities/simulator_cache/sim_cache.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/redis/redis_lists.o" "-c" "rocksdb/utilities/redis/redis_lists.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/hash.o" "-c" "rocksdb/util/hash.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/log_buffer.o" "-c" "rocksdb/util/log_buffer.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/random.o" "-c" "rocksdb/util/random.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/spatialdb/spatial_db.o" "-c" "rocksdb/utilities/spatialdb/spatial_db.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/murmurhash.o" "-c" "rocksdb/util/murmurhash.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/rate_limiter.o" "-c" "rocksdb/util/rate_limiter.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/slice.o" "-c" "rocksdb/util/slice.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/snapshot_checker.o" "-c" "rocksdb/utilities/transactions/snapshot_checker.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/sst_file_manager_impl.o" "-c" "rocksdb/util/sst_file_manager_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/filename.o" "-c" "rocksdb/util/filename.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/util/filter_policy.o" "-c" "rocksdb/util/filter_policy.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/write_prepared_txn.o" "-c" "rocksdb/utilities/transactions/write_prepared_txn.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/pessimistic_transaction.o" "-c" "rocksdb/utilities/transactions/pessimistic_transaction.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/transaction_db_mutex_impl.o" "-c" "rocksdb/utilities/transactions/transaction_db_mutex_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/transaction_lock_mgr.o" "-c" "rocksdb/utilities/transactions/transaction_lock_mgr.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/ttl/db_ttl_impl.o" "-c" "rocksdb/utilities/ttl/db_ttl_impl.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/blob_db/blob_compaction_filter.o" "-c" "rocksdb/utilities/blob_db/blob_compaction_filter.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector.o" "-c" "rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/optimistic_transaction.o" "-c" "rocksdb/utilities/transactions/optimistic_transaction.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/transaction_base.o" "-c" "rocksdb/utilities/transactions/transaction_base.cc"
exit code: 0
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/pessimistic_transaction_db.o" "-c" "rocksdb/utilities/transactions/pessimistic_transaction_db.cc"
cargo:warning=c++: internal compiler error: Killed (program cc1plus)
cargo:warning=Please submit a full bug report,
cargo:warning=with preprocessed source if appropriate.
cargo:warning=See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
exit code: 4
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0
exit code: 0

--- stderr
error: toolchain 'nightly-2018-10-01-x86_64-unknown-linux-gnu' does not have the binary `rustfmt`
Custom { kind: Other, error: StringError("Internal rustfmt error") }
thread 'main' panicked at '

Internal error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/root/enigma-core/enigma-core/app/target/debug/build/librocksdb-sys-7a21abfb02353f79/out/rocksdb/utilities/transactions/write_prepared_txn.o" "-c" "rocksdb/utilities/transactions/write_prepared_txn.cc" with args "c++" did not execute successfully (status code exit code: 4).

', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.31/src/lib.rs:2367:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

make: *** [enigma-core-app] Error 101

Desktop (please complete the following information):

  • OS: MacOS Sierra
  • Version 10.12.6
  • CPU Details: 3.1 GHz Intel Core i7

Failed Creating the loggers

Describe the bug
Upon starting core, it throws the following error:

thread 'main' panicked at 'Failed Creating the loggers: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libcore/result.rs:1009:5

To Reproduce
Steps to reproduce the behavior:

  1. Compile the current develop branch
  2. Launch core with ./target/release/enigma-core-app

Expected behavior

I was expecting core to start as usual

Backtrace

FYI, the core_1 prepended to all messages is from the docker-compose setup:

core_1        | thread 'main' panicked at 'Failed Creating the loggers: Os { code: 2, kind: NotFound, message: "No such file or directory" }
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::hdfd00623e65741c1 (0x5651257d1f6d)
core_1        |    1: <failure::backtrace::Backtrace as core::default::Default>::default::h2d37721f771f169f (0x5651257d21ff)
core_1        |    2: failure::backtrace::Backtrace::new::h292cfb08c74e6fd4 (0x5651257d2238)
core_1        |    3: enigma_core_app::main::h78bf4afd2e03b107 (0x56512573577b)
core_1        |    4: std::rt::lang_start::{{closure}}::hed8e7dca192a03c8 (0x5651256f1c12)
core_1        |    5: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x565125bb71b2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |    6: __rust_maybe_catch_panic (0x565125bd8229)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |    7: std::panicking::try::h97436c380f30f437 (0x565125bb9705)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |    8: main (0x565125735d83)
core_1        |    9: __libc_start_main (0x7f889d09fb96)
core_1        |   10: _start (0x565125693c59)
core_1        |   11: <unknown> (0x0)', libcore/result.rs:1009:5
core_1        | stack backtrace:
core_1        |    0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
core_1        |              at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
core_1        |    1: std::sys_common::backtrace::print
core_1        |              at libstd/sys_common/backtrace.rs:71
core_1        |              at libstd/sys_common/backtrace.rs:59
core_1        |    2: std::panicking::default_hook::{{closure}}
core_1        |              at libstd/panicking.rs:211
core_1        |    3: std::panicking::default_hook
core_1        |              at libstd/panicking.rs:227
core_1        |    4: std::panicking::rust_panic_with_hook
core_1        |              at libstd/panicking.rs:476
core_1        |    5: std::panicking::continue_panic_fmt
core_1        |              at libstd/panicking.rs:390
core_1        |    6: rust_begin_unwind
core_1        |              at libstd/panicking.rs:325
core_1        |    7: core::panicking::panic_fmt
core_1        |              at libcore/panicking.rs:77
core_1        |    8: core::result::unwrap_failed
core_1        |    9: enigma_core_app::main
core_1        |   10: std::rt::lang_start::{{closure}}
core_1        |   11: std::panicking::try::do_call
core_1        |              at libstd/rt.rs:59
core_1        |              at libstd/panicking.rs:310
core_1        |   12: __rust_maybe_catch_panic
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   13: std::rt::lang_start_internal
core_1        |              at libstd/panicking.rs:289
core_1        |              at libstd/panic.rs:392
core_1        |              at libstd/rt.rs:58
core_1        |   14: main
core_1        |   15: __libc_start_main
core_1        |   16: _start

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version: 16.04

Build core fails due to dependency error

Describe the bug
Seemingly out of the blue, trying to build core on the develop branch now fails with the following error:

error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.14/Cargo.toml`                                                 

Caused by:
  feature `rename-dependency` is required

consider adding `cargo-features = ["rename-dependency"]` to the manifest

To Reproduce
Steps to reproduce the behavior:

  1. In the discovery-integration-tests, try to build the core container with:
docker-compose build core

which essentially runs the following commands on core.

cd enigma-core/enigma-core
make full-clean
make DEBUG=1

Expected behavior
The build should succeed.

Backtrace

root@core:~/enigma-core# cd enigma-core
root@core:~/enigma-core/enigma-core# . /opt/sgxsdk/environment && . /root/.cargo/env 
root@core:~/enigma-core/enigma-core# make full-clean
root@core:~/enigma-core/enigma-core# make DEBUG=1
mkdir -p ./lib
make -C ./enclave/ CARGO_FLAGS=  Rust_target_dir=debug
make[1]: Entering directory '/root/enigma-core/enigma-core/enclave'
cargo build 
    Updating git repository `https://github.com/enigmampc/error-chain.git`
    Updating crates.io index                                                                                                                                                
    Updating git repository `https://github.com/enigmampc/ethabi.git`                                                                                                       
    Updating git repository `https://github.com/enigmampc/parity-wasm.git`                                                                                                  
    Updating git repository `https://github.com/enigmampc/wasm-utils.git`                                                                                                   
    Updating git repository `https://github.com/baidu/rust-sgx-sdk.git`                                                                                                     
    Updating git repository `https://github.com/enigmampc/sputnikvm.git`                                                                                                    
    Updating git repository `https://github.com/enigmampc/wasmi`                                                                                                            
    Updating git repository `https://github.com/elichai/ring.git`                                                                                                           
    Updating git repository `https://github.com/enigmampc/json-patch.git`                                                                                                   
    Updating git repository `https://github.com/enigmampc/msgpack-rust.git`                                                                                                 
    Updating git repository `https://github.com/enigmampc/primitives.git`                                                                                                   
    Updating git repository `https://github.com/enigmampc/rustc-hex.git`                                                                                                    
    Updating git repository `https://github.com/enigmampc/treediff-rs.git`                                                                                                  
   Compiling proc-macro2 v0.4.27                                                                                                                                            
   Compiling unicode-xid v0.1.0                                                                                                                                             
   Compiling autocfg v0.1.2                                                                                                                                                 
   Compiling libc v0.2.51                                                                                                                                                   
   Compiling syn v0.15.30                                                                                                                                                   
   Compiling rand_core v0.4.0                                                                                                                                               
   Compiling typenum v1.10.0                                                                                                                                                
   Compiling serde v1.0.90                                                                                                                                                  
   Compiling ryu v0.2.7                                                                                                                                                     
   Compiling unicode-width v0.1.5                                                                                                                                           
   Compiling vec_map v0.8.1                                                                                                                                                 
   Compiling cfg-if v0.1.7                                                                                                                                                  
   Compiling strsim v0.8.0                                                                                                                                                  
   Compiling remove_dir_all v0.5.1                                                                                                                                          
   Compiling sgx_unwind v0.0.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                              
   Compiling bitflags v1.0.4                                                                                                                                                
   Compiling sgx_build_helper v0.1.0 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                        
   Compiling nodrop v0.1.13                                                                                                                                                 
   Compiling itoa v0.4.3                                                                                                                                                    
   Compiling crunchy v0.1.6                                                                                                                                                 
   Compiling sgx_types v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                               
   Compiling ansi_term v0.11.0                                                                                                                                              
   Compiling constant_time_eq v0.1.3                                                                                                                                        
   Compiling byteorder v1.3.1                                                                                                                                               
   Compiling byte-tools v0.3.1                                                                                                                                              
   Compiling failure_derive v0.1.5                                                                                                                                          
   Compiling cc v1.0.35                                                                                                                                                     
   Compiling serde v1.0.71 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                                  
   Compiling byte-tools v0.2.0                                                                                                                                              
   Compiling arrayvec v0.4.10                                                                                                                                               
   Compiling fixed-hash v0.2.5                                                                                                                                              
   Compiling rustc-hex v2.0.1                                                                                                                                               
   Compiling spin v0.4.10                                                                                                                                                   
   Compiling fake-simd v0.1.2                                                                                                                                               
   Compiling opaque-debug v0.2.2                                                                                                                                            
   Compiling elastic-array-plus v0.10.0                                                                                                                                     
   Compiling etcommon-hexutil v0.2.4                                                                                                                                        
   Compiling arrayref v0.3.5                                                                                                                                                
   Compiling rand v0.4.6                                                                                                                                                    
   Compiling untrusted v0.6.2                                                                                                                                               
   Compiling hashmap_core v0.1.9                                                                                                                                            
   Compiling libm v0.1.2                                                                                                                                                    
   Compiling memory_units v0.3.0                                                                                                                                            
   Compiling rand_core v0.3.1                                                                                                                                               
   Compiling rand_jitter v0.1.3                                                                                                                                             
   Compiling rand_pcg v0.1.2                                                                                                                                                
   Compiling rand_chacha v0.1.1                                                                                                                                             
   Compiling rand v0.6.5                                                                                                                                                    
   Compiling log v0.4.6                                                                                                                                                     
   Compiling textwrap v0.11.0                                                                                                                                               
   Compiling block-padding v0.1.3                                                                                                                                           
   Compiling sgx_tstd v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                                
   Compiling sgx_trts v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                                
   Compiling sgx_tcrypto v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                             
   Compiling sgx_tse v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                                 
   Compiling lazy_static v1.2.0                                                                                                                                             
   Compiling rand_xorshift v0.1.1                                                                                                                                           
   Compiling rand_isaac v0.1.1                                                                                                                                              
   Compiling rand_hc v0.1.0                                                                                                                                                 
   Compiling ring v0.14.3 (https://github.com/elichai/ring.git?rev=sgx-manual#8f2bee8c)                                                                                     
   Compiling sgx_tprotected_fs v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                       
   Compiling sgx_alloc v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                               
   Compiling sgx_tseal v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                               
   Compiling tiny-keccak v1.4.2                                                                                                                                             
   Compiling uint v0.4.1                                                                                                                                                    
   Compiling etcommon-rlp v0.2.4                                                                                                                                            
   Compiling parity-wasm v0.31.3 (https://github.com/enigmampc/parity-wasm.git?branch=enigma#faeef762)                                                                      
   Compiling rand_os v0.1.3                                                                                                                                                 
   Compiling atty v0.2.11                                                                                                                                                   
   Compiling ethbloom v0.5.1 (https://github.com/enigmampc/primitives.git?rev=sgx-v0.4.0#35df127e)                                                                          
   Compiling generic-array v0.8.3                                                                                                                                           
   Compiling generic-array v0.12.0                                                                                                                                          
   Compiling clap v2.33.0                                                                                                                                                   
   Compiling etcommon-bigint v0.2.10                                                                                                                                        
   Compiling quote v0.6.12                                                                                                                                                  
   Compiling crypto-mac v0.4.0                                                                                                                                              
   Compiling digest v0.6.2                                                                                                                                                  
   Compiling block-buffer v0.2.0                                                                                                                                            
   Compiling block-buffer v0.7.0                                                                                                                                            
   Compiling digest v0.8.0                                                                                                                                                  
   Compiling syn v0.14.9                                                                                                                                                    
   Compiling tempfile v3.0.7                                                                                                                                                
   Compiling hmac v0.4.2                                                                                                                                                    
   Compiling sha2 v0.6.0                                                                                                                                                    
   Compiling sha3 v0.6.0                                                                                                                                                    
   Compiling ripemd160 v0.6.0                                                                                                                                               
   Compiling sha2 v0.8.0                                                                                                                                                    
   Compiling itoa v0.4.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                                    
   Compiling num-traits v0.2.5 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                              
   Compiling byteorder v1.2.1 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                               
   Compiling dtoa v0.4.2 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                                    
   Compiling rustc-hex v2.0.1 (https://github.com/enigmampc/rustc-hex.git?rev=sgx-2.0.1-v1.0.4#270d72d1)                                                                    
   Compiling error-chain v0.12.0 (https://github.com/enigmampc/error-chain.git?rev=sgx-0.12.0#6bfcc339)                                                                     
   Compiling pwasm-utils v0.5.0 (https://github.com/enigmampc/wasm-utils.git#9fe1db0c)                                                                                      
   Compiling sgx_tunittest v1.0.4 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                           
   Compiling hmac-drbg v0.1.2                                                                                                                                               
   Compiling etcommon-block-core v0.3.0                                                                                                                                     
   Compiling wasmi v0.4.2 (https://github.com/enigmampc/wasmi#cf901b5b)                                                                                                     
   Compiling rmp v0.8.7 (https://github.com/enigmampc/msgpack-rust.git?rev=sgx-v1.0.4#0a43052c)                                                                             
   Compiling ethereum-types v0.4.0 (https://github.com/enigmampc/primitives.git?rev=sgx-v0.4.0#35df127e)                                                                    
   Compiling libsecp256k1 v0.2.2                                                                                                                                            
   Compiling serde_derive v1.0.71 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                           
   Compiling sputnikvm v0.10.1 (https://github.com/enigmampc/sputnikvm.git?rev=enigma-next#ef68f18f)                                                                        
   Compiling sputnikvm-network-classic v0.10.0 (https://github.com/enigmampc/sputnikvm.git?rev=enigma-next#ef68f18f)                                                        
   Compiling serde_derive v1.0.90                                                                                                                                           
   Compiling synstructure v0.10.1                                                                                                                                           
   Compiling log-derive v0.2.4                                                                                                                                              
   Compiling failure v0.1.5                                                                                                                                                 
   Compiling serde_json v1.0.24 (https://github.com/baidu/rust-sgx-sdk.git?rev=v1.0.4#212d9f4b)                                                                             
   Compiling rmp-serde v0.14.0 (https://github.com/enigmampc/msgpack-rust.git?rev=sgx-v1.0.4#0a43052c)                                                                      
   Compiling treediff v3.0.1 (https://github.com/enigmampc/treediff-rs.git?rev=sgx-v3.0.1-v1.0.4#de7cb9b5)                                                                  
   Compiling ethabi v6.1.0 (https://github.com/enigmampc/ethabi.git?rev=sgx-v6.1.0#085f0067)                                                                                
   Compiling json-patch v0.2.2 (https://github.com/enigmampc/json-patch.git?rev=sgx-0.2.2-v1.0.4#50b13ae0)                                                                  
   Compiling toml v0.4.10                                                                                                                                                   
   Compiling serde_json v1.0.39                                                                                                                                             
   Compiling cbindgen v0.8.3                                                                                                                                                
   Compiling enigma-types v0.1.0 (/root/enigma-core/enigma-types)                                                                                                           
   Compiling enigma-crypto v0.1.0 (/root/enigma-core/enigma-crypto)                                                                                                         
   Compiling enigma-tools-m v0.1.0 (/root/enigma-core/enigma-tools-m)                                                                                                       
   Compiling enigma-tools-t v0.1.3 (/root/enigma-core/enigma-tools-t)                                                                                                       
warning: unused `#[macro_use]` import                                                                                                                                       
  --> /root/enigma-core/enigma-tools-t/src/lib.rs:19:1                                                                                                                      
   |                                                                                                                                                                        
19 | #[macro_use]                                                                                                                                                           
   | ^^^^^^^^^^^^                                                                                                                                                           
   |                                                                                                                                                                        
   = note: #[warn(unused_imports)] on by default                                                                                                                            
                                                                                                                                                                            
warning: unused extern crate                                                                                                                                                
  --> /root/enigma-core/enigma-tools-t/src/lib.rs:18:1                                                                                                                      
   |                                                                                                                                                                        
18 | extern crate rmp_serde;                                                                                                                                                
   | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it                                                                                                                                
   |                                                                                                                                                                        
note: lint level defined here                                                                                                                                               
  --> /root/enigma-core/enigma-tools-t/src/lib.rs:5:9                                                                                                                       
   |                                                                                                                                                                        
5  | #![warn(unused_extern_crates)]                                                                                                                                         
   |         ^^^^^^^^^^^^^^^^^^^^                                                                                                                                           
                                                                                                                                                                            
warning: unused extern crate                                                                                                                                                
  --> /root/enigma-core/enigma-tools-t/src/lib.rs:21:1                                                                                                                      
   |                                                                                                                                                                        
21 | extern crate serde_json;                                                                                                                                               
   | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it                                                                                                                               
                                                                                                                                                                            
warning: unused extern crate                                                                                                                                                
  --> /root/enigma-core/enigma-tools-t/src/lib.rs:22:1                                                                                                                      
   |                                                                                                                                                                        
22 | extern crate sgx_trts;                                                                                                                                                 
   | ^^^^^^^^^^^^^^^^^^^^^^ help: remove it                                                                                                                                 
                                                                                                                                                                            
warning: variable does not need to be mutable                                                                                                                               
   --> /root/enigma-core/enigma-tools-t/src/document_storage_t.rs:132:13                                                                                                    
    |                                                                                                                                                                       
132 |         let mut doc: SealedDocumentStorage<[u8; 32]> = SealedDocumentStorage {                                                                                        
    |             ----^^^                                                                                                                                                   
    |             |                                                                                                                                                         
    |             help: remove this `mut`                                                                                                                                   
    |                                                                                                                                                                       
    = note: #[warn(unused_mut)] on by default                                                                                                                               
                                                                                                                                                                            
warning: unused `core::result::Result` which must be used                                                                                                                   
   --> /root/enigma-core/enigma-tools-t/src/storage_t.rs:127:21                                                                                                             
    |                                                                                                                                                                       
127 |                     remove_file(sealed_path);                                                                                                                         
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                         
    |                                                                                                                                                                       
    = note: #[warn(unused_must_use)] on by default                                                                                                                          
    = note: this `Result` may be an `Err` variant, which should be handled                                                                                                  
                                                                                                                                                                            
   Compiling enigma-runtime-t v0.1.0 (/root/enigma-core/enigma-runtime-t)                                                                                                   
   Compiling enigma-core-enclave v0.1.3 (/root/enigma-core/enigma-core/enclave)                                                                                             
warning: function is never used: `encrypt_delta`                                                                                                                            
  --> src/km_t/mod.rs:26:1                                                                                                                                                  
   |                                                                                                                                                                        
26 | pub fn encrypt_delta(del: StatePatch) -> Result<EncryptedPatch, EnclaveError> {                                                                                        
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                          
   |                                                                                                                                                                        
   = note: #[warn(dead_code)] on by default                                                                                                                                 
                                                                                                                                                                            
    Finished dev [unoptimized + debuginfo] target(s) in 52.54s                                                                                                              
cp ./target/debug/libenigmacoreenclave.a ../lib/libenclave.a
make[1]: Leaving directory '/root/enigma-core/enigma-core/enclave'
make -C /root/sgx/compiler-rt/ 2> /dev/null
make[1]: Entering directory '/root/sgx/compiler-rt'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/sgx/compiler-rt'
/opt/sgxsdk/bin/x64/sgx_edger8r --trusted enclave/Enclave.edl --search-path /opt/sgxsdk/include --search-path /root/sgx/edl --trusted-dir enclave
/opt/sgxsdk/bin/x64/sgx_edger8r --untrusted enclave/Enclave.edl --search-path /opt/sgxsdk/include --search-path /root/sgx/edl --untrusted-dir app
GEN  =>  enclave/Enclave_t.c enclave/Enclave_t.h app/Enclave_u.c app/Enclave_u.h
CC   <=  enclave/Enclave_t.c
ar rcsD app/libEnclave_u.a app/Enclave_u.o
cp app/libEnclave_u.a ./lib
    Updating crates.io index
    Updating git repository `https://github.com/3Hren/msgpack-rust.git`
    Updating git repository `https://github.com/baidu/rust-sgx-sdk.git`                                                                                                     
    Updating git repository `https://github.com/elichai/ring.git`                                                                                                           
    Updating git repository `https://github.com/tomusdrw/rust-web3.git`                                                                                                     
error: failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.14/Cargo.toml`                                                 

Caused by:
  feature `rename-dependency` is required

consider adding `cargo-features = ["rename-dependency"]` to the manifest
Makefile:119: recipe for target 'enigma-core-app' failed
make: *** [enigma-core-app] Error 101

Problem in CI reporting

The test test_to_message in km_primitives.rs did not pass in PR#95, but this is not reflected in CI report.

License issue

From @dingelish on July 5, 2018 5:13

Greetings!

Author of rust-sgx-sdk here. Good to see that you guys are doing fantastic jobs using our SDK and hope you guys are doing well!

Of course you guys are free to use the SDK and do whatever you want. Would you please add something regards to the License we use? and some acknowledgement in your Readme would be pretty much awesome!

Of course, if you guys have recommendations or any ideas about this SDK, please feel free to contact me at [email protected]. Thanks!

Best,
Yu

Copied from original issue: #4

I can only deploy one secret contract on the network

Describe the bug
I have multiple valid secret contracts that I can successfully deploy if I restart the network every time. However, once I have successfully deployed a contract on the network, any subsequent attempt to deploy any other contract (that would otherwise succeed if it was the first one), will fail with the following error:

core_1        | Error in deployment of smart contract function: Input Error: Cryptography Error: DecryptionError
core_1        | 06:38:16 [INFO] LOG DERIVE: Ok(FailedTask { result: FailedTask { output: "92ffb22994188d60a9538bbe0d9d3065de055abd524176d5ca339c1bab87c31ec39ba4856c76cefc6863655f6594df70848b615fcc7c1a5c542abb698f475319c2582a4fcb659ab3d59bb716", used_gas: 0, signature: "ec455b1f3f83b54d02b25c1e8f84154f68360860afcea5ed7f5fb7ba9370d0e4002fdd37b432374fb7760323bc7815ec7e08eaae20d6a259967c72521b7f41281b" } })
core_1        | building state for 1 contracts

To Reproduce
Deploy two different contracts consecutively.

Expected behavior
Should be able to deploy more than one contract on the network.

Server upgrade

From @Isan-Rivkin on July 1, 2018 18:38

  • Changed the surface listener to a different thread.
  • Removed the enclave object as a dependency in the Server.
  • Updated tests and main.rs

Copied from original issue: /pull/2

Principal Node Error: Error("missing field `platformInfoBlob`"...

Describe the bug
I'm consistently getting this Error("missing field platformInfoBlob"... when running the principal node. Also, debug messages are being weirdly duplicated. This error occurs with any command. I did some troubleshooting but wasn't able to isolate the root cause. Before creating this issue, I completely re-initialized my environment (see issue #9). The enigma-core unit tests are passing. I can run the SGX Rust SDK sample app so my SGX driver seems to work. My ganache-cli is running and I can see transactions being mined successfully.

To Reproduce
Steps to reproduce the behavior:

~/src/enigma-principal# make JOBS=8
~/src/enigma-principal/add# cargo test -- --nocapture

Here is the output:

root@localhost:~/src/enigma-principal/app# cargo test -- --nocapture
    Finished dev [unoptimized + debuginfo] target(s) in 0.68s
     Running target/debug/deps/enigma_principal_app-c63b82cdeec5ac7b

running 4 tests
[+] Home dir is /root
[+] Home dir is /root
[+] Home dir is /root
[+] Home dir is /root
[-] Create .enigma folder => AlreadyExists
[-] Create .enigma folder => AlreadyExists
[+] Home dir is /root
[+] Home dir is /root
The current directory is /root/src/enigma-principal/app
[+] Home dir is /root
The current directory is /root/src/enigma-principal/app
[+] Home dir is /root
[-] Create .enigma folder => AlreadyExists
[-] Create .enigma folder => AlreadyExists
[+] Open token file success!
[+] Open token file success!
The current directory is /root/src/enigma-principal/app
[+] Token file valid!
[+] Open token file success!
The current directory is /root/src/enigma-principal/app
[+] Token file valid!
[+] Open token file success!
[+] Token file valid!
[+] Token file valid!
[+] Saved updated launch token!
[+] Init Enclave Successful 2!
[+] Saved updated launch token!
[+] Init Enclave Successful 5!

start running tests
Created file => seal_test.sealed
success writting to file!
Created file => seal_test.sealed
success writting to file!
testing test_full_sealing_storage ... ok!
testing test_signing ... ok!
testing test_ecdh ... ok!

test result ok. 3 tested, 3 passed, 0 failed
test tests::test_enclave_internal ... ok
[+] Saved updated launch token!
[+] Init Enclave Successful 4!
[+] Saved updated launch token!
[+] Init Enclave Successful 3!
[+] Home dir is /root
Succeeded reading key from file
-------------------------
AgAAAPIKAAAHAAYAAAAAABYB+Vw5ueowf+qruQGtw+53NGR00uBFIx/maH4nR7eZCAgCBAECAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAHAAAAAAAAAMYXJwG+NAooXjNU08HSVxCZiQMqJC7KgJPx8+gKR34lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACD1xnnferKFHD2uvYqTXdDA8iZ22kCD5xw7h38CMfOngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAweDU3NGUwMjI3MGEzY2U4YzBmN2E5MDUwZDFjMzgxMDVmMTJlMjY3YWMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAIAAGNPuP0vcn7t+DUgA9wdAUdaDzHhJWH+8gs5ZGS9VM4h6DFy6W4oDi1tlFcVn5CyeQ5mbCzsYLjFX9WDGa8mkPNY5RtHbq9CyRETb/AyAQc1W56lyJ6kJ5tbZnN8p7IhBH0pduqOxSc4LYJCUqGbKgmFwoIVL4q3vsS9UxWQyUI0oEgkDefQEZoQwEFsA8hb1BEfZA6XNpAvIMElbUH3UQSR7qsdXEkaZUl4BuFQh5ZN0gg8r6TYbUcjvbBtzp1hI0PUbqnhMm021j8qmlLVyTpIc4h3CUSdyC+VM/VaeSvlsGIIb7ZinsgGC39/UxNYbADjh/MYDX5ybuK06DguFPQPhf1+Vml8jEWkYIbo70/KzYrhgPyRZk9TVqm5Jy/kJ55HL7927LuGvDbxa2gBAADXsQzDch2GH7PVHeWndkHH2UlOxABQhcYHKOMguT0MivIcbmgqPDOaNqmM+akdYg4lbbxTQBjLQaB2QZbpSoPbzkka0tJPfDbvFgR4VUqbLxqZgu6OHOwifsehRj+zbEboOQJZPAjN/O2B7lpea1jpWWqNG7fsrQxO4ICxhgUVx9YvbKXM74ZTUygnfDWWThFsCdOvhqtBKRlzlgzVbB9Q76Pk0BN//H0jjwyBNPUvFw0TA14lT3Srw+xgALXYzBYvS/w7O93aCIi7rHQIjS2egAWi91xaIHcU5XeZoo3Z1KCqlXfBiRyTayB5GzkLzf/HZcwO1xzGPY0kSEjGyYljaKv63P6MPzwi8CmGVldN17p19SA0tKXyCURhdMxNyzVOHJ2ahqyo/6pZ7awUXokVLvjJbr3MBtu1XDBWziL5o4V1ATA2tCw/h6ZN8YbrKhW1IAMazvwcZxDqlD/FBvhSkC6bcFyiWRsTXPJ5IM6wzAntEaACspJh
-------------------------
test esgx::equote::test::test_produce_quote ... ok
deployed contract at address = 0x3c33โ€ฆedec
[+] Home dir is /root
Succeeded reading key from file
deployed contract at address = 0xee19โ€ฆ65a1
[+] Home dir is /root
Succeeded reading key from file
deployed contract at address = 0x3365โ€ฆ1412
deployed contract at address = 0x9c9fโ€ฆf5fc
test boot_network::deploy_scripts::test::test_deploy_enigma_contract_environment ... ok
deployed contract at address = 0x2830โ€ฆb26d
deployed dummy contract at address = 0x2830e4110c99c988694f86d737956305f489b26d
โš’
thread 'boot_network::principal_manager::test::test_full_principal_logic' panicked at 'called `Result::unwrap()` on an `Err` value: Error("missing field `platformInfoBlob`", line: 1, column: 719)', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
test boot_network::principal_manager::test::test_full_principal_logic ... FAILED

failures:

failures:
    boot_network::principal_manager::test::test_full_principal_logic

test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--bin enigma_principal_app'

Here is the output when running the app:

[+] Home dir is /root
[+] Home dir is /root
[-] Create .enigma folder => AlreadyExists
The current directory is /root/src/enigma-principal/bin
[+] Open token file success!
[+] Token file valid!
[+] Saved updated launch token!
[+] Init Enclave Successful 2!
<>------------------------------------------<>

        โ•”โ•โ•— โ”Œโ”โ”Œ โ”ฌ โ”Œโ”€โ” โ”Œโ”ฌโ” โ”Œโ”€โ”
        โ•‘โ•ฃ  โ”‚โ”‚โ”‚ โ”‚ โ”‚ โ”ฌ โ”‚โ”‚โ”‚ โ”œโ”€โ”ค
        โ•šโ•โ• โ”˜โ””โ”˜ โ”ด โ””โ”€โ”˜ โ”ด โ”ด โ”ด โ”ด

        โ•”โ•โ•— โ”ฌโ”€โ” โ”ฌ โ”Œโ”โ”Œ โ”Œโ”€โ” โ”ฌ โ”Œโ”€โ” โ”Œโ”€โ” โ”ฌ
        โ• โ•โ• โ”œโ”ฌโ”˜ โ”‚ โ”‚โ”‚โ”‚ โ”‚   โ”‚ โ”œโ”€โ”˜ โ”œโ”€โ”ค โ”‚
        โ•ฉ   โ”ดโ””โ”€ โ”ด โ”˜โ””โ”˜ โ””โ”€โ”˜ โ”ด โ”ด   โ”ด โ”ด โ”ดโ”€โ”˜

        โ•”โ•—โ•” โ”Œโ”€โ” โ”Œโ”ฌโ” โ”Œโ”€โ”
        โ•‘โ•‘โ•‘ โ”‚ โ”‚  โ”‚โ”‚ โ”œโ”ค
        โ•โ•šโ• โ””โ”€โ”˜ โ”€โ”ดโ”˜ โ””โ”€โ”˜
<>------------------------------------------<>
[Mode:] run node NO DEPLOY.
[+] Home dir is /root
Succeeded reading key from file
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("missing field `platformInfoBlob`", line: 1, column: 719)', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Check validity of inputs and gracefully handle the error

Is your feature request related to a problem? Please describe.

Core throws an exception when processing a request to deploy a SecretContract that includes a PreCode field with other characters that are not hex, for example, just prepending the string 0x to a hex string causes the following error:

core_1        | 03:54:44 [INFO] LOG DERIVE: Err(Invalid character 'x' at position 1
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::h0c85aeebdcdd7156 (0x557efe8fa8ae)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
core_1        |    1: failure::backtrace::Backtrace::new::hb2072042fb7e0676 (0x557efe8fa37d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
core_1        |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h362099f92da07e9e (0x557efe3af1f6)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
core_1        |    3: <failure::error::Error as core::convert::From<F>>::from::h6ccb66125461f3af (0x557efe3a744a)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
core_1        |    4: enigma_core_app::networking::ipc_listener::handling::deploy_contract::{{closure}}::he9bae77b29db796c (0x557efe114e09)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |    5: enigma_core_app::networking::ipc_listener::handling::deploy_contract::h2667e8963674a2af (0x557efe1c1e4d)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |    6: enigma_core_app::networking::ipc_listener::handle_message::h1750df4bf26872f3 (0x557efe106c40)
core_1        |              at src/networking/ipc_listener.rs:48
core_1        |    7: enigma_core_app::main::{{closure}}::hf35b7eb5da2211fb (0x557efe09e944)
core_1        |              at src/main.rs:35
core_1        |    8: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::h0a1b12463a3b99c4 (0x557efe09e80a)
core_1        |              at libcore/ops/function.rs:286
core_1        |    9: <core::option::Option<T>>::map::h32de77ba92ca6014 (0x557efe09d0ec)
core_1        |              at libcore/option.rs:424
core_1        |   10: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h020ec7812c81f167 (0x557efe0beeba)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/map.rs:79
core_1        |   11: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h9f24ac433f8d0533 (0x557efe0ac563)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/forward.rs:94
core_1        |   12: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hedf6c26bce1e517a (0x557efe0b65fd)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/map.rs:30
core_1        |   13: <futures::future::chain::Chain<A, B, C>>::poll::h9a56683a803d98e6 (0x557efe0c2dd5)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/chain.rs:32
core_1        |   14: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h476e6dd9a7af70c0 (0x557efe0a9929)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/and_then.rs:32
core_1        |   15: <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h8aac65f6c2b28787 (0x557efe09a899)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   16: <futures::task_impl::Spawn<T>>::enter::{{closure}}::h0dcbd4cb7cf055a1 (0x557efe09aa16)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   17: futures::task_impl::std::set::h42825b196f346936 (0x557efe0be11c)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:78
core_1        |   18: <futures::task_impl::Spawn<T>>::enter::h73545ec010aa3483 (0x557efe09a9a2)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   19: <futures::task_impl::Spawn<T>>::poll_fn_notify::hbab32881f8f24cdd (0x557efe09a7c4)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:291
core_1        |   20: <futures::task_impl::Spawn<T>>::poll_future_notify::h7d6ea848a1928f74 (0x557efe09a86d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   21: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::{{closure}}::h007f83165af89296 (0x557efe0be1f8)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:231
core_1        |   22: futures::task_impl::std::ThreadNotify::with_current::{{closure}}::h2a26e648c9ac6231 (0x557efe0be02e)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   23: <std::thread::local::LocalKey<T>>::try_with::h2a5cc9a7429097dd (0x557efe09ca23)
core_1        |              at libstd/thread/local.rs:294
core_1        |   24: <std::thread::local::LocalKey<T>>::with::hc1a5d9c54e7a9872 (0x557efe09c820)
core_1        |              at libstd/thread/local.rs:248
core_1        |   25: futures::task_impl::std::ThreadNotify::with_current::hd3630610c1e4cdc4 (0x557efe0bdfed)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   26: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::h9b449006e78c92e2 (0x557efe09aa43)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:228
core_1        |   27: futures::future::Future::wait::h65ec1379a489e9f4 (0x557efe0a9b21)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/mod.rs:299
core_1        |   28: enigma_core_app::main::h51e5e13b67620211 (0x557efe0a7164)
core_1        |              at src/main.rs:34
core_1        |   29: std::rt::lang_start::{{closure}}::hf50adf6ebd355f61 (0x557efe0b04ef)
core_1        |              at libstd/rt.rs:74
core_1        |   30: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x557efedc62d2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   31: __rust_maybe_catch_panic (0x557efede7229)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   32: std::panicking::try::h97436c380f30f437 (0x557efedc8795)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   33: std::rt::lang_start::h28de98d2c46239d3 (0x557efe0b04c7)
core_1        |              at libstd/rt.rs:74
core_1        |   34: main (0x557efe0a72f9)
core_1        |   35: __libc_start_main (0x7f124ae30b96)
core_1        |   36: _start (0x557efe099b09)
core_1        |   37: <unknown> (0x0))
core_1        | 03:54:44 [ERROR] Unwrapped p2p Message failed: Invalid character 'x' at position 1
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::h0c85aeebdcdd7156 (0x557efe8fa8ae)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
core_1        |    1: failure::backtrace::Backtrace::new::hb2072042fb7e0676 (0x557efe8fa37d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
core_1        |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h362099f92da07e9e (0x557efe3af1f6)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
core_1        |    3: <failure::error::Error as core::convert::From<F>>::from::h6ccb66125461f3af (0x557efe3a744a)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
core_1        |    4: enigma_core_app::networking::ipc_listener::handling::deploy_contract::{{closure}}::he9bae77b29db796c (0x557efe114e09)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |    5: enigma_core_app::networking::ipc_listener::handling::deploy_contract::h2667e8963674a2af (0x557efe1c1e4d)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |    6: enigma_core_app::networking::ipc_listener::handle_message::h1750df4bf26872f3 (0x557efe106c40)
core_1        |              at src/networking/ipc_listener.rs:48
core_1        |    7: enigma_core_app::main::{{closure}}::hf35b7eb5da2211fb (0x557efe09e944)
core_1        |              at src/main.rs:35
core_1        |    8: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::h0a1b12463a3b99c4 (0x557efe09e80a)
core_1        |              at libcore/ops/function.rs:286
core_1        |    9: <core::option::Option<T>>::map::h32de77ba92ca6014 (0x557efe09d0ec)
core_1        |              at libcore/option.rs:424
core_1        |   10: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h020ec7812c81f167 (0x557efe0beeba)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/map.rs:79
core_1        |   11: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h9f24ac433f8d0533 (0x557efe0ac563)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/forward.rs:94
core_1        |   12: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hedf6c26bce1e517a (0x557efe0b65fd)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/map.rs:30
core_1        |   13: <futures::future::chain::Chain<A, B, C>>::poll::h9a56683a803d98e6 (0x557efe0c2dd5)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/chain.rs:32
core_1        |   14: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h476e6dd9a7af70c0 (0x557efe0a9929)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/and_then.rs:32
core_1        |   15: <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h8aac65f6c2b28787 (0x557efe09a899)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   16: <futures::task_impl::Spawn<T>>::enter::{{closure}}::h0dcbd4cb7cf055a1 (0x557efe09aa16)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   17: futures::task_impl::std::set::h42825b196f346936 (0x557efe0be11c)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:78
core_1        |   18: <futures::task_impl::Spawn<T>>::enter::h73545ec010aa3483 (0x557efe09a9a2)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   19: <futures::task_impl::Spawn<T>>::poll_fn_notify::hbab32881f8f24cdd (0x557efe09a7c4)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:291
core_1        |   20: <futures::task_impl::Spawn<T>>::poll_future_notify::h7d6ea848a1928f74 (0x557efe09a86d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   21: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::{{closure}}::h007f83165af89296 (0x557efe0be1f8)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:231
core_1        |   22: futures::task_impl::std::ThreadNotify::with_current::{{closure}}::h2a26e648c9ac6231 (0x557efe0be02e)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   23: <std::thread::local::LocalKey<T>>::try_with::h2a5cc9a7429097dd (0x557efe09ca23)
core_1        |              at libstd/thread/local.rs:294
core_1        |   24: <std::thread::local::LocalKey<T>>::with::hc1a5d9c54e7a9872 (0x557efe09c820)
core_1        |              at libstd/thread/local.rs:248
core_1        |   25: futures::task_impl::std::ThreadNotify::with_current::hd3630610c1e4cdc4 (0x557efe0bdfed)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   26: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::h9b449006e78c92e2 (0x557efe09aa43)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:228
core_1        |   27: futures::future::Future::wait::h65ec1379a489e9f4 (0x557efe0a9b21)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/mod.rs:299
core_1        |   28: enigma_core_app::main::h51e5e13b67620211 (0x557efe0a7164)
core_1        |              at src/main.rs:34
core_1        |   29: std::rt::lang_start::{{closure}}::hf50adf6ebd355f61 (0x557efe0b04ef)
core_1        |              at libstd/rt.rs:74
core_1        |   30: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x557efedc62d2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   31: __rust_maybe_catch_panic (0x557efede7229)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   32: std::panicking::try::h97436c380f30f437 (0x557efedc8795)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   33: std::rt::lang_start::h28de98d2c46239d3 (0x557efe0b04c7)
core_1        |              at libstd/rt.rs:74
core_1        |   34: main (0x557efe0a72f9)
core_1        |   35: __libc_start_main (0x7f124ae30b96)
core_1        |   36: _start (0x557efe099b09)
core_1        |   37: <unknown> (0x0)

Describe the solution you'd like

It should gracefully return an error indicating that the input is invalid, more like:

core_1        | Error in deployment of smart contract function: Invalid input
core_1        | 04:02:04 [INFO] LOG DERIVE: Ok(FailedTask { result: FailedTask { output: "fede52db9527ba010fc2edd2635df8a1dd6435c83b9cec25b420e3e83014ec51970643341fabb8f6d354681c3783ba714edc569404decbf9d4ae316123f68d541a8c5ad2b4579b05c9e7866fbd4e182272b99cc284505b8f3dd150ca097c3cf22d64fcd6661b19a15656e61c847cf02957c075eec278280b45", used_gas: 0, signature: "2aec98dc09a440e52050d82c84e255774d97d3faf02a6a376ea42a2714c10ed139256eb165a0d69a9393fe2ee33c64a1832dd148aa56030725185e164851bbcf1b" } })

Change Delta format in output of Deploy and Compute from String to Vec<u8>

Similar to #123, the output of a successful deploy currently looks like:

Ok(DeploySecretContract { result: DeployResult { 
pre_code_hash: "27245d9477ddbf32af803dd86c8bd94f5beed0a535e5efe989fbe63a2598a465",
used_gas: 6, output: "0061736d0100000...0000000000000",
delta: IpcDelta { contract_address: None, key: 0, data:
Some("90dd7c5499e164aa795b8dfeba398851f186a92223fd50e93beb0d300e4e36079c1c5dcbecb8238aa4af2b96c833fc0ce249ec776bda767b2bca0b35ed66e011f6") },
ethereum_address: "0000000000000000000000000000000000000000",
ethereum_payload: "", 
signature: "6de987fc2bdba11bc4367b317be5d837fc036ce927196c01332d679c6992c08c6e113366abc7979bb74005a26206e4039b7ee61cca3a576a1b77d378221e7b291c" } })

and the output of a successful compute currently looks like:

Ok(ComputeTask { result: ComputeResult { 
used_gas: 28077, 
output: "ef83228a5764098dc60bf6291d6a8c5637784b32ae31caa1b88e35bf99cdd256172ee319fe0f376c6ccc56d3ef2c266288527d66c495cb78f05ee2d7",
delta: IpcDelta { contract_address: None, key: 1, data:
Some("d3f292432e57ae3e3d14fc0f37bb84218ae5b543ddd9a5cc6728596054af2379d755ecc4ae4f5a61bd119944692a37a7837d55c4ed984f1fd5ec57126e2ca7caf3c9c7567af7033d2a163d7d2042fa9b174dd769201cf54750a76ccb6eda") },
ethereum_address: "0000000000000000000000000000000000000000",
ethereum_payload: "", signature: "71782688e7d1b923cb0f2c8345acd6b615849574ef99903cdaaf473928cf07955fa8e8d1fc51c71464214874ab0e8aea8304f9e26927e615ef2603d9adbd375c1c" } })

Note how the data in the deltas are hex strings, whereas they should be bytearrays. Again the P2P is all coded to process bytearrays in those fields, and receiving hex strings breaks the integrationTests.

(@lenak25: this is the underlying issue why the results don't propagate across the p2p network, because the receiving node fails to validate the format of the message, but it's coded as it should in P2P, and is core the one that does not conform to what we had agreed previously)

A redeployment of an existing contract fails with Missing State Key

Describe the bug
A second attempt to redeploy a contract, regardless of whether the first one succeeded or failed (as in #113), errors out with Cryptography Error: MissingKeyError { key_type: "State Key" }. This seems to have nothing to do with core 's ability to request the right state keys from the Key Management node, as this behavior can be observed when the 1st and 2nd deployment happen in the same epoch, when the state keys should be arguably the same.

To Reproduce

  1. Deploy one valid secret contract, that succeeds.
  2. Attempt to redeploy the very same contract.

Expected behavior
If a contract exists at a given address, it should error out with a relevant message.

This opens the question on whether two different people cannot deploy the same contract with the same address that is derived from the same preCode

Backtrace

core_1        | Error in deployment of smart contract function: Cryptography Error: MissingKeyError { key_type: "State Key" }
core_1        | 06:42:57 [INFO] LOG DERIVE: Err(EnclaveFailError { err: KeysError, status: SGX_SUCCESS }
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::h0c85aeebdcdd7156 (0x56077d40376e)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
core_1        |    1: failure::backtrace::Backtrace::new::hb2072042fb7e0676 (0x56077d40323d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
core_1        |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h884f71c8d4fc0d7b (0x56077ccc4cb2)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
core_1        |    3: <failure::error::Error as core::convert::From<F>>::from::h2322150188ad4903 (0x56077cc0eac8)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
core_1        |    4: <T as core::convert::Into<U>>::into::hae9d1a181fbb5063 (0x56077cc94c38)
core_1        |              at libcore/convert.rs:456
core_1        |    5: <enigma_core_app::wasm_u::WasmResult as core::convert::TryFrom<(enigma_types::types::ExecuteResult, enigma_types::hash::Hash256, enigma_types::types::EnclaveReturn, sgx_types::error::sgx_status_t)>>::try_from::hd1482c277b1f2b9a (0x56077ccceffb)
core_1        |              at src/wasm_u/mod.rs:100
core_1        |    6: <T as core::convert::TryInto<U>>::try_into::h6619c98f67a049f3 (0x56077cccdace)
core_1        |              at libcore/convert.rs:474
core_1        |    7: enigma_core_app::wasm_u::wasm::deploy::{{closure}}::hc2f875e7975caada (0x56077ccd552c)
core_1        |              at src/wasm_u/wasm.rs:49
core_1        |    8: enigma_core_app::wasm_u::wasm::deploy::h051d82273f6610b3 (0x56077cca4530)
core_1        |              at src/wasm_u/wasm.rs:27
core_1        |    9: enigma_core_app::networking::ipc_listener::handling::deploy_contract::{{closure}}::he9bae77b29db796c (0x56077cc1e4f1)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |   10: enigma_core_app::networking::ipc_listener::handling::deploy_contract::h2667e8963674a2af (0x56077cccad0d)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |   11: enigma_core_app::networking::ipc_listener::handle_message::h1750df4bf26872f3 (0x56077cc0fb10)
core_1        |              at src/networking/ipc_listener.rs:48
core_1        |   12: enigma_core_app::main::{{closure}}::hf35b7eb5da2211fb (0x56077cba7814)
core_1        |              at src/main.rs:35
core_1        |   13: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::h0a1b12463a3b99c4 (0x56077cba76da)
core_1        |              at libcore/ops/function.rs:286
core_1        |   14: <core::option::Option<T>>::map::h32de77ba92ca6014 (0x56077cba5fbc)
core_1        |              at libcore/option.rs:424
core_1        |   15: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h020ec7812c81f167 (0x56077cbc7d8a)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/map.rs:79
core_1        |   16: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h9f24ac433f8d0533 (0x56077cbb5433)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/forward.rs:94
core_1        |   17: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hedf6c26bce1e517a (0x56077cbbf4cd)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/map.rs:30
core_1        |   18: <futures::future::chain::Chain<A, B, C>>::poll::h9a56683a803d98e6 (0x56077cbcbca5)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/chain.rs:32
core_1        |   19: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h476e6dd9a7af70c0 (0x56077cbb27f9)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/and_then.rs:32
core_1        |   20: <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h8aac65f6c2b28787 (0x56077cba3769)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   21: <futures::task_impl::Spawn<T>>::enter::{{closure}}::h0dcbd4cb7cf055a1 (0x56077cba38e6)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   22: futures::task_impl::std::set::h42825b196f346936 (0x56077cbc6fec)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:78
core_1        |   23: <futures::task_impl::Spawn<T>>::enter::h73545ec010aa3483 (0x56077cba3872)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   24: <futures::task_impl::Spawn<T>>::poll_fn_notify::hbab32881f8f24cdd (0x56077cba3694)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:291
core_1        |   25: <futures::task_impl::Spawn<T>>::poll_future_notify::h7d6ea848a1928f74 (0x56077cba373d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   26: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::{{closure}}::h007f83165af89296 (0x56077cbc70c8)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:231
core_1        |   27: futures::task_impl::std::ThreadNotify::with_current::{{closure}}::h2a26e648c9ac6231 (0x56077cbc6efe)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   28: <std::thread::local::LocalKey<T>>::try_with::h2a5cc9a7429097dd (0x56077cba58f3)
core_1        |              at libstd/thread/local.rs:294
core_1        |   29: <std::thread::local::LocalKey<T>>::with::hc1a5d9c54e7a9872 (0x56077cba56f0)
core_1        |              at libstd/thread/local.rs:248
core_1        |   30: futures::task_impl::std::ThreadNotify::with_current::hd3630610c1e4cdc4 (0x56077cbc6ebd)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   31: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::h9b449006e78c92e2 (0x56077cba3913)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:228
core_1        |   32: futures::future::Future::wait::h65ec1379a489e9f4 (0x56077cbb29f1)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/mod.rs:299
core_1        |   33: enigma_core_app::main::h51e5e13b67620211 (0x56077cbb0034)
core_1        |              at src/main.rs:34
core_1        |   34: std::rt::lang_start::{{closure}}::hf50adf6ebd355f61 (0x56077cbb93bf)
core_1        |              at libstd/rt.rs:74
core_1        |   35: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x56077d5447d2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   36: __rust_maybe_catch_panic (0x56077d565729)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   37: std::panicking::try::h97436c380f30f437 (0x56077d546c95)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   38: std::rt::lang_start::h28de98d2c46239d3 (0x56077cbb9397)
core_1        |              at libstd/rt.rs:74
core_1        |   39: main (0x56077cbb01c9)
core_1        |   40: __libc_start_main (0x7f68da613b96)
core_1        |   41: _start (0x56077cba29d9)
core_1        |   42: <unknown> (0x0))
core_1        | 06:42:57 [ERROR] Unwrapped p2p Message failed: EnclaveFailError { err: KeysError, status: SGX_SUCCESS }
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::h0c85aeebdcdd7156 (0x56077d40376e)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44
core_1        |    1: failure::backtrace::Backtrace::new::hb2072042fb7e0676 (0x56077d40323d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111
core_1        |    2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h884f71c8d4fc0d7b (0x56077ccc4cb2)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19
core_1        |    3: <failure::error::Error as core::convert::From<F>>::from::h2322150188ad4903 (0x56077cc0eac8)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36
core_1        |    4: <T as core::convert::Into<U>>::into::hae9d1a181fbb5063 (0x56077cc94c38)
core_1        |              at libcore/convert.rs:456
core_1        |    5: <enigma_core_app::wasm_u::WasmResult as core::convert::TryFrom<(enigma_types::types::ExecuteResult, enigma_types::hash::Hash256, enigma_types::types::EnclaveReturn, sgx_types::error::sgx_status_t)>>::try_from::hd1482c277b1f2b9a (0x56077ccceffb)
core_1        |              at src/wasm_u/mod.rs:100
core_1        |    6: <T as core::convert::TryInto<U>>::try_into::h6619c98f67a049f3 (0x56077cccdace)
core_1        |              at libcore/convert.rs:474
core_1        |    7: enigma_core_app::wasm_u::wasm::deploy::{{closure}}::hc2f875e7975caada (0x56077ccd552c)
core_1        |              at src/wasm_u/wasm.rs:49
core_1        |    8: enigma_core_app::wasm_u::wasm::deploy::h051d82273f6610b3 (0x56077cca4530)
core_1        |              at src/wasm_u/wasm.rs:27
core_1        |    9: enigma_core_app::networking::ipc_listener::handling::deploy_contract::{{closure}}::he9bae77b29db796c (0x56077cc1e4f1)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |   10: enigma_core_app::networking::ipc_listener::handling::deploy_contract::h2667e8963674a2af (0x56077cccad0d)
core_1        |              at src/networking/ipc_listener.rs:307
core_1        |   11: enigma_core_app::networking::ipc_listener::handle_message::h1750df4bf26872f3 (0x56077cc0fb10)
core_1        |              at src/networking/ipc_listener.rs:48
core_1        |   12: enigma_core_app::main::{{closure}}::hf35b7eb5da2211fb (0x56077cba7814)
core_1        |              at src/main.rs:35
core_1        |   13: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &'a mut F>::call_once::h0a1b12463a3b99c4 (0x56077cba76da)
core_1        |              at libcore/ops/function.rs:286
core_1        |   14: <core::option::Option<T>>::map::h32de77ba92ca6014 (0x56077cba5fbc)
core_1        |              at libcore/option.rs:424
core_1        |   15: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h020ec7812c81f167 (0x56077cbc7d8a)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/map.rs:79
core_1        |   16: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h9f24ac433f8d0533 (0x56077cbb5433)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/stream/forward.rs:94
core_1        |   17: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hedf6c26bce1e517a (0x56077cbbf4cd)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/map.rs:30
core_1        |   18: <futures::future::chain::Chain<A, B, C>>::poll::h9a56683a803d98e6 (0x56077cbcbca5)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/chain.rs:32
core_1        |   19: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h476e6dd9a7af70c0 (0x56077cbb27f9)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/and_then.rs:32
core_1        |   20: <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::h8aac65f6c2b28787 (0x56077cba3769)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   21: <futures::task_impl::Spawn<T>>::enter::{{closure}}::h0dcbd4cb7cf055a1 (0x56077cba38e6)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   22: futures::task_impl::std::set::h42825b196f346936 (0x56077cbc6fec)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:78
core_1        |   23: <futures::task_impl::Spawn<T>>::enter::h73545ec010aa3483 (0x56077cba3872)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:399
core_1        |   24: <futures::task_impl::Spawn<T>>::poll_fn_notify::hbab32881f8f24cdd (0x56077cba3694)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:291
core_1        |   25: <futures::task_impl::Spawn<T>>::poll_future_notify::h7d6ea848a1928f74 (0x56077cba373d)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/mod.rs:329
core_1        |   26: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::{{closure}}::h007f83165af89296 (0x56077cbc70c8)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:231
core_1        |   27: futures::task_impl::std::ThreadNotify::with_current::{{closure}}::h2a26e648c9ac6231 (0x56077cbc6efe)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   28: <std::thread::local::LocalKey<T>>::try_with::h2a5cc9a7429097dd (0x56077cba58f3)
core_1        |              at libstd/thread/local.rs:294
core_1        |   29: <std::thread::local::LocalKey<T>>::with::hc1a5d9c54e7a9872 (0x56077cba56f0)
core_1        |              at libstd/thread/local.rs:248
core_1        |   30: futures::task_impl::std::ThreadNotify::with_current::hd3630610c1e4cdc4 (0x56077cbc6ebd)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:478
core_1        |   31: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::h9b449006e78c92e2 (0x56077cba3913)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/task_impl/std/mod.rs:228
core_1        |   32: futures::future::Future::wait::h65ec1379a489e9f4 (0x56077cbb29f1)
core_1        |              at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/future/mod.rs:299
core_1        |   33: enigma_core_app::main::h51e5e13b67620211 (0x56077cbb0034)
core_1        |              at src/main.rs:34
core_1        |   34: std::rt::lang_start::{{closure}}::hf50adf6ebd355f61 (0x56077cbb93bf)
core_1        |              at libstd/rt.rs:74
core_1        |   35: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x56077d5447d2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   36: __rust_maybe_catch_panic (0x56077d565729)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   37: std::panicking::try::h97436c380f30f437 (0x56077d546c95)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   38: std::rt::lang_start::h28de98d2c46239d3 (0x56077cbb9397)
core_1        |              at libstd/rt.rs:74
core_1        |   39: main (0x56077cbb01c9)
core_1        |   40: __libc_start_main (0x7f68da613b96)
core_1        |   41: _start (0x56077cba29d9)
core_1        |   42: <unknown> (0x0)

ipc deployment- delta not stored

the delta is not stored in the deployment. I ran get_tip twice: once after deployment and another after a computation, the first returned an error: DBErr { command: \"get_tip\", kind: MissingKey } and the latter passed.
Thanks @elichai

Inconsistent Message Signing

Please adjust this function to match the signing standard that we have adopted of prepending the length to each variable in the message, otherwise matching signatures across the codebase becomes a nightmare.

Thank you ๐Ÿ™

unclear wasm error msg

when running tests which are supposed to fail, I don't receive a clear indicative message.

  1. out of gas
  2. wrong arguments
    both return the same error: "EnclaveFailError { err: WasmError, status: SGX_SUCCESS }"
    this is something you should definitely discuss to check if we can modify it a bit to get a clear sense of the error. @elichai @moriaab

Typo in SIGNINING_KEY

running a computation on an existing contract

when trying to run a computation on an existing contract (which includes updating a contract and it's deltas, and running the ptt on the new contract address) i receive the following message: Object({"error": String("EnclaveFailError { err: OcallError, status: SGX_SUCCESS }"), "id": String("962464295"), "type": String("Error")})

updateContract response typo

the expected response is:
{ id : <unique_request_id>, type : UpdateNewContract, address : ..., result : { status : 0 or err code } }
we are missing the result before the status, the accepted result is:

 Object({
  "address": String("693af41fea9ea5a03631d5c442e9ff05c82806f214e503f8ea05035047b5517e"),
  "id": String("2396045083"), 
  "status": Number(0),
   "type": String("UpdateNewContract")
})

Deployment of a valid contract with invalid constructor succeeds

As the title says, when deploying a valid secret contract bytecode with an invalid constructor, such as Fn='not a valid construct()';, the deployment succeeds, seemingly ignoring the constructor function passed as an argument.

Is this the intended behavior, or should it fail?

ipc_message: ptt_response

similar to earlier bugs #38 #35 there are two issues in the json structure:

  1. in the encrypted response we have a redundant field EncryptedResponse:
    prefix: b"Enigma Message",
    data: **EncryptedResponse:** enc([(address, stateKey)]),
    pubkey: 'DH pubkey',
    id: '12-bytes-msgID',
}```
2. in the result received on the PTTResponse call, we are **missing** a field `errors`:
```{
    id : <unique_request_id>,
    type : GetPTTRequest,
    result: {
        **errors:** [{address, status}]
    }
}```

ipc error message

an error message should be in the following structure:

{
   id: <unique_request_id>,
   type: <the_request_type>,
   msg : "some error message",
}

where in practice i get the following:

{
    "error": String("DBErr { command: \"get_tip\", kind: MissingKey }"), 
    "id": String("98708"), 
    "type": String("Error")
}

needed to be fixed:

  1. msg instead of error.
  2. type should stay the type of the request. where in this case it should be "GetTip" and not "Error".
    Thanks!

`truncate_bytecode` not happy Solidity local imports

Describe the bug
The new Enigma contract contains a local import: import "./utils/SolRsaVerify.sol". This adds non-hex characters in the bytecode. Here is a snapshop of the bytecode field of Enigma.json for reference.

0000000000815290915073__SolRsaVerify__________________________90632ae0783d906126

This is compiled with Truffle 5. This causes a panic at line 90 here: https://github.com/enigmampc/enigma-core-internal/blob/develop/enigma-tools-u/src/web3_utils/w3utils.rs.

@AvishaiW I'm only assigning this to you because I have to stop for the day. If you don't have time, I can take care of it.

IPC compute: failed task

got the following response:

res: Object({"error": String("DBErr { command: \"read\", kind: MissingKey }\n\nstack backtrace:\n   0: failure::backtrace::internal::InternalBacktrace::new::h60a2294756624fa3 (0x560dbd115c3e)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/internal.rs:44\n   1: failure::backtrace::Backtrace::new::h71d9ce99a6509415 (0x560dbd11568d)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/backtrace/mod.rs:111\n   2: <failure::error::error_impl::ErrorImpl as core::convert::From<F>>::from::h95e93ade9d199d37 (0x560dbcd7b72d)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/error_impl.rs:19\n   3: <failure::error::Error as core::convert::From<F>>::from::h62e4dd5076bf65c4 (0x560dbce37da0)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/error/mod.rs:36\n   4: <T as core::convert::Into<U>>::into::h5950bfc46b3319b0 (0x560dbce15cb0)\n             at libcore/convert.rs:456\n   5: <enigma_core_app::db::dal::DB as enigma_core_app::db::dal::CRUDInterface<failure::error::Error, &\'a K, alloc::vec::Vec<u8>, &\'a [u8]>>::read::{{closure}}::{{closure}}::hca407d52625d3bfe (0x560dbccc8471)\n             at src/db/dal.rs:122\n   6: <core::option::Option<T>>::map_or_else::hed5f4c95be44d575 (0x560dbcd42a2f)\n             at libcore/option.rs:469\n   7: <enigma_core_app::db::dal::DB as enigma_core_app::db::dal::CRUDInterface<failure::error::Error, &\'a K, alloc::vec::Vec<u8>, &\'a [u8]>>::read::{{closure}}::h74caada192070d54 (0x560dbccc8911)\n             at src/db/dal.rs:121\n   8: <enigma_core_app::db::primitives::DeltaKey as enigma_core_app::db::primitives::SplitKey>::as_split::h4c91b03b71f34ff7 (0x560dbcdcee25)\n             at src/db/primitives.rs:77\n   9: <enigma_core_app::db::dal::DB as enigma_core_app::db::dal::CRUDInterface<failure::error::Error, &\'a K, alloc::vec::Vec<u8>, &\'a [u8]>>::read::h059f82692fb1588c (0x560dbccc831e)\n             at src/db/dal.rs:118\n  10: <enigma_core_app::db::dal::DB as enigma_core_app::db::iterator::P2PCalls<alloc::vec::Vec<u8>>>::get_contract::hf77762f0016edc4e (0x560dbcdd42b0)\n             at src/db/iterator.rs:193\n  11: enigma_core_app::networking::ipc_listener::handling::compute_task::h4607231ff05f4563 (0x560dbce060c2)\n             at src/networking/ipc_listener.rs:284\n  12: enigma_core_app::networking::ipc_listener::handle_message::hd46e7801536e555b (0x560dbce13418)\n             at src/networking/ipc_listener.rs:48\n  13: enigma_core_app::ipc_test::tests::run_core::{{closure}}::{{closure}}::h138d9d314e9ed61e (0x560dbcdd323b)\n             at src/ipc_test.rs:32\n  14: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &\'a mut F>::call_once::h7eced4b17e6a7030 (0x560dbcdd31ca)\n             at libcore/ops/function.rs:286\n  15: <core::option::Option<T>>::map::hd6be01baec058788 (0x560dbcd48a8c)\n             at libcore/option.rs:424\n  16: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h7c793b33c71d669d (0x560dbcd6fb9a)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/stream/map.rs:79\n  17: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::hdfe5ff7d1667ebba (0x560dbcce6009)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/stream/forward.rs:94\n  18: <futures::future::map::Map<A, F> as futures::future::Future>::poll::h440948b77e3e971e (0x560dbcdc1dfd)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/map.rs:30\n  19: <futures::future::chain::Chain<A, B, C>>::poll::hb5472101b6f8aa4d (0x560dbccbea95)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/chain.rs:32\n  20: <futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h784480eb4b4d3fde (0x560dbcd4e189)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/and_then.rs:32\n  21: <futures::task_impl::Spawn<T>>::poll_future_notify::{{closure}}::hbaf0bfe2171fc9e1 (0x560dbccc2179)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:326\n  22: <futures::task_impl::Spawn<T>>::enter::{{closure}}::h70c26eddd1cc86ae (0x560dbccc25d6)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:396\n  23: futures::task_impl::std::set::h0f44cff67068a6dc (0x560dbcd05bfc)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:78\n  24: <futures::task_impl::Spawn<T>>::enter::h9fcf1147ca33217b (0x560dbccc2532)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:396\n  25: <futures::task_impl::Spawn<T>>::poll_fn_notify::h9e0953ea521eebb9 (0x560dbccc1f54)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:288\n  26: <futures::task_impl::Spawn<T>>::poll_future_notify::h98c2db3c518baafd (0x560dbccc20dd)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/mod.rs:326\n  27: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::{{closure}}::hd7eb985f6fd4df80 (0x560dbcd06498)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:231\n  28: futures::task_impl::std::ThreadNotify::with_current::{{closure}}::hdd200abedb15f593 (0x560dbcd0598e)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:478\n  29: <std::thread::local::LocalKey<T>>::try_with::h94a51ead18790f93 (0x560dbcdd4d13)\n             at libstd/thread/local.rs:294\n  30: <std::thread::local::LocalKey<T>>::with::hfc509376fadd21e4 (0x560dbcdd4650)\n             at libstd/thread/local.rs:248\n  31: futures::task_impl::std::ThreadNotify::with_current::h0f8bb1d4cc96920d (0x560dbcd0588d)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:478\n  32: futures::task_impl::std::<impl futures::task_impl::Spawn<F>>::wait_future::he5abfea9250b57cd (0x560dbccc2693)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/task_impl/std/mod.rs:228\n  33: futures::future::Future::wait::h92f1b21ed8215c82 (0x560dbcd4e801)\n             at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/mod.rs:299\n  34: enigma_core_app::ipc_test::tests::run_core::{{closure}}::h9209de92386eb1cc (0x560dbcdd3464)\n             at src/ipc_test.rs:32\n  35: std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2e86b42eaf0643 (0x560dbcdc7a0a)\n             at libstd/sys_common/backtrace.rs:136\n  36: std::thread::Builder::spawn::{{closure}}::{{closure}}::h6ea9fd98adf8127a (0x560dbce3c8bc)\n             at libstd/thread/mod.rs:409\n  37: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h728e71673833ca3d (0x560dbcdd21ec)\n             at libstd/panic.rs:313\n  38: std::panicking::try::do_call::hde3c80ecd8c93a03 (0x560dbcd4dbef)\n             at libstd/panicking.rs:310\n  39: __rust_maybe_catch_panic (0x560dbdb30f49)\n             at libpanic_unwind/lib.rs:102\n  40: std::panicking::try::hde5417f79fef6f4e (0x560dbcd4db11)\n             at libstd/panicking.rs:289\n  41: std::panic::catch_unwind::hcaf98550b8526701 (0x560dbcdd221c)\n             at libstd/panic.rs:392\n  42: std::thread::Builder::spawn::{{closure}}::hfa8f85f79b01baae (0x560dbce3c6e0)\n             at libstd/thread/mod.rs:408\n  43: <F as alloc::boxed::FnBox<A>>::call_box::h1343ffc82be5e5a0 (0x560dbce3c8f6)\n             at liballoc/boxed.rs:661\n  44: <alloc::boxed::Box<(dyn alloc::boxed::FnBox<A, Output=R> + \'a)> as core::ops::function::FnOnce<A>>::call_once::h0ef3831196409bcd (0x560dbdb2088a)\n             at liballoc/boxed.rs:671\n      std::sys_common::thread::start_thread::hec6cb70358a5b33c\n             at libstd/sys_common/thread.rs:24\n  45: std::sys::unix::thread::Thread::new::thread_start::hfaaf486d6bd1eb3f (0x560dbdb0c715)\n             at libstd/sys/unix/thread.rs:90\n  46: start_thread (0x7f991a4966da)\n  47: __clone (0x7f9919fa788e)\n  48: <unknown> (0x0)"), "id": String("9800"), "type": String("Error")})
test ipc_test::tests::test_compute_task ... ok

and was wondering if this is considered as a failed task or as a general error (in the p2p docs)?

Error in invocation of the external function: Trap: Trap { kind: Host(GasLimit) }

Describe the bug
Core throws the following error when trying to compute a task:

Error in invocation of the external function: Trap: Trap { kind: Host(GasLimit) }

To Reproduce
The error above happens when trying to execute a secret contract across the network. The relevant steps to reproduce the behavior are the following:

  1. Compile the simple_addition secret contract
  2. Deploy it successfully across the network with the following parameters (subsequently encrypted with the DH key):
  • Function = construct()
  • Parameters = (empty)
  1. Deployment succeeds, core returns the deployed bytecode.
  2. Call computeTask with the following parameters (subsequently encrypted with the DH key):
  • Function = addition(int32,int32)
  • Parameters = [ [1, 'int32'], [2, 'int32'], ]
  1. core throws the error above

Expected behavior
I was expecting that the computation task would succeed, like the deploySecretContract succeeded.

Backtrace

core_1        | 05:20:41 [DEBUG] tokio_zmq::async_types::future_types: ResponseFuture: received: Some("{\"type\":\"ComputeTask\",\"input\":{\"encryptedArgs\":\"47adaf2c304434d77f2a654459cab3586a67ad2eb01aae070f423fc5a5a214b2bf866a9c6fcad6aca768d7cabf49176930ae4955764dc91ae652077860bb91718439e8631553b720ecdb6ea2cfd0cfd76b50d1d61c293902b9d7ac36afe781c6cf1a7f6f9a99f7e8ad07d231b89f83f1b19fe72e114cc273bf8aaa83996037619cdbdde0306e0faaa5b895efaa98559802bc73317bb6efea5cc90c2d9c2a\",\"encryptedFn\":\"35b47dae6b718afb14f37d23b3eb574140ace17ef0b0ea0b379f7f0ef7103107094858bf7d9a47c490e1110669a680b7ae\",\"userDHKey\":\"2ea8e4cefb78efd0725ed12b23b05079a0a433cc8a656f212accf58672fee44a20cfcaa50466237273e762e49ec912be61358d5e90bff56a53a0ed42abfe27e3\",\"gasLimit\":1544,\"contractAddress\":\"88987af7d35eabcad95915b93bfd3d2bc3308f06b7197478b0dfca268f0497dc\"},\"id\":\"7GaMwT9XmmRX\"}")
core_1        | 05:20:41 [DEBUG] enigma_core_app::db::dal: DB: Read: cf: 88987af7d35eabcad95915b93bfd3d2bc3308f06b7197478b0dfca268f0497dc, key: [3]
core_1        | 05:20:42 [DEBUG] enigma_core_app::db::dal: DB: Read: cf: 88987af7d35eabcad95915b93bfd3d2bc3308f06b7197478b0dfca268f0497dc, key: [2]
core_1        | 05:20:42 [DEBUG] enigma_core_app::db::dal: LOG DERIVE: [231, 35, 223, 50, 98, 113, 138, 164, 130, 47, 55, 131, 102, 194, 208, 201, 61, 97, 102, 31, 124, 33, 69, 179, 91, 161, 224, 134, 36, 206, 239, 184, 211, 44, 170, 23, 183, 160, 138, 219, 8, 124, 33, 81, 232, 233, 35, 95, 34, 220, 118, 164, 39, 74, 67, 130, 159, 102, 211, 2, 23, 163, 255, 228, 22, 198, 226, 135, 29, 166, 53, 37, 72, 209, 207, 206, 164, 111, 167, 53, 122, 231, 10, 165, 230, 175]
core_1        | Error in invocation of the external function: Trap: Trap { kind: Host(GasLimit) }
core_1        | 05:20:42 [DEBUG] enigma_core_app::wasm_u::wasm: LOG DERIVE: EnclaveFailError { err: WasmError, status: SGX_SUCCESS }
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::hdfd00623e65741c1 (0x5556515f7c5d)
core_1        |    1: <failure::backtrace::Backtrace as core::default::Default>::default::h2d37721f771f169f (0x5556515f7eef)
core_1        |    2: failure::backtrace::Backtrace::new::h292cfb08c74e6fd4 (0x5556515f7f28)
core_1        |    3: enigma_core_app::wasm_u::wasm::execute::h2b6fe254aa973e32 (0x55565155cddc)
core_1        |    4: enigma_core_app::networking::ipc_listener::handling::compute_task::hb4a4191638cad8c4 (0x5556515145b6)
core_1        |    5: enigma_core_app::networking::ipc_listener::handle_message::h76aceb68e20cef19 (0x555651530b58)
core_1        |    6: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::hb23859c0ae5599c0 (0x5556514f603d)
core_1        |    7: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h517f7d23820e7bd1 (0x5556514fc6ba)
core_1        |    8: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hf41336ca30da212b (0x5556514f268d)
core_1        |    9: <futures::future::chain::Chain<A, B, C>>::poll::h074c0659b4833248 (0x5556514fea6c)
core_1        |   10: futures::task_impl::std::set::hf18bef85e2eb6c8a (0x5556514fc431)
core_1        |   11: futures::task_impl::std::ThreadNotify::with_current::h454491fb7082bf14 (0x5556514fc290)
core_1        |   12: futures::future::Future::wait::h761e03cb75db9c71 (0x5556514f3cec)
core_1        |   13: enigma_core_app::main::h32f14e4725b4e0bb (0x5556514f4977)
core_1        |   14: std::rt::lang_start::{{closure}}::hecabd70545cbfcce (0x5556514f5232)
core_1        |   15: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x5556519dcee2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   16: __rust_maybe_catch_panic (0x5556519fdf59)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   17: std::panicking::try::h97436c380f30f437 (0x5556519df435)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   18: main (0x5556514f4c23)
core_1        |   19: __libc_start_main (0x7f5f4122bb96)
core_1        |   20: _start (0x5556514eee39)
core_1        |   21: <unknown> (0x0)
core_1        | 05:20:42 [INFO] LOG DERIVE: Err(EnclaveFailError { err: WasmError, status: SGX_SUCCESS }
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::hdfd00623e65741c1 (0x5556515f7c5d)
core_1        |    1: <failure::backtrace::Backtrace as core::default::Default>::default::h2d37721f771f169f (0x5556515f7eef)
core_1        |    2: failure::backtrace::Backtrace::new::h292cfb08c74e6fd4 (0x5556515f7f28)
core_1        |    3: enigma_core_app::wasm_u::wasm::execute::h2b6fe254aa973e32 (0x55565155cddc)
core_1        |    4: enigma_core_app::networking::ipc_listener::handling::compute_task::hb4a4191638cad8c4 (0x5556515145b6)
core_1        |    5: enigma_core_app::networking::ipc_listener::handle_message::h76aceb68e20cef19 (0x555651530b58)
core_1        |    6: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::hb23859c0ae5599c0 (0x5556514f603d)
core_1        |    7: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h517f7d23820e7bd1 (0x5556514fc6ba)
core_1        |    8: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hf41336ca30da212b (0x5556514f268d)
core_1        |    9: <futures::future::chain::Chain<A, B, C>>::poll::h074c0659b4833248 (0x5556514fea6c)
core_1        |   10: futures::task_impl::std::set::hf18bef85e2eb6c8a (0x5556514fc431)
core_1        |   11: futures::task_impl::std::ThreadNotify::with_current::h454491fb7082bf14 (0x5556514fc290)
core_1        |   12: futures::future::Future::wait::h761e03cb75db9c71 (0x5556514f3cec)
core_1        |   13: enigma_core_app::main::h32f14e4725b4e0bb (0x5556514f4977)
core_1        |   14: std::rt::lang_start::{{closure}}::hecabd70545cbfcce (0x5556514f5232)
core_1        |   15: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x5556519dcee2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   16: __rust_maybe_catch_panic (0x5556519fdf59)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   17: std::panicking::try::h97436c380f30f437 (0x5556519df435)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   18: main (0x5556514f4c23)
core_1        |   19: __libc_start_main (0x7f5f4122bb96)
core_1        |   20: _start (0x5556514eee39)
core_1        |   21: <unknown> (0x0))
core_1        | 05:20:42 [ERROR] Unwrapped p2p Message failed: EnclaveFailError { err: WasmError, status: SGX_SUCCESS }
core_1        | 
core_1        | stack backtrace:
core_1        |    0: failure::backtrace::internal::InternalBacktrace::new::hdfd00623e65741c1 (0x5556515f7c5d)
core_1        |    1: <failure::backtrace::Backtrace as core::default::Default>::default::h2d37721f771f169f (0x5556515f7eef)
core_1        |    2: failure::backtrace::Backtrace::new::h292cfb08c74e6fd4 (0x5556515f7f28)
core_1        |    3: enigma_core_app::wasm_u::wasm::execute::h2b6fe254aa973e32 (0x55565155cddc)
core_1        |    4: enigma_core_app::networking::ipc_listener::handling::compute_task::hb4a4191638cad8c4 (0x5556515145b6)
core_1        |    5: enigma_core_app::networking::ipc_listener::handle_message::h76aceb68e20cef19 (0x555651530b58)
core_1        |    6: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::hb23859c0ae5599c0 (0x5556514f603d)
core_1        |    7: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h517f7d23820e7bd1 (0x5556514fc6ba)
core_1        |    8: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hf41336ca30da212b (0x5556514f268d)
core_1        |    9: <futures::future::chain::Chain<A, B, C>>::poll::h074c0659b4833248 (0x5556514fea6c)
core_1        |   10: futures::task_impl::std::set::hf18bef85e2eb6c8a (0x5556514fc431)
core_1        |   11: futures::task_impl::std::ThreadNotify::with_current::h454491fb7082bf14 (0x5556514fc290)
core_1        |   12: futures::future::Future::wait::h761e03cb75db9c71 (0x5556514f3cec)
core_1        |   13: enigma_core_app::main::h32f14e4725b4e0bb (0x5556514f4977)
core_1        |   14: std::rt::lang_start::{{closure}}::hecabd70545cbfcce (0x5556514f5232)
core_1        |   15: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x5556519dcee2)
core_1        |              at libstd/rt.rs:59
core_1        |       std::panicking::try::do_call::h5a4eb2ce70a501f5
core_1        |              at libstd/panicking.rs:310
core_1        |   16: __rust_maybe_catch_panic (0x5556519fdf59)
core_1        |              at libpanic_unwind/lib.rs:102
core_1        |   17: std::panicking::try::h97436c380f30f437 (0x5556519df435)
core_1        |              at libstd/panicking.rs:289
core_1        |       std::panic::catch_unwind::h9c28ef6e0c478c5d
core_1        |              at libstd/panic.rs:392
core_1        |       std::rt::lang_start_internal::h6abd6befa9748e41
core_1        |              at libstd/rt.rs:58
core_1        |   18: main (0x5556514f4c23)
core_1        |   19: __libc_start_main (0x7f5f4122bb96)
core_1        |   20: _start (0x5556514eee39)
core_1        |   21: <unknown> (0x0)
core_1        | 05:20:42 [DEBUG] tokio_zmq::async_types::sink_stream: Called start_send
core_1        | 05:20:42 [DEBUG] tokio_zmq::async_types::sink_stream: Created sink
core_1        | 05:20:42 [DEBUG] tokio_zmq::async_types::sink_stream: Called poll_complete
core_1        | 05:20:42 [DEBUG] tokio_zmq::async_types::future_types: RequestFuture: sending: Some("{\"id\":\"7GaMwT9XmmRX\",\"type\":\"Error\",\"msg\":\"EnclaveFailError { err: WasmError, status: SGX_SUCCESS }\\n\\nstack backtrace:\\n   0: failure::backtrace::internal::InternalBacktrace::new::hdfd00623e65741c1 (0x5556515f7c5d)\\n   1: <failure::backtrace::Backtrace as core::default::Default>::default::h2d37721f771f169f (0x5556515f7eef)\\n   2: failure::backtrace::Backtrace::new::h292cfb08c74e6fd4 (0x5556515f7f28)\\n   3: enigma_core_app::wasm_u::wasm::execute::h2b6fe254aa973e32 (0x55565155cddc)\\n   4: enigma_core_app::networking::ipc_listener::handling::compute_task::hb4a4191638cad8c4 (0x5556515145b6)\\n   5: enigma_core_app::networking::ipc_listener::handle_message::h76aceb68e20cef19 (0x555651530b58)\\n   6: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::hb23859c0ae5599c0 (0x5556514f603d)\\n   7: <futures::stream::forward::Forward<T, U> as futures::future::Future>::poll::h517f7d23820e7bd1 (0x5556514fc6ba)\\n   8: <futures::future::map::Map<A, F> as futures::future::Future>::poll::hf41336ca30da212b (0x5556514f268d)\\n   9: <futures::future::chain::Chain<A, B, C>>::poll::h074c0659b4833248 (0x5556514fea6c)\\n  10: futures::task_impl::std::set::hf18bef85e2eb6c8a (0x5556514fc431)\\n  11: futures::task_impl::std::ThreadNotify::with_current::h454491fb7082bf14 (0x5556514fc290)\\n  12: futures::future::Future::wait::h761e03cb75db9c71 (0x5556514f3cec)\\n  13: enigma_core_app::main::h32f14e4725b4e0bb (0x5556514f4977)\\n  14: std::rt::lang_start::{{closure}}::hecabd70545cbfcce (0x5556514f5232)\\n  15: std::rt::lang_start_internal::{{closure}}::hdc2a896aeffb5179 (0x5556519dcee2)\\n             at libstd/rt.rs:59\\n      std::panicking::try::do_call::h5a4eb2ce70a501f5\\n             at libstd/panicking.rs:310\\n  16: __rust_maybe_catch_panic (0x5556519fdf59)\\n             at libpanic_unwind/lib.rs:102\\n  17: std::panicking::try::h97436c380f30f437 (0x5556519df435)\\n             at libstd/panicking.rs:289\\n      std::panic::catch_unwind::h9c28ef6e0c478c5d\\n             at libstd/panic.rs:392\\n      std::rt::lang_start_internal::h6abd6befa9748e41\\n             at libstd/rt.rs:58\\n  18: main (0x5556514f4c23)\\n  19: __libc_start_main (0x7f5f4122bb96)\\n  20: _start (0x5556514eee39)\\n  21: <unknown> (0x0)\"}")
core_1        | 05:20:42 [DEBUG] tokio_zmq::async_types::sink_stream: Called poll_complete

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version: 16.04

The Principal node doesn't compile

Tried compiling the principal node to write a json-rpc client in enigma-p2p and it doesn't compile:

elichai2@elichai2-YOGA-720:~/CLionProjects/enigma/enigma-core/enigma-principal$ make
    Updating crates.io index
    Updating git repository `https://github.com/paritytech/jsonrpc`
    Updating git repository `https://github.com/elichai/rust-rocksdb.git`                                                                                                                                                                                                      
    Updating git repository `https://github.com/baidu/rust-sgx-sdk.git`                                                                                                                                                                                                        
    Updating git repository `https://github.com/tomusdrw/rust-web3.git`                                                                                                                                                                                                        
error: no matching package named `jsonrpc-minihttp-server` found                                                                                                                                                                                                               
location searched: https://github.com/paritytech/jsonrpc
required by package `enigma-principal-app v0.1.3 (/home/elichai2/CLionProjects/enigma/enigma-core/enigma-principal/app)`
Makefile:120: recipe for target 'enigma-principal-app' failed

I see that the CI also fails to compile it but for different reasons.

@fredfortier What should I do?
a quick look at parity's github shows that they deleted the crate: paritytech/jsonrpc@2b47a5c

This is one of the main reasons it's best to use crates from crates.io and not from random githubs. (or at the very least tag it to a specific revision)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.