rust-lang / chalk

An implementation and definition of the Rust trait system using a PROLOG-like logic solver
https://rust-lang.github.io/chalk/book/
Other
1.81k stars 179 forks source link

mdbook-mermaid needs updating #775

Closed detrumi closed 2 years ago

detrumi commented 2 years ago

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)