Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling servo-media v0.1.0 (https://github.com/servo/media#4e2602b5)
- warning: redundant linker flag specified for library `stdc++`
- error[E0277]: the trait bound `u8: std::convert::From<rust::MutableHandle<'_, u8>>` is not satisfied
- --> /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/rust.rs:1292:52
- |
- 1292 | wrap!(@inner $saved <> ($($acc,)* $arg.into(),) <> $($rest)*);
- | ^^^^ the trait `std::convert::From<rust::MutableHandle<'_, u8>>` is not implemented for `u8`
- |
- ::: /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/jsapi_wrappers.in:44:1
- |
- 44 | wrap!(jsapi: pub fn FinishMultiOffThreadScriptsDecoder(cx: *mut JSContext, token: *mut ::std::os::raw::c_void, scripts: MutableHandle<ScriptVector>) -> bool);
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
- |
- = help: the following implementations were found:
- <u8 as std::convert::From<bool>>
- <u8 as std::convert::From<std::num::NonZeroU8>>
- = note: required because of the requirements on the impl of `std::convert::Into<u8>` for `rust::MutableHandle<'_, u8>`
- error[E0277]: the trait bound `u8: std::convert::From<rust::MutableHandle<'_, u8>>` is not satisfied
- --> /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/rust.rs:1435:113
- |
- 1435 | wrap!(@inner $saved <> ($($declargs)* $arg: &mut MutableHandle<$gentype> , ) <> ($($acc,)* (*$arg).into(),) <> $($rest)*);
- | ^^^^ the trait `std::convert::From<rust::MutableHandle<'_, u8>>` is not implemented for `u8`
- |
- ::: /home/thavlik/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs-0.10.0/src/jsapi_wrappers.in:44:1
- |
- 44 | wrap!(jsapi: pub fn FinishMultiOffThreadScriptsDecoder(cx: *mut JSContext, token: *mut ::std::os::raw::c_void, scripts: MutableHandle<ScriptVector>) -> bool);
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation
- |
- = help: the following implementations were found:
- <u8 as std::convert::From<bool>>
- <u8 as std::convert::From<std::num::NonZeroU8>>
- = note: required because of the requirements on the impl of `std::convert::Into<u8>` for `rust::MutableHandle<'_, u8>`
- error: aborting due to 2 previous errors
- For more information about this error, try `rustc --explain E0277`.
- The following warnings were emitted during compilation:
- warning: src/jsglue.cpp: In function ‘void DeleteCompileOptions(JS::ReadOnlyCompileOptions*)’:
- 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]
- warning: delete static_cast<JS::OwningCompileOptions *>(aOpts);
- warning: ^
- warning: At global scope:
- warning: cc1plus: warning: unrecognized command line option ‘-Wno-return-type-c-linkage’
- warning: cc1plus: warning: unrecognized command line option ‘-Wno-c++0x-extensions’
- error: Could not compile `mozjs`.
- To learn more, run the command again with --verbose.
- Build FAILED in 0:13:28
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement