Created
January 2, 2023 15:15
-
-
Save hugoduncan/dbd05c7a1cba78651a81d43bc4dd9a64 to your computer and use it in GitHub Desktop.
error message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR in (test-compile) (/Users/duncan/src/tools.bbuild/src/test/clojure/clojure/tools/build/tasks/test_compile_clj.clj:17) | |
Uncaught exception, not in assertion. | |
expected: nil | |
actual: clojure.lang.ExceptionInfo: ns | |
{:type :sci/error, :line 44, :column 27, :message "ns", :sci.impl/callstack #object[clojure.lang.Volatile 0x590fc580 {:status :ready, :val ({:line 20, :column 5, :ns #object[sci.lang.Namespace 0x62aa67b3 "clojure.tools.build.tasks.test-compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/test/clojure/clojure/tools/build/tasks/test_compile_clj.clj", :sci.impl/f-meta {:name compile-clj, :ns #object[sci.lang.Namespace 0x712c2590 "clojure.tools.build.api"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/api.clj", :arglists ([params]), :doc "Compile Clojure source to classes in :class-dir.\n\n Clojure source files are found in :basis paths by default, else in :src-dirs.\n\n Namespaces and order of compilation are one of:\n * :ns-compile - compile these namespaces, in this order\n * :sort - find all namespaces in source dirs and use either :topo (default)\n or :bfs to order them for compilation\n\n Options:\n :basis - required, basis to use when compiling\n :class-dir - required, dir to write classes, will be created if needed\n :src-dirs - coll of Clojure source dirs, used to find all Clojure nses to compile\n :ns-compile - coll of specific namespace symbols to compile\n :sort - :topo (default) or :bfs for breadth-first search\n :compile-opts - map of Clojure compiler options:\n {:disable-locals-clearing false\n :elide-meta [:doc :file :line ...]\n :direct-linking false}\n :bindings - map of Var to value to be set during compilation, for example:\n {#'clojure.core/*assert* false}\n :filter-nses - coll of symbols representing a namespace prefix to include\n\n Additional options flow to the forked process doing the compile:\n :java-cmd - Java command, default = $JAVA_CMD or 'java' on $PATH, or $JAVA_HOME/bin/java\n :java-opts - coll of string jvm opts\n :use-cp-file - one of:\n :auto (default) - use only if os=windows && Java >= 9 && command length >= 8k\n :always - always write classpath to temp file and include\n :never - never write classpath to temp file (pass on command line)\n\n Returns nil.", :line 277, :column 1}} {:line 317, :column 3, :ns #object[sci.lang.Namespace 0x712c2590 "clojure.tools.build.api"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/api.clj"} {:line 98, :column 11, :ns #object[sci.lang.Namespace 0x25573a0b "clojure.tools.build.tasks.compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj", :sci.impl/f-meta {:name write-compile-script!, :ns #object[sci.lang.Namespace 0x25573a0b "clojure.tools.build.tasks.compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj", :private true, :arglists ([script-file compile-dir nses compiler-opts bindings]), :line 32, :column 1}} {:line 46, :column 18, :ns #object[sci.lang.Namespace 0x25573a0b "clojure.tools.build.tasks.compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj", :sci.impl/f-meta {:name join, :doc "Returns a string of all elements in coll, as returned by (seq coll),\n separated by an optional separator.", :arglists ([coll] [separator coll]), :sci/built-in true, :ns #object[sci.lang.Namespace 0x188d85f4 "clojure.string"]}} {:line 45, :column 18, :ns #object[sci.lang.Namespace 0x25573a0b "clojure.tools.build.tasks.compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj", :sci.impl/f-meta {:name map, :doc "Returns a lazy sequence consisting of the result of applying f to\n the set of first items of each coll, followed by applying f to the\n set of second items in each coll, until any one of the colls is\n exhausted. Any remaining items in other colls are ignored. Function\n f should accept number-of-colls arguments. Returns a transducer when\n no collection is provided.", :arglists ([f] [f coll] [f c1 c2] [f c1 c2 c3] [f c1 c2 c3 & colls]), :sci/built-in true, :ns #object[sci.lang.Namespace 0x512b37bb "clojure.core"]}} {:line 44, :column 21, :ns #object[sci.lang.Namespace 0x25573a0b "clojure.tools.build.tasks.compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj", :sci.impl/f-meta {:name conj, :doc "conj[oin]. Returns a new collection with the xs\n 'added'. (conj nil item) returns (item).\n (conj coll) returns coll. (conj) returns [].\n The 'addition' may happen at different 'places' depending\n on the concrete type.", :arglists ([] [coll] [coll x] [coll x & xs]), :sci/built-in true, :ns #object[sci.lang.Namespace 0x512b37bb "clojure.core"]}} {:line 44, :column 27, :ns #object[sci.lang.Namespace 0x25573a0b "clojure.tools.build.tasks.compile-clj"], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj", :sci.impl/f-meta {:name vec, :doc "Creates a new vector containing the contents of coll. Java arrays\n will be aliased and should not be modified.", :arglists ([coll]), :sci/built-in true, :ns #object[sci.lang.Namespace 0x512b37bb "clojure.core"]}})}], :file "/Users/duncan/src/tools.bbuild/src/main/clojure/clojure/tools/build/tasks/compile_clj.clj"} | |
at sci.impl.utils$rethrow_with_location_of_node.invokeStatic (utils.cljc:127) | |
sci.impl.analyzer$return_call$reify__4458.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:686) | |
sci.impl.fns$fun$arity_5__1217.invoke (fns.cljc:109) | |
sci.lang.Var.invoke (lang.cljc:188) | |
sci.impl.analyzer$return_call$reify__4474.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:680) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:688) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4135.eval (analyzer.cljc:620) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:688) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:688) | |
sci.impl.fns$fun$arity_1__1191.invoke (fns.cljc:105) | |
sci.lang.Var.invoke (lang.cljc:180) | |
sci.impl.analyzer$return_call$reify__4456.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_do$reify__3883.eval (analyzer.cljc:134) | |
sci.impl.fns$fun$arity_1__1191.invoke (fns.cljc:105) | |
sci.lang.Var.invoke (lang.cljc:180) | |
sci.impl.analyzer$return_call$reify__4458.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_do$reify__3887.eval (analyzer.cljc:151) | |
sci.impl.evaluator$eval_try.invokeStatic (evaluator.cljc:79) | |
sci.impl.analyzer$analyze_try$reify__4210.eval (analyzer.cljc:952) | |
sci.impl.analyzer$return_do$reify__3881.eval (analyzer.cljc:127) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4133.eval (analyzer.cljc:613) | |
sci.impl.analyzer$return_do$reify__3885.eval (analyzer.cljc:143) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4137.eval (analyzer.cljc:631) | |
sci.impl.fns$fun$arity_0__1187.invoke (fns.cljc:104) | |
babashka.impl.clojure.test$test_var_impl$fn__29660.invoke (test.clj:719) | |
babashka.impl.clojure.test$test_var_impl.invokeStatic (test.clj:719) | |
babashka.impl.clojure.test$test_var_impl.invoke (test.clj:710) | |
sci.lang.Var.invoke (lang.cljc:180) | |
babashka.impl.clojure.test$test_vars$fn__29696$fn__29701.invoke (test.clj:742) | |
babashka.impl.clojure.test$default_fixture.invokeStatic (test.clj:689) | |
babashka.impl.clojure.test$default_fixture.invoke (test.clj:685) | |
babashka.impl.clojure.test$test_vars$fn__29696.invoke (test.clj:742) | |
babashka.impl.clojure.test$default_fixture.invokeStatic (test.clj:689) | |
babashka.impl.clojure.test$default_fixture.invoke (test.clj:685) | |
babashka.impl.clojure.test$test_vars.invokeStatic (test.clj:738) | |
babashka.impl.clojure.test$test_all_vars.invokeStatic (test.clj:745) | |
babashka.impl.clojure.test$test_ns.invokeStatic (test.clj:767) | |
babashka.impl.clojure.test$run_tests$fn__29716.invoke (test.clj:784) | |
clojure.core$map$fn__5935.invoke (core.clj:2772) | |
clojure.lang.LazySeq.sval (LazySeq.java:42) | |
clojure.lang.LazySeq.seq (LazySeq.java:51) | |
clojure.lang.Cons.next (Cons.java:39) | |
clojure.lang.RT.boundedLength (RT.java:1790) | |
clojure.lang.RestFn.applyTo (RestFn.java:130) | |
clojure.core$apply.invokeStatic (core.clj:669) | |
babashka.impl.clojure.test$run_tests.invokeStatic (test.clj:777) | |
babashka.impl.clojure.test$run_tests.doInvoke (test.clj:777) | |
clojure.lang.RestFn.applyTo (RestFn.java:139) | |
clojure.core$apply.invokeStatic (core.clj:669) | |
babashka.impl.test$contextualize$fn__29732.doInvoke (test.clj:7) | |
clojure.lang.RestFn.applyTo (RestFn.java:137) | |
clojure.core$apply.invokeStatic (core.clj:667) | |
clojure.core$apply.invoke (core.clj:662) | |
sci.lang.Var.invoke (lang.cljc:182) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_do$reify__3881.eval (analyzer.cljc:127) | |
sci.impl.evaluator$eval_try.invokeStatic (evaluator.cljc:79) | |
sci.impl.analyzer$analyze_try$reify__4210.eval (analyzer.cljc:952) | |
sci.impl.analyzer$return_do$reify__3883.eval (analyzer.cljc:134) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4139.eval (analyzer.cljc:646) | |
sci.impl.fns$fun$arity_1__1191.invoke (fns.cljc:105) | |
sci.lang.Var.invoke (lang.cljc:180) | |
sci.impl.analyzer$return_call$reify__4458.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4141.eval (analyzer.cljc:657) | |
sci.impl.evaluator$eval_try.invokeStatic (evaluator.cljc:79) | |
sci.impl.analyzer$analyze_try$reify__4210.eval (analyzer.cljc:952) | |
sci.impl.analyzer$return_if$reify__4173.eval (analyzer.cljc:851) | |
sci.impl.analyzer$return_if$reify__4173.eval (analyzer.cljc:851) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4135.eval (analyzer.cljc:620) | |
sci.impl.fns$fun$arity_0__893.doInvoke (fns.cljc:81) | |
clojure.lang.RestFn.applyTo (RestFn.java:137) | |
clojure.core$apply.invokeStatic (core.clj:675) | |
clojure.core$apply.doInvoke (core.clj:662) | |
clojure.lang.RestFn.invoke (RestFn.java:533) | |
sci.lang.Var.invoke (lang.cljc:190) | |
sci.impl.analyzer$return_call$reify__4478.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_do$reify__3881.eval (analyzer.cljc:127) | |
sci.impl.evaluator$eval_try.invokeStatic (evaluator.cljc:79) | |
sci.impl.analyzer$analyze_try$reify__4210.eval (analyzer.cljc:952) | |
sci.impl.analyzer$return_do$reify__3881.eval (analyzer.cljc:127) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4133.eval (analyzer.cljc:613) | |
sci.impl.evaluator$eval_def.invokeStatic (evaluator.cljc:27) | |
sci.impl.analyzer$analyze_def$reify__4160.eval (analyzer.cljc:762) | |
sci.impl.interpreter$eval_form.invokeStatic (interpreter.cljc:40) | |
sci.impl.interpreter$eval_string_STAR_.invokeStatic (interpreter.cljc:62) | |
sci.core$eval_string_STAR_.invokeStatic (core.cljc:266) | |
babashka.main$exec$fn__30707$fn__30708.invoke (main.clj:989) | |
babashka.main$exec$fn__30707.invoke (main.clj:989) | |
babashka.main$exec.invokeStatic (main.clj:979) | |
babashka.main$main.invokeStatic (main.clj:1093) | |
babashka.main$main.doInvoke (main.clj:1063) | |
clojure.lang.RestFn.applyTo (RestFn.java:137) | |
clojure.core$apply.invokeStatic (core.clj:667) | |
babashka.main$_main.invokeStatic (main.clj:1126) | |
babashka.main$_main.doInvoke (main.clj:1118) | |
clojure.lang.RestFn.applyTo (RestFn.java:137) | |
babashka.main.main (:-1) | |
Caused by: java.lang.NoSuchFieldException: ns | |
at java.lang.Class.getField (DynamicHub.java:922) | |
sci.impl.interop$invoke_instance_field.invokeStatic (interop.cljc:21) | |
sci.impl.interop$invoke_instance_method.invokeStatic (interop.cljc:41) | |
sci.impl.evaluator$eval_instance_method_invocation.invokeStatic (evaluator.cljc:147) | |
sci.impl.analyzer$analyze_dot$reify__4243.eval (analyzer.cljc:1028) | |
sci.impl.evaluator$eval_instance_method_invocation.invokeStatic (evaluator.cljc:118) | |
sci.impl.analyzer$analyze_dot$reify__4243.eval (analyzer.cljc:1028) | |
sci.impl.fns$fun$arity_1__1191.invoke (fns.cljc:105) | |
clojure.core$map$fn__5935.invoke (core.clj:2772) | |
clojure.lang.LazySeq.sval (LazySeq.java:42) | |
clojure.lang.LazySeq.seq (LazySeq.java:51) | |
clojure.lang.RT.seq (RT.java:535) | |
clojure.lang.RT.nthFrom (RT.java:982) | |
clojure.lang.RT.nth (RT.java:940) | |
clojure.core$distinct$step__6481$fn__6482$fn__6484.invoke (core.clj:5073) | |
clojure.core$distinct$step__6481$fn__6482.invoke (core.clj:5073) | |
clojure.lang.LazySeq.sval (LazySeq.java:42) | |
clojure.lang.LazySeq.seq (LazySeq.java:51) | |
clojure.lang.RT.seq (RT.java:535) | |
clojure.core$seq__5467.invokeStatic (core.clj:139) | |
clojure.core$filter$fn__5962.invoke (core.clj:2826) | |
clojure.lang.LazySeq.sval (LazySeq.java:42) | |
clojure.lang.LazySeq.seq (LazySeq.java:51) | |
clojure.lang.RT.seq (RT.java:535) | |
clojure.core$seq__5467.invokeStatic (core.clj:139) | |
clojure.core$map$fn__5935.invoke (core.clj:2763) | |
clojure.lang.LazySeq.sval (LazySeq.java:42) | |
clojure.lang.LazySeq.seq (LazySeq.java:51) | |
clojure.lang.RT.seq (RT.java:535) | |
clojure.lang.LazilyPersistentVector.create (LazilyPersistentVector.java:44) | |
clojure.core$vec.invokeStatic (core.clj:379) | |
clojure.core$vec.invoke (core.clj:369) | |
sci.lang.Var.invoke (lang.cljc:180) | |
sci.impl.analyzer$return_call$reify__4458.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_call$reify__4462.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:686) | |
sci.impl.fns$fun$arity_5__1217.invoke (fns.cljc:109) | |
sci.lang.Var.invoke (lang.cljc:188) | |
sci.impl.analyzer$return_call$reify__4474.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:680) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:688) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4135.eval (analyzer.cljc:620) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:688) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4143.eval (analyzer.cljc:688) | |
sci.impl.fns$fun$arity_1__1191.invoke (fns.cljc:105) | |
sci.lang.Var.invoke (lang.cljc:180) | |
sci.impl.analyzer$return_call$reify__4456.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_do$reify__3883.eval (analyzer.cljc:134) | |
sci.impl.fns$fun$arity_1__1191.invoke (fns.cljc:105) | |
sci.lang.Var.invoke (lang.cljc:180) | |
sci.impl.analyzer$return_call$reify__4458.eval (analyzer.cljc:1374) | |
sci.impl.analyzer$return_do$reify__3887.eval (analyzer.cljc:151) | |
sci.impl.evaluator$eval_try.invokeStatic (evaluator.cljc:79) | |
sci.impl.analyzer$analyze_try$reify__4210.eval (analyzer.cljc:952) | |
sci.impl.analyzer$return_do$reify__3881.eval (analyzer.cljc:127) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4133.eval (analyzer.cljc:613) | |
sci.impl.analyzer$return_do$reify__3885.eval (analyzer.cljc:143) | |
sci.impl.analyzer$analyze_let_STAR_$reify__4137.eval (analyzer.cljc:631) | |
sci.impl.fns$fun$arity_0__1187.invoke (fns.cljc:104) | |
babashka.impl.clojure.test$test_var_impl$fn__29660.invoke (test.clj:719) | |
babashka.impl.clojure.test$test_var_impl.invokeStatic (test.clj:719) | |
babashka.impl.clojure.test$test_var_impl.invoke (test.clj:710) | |
sci.lang.Var.invoke (lang.cljc:180) | |
babashka.impl.clojure.test$test_vars$fn__29696$fn__29701.invoke (test.clj:742) | |
babashka.impl.clojure.test$default_fixture.invokeStatic (test.clj:689) | |
babashka.impl.clojure.test$default_fixture.invoke (test.clj:685) | |
babashka.impl.clojure.test$test_vars$fn__29696.invoke (test.clj:742) | |
babashka.impl.clojure.test$default_fixture.invokeStatic (test.clj:689) | |
babashka.impl.clojure.test$default_fixture.invoke (test.clj:685) | |
babashka.impl.clojure.test$test_vars.invokeStatic (test.clj:738) | |
babashka.impl.clojure.test$test_all_vars.invokeStatic (test.clj:745) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment