Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringIndexOutOfBoundsException when compiling #18586

Closed
Zschimmer opened this issue Sep 22, 2023 · 4 comments
Closed

StringIndexOutOfBoundsException when compiling #18586

Zschimmer opened this issue Sep 22, 2023 · 4 comments
Assignees

Comments

@Zschimmer
Copy link

Compiler version

3.3.1

Minimized code

It's a subproject with 308 source files. Don't known which source triggers the exception. I am trying to migrate from 2.13 to Scala 3. No compilation error, but a ton of migration warnings.

Output (click arrow to expand)

[info] 
[info]   exception occurred while compiling List(/…/js7/js7-data/jvm/src/main/scala/js7/data/calendar/CalendarExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/controller/ControllerStateExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/event/JournalHeaders.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/OrderEventSource.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/AddOrderExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/BreakExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/BreakOrderExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ConsumeNoticesExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/CycleExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/EmptyExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/EndExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ExecuteAdmissionTimeSwitch.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ExecuteExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ExpectNoticesExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ExpectOrConsumeNoticesExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/FailExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/FinishExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ForkExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ForkInstructionExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ForkListExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/GapExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/IfExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/InstructionExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/InstructionExecutorService.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/LockExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/OptionsExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/PostNoticesExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/PromptExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/RetryExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ScheduleCalculator.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/ScheduleSimulator.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/StickySubagentExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/StopExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/execution/workflow/instructions/TryExecutor.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/order/OrderObstacleCalculator.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/value/expression/scopes/FileValueScope.scala, /…/js7/js7-data/jvm/src/main/scala/js7/data/value/expression/scopes/FileValueState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/Problems.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/AgentPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/AgentRef.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/AgentRefState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/AgentRefStateEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/AgentRunId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/IncreasingPositiveLongs.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/agent/Problems.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/Board.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/BoardEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/BoardPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/BoardPathExpression.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/BoardPathExpressionParser.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/BoardSnapshot.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/BoardState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/Notice.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/NoticeId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/NoticePlace.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/board/NoticeV2_3.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/calendar/Calendar.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/calendar/CalendarPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/calendar/CalendarState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterCommand.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterNodeApi.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterNodePair.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterNodeState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterSetting.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterStateSnapshot.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterTiming.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterWatchId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterWatchProblems.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterWatchRequest.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterWatchRunId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/cluster/ClusterWatchingCommand.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/command/CancellationMode.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/command/CommandRunOverview.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/command/CommonCommand.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/command/SuspensionMode.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerCommand.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerMetaState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerOverview.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerRunId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/ControllerStateBuilder.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/VerifiedUpdateItems.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/controller/VerifiedUpdateItemsExecutor.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/crypt/SignedItemVerifier.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/delegate/DelegateCouplingState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/delegate/DelegateId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/delegate/DelegateOverview.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/BasicState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/ClusterableState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/Event.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/EventApi.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/EventDrivenState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/EventId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/EventRequest.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/EventSeq.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/EventSeqTornProblem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/ItemContainer.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalHeader.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalInfo.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalPosition.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalSeparators.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournalState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/JournaledState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/KeyedEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/KeyedEventTypedJsonCodec.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/NoKeyEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/SignedItemContainer.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/SnapshotMeta.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/SnapshotableState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/SnapshotableStateBuilder.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/Stamped.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/StandardsBuilder.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/event/package.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/folder/FolderPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/BasicItemEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ClientAttachments.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/InventoryItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/InventoryItemDiff.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/InventoryItemEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/InventoryItemKey.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/InventoryItemPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/InventoryItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ItemAddedOrChanged.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ItemAttachedState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ItemChange.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ItemOperation.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ItemRevision.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/ItemSigner.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/PathRev.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/Repo.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SeparateTrivialItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SignableItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SignableItemKey.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SignableSimpleItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SignableSimpleItemPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SignedItemEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SimpleItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SimpleItemPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SimpleItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/SourceType.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/TrivialItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedItemEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedItemKey.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedItemPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedSimpleItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedSimpleItemEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedSimpleItemPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedSimpleItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/UnsignedVersionedItemId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionedControl.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionedControlPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionedEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionedItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionedItemId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/VersionedItemPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/item/package.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/CommandLine.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/CommandLineEvaluator.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/CommandLineExpression.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/CommandLineParser.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/Executable.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/JobConf.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/JobKey.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/JobResource.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/JobResourcePath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/ReturnCodeMeaning.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/job/TaskId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/jobapi/JavaJobSignatures.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/lock/Acquired.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/lock/Lock.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/lock/LockPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/lock/LockRefusal.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/lock/LockState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/node/NodeId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/node/NodeName.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/node/NodeNameToPassword.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/CycleState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/FreshOrder.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/HistoricOutcome.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/Order.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/OrderEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/OrderId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/OrderMark.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/OrderObstacle.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/OrdersOverview.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/order/Outcome.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/ExternalOrderKey.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/ExternalOrderName.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/FileWatch.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/OrderWatch.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/OrderWatchEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/OrderWatchPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/OrderWatchState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/orderwatch/OrderWatchStateHandler.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/other/HeartbeatTiming.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/parser/Js7Parsers.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/platform/PlatformInfo.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/problems/package.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/session/HttpSessionApi.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/source/SourcePos.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/state/AgentsSubagentIdsScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/state/EventDrivenStateView.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/state/OrderEventHandler.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/state/StateView.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/state/WorkflowAndOrderRecovering.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/Problems.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentCommand.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentDirectorState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentItem.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentItemState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentItemStateEvent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentOverview.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentRunId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentSelection.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentSelectionId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentSelectionState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/subagent/SubagentState.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/system/JavaInformation.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/Value.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/ValuePrinter.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/Closure.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/ExprFunction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/Expression.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/ExpressionOptimizer.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/ExpressionParser.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/PositionSearch.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/Precedence.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/Scope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/ValueSearch.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/CombinedScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/EnvScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/JobResourceScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/NameToCheckedValueScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/NamedValueScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/NowScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/OrderScopes.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/OrderVariablesScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/SymbolScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/expression/scopes/TimestampScope.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/value/package.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/Instruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/OrderParameter.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/OrderParameterList.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/OrderPreparation.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/Workflow.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowControl.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowControlPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowOverview.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowParser.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowPathControl.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowPathControlPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/WorkflowPrinter.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/AddOrder.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/BoardInstruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Break.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/BreakOrder.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/ConsumeNotices.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Cycle.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/EmptyInstruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/End.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Execute.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/ExpectNotice.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/ExpectNotices.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/ExpectOrConsumeNoticesInstruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Fail.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Finish.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Fork.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/ForkInstruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/ForkList.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Gap.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/If.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Instructions.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/LockInstruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Options.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/PostNotice.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/PostNotices.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Prompt.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Retry.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Schedule.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/StickySubagent.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/Stop.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/TryInstruction.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/instructions/executable/WorkflowJob.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/package.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/BranchId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/BranchPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/ForkBranchId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/InstructionNr.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/PositionOrLabel.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/TryCatchBranchId.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/WorkflowBranchPath.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/WorkflowPosition.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/position/package.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/test/ForkTestSetting.scala, /…/js7/js7-data/shared/src/main/scala/js7/data/workflow/test/TestSetting.scala)
[info] 
[info]   An unhandled exception was thrown in the compiler.
[info]   Please file a crash report here:
[info]   https://github.com/lampepfl/dotty/issues/new/choose
[info] 
[info]      while compiling: <no file>
[info]         during phase: <no phase>
[info]                 mode: Mode(ImplicitsEnabled)
[info]      library version: version 2.13.10
[info]     compiler version: version 3.3.1
[info]             settings: -Wconf List(cat=unused-imports:error) -Wunused List(imports, implicits) -Yretain-trees true -Ysafe-init true -bootclasspath /…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.3.1/scala3-library_3-3.3.1.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.10/scala-library-2.13.10.jar -classpath /…/js7/js7-data/jvm/target/scala-3.3.1/classes:/…/js7/js7-base/jvm/target/scala-3.3.1/classes:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/izumi-reflect_3/2.1.3/izumi-reflect_3-2.1.3.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-core_3/2.9.0/cats-core_3-2.9.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-effect_3/2.5.5/cats-effect_3-2.5.5.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-parse_3/0.3.9/cats-parse_3-0.3.9.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/circe/circe-core_3/0.14.6/circe-core_3-0.14.6.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/circe/circe-parser_3/0.14.6/circe-parser_3-0.14.6.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/circe/circe-generic_3/0.14.6/circe-generic_3-0.14.6.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/co/fs2/fs2-core_3/2.5.11/fs2-core_3-2.5.11.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/co/fs2/fs2-reactive-streams_3/2.5.11/fs2-reactive-streams_3-2.5.11.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/monix-eval_3/3.4.1/monix-eval_3-3.4.1.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/monix-reactive_3/3.4.1/monix-reactive_3-3.4.1.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/lihaoyi/sourcecode_3/0.3.0/sourcecode_3-0.3.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/intellij/annotations/12.0/annotations-12.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/typesafe/scala-logging/scala-logging_3/3.9.5/scala-logging_3-3.9.5.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/2.0.5/slf4j-api-2.0.5.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/typesafe/config/1.4.2/config-1.4.2.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.20.0/log4j-api-2.20.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.20.0/log4j-core-2.20.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-slf4j2-impl/2.20.0/log4j-slf4j2-impl-2.20.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/lmax/disruptor/3.4.4/disruptor-3.4.4.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/izumi-reflect-thirdparty-boopickle-shaded_3/2.1.3/izumi-reflect-thirdparty-boopickle-shaded_3-2.1.3.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-kernel_3/2.9.0/cats-kernel_3-2.9.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/circe/circe-numbers_3/0.14.6/circe-numbers_3-0.14.6.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/circe/circe-jawn_3/0.14.6/circe-jawn_3-0.14.6.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scodec/scodec-bits_3/1.1.28/scodec-bits_3-1.1.28.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/monix-execution_3/3.4.1/monix-execution_3-3.4.1.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/monix-catnap_3/3.4.1/monix-catnap_3-3.4.1.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/jawn-parser_3/1.4.0/jawn-parser_3-1.4.0.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/monix-internal-jctools_3/3.4.1/monix-internal-jctools_3-3.4.1.jar:/…/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/implicitbox_3/0.3.4/implicitbox_3-0.3.4.jar -d /…/js7/js7-data/jvm/target/scala-3.3.1/classes -deprecation true -explain true -feature true -source 3.0-migration
[info] 
[info]                 tree: EmptyTree
[info]        tree position: :<unknown>
[info]            tree type: <notype>
[info]               symbol: val <none>
[info]            call site: package <root> in module class <root>
[info] 
[info]   == Source file context for tree position ==
[info] 
[error] ## Exception when compiling 308 sources to //js7/js7-data/jvm/target/scala-3.3.1/classes
[error] java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 6
[error] java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
[error] java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52)
[error] java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213)
[error] java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210)
[error] java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98)
[error] java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112)
[error] java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349)
[error] java.base/java.lang.String.checkBoundsBeginEnd(String.java:4608)
[error] java.base/java.lang.String.substring(String.java:2720)
[error] java.base/java.lang.String.substring(String.java:2693)
[error] dotty.tools.dotc.transform.init.Trace$.positionMarker(Trace.scala:76)
[error] dotty.tools.dotc.transform.init.Trace$.buildStacktrace$$anonfun$1(Trace.scala:55)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.immutable.Vector.foreach(Vector.scala:1895)
[error] dotty.tools.dotc.transform.init.Trace$.buildStacktrace(Trace.scala:64)
[error] dotty.tools.dotc.transform.init.Errors$Error.stacktrace(Errors.scala:28)
[error] dotty.tools.dotc.transform.init.Errors$Error.stacktrace$(Errors.scala:17)
[error] dotty.tools.dotc.transform.init.Errors$UnsafePromotion.stacktrace(Errors.scala:62)
[error] dotty.tools.dotc.transform.init.Errors$UnsafePromotion.show(Errors.scala:64)
[error] dotty.tools.dotc.transform.init.Errors$Error.issue$$anonfun$1(Errors.scala:31)
[error] dotty.tools.dotc.core.Decorators$.toMessage$$anonfun$1(Decorators.scala:65)
[error] dotty.tools.dotc.reporting.NoExplanation.msg(Message.scala:396)
[error] dotty.tools.dotc.reporting.Message.message$$anonfun$1(Message.scala:345)
[error] dotty.tools.dotc.reporting.Message.inMessageContext(Message.scala:331)
[error] dotty.tools.dotc.reporting.Message.message(Message.scala:345)
[error] dotty.tools.dotc.reporting.Message.isNonSensical(Message.scala:322)
[error] dotty.tools.dotc.reporting.HideNonSensicalMessages.isHidden(HideNonSensicalMessages.scala:16)
[error] dotty.tools.dotc.reporting.HideNonSensicalMessages.isHidden$(HideNonSensicalMessages.scala:10)
[error] dotty.tools.dotc.reporting.AbstractReporter.isHidden(AbstractReporter.scala:8)
[error] dotty.tools.dotc.reporting.Reporter.issueUnconfigured(Reporter.scala:156)
[error] dotty.tools.dotc.reporting.Reporter.go$1(Reporter.scala:177)
[error] dotty.tools.dotc.reporting.Reporter.issueIfNotSuppressed(Reporter.scala:191)
[error] dotty.tools.dotc.reporting.Reporter.report(Reporter.scala:203)
[error] dotty.tools.dotc.report$.issueWarning(report.scala:23)
[error] dotty.tools.dotc.report$.warning(report.scala:58)
[error] dotty.tools.dotc.report$.warning(report.scala:64)
[error] dotty.tools.dotc.transform.init.Errors$Error.issue(Errors.scala:31)
[error] dotty.tools.dotc.transform.init.Errors$Error.issue$(Errors.scala:17)
[error] dotty.tools.dotc.transform.init.Errors$UnsafePromotion.issue(Errors.scala:62)
[error] dotty.tools.dotc.transform.init.Semantic$.iterate$1$$anonfun$2(Semantic.scala:1125)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.immutable.List.foreach(List.scala:333)
[error] dotty.tools.dotc.transform.init.Semantic$.iterate$1(Semantic.scala:1125)
[error] dotty.tools.dotc.transform.init.Semantic$.checkClass(Semantic.scala:1135)
[error] dotty.tools.dotc.transform.init.Semantic$.checkClasses$$anonfun$2(Semantic.scala:1144)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)
[error] scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)
[error] scala.collection.AbstractIterable.foreach(Iterable.scala:933)
[error] scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:903)
[error] dotty.tools.dotc.transform.init.Semantic$.checkClasses(Semantic.scala:1144)
[error] dotty.tools.dotc.transform.init.Checker.runOn(Checker.scala:39)
[error] dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:246)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1321)
[error] dotty.tools.dotc.Run.runPhases$1(Run.scala:262)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:270)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:279)
[error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:67)
[error] dotty.tools.dotc.Run.compileUnits(Run.scala:279)
[error] dotty.tools.dotc.Run.compileSources(Run.scala:194)
[error] dotty.tools.dotc.Run.compile(Run.scala:179)
[error] dotty.tools.dotc.Driver.doCompile(Driver.scala:37)
[error] dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:88)
[error] dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:211)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:179)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:177)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:463)
[error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:418)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:505)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:405)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:171)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2369)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2319)
[error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:31)
[error] sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:31)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2317)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] sbt.Execute.work(Execute.scala:292)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error] java.base/java.lang.Thread.run(Thread.java:1623)
[error]            
[error] stack trace is suppressed; run last js7-data / Compile / compileIncremental for the full output
[error] (js7-data / Compile / compileIncremental) java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 6
[error] Total time: 30 s, completed 22.09.2023, 18:09:11
@Zschimmer Zschimmer added itype:bug itype:crash stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 22, 2023
@Zschimmer
Copy link
Author

No exception without -Ysafe-init.

@Kordyjan Kordyjan added stat:needs minimization Needs a self contained minimization area:initialization and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 25, 2023
@nicolasstucki
Copy link
Contributor

@Zschimmer are you able to share the project that causes the failure?

@Zschimmer
Copy link
Author

@nicolasstucki It's reproducible on my machine:

git clone https://github.com/sos-berlin/js7.git 
cd js7
git checkout scala3-safe-init-compile-crash
sbt js7-data/compile
💥

macOS Homebrew Java 21 and sbt 1.9.1

@liufengyun liufengyun self-assigned this Oct 18, 2023
@liufengyun
Copy link
Contributor

This is the same issue as in #18625, and is fixed in #18668.

The crash disappear with the nightly 3.4.0-RC1-bin-20231105-ef97ee2-NIGHTLY compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants