mdzk-rs / mdzk

General-purpose interface to connected notes

Home Page:https://mdzk.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to build mdzk version 0.5.2

ImGabe opened this issue · comments

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`

The last commit that I can get to compile is:

commit 3c2eba921dc42960c95ac270626d0129d5c5340d (HEAD)
Author: kmaasrud <km@aasrud.com>
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))