Hi All,

I hope someone here is familiar with this issue and can point me in the right 
direction. I have been trying to build Seamonkey 2.53.1 for a while now, but to 
no avail. Whichever mozconfig settings I take, I always get kicked off the 
build with an error on nsstring v0.10.
The error is:

______________________________________________________________________________

   Compiling nsstring v0.1.0 
(/home/hjheins/build/Seamonkey/src/seamonkey-2.53.1/mozilla/xpcom/rust/nsstring)
error: use of deprecated item 'try': use the `?` operator instead
   --> 
/home/hjheins/build/Seamonkey/src/seamonkey-2.53.1/mozilla/xpcom/rust/nsstring/src/lib.rs:138:5
    |
138 | /     bitflags! {
139 | |         // While this has the same layout as u16, it cannot be passed
140 | |         // over FFI safely as a u16.
141 | |         #[repr(C)]
...   |
149 | |         }
150 | |     }
    | |_____^
    |
note: lint level defined here
   --> 
/home/hjheins/build/Seamonkey/src/seamonkey-2.53.1/mozilla/xpcom/rust/nsstring/src/lib.rs:116:9
    |
116 | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
    = note: this error originates in a macro outside of the current crate (in 
Nightly builds, run with -Z external-macro-backtrace for more info)

error: use of deprecated item 'try': use the `?` operator instead
   --> 
/home/hjheins/build/Seamonkey/src/seamonkey-2.53.1/mozilla/xpcom/rust/nsstring/src/lib.rs:138:5
    |
138 | /     bitflags! {
139 | |         // While this has the same layout as u16, it cannot be passed
140 | |         // over FFI safely as a u16.
141 | |         #[repr(C)]
...   |
149 | |         }
150 | |     }
    | |_____^
    |
    = note: this error originates in a macro outside of the current crate (in 
Nightly builds, run with -Z external-macro-backtrace for more info)

error: use of deprecated item 'try': use the `?` operator instead
   --> 
/home/hjheins/build/Seamonkey/src/seamonkey-2.53.1/mozilla/xpcom/rust/nsstring/src/lib.rs:154:5
    |
154 | /     bitflags! {
155 | |         // While this has the same layout as u16, it cannot be passed
156 | |         // over FFI safely as a u16.
157 | |         #[repr(C)]
...   |
161 | |         }
162 | |     }
    | |_____^
    |
    = note: this error originates in a macro outside of the current crate (in 
Nightly builds, run with -Z external-macro-backtrace for more info)

error: use of deprecated item 'try': use the `?` operator instead
   --> 
/home/hjheins/build/Seamonkey/src/seamonkey-2.53.1/mozilla/xpcom/rust/nsstring/src/lib.rs:154:5
    |
154 | /     bitflags! {
155 | |         // While this has the same layout as u16, it cannot be passed
156 | |         // over FFI safely as a u16.
157 | |         #[repr(C)]
...   |
161 | |         }
162 | |     }
    | |_____^
    |
    = note: this error originates in a macro outside of the current crate (in 
Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to 4 previous errors

error: could not compile `nsstring`.

_______________________________________________________________________________

Could someone please tell me what I am doing wrong? I have cargo and rustc 
installed, and am compiling with gcc.

Thank you for any input!

regards,

Hendrik-Jan Heins
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to