nubank / matcher-combinators

Library for creating matcher combinator to compare nested data structures
Other
468 stars 23 forks source link

cljdoc is not building #210

Closed hlship closed 1 year ago

hlship commented 1 year ago
image
philomates commented 1 year ago

the old build was too old to see the error. I just did a release and can see the following error on cljdoc build

 Exception in thread "main" clojure.lang.ExceptionInfo: Could not generate Clojure documentation for matcher-combinators.midje {}
    at clojure.core$ex_info.invokeStatic(core.clj:4739)
    at clojure.core$ex_info.invoke(core.clj:4739)
    at cljdoc_analyzer.metagetta.utils$default_exception_handler.invokeStatic(utils.clj:123)
    at cljdoc_analyzer.metagetta.utils$default_exception_handler.invoke(utils.clj:122)
    at clojure.core$partial$fn__5561.invoke(core.clj:2617)
    at cljdoc_analyzer.metagetta.clojure$read_ns.invokeStatic(clojure.clj:102)
    at cljdoc_analyzer.metagetta.clojure$read_ns.invoke(clojure.clj:87)
    at cljdoc_analyzer.metagetta.clojure$read_namespaces$fn__1495.invoke(clojure.clj:161)
    at clojure.core$map$fn__5587.invoke(core.clj:2747)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.Cons.next(Cons.java:39)
    at clojure.lang.RT.next(RT.java:706)
    at clojure.core$next__5108.invokeStatic(core.clj:64)
    at clojure.core$concat$cat__5217$fn__5218.invoke(core.clj:734)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:528)
    at clojure.core$seq__5124.invokeStatic(core.clj:137)
    at clojure.core$filter$fn__5614.invoke(core.clj:2801)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:528)
    at clojure.core$seq__5124.invokeStatic(core.clj:137)
    at clojure.core$map$fn__5587.invoke(core.clj:2738)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:528)
    at clojure.core$seq__5124.invokeStatic(core.clj:137)
    at clojure.core$map$fn__5587.invoke(core.clj:2738)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:528)
    at clojure.core$seq__5124.invokeStatic(core.clj:137)
    at clojure.core$seq__5124.invoke(core.clj:137)
    at cljdoc_analyzer.metagetta.main$assert_no_dupes_in_publics$iter__1635__1639$fn__1640.invoke(main.clj:76)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:528)
    at clojure.core$seq__5124.invokeStatic(core.clj:137)
    at clojure.core$seq__5124.invoke(core.clj:137)
    at cljdoc_analyzer.metagetta.main$assert_no_dupes_in_publics.invokeStatic(main.clj:82)
    at cljdoc_analyzer.metagetta.main$assert_no_dupes_in_publics.invoke(main.clj:75)
    at cljdoc_analyzer.metagetta.main$read_namespaces.invokeStatic(main.clj:119)
    at cljdoc_analyzer.metagetta.main$read_namespaces.invoke(main.clj:113)
    at cljdoc_analyzer.metagetta.main$get_metadata$fn__1683.invoke(main.clj:147)
    at clojure.core$mapv$fn__8088.invoke(core.clj:6832)
    at clojure.lang.ArraySeq.reduce(ArraySeq.java:109)
    at clojure.core$reduce.invokeStatic(core.clj:6747)
    at clojure.core$mapv.invokeStatic(core.clj:6823)
    at clojure.core$mapv.invoke(core.clj:6823)
    at cljdoc_analyzer.metagetta.main$get_metadata.invokeStatic(main.clj:144)
    at cljdoc_analyzer.metagetta.main$get_metadata.invoke(main.clj:130)
    at cljdoc_analyzer.metagetta.main$_main.invokeStatic(main.clj:178)
    at cljdoc_analyzer.metagetta.main$_main.invoke(main.clj:153)
    at clojure.lang.AFn.applyToHelper(AFn.java:154)
    at clojure.lang.AFn.applyTo(AFn.java:144)
    at clojure.lang.Var.applyTo(Var.java:702)
    at clojure.core$apply.invokeStatic(core.clj:657)
    at clojure.main$main_opt.invokeStatic(main.clj:317)
    at clojure.main$main_opt.invoke(main.clj:313)
    at clojure.main$main.invokeStatic(main.clj:424)
    at clojure.main$main.doInvoke(main.clj:387)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.lang.Var.applyTo(Var.java:702)
    at clojure.main.main(main.java:37)
 Caused by: java.io.FileNotFoundException: Could not locate midje/checking/checkers/defining__init.class or midje/checking/checkers/defining.clj on classpath., compiling:(matcher_combinators/midje.clj:1:1)
    at clojure.lang.Compiler.load(Compiler.java:7526)
    at clojure.lang.RT.loadResourceScript(RT.java:379)
    at clojure.lang.RT.loadResourceScript(RT.java:370)
    at clojure.lang.RT.load(RT.java:460)
    at clojure.lang.RT.load(RT.java:426)
    at clojure.core$load$fn__6548.invoke(core.clj:6046)
    at clojure.core$load.invokeStatic(core.clj:6045)
    at clojure.core$load.doInvoke(core.clj:6029)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.core$load_one.invokeStatic(core.clj:5848)
    at clojure.core$load_one.invoke(core.clj:5843)
    at clojure.core$load_lib$fn__6493.invoke(core.clj:5888)
    at clojure.core$load_lib.invokeStatic(core.clj:5887)
    at clojure.core$load_lib.doInvoke(core.clj:5868)
    at clojure.lang.RestFn.applyTo(RestFn.java:142)
    at clojure.core$apply.invokeStatic(core.clj:659)
    at clojure.core$load_libs.invokeStatic(core.clj:5925)
    at clojure.core$load_libs.doInvoke(core.clj:5909)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invokeStatic(core.clj:659)
    at clojure.core$require.invokeStatic(core.clj:5947)
    at clojure.core$require.doInvoke(core.clj:5947)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at cljdoc_analyzer.metagetta.clojure$read_ns$fn__1481.invoke(clojure.clj:93)
    at cljdoc_analyzer.metagetta.clojure$read_ns.invokeStatic(clojure.clj:92)
    ... 60 more

https://github.com/nubank/matcher-combinators/commit/e1f5035beacfe6723e3ca41712f831729bdd7b98 should address it but I guess we'll have to wait for another release to really see

philomates commented 1 year ago

looks resolved https://cljdoc.org/d/nubank/matcher-combinators/3.8.7/doc/readme