Closed ghost closed 3 years ago
That log shows trying to build against _owned_ttfparser/ttf-parser 0.6
whereas the manifest for _abglyph 0.2.11
states _owned_ttfparser must be compatible with 0.12
. So the compile error is not surprising.
This is an external build issue, I don't support (ie can't fix) whatever build system is butchering the dependency semver guarantees here.
https://download.copr.fedorainfracloud.org/results/remilauzier/zemeroth/fedora-rawhide-x86_64/02303655-rust-ab_glyph/builder-live.log.gz
owned_ttf_parser::AsFaceRef
--> src/ttfp.rs:10:5AsFontRef
AsFaceRef
in the rooterror[E0433]: failed to resolve: could not find
Face
inowned_ttf_parser
--> src/ttfp.rs:113:31 | 113 | owned_ttf_parser::Face::from_slice(data, index).maperr(|| InvalidFont)?, | ^^^^ could not findFace
inowned_ttf_parser
error[E0433]: failed to resolve: could not find
OwnedFace
inowned_ttf_parser
--> src/ttfp.rs:177:31 | 177 | owned_ttf_parser::OwnedFace::from_vec(data, index).maperr(|| InvalidFont)?, | ^^^^^^^^^ could not findOwnedFace
inowned_ttf_parser
error[E0412]: cannot find type
Face
in crateowned_ttf_parser
--> src/ttfp.rs:71:45 | 71 | pub struct FontRef<'font>(owned_ttf_parser::Face<'font>); | ^^^^ not found inowned_ttf_parser
OwnedFace
in crateowned_ttf_parser
--> src/ttfp.rs:134:38OwnedFont
::: /usr/share/cargo/registry/owned_ttf_parser-0.6.0/src/owned.rs:6:1 | 6 | pub struct OwnedFont(Pin<Box>);
| ----------------------------------------------- similarly named struct
OwnedFont
defined heredyn Iterator<Item = (glyph::GlyphId, char)>
cannot be known at compilation time --> src/ttfp.rs:306:29dyn Iterator<Item = (glyph::GlyphId, char)>
cannot be known at compilation time --> src/ttfp.rs:306:29error: aborting due to 7 previous errors