yoshikyoto / lgtmoon

LGTM画像を簡単に作成できるアプリ

Home Page:https://lgtmoon.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warningを消す

yoshikyoto opened this issue · comments

[info] Compiling 1 Scala source to /Users/yoshiyuki_sakamoto/lgtmoon/target/scala-2.11/classes...
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:34: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]       id <- Image returning Image.map(_.id) += imageRow
[warn]             ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:34: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]       id <- Image returning Image.map(_.id) += imageRow
[warn]                                      ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:48: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]       .map(x => (x.status, x.bin))
[warn]           ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:47: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id)
[warn]                                 ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:47: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id)
[warn]                                        ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:47: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id)
[warn]                                    ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:68: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]       .take(limit)
[warn]            ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:66: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.status === AVAILABLE)
[warn]                                 ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:66: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.status === AVAILABLE)
[warn]                                            ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:66: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.status === AVAILABLE)
[warn]                                        ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:67: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]       .sortBy(_.createdAt.desc)
[warn]                 ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:85: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id).result
[warn]                              ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:85: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id).result
[warn]                                 ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:85: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id).result
[warn]                                        ^
[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/domain/image/ImageRepository.scala:85: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
[warn]     val action = Image.filter(_.id === id).result
[warn]                                    ^
[warn] 15 warnings found

warning増えた気がする

remote: -----> Play 2.x - Scala app detected
remote: -----> Installing JDK 1.8... done
remote: -----> Running: sbt compile stage
remote:        [info] Loading global plugins from /tmp/scala_buildpack_build_dir/.sbt_home/plugins
remote:        [info] Compiling 1 Scala source to /tmp/scala_buildpack_build_dir/.sbt_home/plugins/target/scala-2.10/sbt-0.13/classes...
remote:        [info] Loading project definition from /tmp/scala_buildpack_build_dir/project
remote:        [info] Set current project to lgtm-scala (in build file:/tmp/scala_buildpack_build_dir/)
remote:        [info] Compiling 32 Scala sources and 1 Java source to /tmp/scala_buildpack_build_dir/target/scala-2.11/classes...
remote:        [warn] /tmp/scala_buildpack_build_dir/app/controllers/ImageGenerateController.scala:25: method system in object Akka is deprecated: Please use a dependency injected ActorSystem
remote:        [warn]   val imageActor = Akka.system.actorOf(Props(new ImageActor()))
remote:        [warn]                         ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:34: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]       id <- Image returning Image.map(_.id) += imageRow
remote:        [warn]             ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:34: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]       id <- Image returning Image.map(_.id) += imageRow
remote:        [warn]                                      ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:48: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]       .map(x => (x.status, x.bin))
remote:        [warn]           ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:47: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id)
remote:        [warn]                                 ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:47: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id)
remote:        [warn]                                        ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:47: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id)
remote:        [warn]                                    ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:68: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]       .take(limit)
remote:        [warn]            ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:66: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.status === AVAILABLE)
remote:        [warn]                                 ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:66: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.status === AVAILABLE)
remote:        [warn]                                            ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:66: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.status === AVAILABLE)
remote:        [warn]                                        ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:67: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]       .sortBy(_.createdAt.desc)
remote:        [warn]                 ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:91: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id).result
remote:        [warn]                              ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:91: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id).result
remote:        [warn]                                 ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:91: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id).result
remote:        [warn]                                        ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/domain/image/ImageRepository.scala:91: value PostgresDriver in package driver is deprecated: Use object `slick.jdbc.PostgresProfile` instead of `slick.driver.PostgresDriver`
remote:        [warn]     val action = Image.filter(_.id === id).result
remote:        [warn]                                    ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/apiclient/GoogleCustomSearchClient.scala:13: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   override val baseUrl = Play.current.configuration.getString("google.baseUrl").get
remote:        [warn]                               ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/apiclient/GoogleCustomSearchClient.scala:14: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   override val key = Play.current.configuration.getString("google.key").get
remote:        [warn]                           ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/apiclient/GoogleCustomSearchClient.scala:15: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   override val cx = Play.current.configuration.getString("google.cx").get
remote:        [warn]                          ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/apiclient/GoogleCustomSearchClient.scala:31: method url in object WS is deprecated: Inject WSClient into your component
remote:        [warn]     WS.url(baseUrl)
remote:        [warn]        ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/apiclient/GoogleCustomSearchClient.scala:31: object WS in package ws is deprecated: Inject WSClient into your component
remote:        [warn]     WS.url(baseUrl)
remote:        [warn]     ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/apiclient/GoogleCustomSearchClient.scala:31: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]     WS.url(baseUrl)
remote:        [warn]           ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/command/ImageMagick.scala:11: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   val imagemagickDir = Play.current.configuration.getString("imagemagick.dir").get
remote:        [warn]                             ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/datasource/FontStorage.scala:11: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   val fontDir = Play.current.configuration.getString("imagemagick.fontDir").get
remote:        [warn]                      ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/util/UrlBuilder.scala:9: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   val host = Play.current.configuration.getString("storage.hostName").getOrElse("localhost")
remote:        [warn]                   ^
remote:        [warn] /tmp/scala_buildpack_build_dir/app/infra/util/UrlBuilder.scala:10: method current in object Play is deprecated: This is a static reference to application, use DI instead
remote:        [warn]   val path = Play.current.configuration.getString("storage.path").getOrElse("")
remote:        [warn]                   ^
remote:        [warn] 26 warnings found
remote:        [success] Total time: 25 s, completed Apr 25, 2019 8:15:53 AM
remote:        [info] Wrote /tmp/scala_buildpack_build_dir/target/scala-2.11/lgtm-scala_2.11-1.0-SNAPSHOT.pom
remote:        Warning: node.js detection failed, sbt will use the Rhino based Trireme JavaScript engine instead to run JavaScript assets compilation, which in some cases may be orders of magnitude slower than using node.js.
remote:        [info] Packaging /tmp/scala_buildpack_build_dir/target/scala-2.11/lgtm-scala_2.11-1.0-SNAPSHOT-web-assets.jar ...
remote:        [info] Packaging /tmp/scala_buildpack_build_dir/target/scala-2.11/lgtm-scala_2.11-1.0-SNAPSHOT.jar ...
remote:        [info] Done packaging.
remote:        [info] Done packaging.
remote:        [info] Packaging /tmp/scala_buildpack_build_dir/target/scala-2.11/lgtm-scala_2.11-1.0-SNAPSHOT-sans-externalized.jar ...
remote:        [info] Done packaging.
remote:        [success] Total time: 2 s, completed Apr 25, 2019 8:15:55 AM

PostgresDriverは解決済み

a1efa93

[warn] /Users/yoshiyuki_sakamoto/lgtmoon/app/controllers/ImageGenerateController.scala:25: method system in object Akka is deprecated: Please use a dependency injected ActorSystem
[warn]   val imageActor = Akka.system.actorOf(Props(new ImageActor()))
[warn]                         ^