Closed Bug 1583501 Opened 5 years ago Closed 5 years ago

Baldrdash fails to build with rust 1.39

Categories

(Core :: JavaScript: WebAssembly, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1583471
Tracking Status
firefox71 --- affected

People

(Reporter: jbeich, Unassigned)

Details

$ rustc -vV
rustc 1.39.0-nightly
binary: rustc
commit-hash: 66bf391c3aab
commit-date: 2019-09-23
host: x86_64-unknown-freebsd
release: 1.39.0-nightly
LLVM version: 9.0

$ ./mach bootstrap
$ ./mach build
[...]
   Compiling baldrdash v0.1.0 (js/src/wasm/cranelift)
error[E0277]: `bindings::low_level::BD_ConstantValue__bindgen_ty_1` doesn't implement `std::fmt::Debug`
   --> obj-x86_64-unknown-freebsd13.0/x86_64-unknown-freebsd/release/build/baldrdash-24ac2c66693baf58/out/bindings.rs:685:5
    |
685 |     pub u: BD_ConstantValue__bindgen_ty_1,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `bindings::low_level::BD_ConstantValue__bindgen_ty_1` cannot be formatted using `{:?}`
    |
    = help: the trait `std::fmt::Debug` is not implemented for `bindings::low_level::BD_ConstantValue__bindgen_ty_1`
    = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
    = note: required because of the requirements on the impl of `std::fmt::Debug` for `&bindings::low_level::BD_ConstantValue__bindgen_ty_1`
    = note: required for the cast to the object type `dyn std::fmt::Debug`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.
error: could not compile `baldrdash`.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.