feat(harper.js): added ability to configure the markup language #840
Annotations
1 error and 1 warning
build
Error: buildah exited with code 1
Resolving "rust" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/library/rust:latest...
Getting image source signatures
Copying blob sha256:28c58ae477c23b828871f755fa3f521704ef9e9491ed0c8adecbee4f102fb88a
Copying blob sha256:fd0410a2d1aece5360035b61b0a60d8d6ce56badb9d30a5c86113b3ec724f72a
Copying blob sha256:684a51896c8291a1769034cf6e10971c82a82c43b6b4588d1c71d215953eaa61
Copying blob sha256:bf571be90f05e10949e4ae13071c81d3182077d926e3f84169a12e0ce2aec209
Copying blob sha256:fbf93b646d6b4d6612a25d50599f4d8e3c7785f83c6ba085219f9d4d334e8aa3
Copying config sha256:8daff99931169078c58538c42c9a375a4db5113374ecd5a0750ee82ff487d9a8
Writing manifest to image destination
info: downloading wasm-pack
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
warning: /usr/build/harper-wasm/Cargo.toml: unused manifest key: package.private
warning: /usr/build/harper-cli/Cargo.toml: unused manifest key: package.private
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling wasm-bindgen-shared v0.2.99
Compiling once_cell v1.20.2
Compiling bumpalo v3.16.0
Compiling log v0.4.22
Compiling serde v1.0.217
Compiling cfg-if v1.0.0
Compiling wasm-bindgen v0.2.99
Compiling autocfg v1.4.0
Compiling lazy_static v1.5.0
Compiling fst v0.4.7
Compiling tracing-core v0.1.33
Compiling quote v1.0.38
Compiling num-traits v0.2.19
Compiling syn v2.0.95
Compiling pulldown-cmark v0.12.2
Compiling paste v1.0.15
Compiling unicode-width v0.1.14
Compiling memchr v2.7.4
Compiling thiserror v2.0.11
Compiling serde_json v1.0.135
Compiling getopts v0.2.21
Compiling sharded-slab v0.1.7
Compiling thread_local v1.1.8
Compiling allocator-api2 v0.2.21
Compiling equivalent v1.0.1
Compiling either v1.13.0
Compiling itoa v1.0.14
Compiling unicase v2.8.1
Compiling ryu v1.0.18
Compiling pulldown-cmark-escape v0.11.0
Compiling bitflags v2.6.0
Compiling pin-project-lite v0.2.16
Compiling foldhash v0.1.4
Compiling heck v0.5.0
Compiling itertools v0.14.0
Compiling tracing-subscriber v0.3.19
Compiling levenshtein_automata v0.2.1
Compiling wasm-bindgen-backend v0.2.99
Compiling unicode-blocks v0.1.9
Compiling wasm-bindgen-macro-support v0.2.99
Compiling serde_derive v1.0.217
Compiling tracing-attributes v0.1.28
Compiling thiserror-impl v2.0.11
Compiling wasm-bindgen-macro v0.2.99
Compiling tracing v0.1.41
Compiling blanket v0.4.0
Compiling js-sys v0.3.76
Compiling is-macro v0.3.7
Compiling unicode-width v0.2.0
Compiling tracing-wasm v0.2.1
Compiling console_error_panic_hook v0.1.7
Compiling hashbrown v0.15.2
Compiling ordered-float v4.6.0
Compiling smallvec v1.13.2
Compiling serde-wasm-bindgen v0.6.5
Compiling harper-core v0.15.0 (/usr/build/harper-core)
Compiling harper-wasm v0.1.0 (/usr/build/harper-wasm)
error[E0423]: expected value, found struct `Markdown`
--> harper-wasm/src/lib.rs:128:44
|
128 | Language::Markdown => Box::new(Markdown),
| ^^^^^^^^
|
::: /usr/build/harper-core/src/parsers/markdown.rs:13:1
|
13 | pub struct Markdown {
| ------------------- `Markdown` defined here
|
help: consider importing this unit variant instead
|
3 + use crate::Language::Markdown;
|
For more information about this error, try `rustc --explain E0423`.
error: could not compile `harper-wasm` (lib) due to 1 previous error
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit status: 101
full command: cd "/usr/build/harper-wasm" && "cargo" "build" "--lib" "--release" "--target" "wasm32-unknown-unknown"
Error: building at STEP "RUN wasm-pack build --release --target web": while running runtime: exit status 1
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|