almond icon indicating copy to clipboard operation
almond copied to clipboard

Why almond 0.6.0 is not using ammonite-spark 0.6.0 ?

Open YannMoisan opened this issue 6 years ago • 4 comments

I'm wondering why almond 0.6.0 uses ammonite-spark 0.5.0 and not 0.6.0. Is it because ammonite-spark 0.6+ is not compiled anymore for Scala 2.11 ?

Anyway, I've built a custom version of almond to use the last ammonite-spark but the kernel crash after the start. Is it a knowm issue ?

Here is the stack trace :

ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
[I 12:06:37.254 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Compiling (synthetic)/ammonite/predef/interpBridge.sc
ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
[I 12:06:43.263 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Compiling (synthetic)/ammonite/predef/interpBridge.sc
ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
[I 12:06:49.270 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Compiling (synthetic)/ammonite/predef/interpBridge.sc
[W 12:06:52.503 NotebookApp] Replacing stale connection: 791b6633-0e9f-4259-9e17-bf8402cf5d92:a74ea52af8204343ad5262cca115a67f
ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
[I 12:06:55.278 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Compiling (synthetic)/ammonite/predef/interpBridge.sc
ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
[I 12:07:01.286 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Compiling (synthetic)/ammonite/predef/interpBridge.sc
ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
[I 12:07:07.294 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
Compiling (synthetic)/ammonite/predef/interpBridge.sc
ERROR AmmInterpreter$ Caught exception while initializing interpreter
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
ERROR ScalaKernel$ Caught exception while initializing interpreter, exiting
almond.amm.AmmInterpreter$PredefException:
  almond.amm.AmmInterpreter$.$anonfun$apply$3(AmmInterpreter.scala:118)
  almond.amm.AmmInterpreter$.$anonfun$apply$3$adapted(AmmInterpreter.scala:113)
  scala.Option$WithFilter.foreach(Option.scala:274)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)
java.lang.AbstractMethodError: Method ammonite/interp/CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(Lscala/collection/mutable/AnyRefMap;)V is abstract
  ammonite.interp.CompilerCompatibility$$anon$3.scala$tools$nsc$typechecker$Typers$_setter_$scala$tools$nsc$typechecker$Typers$$superConstructorCalls_$eq(CompilerCompatibility.scala)
  scala.tools.nsc.typechecker.Typers.$init$(Typers.scala:55)
  ammonite.interp.CompilerCompatibility$$anon$3.<init>(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$.analyzer(CompilerCompatibility.scala:14)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer$lzycompute(CompilerCompatibility.scala:48)
  ammonite.interp.CompilerCompatibility$$anon$1.analyzer(CompilerCompatibility.scala:48)
  scala.tools.nsc.Global.<init>(Global.scala:988)
  ammonite.interp.CompilerCompatibility$$anon$1.<init>(CompilerCompatibility.scala:36)
  ammonite.interp.CompilerCompatibility$.initGlobal(CompilerCompatibility.scala:36)
  ammonite.interp.Compiler$$anon$3.<init>(Compiler.scala:253)
  ammonite.interp.Compiler$.apply(Compiler.scala:166)
  ammonite.interp.CompilerLifecycleManager.init(CompilerLifecycleManager.scala:98)
  almond.amm.AmmInterpreter$$anon$1$$anon$2.preprocess(AmmInterpreter.scala:101)
  ammonite.interp.Interpreter.compileRunBlock$1(Interpreter.scala:509)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$15(Interpreter.scala:569)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$14(Interpreter.scala:566)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.$anonfun$processAllScriptBlocks$12(Interpreter.scala:563)
  scala.Option.getOrElse(Option.scala:138)
  ammonite.interp.Interpreter.loop$1(Interpreter.scala:563)
  ammonite.interp.Interpreter.processAllScriptBlocks(Interpreter.scala:601)
  ammonite.interp.Interpreter.$anonfun$processModule$6(Interpreter.scala:397)
  ammonite.util.Catching.flatMap(Res.scala:115)
  ammonite.interp.Interpreter.$anonfun$processModule$5(Interpreter.scala:388)
  ammonite.util.Res$Success.flatMap(Res.scala:62)
  ammonite.interp.Interpreter.processModule(Interpreter.scala:378)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1(Interpreter.scala:126)
  ammonite.interp.Interpreter.$anonfun$initializePredef$1$adapted(Interpreter.scala:126)
  ammonite.interp.PredefInitialization$.$anonfun$apply$7(PredefInitialization.scala:75)
  ammonite.util.Res$.$anonfun$fold$1(Res.scala:32)
  scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  scala.collection.immutable.List.foldLeft(List.scala:89)
  ammonite.util.Res$.fold(Res.scala:30)
  ammonite.interp.PredefInitialization$.apply(PredefInitialization.scala:63)
  ammonite.interp.Interpreter.initializePredef(Interpreter.scala:128)
  almond.amm.AmmInterpreter$.apply(AmmInterpreter.scala:113)
  almond.ScalaInterpreter.ammInterp$lzycompute(ScalaInterpreter.scala:93)
  almond.ScalaInterpreter.ammInterp(ScalaInterpreter.scala:59)
  almond.ScalaKernel$$anon$5.run(ScalaKernel.scala:134)

YannMoisan avatar Jul 25 '19 09:07 YannMoisan

The versions of almond and ammonite-spark don't match exactly. almond needs https://github.com/almond-sh/almond/pull/391 to be compatible with ammonite-spark 0.6.0.

I guess I should add the almond versions to the ammonite-spark README.

alexarchambault avatar Jul 25 '19 12:07 alexarchambault

The upcoming almond 0.7.0 should be fine with ammonite-spark 0.6.0.

alexarchambault avatar Jul 25 '19 15:07 alexarchambault

@YannMoisan with almond 0.7.0 out, does it work for you now?

sbrunk avatar Sep 02 '19 09:09 sbrunk

@sbrunk I've tested with almond 0.7.0 and I've encountered an issue :

almond.sc:1: object core is not a member of package coursier
import coursier.core._
                ^almond.sc:4: value resolutionParams is not a member of coursierapi.Fetch
    fetch.resolutionParams.addForceVersion(
          ^almond.sc:5: not found: value Module
      (Module(Organization("org.apache.hadoop"), ModuleName("hadoop-client"), Map.empty), "2.8.5")
       ^almond.sc:5: not found: value Organization
      (Module(Organization("org.apache.hadoop"), ModuleName("hadoop-client"), Map.empty), "2.8.5")
              ^almond.sc:5: not found: value ModuleName
      (Module(Organization("org.apache.hadoop"), ModuleName("hadoop-client"), Map.empty), "2.8.5")
                                                 ^almond.sc:10: object maven is not a member of package coursier
import coursier.maven.MavenRepository
                ^almond.sc:11: value ++= is not a member of List[coursierapi.Repository]
  Expression does not convert to assignment because:
    not found: value MavenRepository
    not found: value MavenRepository
    expansion: {
  <synthetic> val ev$1: ammonite.util.Ref[List[coursierapi.Repository]] = ammonite.interp.api.InterpBridge.value.repositories;
  ev$1.update(ev$1.apply().++(Seq(<MavenRepository: error>("https://nexus.teads.net/content/repositories/releases"), <MavenRepository: error>("https://nexus.teads.net/content/repositories/snapshots"))))
}
val res_3 = interp.repositories() ++= Seq(
                                  ^Compilation Failed

YannMoisan avatar Sep 05 '19 09:09 YannMoisan