daily pastebin goal
73%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Compiling servo-media v0.1.0 (https://github.com/servo/media#4e2602b5)
  2. warning: redundant linker flag specified for library `stdc++`
  3.  
  4. error[E0277]: the trait bound `u8: std::convert::From<rust::MutableHandle<'_, u8>>` is not satisfied
  5.     --> /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/rust.rs:1292:52
  6.      |
  7. 1292 |             wrap!(@inner $saved <> ($($acc,)* $arg.into(),) <> $($rest)*);
  8.      |                                                    ^^^^ the trait `std::convert::From<rust::MutableHandle<'_, u8>>` is not implemented for `u8`
  9.      |
  10.     ::: /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/jsapi_wrappers.in:44:1
  11.      |
  12. 44   | wrap!(jsapi: pub fn FinishMultiOffThreadScriptsDecoder(cx: *mut JSContext, token: *mut ::std::os::raw::c_void, scripts: MutableHandle<ScriptVector>) -> bool);
  13.      | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
  14.      |
  15.      = help: the following implementations were found:
  16.                <u8 as std::convert::From<bool>>
  17.                <u8 as std::convert::From<std::num::NonZeroU8>>
  18.      = note: required because of the requirements on the impl of `std::convert::Into<u8>` for `rust::MutableHandle<'_, u8>`
  19.  
  20. error[E0277]: the trait bound `u8: std::convert::From<rust::MutableHandle<'_, u8>>` is not satisfied
  21.     --> /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/rust.rs:1435:113
  22.      |
  23. 1435 |             wrap!(@inner $saved <> ($($declargs)* $arg: &mut MutableHandle<$gentype> , )  <> ($($acc,)* (*$arg).into(),) <> $($rest)*);
  24.      |                                                                                                                 ^^^^ the trait `std::convert::From<rust::MutableHandle<'_, u8>>` is not implemented for `u8`
  25.      |
  26.     ::: /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/jsapi_wrappers.in:44:1
  27.      |
  28. 44   | wrap!(jsapi: pub fn FinishMultiOffThreadScriptsDecoder(cx: *mut JSContext, token: *mut ::std::os::raw::c_void, scripts: MutableHandle<ScriptVector>) -> bool);
  29.      | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
  30.      |
  31.      = help: the following implementations were found:
  32.                <u8 as std::convert::From<bool>>
  33.                <u8 as std::convert::From<std::num::NonZeroU8>>
  34.      = note: required because of the requirements on the impl of `std::convert::Into<u8>` for `rust::MutableHandle<'_, u8>`
  35.  
  36. error: aborting due to 2 previous errors
  37.  
  38. For more information about this error, try `rustc --explain E0277`.
  39. The following warnings were emitted during compilation:
  40.  
  41. warning: src/jsglue.cpp: In function ‘void DeleteCompileOptions(JS::ReadOnlyCompileOptions*)’:
  42. warning: src/jsglue.cpp:586:57: warning: deleting object of polymorphic class type ‘JS::OwningCompileOptions’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
  43. warning:      delete static_cast<JS::OwningCompileOptions *>(aOpts);
  44. warning:                                                          ^
  45. warning: At global scope:
  46. warning: cc1plus: warning: unrecognized command line option ‘-Wno-return-type-c-linkage’
  47. warning: cc1plus: warning: unrecognized command line option ‘-Wno-c++0x-extensions’
  48.  
  49. error: Could not compile `mozjs`.
  50.  
  51. To learn more, run the command again with --verbose.
  52. Build FAILED in 0:13:28
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