daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. error[E0308]: mismatched types
  2.     --> mm2src/peers/peers.rs:1048:58
  3.      |
  4. 1048 |                 let chunk_salt = unsafe {CStr::from_ptr (saltbuf.as_ptr())} .to_bytes();
  5.      |                                                          ^^^^^^^^^^^^^^^^ expected u8, found i8
  6.      |
  7.      = note: expected type `*const u8`
  8.                 found type `*const i8`
  9.  
  10. error: aborting due to previous error
  11.  
  12. For more information about this error, try `rustc --explain E0308`.
  13. error: Could not compile `peers`.
  14.  
  15. Caused by:
  16.   process didn't exit successfully: `rustc --edition=2018 --crate-name peers mm2src/peers/peers.rs --color always --crate-type lib --emit=dep-info,link -C opt-level=1 -C debuginfo=2 -C debug-assertions=on -C metadata=8b7e37a52a654995 -C extra-filename=-8b7e37a52a654995 --out-dir /home/pi/SuperNET/target/debug/deps -C incremental=/home/pi/SuperNET/target/debug/incremental -L dependency=/home/pi/SuperNET/target/debug/deps --extern arrayref=/home/pi/SuperNET/target/debug/deps/libarrayref-e5ebf28c9a4b8fcb.rlib --extern byteorder=/home/pi/SuperNET/target/debug/deps/libbyteorder-261534ecac547336.rlib --extern common=/home/pi/SuperNET/target/debug/deps/libcommon-9c0272b15c86b04a.rlib --extern crc=/home/pi/SuperNET/target/debug/deps/libcrc-3b0063a7b9873389.rlib --extern crossbeam=/home/pi/SuperNET/target/debug/deps/libcrossbeam-9d2aee33f9526afb.rlib --extern dirs=/home/pi/SuperNET/target/debug/deps/libdirs-27e398ad4ab18955.rlib --extern either=/home/pi/SuperNET/target/debug/deps/libeither-1b80abaead0310e1.rlib --extern fomat_macros=/home/pi/SuperNET/target/debug/deps/libfomat_macros-4cfac90931730e68.rlib --extern futures=/home/pi/SuperNET/target/debug/deps/libfutures-713b3facbaecb454.rlib --extern gstuff=/home/pi/SuperNET/target/debug/deps/libgstuff-ca956efd36387622.rlib --extern hashbrown=/home/pi/SuperNET/target/debug/deps/libhashbrown-153bba1f403174e6.rlib --extern itertools=/home/pi/SuperNET/target/debug/deps/libitertools-0975b0c4518d805e.rlib --extern lazy_static=/home/pi/SuperNET/target/debug/deps/liblazy_static-5d73b1da5c7ad214.rlib --extern libc=/home/pi/SuperNET/target/debug/deps/liblibc-eb26e3066567a061.rlib --extern rand=/home/pi/SuperNET/target/debug/deps/librand-ff7c820e0d663719.rlib --extern serde=/home/pi/SuperNET/target/debug/deps/libserde-0fc1e4afd5e951ff.rlib --extern serde_bencode=/home/pi/SuperNET/target/debug/deps/libserde_bencode-1504388f2b64dbd9.rlib --extern serde_bytes=/home/pi/SuperNET/target/debug/deps/libserde_bytes-68d936ace9a90355.rlib --extern serde_derive=/home/pi/SuperNET/target/debug/deps/libserde_derive-aeea02701925ed3e.so --extern serde_json=/home/pi/SuperNET/target/debug/deps/libserde_json-041e9e53f2a91514.rlib --extern unwrap=/home/pi/SuperNET/target/debug/deps/libunwrap-265b72b12294913c.rlib -L native=/home/pi/SuperNET/marketmaker_depends/libtorrent-rasterbar-1.2.0-rc/build -L native=/home/pi/SuperNET/target/debug/build/common-05dc3cbf577042e7/out -L native=/home/pi/SuperNET/target/debug/build/common-05dc3cbf577042e7/out -L native=/home/pi/SuperNET/build/iguana/exchanges -L native=/home/pi/SuperNET/build/crypto777 -L native=/home/pi/SuperNET/build/crypto777/jpeg -L native=/home/pi/SuperNET/build/nanomsg-build -L native=/home/pi/SuperNET/target/debug/build/backtrace-sys-aa2ff3216a543800/out -L native=/home/pi/SuperNET/target/debug/build/ring-81b344ddb1518da7/out` (exit code: 1)
  17. warning: build failed, waiting for other jobs to finish...
  18. error[E0308]: mismatched types
  19.    --> mm2src/coins/lp_coins.rs:639:13
  20.     |
  21. 639 |     try_s! (safecopy! (ii.symbol, "{}", ticker));
  22.     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected i8, found u8
  23.     |
  24.     = note: expected type `&mut [i8]`
  25.                found type `&mut [u8]`
  26.     = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
  27.  
  28. error[E0308]: mismatched types
  29.    --> mm2src/coins/lp_coins.rs:664:30
  30.     |
  31. 664 |     if rpcport != 0 {try_s! (safecopy! (ii.serverport, "127.0.0.1:{}", rpcport))}
  32.     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected i8, found u8
  33.     |
  34.     = note: expected type `&mut [i8]`
  35.                found type `&mut [u8]`
  36.     = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
  37.  
  38. error[E0308]: mismatched types
  39.    --> mm2src/coins/lp_coins.rs:757:17
  40.     |
  41. 757 |         try_s! (safecopy! (ii.etomic, "{}", etomic));
  42.     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected i8, found u8
  43.     |
  44.     = note: expected type `&mut [i8]`
  45.                found type `&mut [u8]`
  46.     = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
  47.  
  48. error: aborting due to 3 previous errors
  49.  
  50. For more information about this error, try `rustc --explain E0308`.
  51. error: Could not compile `coins`.
  52.  
  53. Caused by:
  54.   process didn't exit successfully: `rustc --edition=2018 --crate-name coins mm2src/coins/lp_coins.rs --color always --crate-type lib --emit=dep-info,link -C opt-level=1 -C debuginfo=2 -C debug-assertions=on -C metadata=35a6d5abffd5f94c -C extra-filename=-35a6d5abffd5f94c --out-dir /home/pi/SuperNET/target/debug/deps -C incremental=/home/pi/SuperNET/target/debug/incremental -L dependency=/home/pi/SuperNET/target/debug/deps --extern base64=/home/pi/SuperNET/target/debug/deps/libbase64-8cfd0ac2454d52c4.rlib --extern bitcrypto=/home/pi/SuperNET/target/debug/deps/libbitcrypto-87f0b7b5f911e80b.rlib --extern byteorder=/home/pi/SuperNET/target/debug/deps/libbyteorder-261534ecac547336.rlib --extern bytes=/home/pi/SuperNET/target/debug/deps/libbytes-e874464c134844c9.rlib --extern chain=/home/pi/SuperNET/target/debug/deps/libchain-b3f7da3b19f12df1.rlib --extern common=/home/pi/SuperNET/target/debug/deps/libcommon-9c0272b15c86b04a.rlib --extern secp256k1=/home/pi/SuperNET/target/debug/deps/libsecp256k1-6583e9b3fd2aa5d6.rlib --extern ethabi=/home/pi/SuperNET/target/debug/deps/libethabi-f8f7585d33da2c78.rlib --extern ethcore_transaction=/home/pi/SuperNET/target/debug/deps/libethcore_transaction-0dac11b153961bf8.rlib --extern ethereum_types=/home/pi/SuperNET/target/debug/deps/libethereum_types-fe79479fb2c1bc40.rlib --extern ethkey=/home/pi/SuperNET/target/debug/deps/libethkey-bf4ca712944cbb4c.rlib --extern fomat_macros=/home/pi/SuperNET/target/debug/deps/libfomat_macros-4cfac90931730e68.rlib --extern futures=/home/pi/SuperNET/target/debug/deps/libfutures-713b3facbaecb454.rlib --extern futures_timer=/home/pi/SuperNET/target/debug/deps/libfutures_timer-6435ba220b52fc3e.rlib --extern gstuff=/home/pi/SuperNET/target/debug/deps/libgstuff-ca956efd36387622.rlib --extern hashbrown=/home/pi/SuperNET/target/debug/deps/libhashbrown-153bba1f403174e6.rlib --extern hex=/home/pi/SuperNET/target/debug/deps/libhex-c8f4fb1a4484c514.rlib --extern hyper=/home/pi/SuperNET/target/debug/deps/libhyper-83185d013b1aca23.rlib --extern keys=/home/pi/SuperNET/target/debug/deps/libkeys-35b8765fe4e4dfc7.rlib --extern lazy_static=/home/pi/SuperNET/target/debug/deps/liblazy_static-5d73b1da5c7ad214.rlib --extern libc=/home/pi/SuperNET/target/debug/deps/liblibc-eb26e3066567a061.rlib --extern primitives=/home/pi/SuperNET/target/debug/deps/libprimitives-a08e9842313bd155.rlib --extern rand=/home/pi/SuperNET/target/debug/deps/librand-ff7c820e0d663719.rlib --extern rlp=/home/pi/SuperNET/target/debug/deps/librlp-b355ff5674156279.rlib --extern rpc=/home/pi/SuperNET/target/debug/deps/librpc-7f657936b7129dd3.rlib --extern script=/home/pi/SuperNET/target/debug/deps/libscript-19a037dedfa6669a.rlib --extern serde=/home/pi/SuperNET/target/debug/deps/libserde-0fc1e4afd5e951ff.rlib --extern serde_derive=/home/pi/SuperNET/target/debug/deps/libserde_derive-aeea02701925ed3e.so --extern serde_json=/home/pi/SuperNET/target/debug/deps/libserde_json-041e9e53f2a91514.rlib --extern serialization=/home/pi/SuperNET/target/debug/deps/libserialization-a60a01ff89887323.rlib --extern sha2=/home/pi/SuperNET/target/debug/deps/libsha2-e2c29e4a7c94b438.rlib --extern tokio=/home/pi/SuperNET/target/debug/deps/libtokio-3a1837434f8aba8f.rlib --extern tokio_timer=/home/pi/SuperNET/target/debug/deps/libtokio_timer-59d6840de62eb535.rlib --extern unwrap=/home/pi/SuperNET/target/debug/deps/libunwrap-265b72b12294913c.rlib --extern web3=/home/pi/SuperNET/target/debug/deps/libweb3-3f3abcbeb48afc66.rlib -L native=/home/pi/SuperNET/target/debug/build/rust-crypto-e6c17342528d4ce9/out -L native=/home/pi/SuperNET/marketmaker_depends/libtorrent-rasterbar-1.2.0-rc/build -L native=/home/pi/SuperNET/target/debug/build/common-05dc3cbf577042e7/out -L native=/home/pi/SuperNET/target/debug/build/common-05dc3cbf577042e7/out -L native=/home/pi/SuperNET/build/iguana/exchanges -L native=/home/pi/SuperNET/build/crypto777 -L native=/home/pi/SuperNET/build/crypto777/jpeg -L native=/home/pi/SuperNET/build/nanomsg-build -L native=/home/pi/SuperNET/target/debug/build/backtrace-sys-aa2ff3216a543800/out -L native=/home/pi/SuperNET/target/debug/build/ring-81b344ddb1518da7/out -L native=/home/pi/SuperNET/target/debug/build/eth-secp256k1-ed50df22aca29941/out -L native=/home/pi/SuperNET/target/debug/build/eth-secp256k1-fd7f4f4a856dee00/out` (exit code: 1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top