Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fails to install `scala-update`.

Aperta
#175 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
scala
Ambito
cli

Direzione di ricerca

Riproduci il comando segnalato cs install --contrib scala-update ed esamina l’output dell’installazione, inclusi gli avvisi del compilatore e della libreria Scala mostrati nell’issue. Determina l’errore effettivo e verifica il completamento quando scala-update viene installato correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Scala
Stelle
41
Fork
60
Merge medio
3h 49m
PR unite (30g)
7

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coursier/apps

Tutte le issue di coursier/apps

Issue simili

Altre issue su Scala

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.