{"action":"created","issue":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/3445","repository_url":"https://api.github.com/repos/scala-js/scala-js","labels_url":"https://api.github.com/repos/scala-js/scala-js/issues/3445/labels{/name}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/3445/comments","events_url":"https://api.github.com/repos/scala-js/scala-js/issues/3445/events","html_url":"https://github.com/scala-js/scala-js/issues/3445","id":356199336,"node_id":"MDU6SXNzdWUzNTYxOTkzMzY=","number":3445,"title":"LinkingException: scala-js 0.6.25, Scala 2.13.0-M4","user":{"login":"xuwei-k","id":389787,"node_id":"MDQ6VXNlcjM4OTc4Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/389787?v=4","gravatar_id":"","url":"https://api.github.com/users/xuwei-k","html_url":"https://github.com/xuwei-k","followers_url":"https://api.github.com/users/xuwei-k/followers","following_url":"https://api.github.com/users/xuwei-k/following{/other_user}","gists_url":"https://api.github.com/users/xuwei-k/gists{/gist_id}","starred_url":"https://api.github.com/users/xuwei-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuwei-k/subscriptions","organizations_url":"https://api.github.com/users/xuwei-k/orgs","repos_url":"https://api.github.com/users/xuwei-k/repos","events_url":"https://api.github.com/users/xuwei-k/events{/privacy}","received_events_url":"https://api.github.com/users/xuwei-k/received_events","type":"User","site_admin":false},"labels":[{"id":28856109,"node_id":"MDU6TGFiZWwyODg1NjEwOQ==","url":"https://api.github.com/repos/scala-js/scala-js/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"sjrd","id":535934,"node_id":"MDQ6VXNlcjUzNTkzNA==","avatar_url":"https://avatars3.githubusercontent.com/u/535934?v=4","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"assignees":[{"login":"sjrd","id":535934,"node_id":"MDQ6VXNlcjUzNTkzNA==","avatar_url":"https://avatars3.githubusercontent.com/u/535934?v=4","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/scala-js/scala-js/milestones/61","html_url":"https://github.com/scala-js/scala-js/milestone/61","labels_url":"https://api.github.com/repos/scala-js/scala-js/milestones/61/labels","id":3606662,"node_id":"MDk6TWlsZXN0b25lMzYwNjY2Mg==","number":61,"title":"v0.6.26","description":"","creator":{"login":"sjrd","id":535934,"node_id":"MDQ6VXNlcjUzNTkzNA==","avatar_url":"https://avatars3.githubusercontent.com/u/535934?v=4","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2018-08-29T12:03:42Z","updated_at":"2018-11-26T15:44:11Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-09-01T12:36:47Z","updated_at":"2018-11-26T18:03:49Z","closed_at":"2018-09-02T21:16:13Z","author_association":"CONTRIBUTOR","body":"\r\n### Main.scala \r\n\r\n```scala\r\npackage example\r\n\r\nobject Main {\r\n  def main(args: Array[String]): Unit = {\r\n    val Array(x, xs @ _*) = args\r\n  }\r\n}\r\n```\r\n\r\n### build.sbt \r\n\r\n```scala\r\nscalaVersion := \"2.13.0-M4\"\r\n\r\nenablePlugins(ScalaJSPlugin)\r\n```\r\n\r\n### project/build.properties \r\n\r\n```\r\nsbt.version=1.2.1\r\n```\r\n\r\n### project/plugins.sbt \r\n\r\n```scala\r\naddSbtPlugin(\"org.scala-js\" % \"sbt-scalajs\" % \"0.6.25\")\r\n```\r\n\r\n\r\n### execute `sbt fastOptJS`\r\n\r\n```\r\n[error] Referring to non-existent method scala.Array$.unapplySeq(java.lang.Object)scala.Option\r\n[error]   called from example.Main$.main([java.lang.String)scala.Unit\r\n[error]   called from core module module initializers\r\n[error] involving instantiated classes:\r\n[error]   example.Main$\r\n[error] org.scalajs.core.tools.linker.LinkingException: There were linking errors\r\n[error] \tat org.scalajs.core.tools.linker.frontend.BaseLinker.linkInternal(BaseLinker.scala:160)\r\n[error] \tat org.scalajs.core.tools.linker.frontend.BaseLinker.linkInternal(BaseLinker.scala:108)\r\n[error] \tat org.scalajs.core.tools.linker.frontend.LinkerFrontend.$anonfun$link$3(LinkerFrontend.scala:63)\r\n[error] \tat org.scalajs.core.tools.logging.Logger.time(Logger.scala:28)\r\n[error] \tat org.scalajs.core.tools.logging.Logger.time$(Logger.scala:26)\r\n[error] \tat org.scalajs.sbtplugin.Loggers$SbtLoggerWrapper.time(Loggers.scala:7)\r\n[error] \tat org.scalajs.core.tools.linker.frontend.LinkerFrontend.link(LinkerFrontend.scala:62)\r\n[error] \tat org.scalajs.core.tools.linker.Linker.$anonfun$link$1(Linker.scala:52)\r\n[error] \tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)\r\n[error] \tat org.scalajs.core.tools.linker.Linker.guard(Linker.scala:69)\r\n[error] \tat org.scalajs.core.tools.linker.Linker.link(Linker.scala:50)\r\n[error] \tat org.scalajs.core.tools.linker.ClearableLinker.$anonfun$link$1(ClearableLinker.scala:52)\r\n[error] \tat org.scalajs.core.tools.linker.ClearableLinker.$anonfun$link$1$adapted(ClearableLinker.scala:52)\r\n[error] \tat org.scalajs.core.tools.linker.ClearableLinker.linkerOp(ClearableLinker.scala:63)\r\n[error] \tat org.scalajs.core.tools.linker.ClearableLinker.link(ClearableLinker.scala:52)\r\n[error] \tat org.scalajs.sbtplugin.ScalaJSPluginInternal$.$anonfun$scalaJSStageSettings$11(ScalaJSPluginInternal.scala:315)\r\n[error] \tat sbt.util.FileFunction$.$anonfun$cached$1(FileFunction.scala:73)\r\n[error] \tat sbt.util.FileFunction$.$anonfun$cached$4(FileFunction.scala:147)\r\n[error] \tat sbt.util.Difference.apply(Tracked.scala:313)\r\n[error] \tat sbt.util.Difference.apply(Tracked.scala:293)\r\n[error] \tat sbt.util.FileFunction$.$anonfun$cached$3(FileFunction.scala:143)\r\n[error] \tat sbt.util.Difference.apply(Tracked.scala:313)\r\n[error] \tat sbt.util.Difference.apply(Tracked.scala:288)\r\n[error] \tat sbt.util.FileFunction$.$anonfun$cached$2(FileFunction.scala:142)\r\n[error] \tat org.scalajs.sbtplugin.ScalaJSPluginInternal$.$anonfun$scalaJSStageSettings$10(ScalaJSPluginInternal.scala:320)\r\n[error] \tat sbt.std.Transform$$anon$3.$anonfun$apply$2(System.scala:46)\r\n[error] \tat sbt.std.Transform$$anon$4.work(System.scala:67)\r\n[error] \tat sbt.Execute.$anonfun$submit$2(Execute.scala:269)\r\n[error] \tat sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)\r\n[error] \tat sbt.Execute.work(Execute.scala:278)\r\n[error] \tat sbt.Execute.$anonfun$submit$1(Execute.scala:269)\r\n[error] \tat sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)\r\n[error] \tat sbt.CompletionService$$anon$2.call(CompletionService.scala:37)\r\n[error] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n[error] \tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n[error] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n[error] \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n[error] \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n[error] \tat java.lang.Thread.run(Thread.java:748)\r\n[error] (Compile / fastOptJS) org.scalajs.core.tools.linker.LinkingException: There were linking errors\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scala-js/scala-js/issues/comments/441737606","html_url":"https://github.com/scala-js/scala-js/issues/3445#issuecomment-441737606","issue_url":"https://api.github.com/repos/scala-js/scala-js/issues/3445","id":441737606,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTczNzYwNg==","user":{"login":"djspiewak","id":752,"node_id":"MDQ6VXNlcjc1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/752?v=4","gravatar_id":"","url":"https://api.github.com/users/djspiewak","html_url":"https://github.com/djspiewak","followers_url":"https://api.github.com/users/djspiewak/followers","following_url":"https://api.github.com/users/djspiewak/following{/other_user}","gists_url":"https://api.github.com/users/djspiewak/gists{/gist_id}","starred_url":"https://api.github.com/users/djspiewak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djspiewak/subscriptions","organizations_url":"https://api.github.com/users/djspiewak/orgs","repos_url":"https://api.github.com/users/djspiewak/repos","events_url":"https://api.github.com/users/djspiewak/events{/privacy}","received_events_url":"https://api.github.com/users/djspiewak/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T18:03:49Z","updated_at":"2018-11-26T18:03:49Z","author_association":"NONE","body":"> you should build and publish both for 0.6.x and the latest 1.0 milestones.\r\n\r\nIs there tooling for this? I just shuddered involuntarily, because it sounds like you're adding an axis of cross-building. :-P"}}
{"actor":{"display_login":"djspiewak"}}