Guest User

Untitled

a guest
Oct 7th, 2019
148
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {:clojure.main/message
  2. "Syntax error macroexpanding clojure.core/ns at (coding_test/calculator/routes.clj:1:1).\n((:require [coding-test-calculator.logic :refer [balanced-parens? calculate illegal-char?] compojure.core :refer [defroutes POST] compojure.route :refer [not-found] ring.middleware.json :refer [wrap-json-body wrap-json-response]])) - failed: Extra input spec: :clojure.core.specs.alpha/ns-form\n",
  3. :clojure.main/triage
  4. {:clojure.error/cause
  5. "Call to clojure.core/ns did not conform to spec.",
  6. :clojure.error/phase :macro-syntax-check,
  7. :clojure.error/symbol clojure.core/ns,
  8. :clojure.error/column 1,
  9. :clojure.error/line 1,
  10. :clojure.error/class clojure.lang.ExceptionInfo,
  11. :clojure.error/source "routes.clj",
  12. :clojure.error/spec
  13. {:clojure.spec.alpha/problems
  14. [{:path [],
  15. :reason "Extra input",
  16. :pred
  17. (clojure.spec.alpha/cat
  18. :docstring
  19. (clojure.spec.alpha/? clojure.core/string?)
  20. :attr-map
  21. (clojure.spec.alpha/? clojure.core/map?)
  22. :ns-clauses
  23. :clojure.core.specs.alpha/ns-clauses),
  24. :val
  25. ((:require
  26. [coding-test-calculator.logic
  27. :refer
  28. [balanced-parens? calculate illegal-char?]
  29. compojure.core
  30. :refer
  31. [defroutes POST]
  32. compojure.route
  33. :refer
  34. [not-found]
  35. ring.middleware.json
  36. :refer
  37. [wrap-json-body wrap-json-response]])),
  38. :via [:clojure.core.specs.alpha/ns-form],
  39. :in [1]}],
  40. :clojure.spec.alpha/spec
  41. #object[clojure.spec.alpha$regex_spec_impl$reify__2509 0x12f49ca8 "clojure.spec.alpha$regex_spec_impl$reify__2509@12f49ca8"],
  42. :clojure.spec.alpha/value
  43. (coding-test.calculator.routes
  44. (:require
  45. [coding-test-calculator.logic
  46. :refer
  47. [balanced-parens? calculate illegal-char?]
  48. compojure.core
  49. :refer
  50. [defroutes POST]
  51. compojure.route
  52. :refer
  53. [not-found]
  54. ring.middleware.json
  55. :refer
  56. [wrap-json-body wrap-json-response]])),
  57. :clojure.spec.alpha/args
  58. (coding-test.calculator.routes
  59. (:require
  60. [coding-test-calculator.logic
  61. :refer
  62. [balanced-parens? calculate illegal-char?]
  63. compojure.core
  64. :refer
  65. [defroutes POST]
  66. compojure.route
  67. :refer
  68. [not-found]
  69. ring.middleware.json
  70. :refer
  71. [wrap-json-body wrap-json-response]]))},
  72. :clojure.error/path "coding_test/calculator/routes.clj"},
  73. :clojure.main/trace
  74. {:via
  75. [{:type clojure.lang.Compiler$CompilerException,
  76. :message
  77. "Syntax error macroexpanding clojure.core/ns at (coding_test/calculator/routes.clj:1:1).",
  78. :data
  79. {:clojure.error/phase :macro-syntax-check,
  80. :clojure.error/line 1,
  81. :clojure.error/column 1,
  82. :clojure.error/source "coding_test/calculator/routes.clj",
  83. :clojure.error/symbol clojure.core/ns},
  84. :at [clojure.lang.Compiler checkSpecs "Compiler.java" 6972]}
  85. {:type clojure.lang.ExceptionInfo,
  86. :message "Call to clojure.core/ns did not conform to spec.",
  87. :data
  88. {:clojure.spec.alpha/problems
  89. [{:path [],
  90. :reason "Extra input",
  91. :pred
  92. (clojure.spec.alpha/cat
  93. :docstring
  94. (clojure.spec.alpha/? clojure.core/string?)
  95. :attr-map
  96. (clojure.spec.alpha/? clojure.core/map?)
  97. :ns-clauses
  98. :clojure.core.specs.alpha/ns-clauses),
  99. :val
  100. ((:require
  101. [coding-test-calculator.logic
  102. :refer
  103. [balanced-parens? calculate illegal-char?]
  104. compojure.core
  105. :refer
  106. [defroutes POST]
  107. compojure.route
  108. :refer
  109. [not-found]
  110. ring.middleware.json
  111. :refer
  112. [wrap-json-body wrap-json-response]])),
  113. :via [:clojure.core.specs.alpha/ns-form],
  114. :in [1]}],
  115. :clojure.spec.alpha/spec
  116. #object[clojure.spec.alpha$regex_spec_impl$reify__2509 0x12f49ca8 "clojure.spec.alpha$regex_spec_impl$reify__2509@12f49ca8"],
  117. :clojure.spec.alpha/value
  118. (coding-test.calculator.routes
  119. (:require
  120. [coding-test-calculator.logic
  121. :refer
  122. [balanced-parens? calculate illegal-char?]
  123. compojure.core
  124. :refer
  125. [defroutes POST]
  126. compojure.route
  127. :refer
  128. [not-found]
  129. ring.middleware.json
  130. :refer
  131. [wrap-json-body wrap-json-response]])),
  132. :clojure.spec.alpha/args
  133. (coding-test.calculator.routes
  134. (:require
  135. [coding-test-calculator.logic
  136. :refer
  137. [balanced-parens? calculate illegal-char?]
  138. compojure.core
  139. :refer
  140. [defroutes POST]
  141. compojure.route
  142. :refer
  143. [not-found]
  144. ring.middleware.json
  145. :refer
  146. [wrap-json-body wrap-json-response]]))},
  147. :at
  148. [clojure.spec.alpha$macroexpand_check
  149. invokeStatic
  150. "alpha.clj"
  151. 705]}],
  152. :trace
  153. [[clojure.spec.alpha$macroexpand_check invokeStatic "alpha.clj" 705]
  154. [clojure.spec.alpha$macroexpand_check invoke "alpha.clj" 697]
  155. [clojure.lang.AFn applyToHelper "AFn.java" 156]
  156. [clojure.lang.AFn applyTo "AFn.java" 144]
  157. [clojure.lang.Var applyTo "Var.java" 705]
  158. [clojure.lang.Compiler checkSpecs "Compiler.java" 6970]
  159. [clojure.lang.Compiler macroexpand1 "Compiler.java" 6988]
  160. [clojure.lang.Compiler macroexpand "Compiler.java" 7075]
  161. [clojure.lang.Compiler eval "Compiler.java" 7161]
  162. [clojure.lang.Compiler load "Compiler.java" 7636]
  163. [clojure.lang.RT loadResourceScript "RT.java" 381]
  164. [clojure.lang.RT loadResourceScript "RT.java" 372]
  165. [clojure.lang.RT load "RT.java" 459]
  166. [clojure.lang.RT load "RT.java" 424]
  167. [clojure.core$load$fn__6839 invoke "core.clj" 6126]
  168. [clojure.core$load invokeStatic "core.clj" 6125]
  169. [clojure.core$load doInvoke "core.clj" 6109]
  170. [clojure.lang.RestFn invoke "RestFn.java" 408]
  171. [clojure.core$load_one invokeStatic "core.clj" 5908]
  172. [clojure.core$load_one invoke "core.clj" 5903]
  173. [clojure.core$load_lib$fn__6780 invoke "core.clj" 5948]
  174. [clojure.core$load_lib invokeStatic "core.clj" 5947]
  175. [clojure.core$load_lib doInvoke "core.clj" 5928]
  176. [clojure.lang.RestFn applyTo "RestFn.java" 142]
  177. [clojure.core$apply invokeStatic "core.clj" 667]
  178. [clojure.core$load_libs invokeStatic "core.clj" 5985]
  179. [clojure.core$load_libs doInvoke "core.clj" 5969]
  180. [clojure.lang.RestFn applyTo "RestFn.java" 137]
  181. [clojure.core$apply invokeStatic "core.clj" 667]
  182. [clojure.core$require invokeStatic "core.clj" 6007]
  183. [clojure.core$require doInvoke "core.clj" 6007]
  184. [clojure.lang.RestFn invoke "RestFn.java" 436]
  185. [coding_test.calculator.core$eval157$loading__6721__auto____158
  186. invoke
  187. "core.clj"
  188. 1]
  189. [coding_test.calculator.core$eval157 invokeStatic "core.clj" 1]
  190. [coding_test.calculator.core$eval157 invoke "core.clj" 1]
  191. [clojure.lang.Compiler eval "Compiler.java" 7177]
  192. [clojure.lang.Compiler eval "Compiler.java" 7166]
  193. [clojure.lang.Compiler load "Compiler.java" 7636]
  194. [clojure.lang.RT loadResourceScript "RT.java" 381]
  195. [clojure.lang.RT loadResourceScript "RT.java" 372]
  196. [clojure.lang.RT load "RT.java" 459]
  197. [clojure.lang.RT load "RT.java" 424]
  198. [clojure.core$load$fn__6839 invoke "core.clj" 6126]
  199. [clojure.core$load invokeStatic "core.clj" 6125]
  200. [clojure.core$load doInvoke "core.clj" 6109]
  201. [clojure.lang.RestFn invoke "RestFn.java" 408]
  202. [clojure.core$load_one invokeStatic "core.clj" 5908]
  203. [clojure.core$load_one invoke "core.clj" 5903]
  204. [clojure.core$load_lib$fn__6780 invoke "core.clj" 5948]
  205. [clojure.core$load_lib invokeStatic "core.clj" 5947]
  206. [clojure.core$load_lib doInvoke "core.clj" 5928]
  207. [clojure.lang.RestFn applyTo "RestFn.java" 142]
  208. [clojure.core$apply invokeStatic "core.clj" 667]
  209. [clojure.core$load_libs invokeStatic "core.clj" 5985]
  210. [clojure.core$load_libs doInvoke "core.clj" 5969]
  211. [clojure.lang.RestFn applyTo "RestFn.java" 137]
  212. [clojure.core$apply invokeStatic "core.clj" 667]
  213. [clojure.core$require invokeStatic "core.clj" 6007]
  214. [clojure.core$require doInvoke "core.clj" 6007]
  215. [clojure.lang.RestFn invoke "RestFn.java" 408]
  216. [user$eval140$fn__144 invoke "form-init17324199434677063184.clj" 1]
  217. [user$eval140 invokeStatic "form-init17324199434677063184.clj" 1]
  218. [user$eval140 invoke "form-init17324199434677063184.clj" 1]
  219. [clojure.lang.Compiler eval "Compiler.java" 7177]
  220. [clojure.lang.Compiler eval "Compiler.java" 7167]
  221. [clojure.lang.Compiler load "Compiler.java" 7636]
  222. [clojure.lang.Compiler loadFile "Compiler.java" 7574]
  223. [clojure.main$load_script invokeStatic "main.clj" 475]
  224. [clojure.main$init_opt invokeStatic "main.clj" 477]
  225. [clojure.main$init_opt invoke "main.clj" 477]
  226. [clojure.main$initialize invokeStatic "main.clj" 508]
  227. [clojure.main$null_opt invokeStatic "main.clj" 542]
  228. [clojure.main$null_opt invoke "main.clj" 539]
  229. [clojure.main$main invokeStatic "main.clj" 664]
  230. [clojure.main$main doInvoke "main.clj" 616]
  231. [clojure.lang.RestFn applyTo "RestFn.java" 137]
  232. [clojure.lang.Var applyTo "Var.java" 705]
  233. [clojure.main main "main.java" 40]],
  234. :cause "Call to clojure.core/ns did not conform to spec.",
  235. :data
  236. {:clojure.spec.alpha/problems
  237. [{:path [],
  238. :reason "Extra input",
  239. :pred
  240. (clojure.spec.alpha/cat
  241. :docstring
  242. (clojure.spec.alpha/? clojure.core/string?)
  243. :attr-map
  244. (clojure.spec.alpha/? clojure.core/map?)
  245. :ns-clauses
  246. :clojure.core.specs.alpha/ns-clauses),
  247. :val
  248. ((:require
  249. [coding-test-calculator.logic
  250. :refer
  251. [balanced-parens? calculate illegal-char?]
  252. compojure.core
  253. :refer
  254. [defroutes POST]
  255. compojure.route
  256. :refer
  257. [not-found]
  258. ring.middleware.json
  259. :refer
  260. [wrap-json-body wrap-json-response]])),
  261. :via [:clojure.core.specs.alpha/ns-form],
  262. :in [1]}],
  263. :clojure.spec.alpha/spec
  264. #object[clojure.spec.alpha$regex_spec_impl$reify__2509 0x12f49ca8 "clojure.spec.alpha$regex_spec_impl$reify__2509@12f49ca8"],
  265. :clojure.spec.alpha/value
  266. (coding-test.calculator.routes
  267. (:require
  268. [coding-test-calculator.logic
  269. :refer
  270. [balanced-parens? calculate illegal-char?]
  271. compojure.core
  272. :refer
  273. [defroutes POST]
  274. compojure.route
  275. :refer
  276. [not-found]
  277. ring.middleware.json
  278. :refer
  279. [wrap-json-body wrap-json-response]])),
  280. :clojure.spec.alpha/args
  281. (coding-test.calculator.routes
  282. (:require
  283. [coding-test-calculator.logic
  284. :refer
  285. [balanced-parens? calculate illegal-char?]
  286. compojure.core
  287. :refer
  288. [defroutes POST]
  289. compojure.route
  290. :refer
  291. [not-found]
  292. ring.middleware.json
  293. :refer
  294. [wrap-json-body wrap-json-response]]))},
  295. :phase :macro-syntax-check}}
RAW Paste Data