Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build mdzk version 0.5.2 #107

Open
ImGabe opened this issue Dec 28, 2022 · 1 comment
Open

Fail to build mdzk version 0.5.2 #107

ImGabe opened this issue Dec 28, 2022 · 1 comment

Comments

@ImGabe
Copy link

ImGabe commented Dec 28, 2022

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`
@RyanGreenup
Copy link

The last commit that I can get to compile is:

commit 3c2eba921dc42960c95ac270626d0129d5c5340d (HEAD)
Author: kmaasrud <[email protected]>
Date:   Sat Apr 16 11:20:26 2022 +0200

    build: update dependencies

I didn't debug each commit, I just jumped one into the next until I got a zero exit status.

Is this still being worked on, are there any good first issues?

Rust version:
  nightly-x86_64-unknown-linux-gnu updated - rustc 1.74.0-nightly (734a0d0aa 2023-08-25) (from rustc 1.73.0-nightly (180dffba1 2023-08-14))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants