Skip to content

Fail to build mdzk version 0.5.2 #107

@ImGabe

Description

@ImGabe

mdzk fails when building on github actions and on my computer by cargo install

Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.65.0 (897e37553 2022-11-02)
/home/runner/.cargo/bin/rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2022-12-15, rust version 1.66.0 (69f9c33d7 2022-12-12)
    Compiling mdzk v0.5.2
  error[E0063]: missing field `extra_watch_dirs` in initializer of `mdbook::config::BuildConfig`
    --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/mdzk-0.5.2/src/config/build.rs:36:9
     |
  36 |         Self {
     |         ^^^^ missing `extra_watch_dirs`
  
  error[E0609]: no field `livereload_url` on type `HtmlConfig`
    --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/mdzk-0.5.2/src/renderer/mdzk_renderer.rs:95:51
     |
  95 |         if let Some(ref livereload) = html_config.livereload_url {
     |                                                   ^^^^^^^^^^^^^^ unknown field
     |
     = note: available fields are: `theme`, `default_theme`, `preferred_dark_theme`, `curly_quotes`, `mathjax_support` ... and 16 others
  
  Some errors have detailed explanations: E0063, E0609.
  For more information about an error, try `rustc --explain E0063`.
  error: could not compile `mdzk` due to 2 previous errors
  warning: build failed, waiting for other jobs to finish...
  error: failed to compile `mdzk v0.5.2`, intermediate artifacts can be found at `/tmp/cargo-installNcxbor`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions