Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Fails to install `scala-update`.

オープン
#175 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
scala
領域
cli

調査の方向性

報告された cs install --contrib scala-update コマンドを再現し、issue に表示されている Scala コンパイラーおよびライブラリの警告を含め、インストール出力を調査します。実際の失敗を特定し、scala-update のインストールが成功した場合に完了を確認します。

索引モデルが issue の本文から書いたものです。

説明

When trying to do a cs install --contrib scala-update it fails with the following:

warning: unknown anonymous info of class scala.tools.nsc.typechecker.ContextErrors$NamerContextErrors$NamerErrorGen$DuplicatesErrorKinds$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by scala.tools.nsc.typechecker.ContextErrors$NamerContextErrors$NamerErrorGen$DuplicatesErrorKinds$ which is not following the naming convention.
warning: unknown anonymous info of class scala.tools.nsc.typechecker.ContextErrors$InferencerContextErrors$InferErrorGen$PolyAlternativeErrorKind$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by scala.tools.nsc.typechecker.ContextErrors$InferencerContextErrors$InferErrorGen$PolyAlternativeErrorKind$ which is not following the naming convention.
warning: unknown anonymous info of class scala.tools.nsc.settings.Warnings$LintWarnings$LintWarning, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by scala.tools.nsc.settings.Warnings$LintWarnings$LintWarning which is not following the naming convention.
warning: unknown anonymous info of class scala.tools.nsc.typechecker.ContextErrors$NamerContextErrors$NamerErrorGen$SymValidateErrors$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by scala.tools.nsc.typechecker.ContextErrors$NamerContextErrors$NamerErrorGen$SymValidateErrors$ which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTag$ParsedLightTypeTag$SubtypeDBs, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTag$ParsedLightTypeTag$SubtypeDBs which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature which is not following the naming convention.
warning: unknown anonymous info of class [Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature; which is not following the naming convention.
warning: unknown anonymous info of class [[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature; which is not following the naming convention.
warning: unknown anonymous info of class [[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature; which is not following the naming convention.
warning: unknown anonymous info of class [[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature; which is not following the naming convention.
warning: unknown anonymous info of class [[[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$Signature; which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember which is not following the naming convention.
warning: unknown anonymous info of class [Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember; which is not following the naming convention.
warning: unknown anonymous info of class [[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember; which is not following the naming convention.
warning: unknown anonymous info of class [[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember; which is not following the naming convention.
warning: unknown anonymous info of class [[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember; which is not following the naming convention.
warning: unknown anonymous info of class [[[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember;, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by [[[[[Lizumi.reflect.macrortti.LightTypeTagRef$RefinementDecl$TypeMember; which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$Variance$Covariant$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$Variance$Covariant$ which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$Variance$Contravariant$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$Variance$Contravariant$ which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$Variance$Invariant$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$Variance$Invariant$ which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$SymName$SymTermName, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$SymName$SymTermName which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$SymName$SymTypeName, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$SymName$SymTypeName which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$SymName$SymLiteral, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$SymName$SymLiteral which is not following the naming convention.
warning: unknown anonymous info of class zio.Fiber$Runtime$Internal, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.Fiber$Runtime$Internal which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$Boundaries$Defined, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$Boundaries$Defined which is not following the naming convention.
warning: unknown anonymous info of class izumi.reflect.macrortti.LightTypeTagRef$Boundaries$Empty$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by izumi.reflect.macrortti.LightTypeTagRef$Boundaries$Empty$ which is not following the naming convention.
warning: unknown anonymous info of class zio.internal.FiberRuntime$EvaluationSignal$Continue$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.internal.FiberRuntime$EvaluationSignal$Continue$ which is not following the naming convention.
warning: unknown anonymous info of class zio.internal.FiberRuntime$EvaluationSignal$Done$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.internal.FiberRuntime$EvaluationSignal$Done$ which is not following the naming convention.
warning: unknown anonymous info of class zio.internal.FiberRuntime$EvaluationSignal$YieldNow$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.internal.FiberRuntime$EvaluationSignal$YieldNow$ which is not following the naming convention.
warning: unknown anonymous info of class zio.Fiber$Status$Done$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.Fiber$Status$Done$ which is not following the naming convention.
warning: unknown anonymous info of class zio.Fiber$Status$Unfinished, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.Fiber$Status$Unfinished which is not following the naming convention.
warning: unknown anonymous info of class zio.Fiber$Status$Running, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.Fiber$Status$Running which is not following the naming convention.
warning: unknown anonymous info of class zio.Fiber$Status$Suspended, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.Fiber$Status$Suspended which is not following the naming convention.
warning: unknown anonymous info of class zio.ZIO$EvaluationStep$UpdateRuntimeFlags, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.ZIO$EvaluationStep$UpdateRuntimeFlags which is not following the naming convention.
warning: unknown anonymous info of class zio.ZIO$EvaluationStep$UpdateTrace, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.ZIO$EvaluationStep$UpdateTrace which is not following the naming convention.
warning: unknown anonymous info of class zio.ZIO$EvaluationStep$UpdateRuntimeFlags$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.ZIO$EvaluationStep$UpdateRuntimeFlags$ which is not following the naming convention.
warning: unknown anonymous info of class zio.ZIO$EvaluationStep$Continuation$, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.ZIO$EvaluationStep$Continuation$ which is not following the naming convention.
warning: unknown anonymous info of class zio.ZIO$ZIOError$Traced, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.ZIO$ZIOError$Traced which is not following the naming convention.
warning: unknown anonymous info of class zio.ZIO$UpdateRuntimeFlagsWithin$Dynamic, assuming class is not anonymous. To remove the warning report an issue to the library or language author. The issue is caused by zio.ZIO$UpdateRuntimeFlagsWithin$Dynamic which is not following the naming convention.
[/Users/ckipp/Library/Application Support/Coursier/bin/.scala-update.aux.part:83711]     analysis:   9,361.34 ms
Error: Classes that should be initialized at run time got initialized during image building:
 scala.runtime.Statics was unintentionally initialized at build time. To see why scala.runtime.Statics got initialized use -H:+TraceClassInitialization

Error: Use -H:+ReportExceptionStackTraces to print stacktrace of underlying exception
Error: Image build request failed with exit status 1
Exception in thread "main" java.lang.RuntimeException: Error running native-image (exit code: 1)
        at scala.sys.package$.error(package.scala:30)
        at coursier.launcher.NativeImageGenerator$.generate(NativeImageGenerator.scala:124)
        at coursier.launcher.Generator$.generate(Generator.scala:14)
        at coursier.install.InstallDir.$anonfun$createOrUpdate$15(InstallDir.scala:342)
        at coursier.install.InstallDir$.coursier$install$InstallDir$$writing(InstallDir.scala:570)
        at coursier.install.InstallDir.$anonfun$createOrUpdate$14(InstallDir.scala:341)
        at coursier.install.InstallDir.$anonfun$createOrUpdate$14$adapted(InstallDir.scala:311)
        at coursier.install.InstallDir.$anonfun$createOrUpdate$22(InstallDir.scala:417)
        at coursier.install.InstallDir.$anonfun$createOrUpdate$22$adapted(InstallDir.scala:416)
        at coursier.install.Updatable$.get$1(Updatable.scala:61)
        at coursier.install.Updatable$.$anonfun$writing$1(Updatable.scala:106)
        at coursier.cache.CacheLocks$.loop$1(CacheLocks.scala:71)
        at coursier.cache.CacheLocks$.withLockOr(CacheLocks.scala:95)
        at coursier.install.Updatable$.writing(Updatable.scala:106)
        at coursier.install.InstallDir.createOrUpdate(InstallDir.scala:416)
        at coursier.install.InstallDir.createOrUpdate(InstallDir.scala:96)
        at coursier.cli.install.Install$.$anonfun$run$7(Install.scala:127)
        at coursier.cli.install.Install$.$anonfun$run$7$adapted(Install.scala:114)
        at scala.collection.immutable.List.foreach(List.scala:431)
        at coursier.cli.install.Install$.run(Install.scala:114)
        at coursier.cli.install.Install$.run(Install.scala:22)
        at caseapp.core.app.CaseApp.main(CaseApp.scala:149)
        at caseapp.core.app.CommandsEntryPoint.main(CommandsEntryPoint.scala:115)
        at coursier.cli.Coursier$.main(Coursier.scala:118)
        at coursier.cli.Coursier.main(Coursier.scala)
  • cs version: 2.1.0-M7-18-g67daad6a9
  • os: macOS Monterey 12.6
  • Java version: openjdk 17.0.4

CC @kitlangton

主要言語
Scala
スター
41
フォーク
60
平均マージ
16時間 55分
マージ済み PR(30日)
14

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coursier/apps のほかの issue

coursier/apps の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。