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

mdbook-mermaid needs updating #775

Closed
detrumi opened this issue Aug 24, 2022 · 0 comments · Fixed by #776
Closed

mdbook-mermaid needs updating #775

detrumi opened this issue Aug 24, 2022 · 0 comments · Fixed by #776

Comments

@detrumi
Copy link
Member

detrumi commented Aug 24, 2022

mdbook-mermaid is locked to 0.6.1 in the CI build, which is failing on nightly because of yanked packages:

Failed build

cargo install mdbook-mermaid --locked --version 0.6.1
 Downloading crates ...
  Downloaded mdbook-mermaid v0.6.1
    Updating crates.io index
  Installing mdbook-mermaid v0.6.1
warning: package `ammonia v3.1.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `futures v0.3.5` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `futures-util v0.3.5` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `miow v0.2.1` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `net2 v0.2.33` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `pin-project v0.4.24` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `pin-project-lite v0.1.8` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `socket2 v0.3.15` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
...
   Compiling socket2 v0.3.15
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.15/src/sockaddr.rs:176:9
    |
176 |         mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: source type: `SocketAddrV4` (48 bits)
    = note: target type: `sockaddr_in` (128 bits)
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

Successfully merging a pull request may close this issue.

1 participant