Skip to content

Instantly share code, notes, and snippets.

@SethTisue
Created January 5, 2019 23:20
Show Gist options
  • Save SethTisue/f859e75c8c52dbcb6e657e2352ecc9d3 to your computer and use it in GitHub Desktop.
Save SethTisue/f859e75c8c52dbcb6e657e2352ecc9d3 to your computer and use it in GitHub Desktop.
% hub clone creativescala/doodle
Cloning into 'doodle'...
remote: Enumerating objects: 652, done.
remote: Counting objects: 100% (652/652), done.
remote: Compressing objects: 100% (346/346), done.
remote: Total 5332 (delta 287), reused 475 (delta 151), pack-reused 4680
Receiving objects: 100% (5332/5332), 1.75 MiB | 6.00 MiB/s, done.
Resolving deltas: 100% (2182/2182), done.
% cd doodle
CHANGELOG.md core/ oldJs/ sbt-launch.jar
LICENSE.txt doodle.sublime-project oldJvm/ sbt.bat
README.md explore/ oldShared/ sbt.sh*
animate/ index.html project/ turtle/
build.sbt java2d/ publish.sbt
% git status
On branch develop
Your branch is up to date with 'origin/develop'.
nothing to commit, working tree clean
% sbt turtleJVM/compile
[info] Loading settings from metals.sbt ...
[info] Loading global plugins from /Users/tisue/.sbt/1.0/plugins
[info] Updating ProjectRef(uri("file:/Users/tisue/.sbt/1.0/plugins/"), "global-plugins")...
[info] Done updating.
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/tisue/doodle/project
[info] Updating ProjectRef(uri("file:/Users/tisue/doodle/project/"), "doodle-build")...
[info] Done updating.
[warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[warn] * com.google.protobuf:protobuf-java:3.2.0 is selected over 2.5.0
[warn] +- com.trueaccord.scalapb:scalapb-runtime_2.12:0.6.0-pre2 (depends on 3.2.0)
[warn] +- org.scala-js:closure-compiler-java-6:v20160517 (depends on 2.5.0)
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 1 Scala source to /Users/tisue/doodle/project/target/scala-2.12/sbt-1.0/classes ...
[info] Done compiling.
/Users/tisue/doodle/build.sbt:46: warning: method crossProjectFromBuilder in trait CrossProjectExtra is deprecated (since 0.6.23): The built-in cross-project feature of sbt-scalajs is deprecated. Use the separate sbt plugin sbt-crossproject instead: https://github.com/portable-scala/sbt-crossproject
lazy val root = crossProject
^
/Users/tisue/doodle/build.sbt:95: warning: method crossProjectFromBuilder in trait CrossProjectExtra is deprecated (since 0.6.23): The built-in cross-project feature of sbt-scalajs is deprecated. Use the separate sbt plugin sbt-crossproject instead: https://github.com/portable-scala/sbt-crossproject
lazy val image = crossProject
^
/Users/tisue/doodle/build.sbt:104: warning: method crossProjectFromBuilder in trait CrossProjectExtra is deprecated (since 0.6.23): The built-in cross-project feature of sbt-scalajs is deprecated. Use the separate sbt plugin sbt-crossproject instead: https://github.com/portable-scala/sbt-crossproject
lazy val animate = crossProject
^
/Users/tisue/doodle/build.sbt:119: warning: method crossClasspathDependency in trait CrossProjectExtra is deprecated (since 0.6.23): The built-in cross-project feature of sbt-scalajs is deprecated. Use the separate sbt plugin sbt-crossproject instead: https://github.com/portable-scala/sbt-crossproject
.dependsOn(core, animate)
^
/Users/tisue/doodle/build.sbt:119: warning: method crossClasspathDependency in trait CrossProjectExtra is deprecated (since 0.6.23): The built-in cross-project feature of sbt-scalajs is deprecated. Use the separate sbt plugin sbt-crossproject instead: https://github.com/portable-scala/sbt-crossproject
.dependsOn(core, animate)
^
/Users/tisue/doodle/build.sbt:125: warning: method crossProjectFromBuilder in trait CrossProjectExtra is deprecated (since 0.6.23): The built-in cross-project feature of sbt-scalajs is deprecated. Use the separate sbt plugin sbt-crossproject instead: https://github.com/portable-scala/sbt-crossproject
lazy val turtle = crossProject
^
[info] Loading settings from publish.sbt,build.sbt ...
[info] Set current project to doodle (in build file:/Users/tisue/doodle/)
[warn] Credentials file /Users/tisue/.sbt/sonatype_credential does not exist
[warn] Credentials file /Users/tisue/.sbt/sonatype_credential does not exist
[warn] Credentials file /Users/tisue/.sbt/sonatype_credential does not exist, ignoring it
[warn] Credentials file /Users/tisue/.sbt/sonatype_credential does not exist, ignoring it
[warn] Credentials file /Users/tisue/.sbt/sonatype_credential does not exist, ignoring it
[info] Compiling 52 Scala sources to /Users/tisue/doodle/core/jvm/target/scala-2.12/classes ...
[info] Done compiling.
[info] Compiling 6 Scala sources to /Users/tisue/doodle/turtle/jvm/target/scala-2.12/classes ...
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/Turtle.scala:5:15: object image is not a member of package doodle
[error] import doodle.image.Image
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/Turtle.scala:11:40: not found: type Image
[error] angle: Angle = Angle.zero): Image = {
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/Turtle.scala:44:5: not found: value Image
[error] Image.openPath(moveTo(0, 0) :: path.reverse.toList)
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/Turtle.scala:5:21: Unused import
[error] import doodle.image.Image
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/Turtle.scala:10:12: parameter value instructions in method draw is never used
[error] def draw(instructions: List[Instruction],
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/Turtle.scala:11:12: parameter value angle in method draw is never used
[error] angle: Angle = Angle.zero): Image = {
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:7:15: object image is not a member of package doodle
[error] import doodle.image._
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:25:50: not found: type Image
[error] def polygon(sides: Int, sideLength: Double): Image = {
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:70:18: not found: value Image
[error] val spacer = Image.rectangle(10, 10).noFill.noStroke
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:96:19: not found: value Image
[error] .foldLeft(Image.empty) { _ beside _ }
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:7:21: Unused import
[error] import doodle.image._
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:25:17: parameter value sides in method polygon is never used
[error] def polygon(sides: Int, sideLength: Double): Image = {
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/CreativeScala.scala:25:29: parameter value sideLength in method polygon is never used
[error] def polygon(sides: Int, sideLength: Double): Image = {
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/Geometry.scala:5:20: Unused import
[error] import doodle.core._
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/LSystem.scala:6:15: object image is not a member of package doodle
[error] import doodle.image.Image
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/LSystem.scala:84:18: not found: value Image
[error] val spacer = Image.rectangle(5, 5).noFill.noStroke
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/LSystem.scala:99:23: not found: value Image
[error] iterations.fold(Image.empty) { (img, i) =>
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/LSystem.scala:5:20: Unused import
[error] import doodle.core._
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/LSystem.scala:6:21: Unused import
[error] import doodle.image.Image
[error] ^
[error] /Users/tisue/doodle/turtle/shared/src/main/scala/doodle/turtle/examples/LSystem.scala:94:41: parameter value n in value $anonfun is never used
[error] val iterations = List.tabulate(5) { n =>
[error] ^
[error] 20 errors found
[error] (turtleJVM / Compile / compileIncremental) Compilation failed
[error] Total time: 16 s, completed Jan 5, 2019 3:19:47 PM
%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment