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

Skip set posix file permissions in windows #671

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

lwronski
Copy link
Contributor

I noticed this bug while preparing Github actions for scala-cli.
After running HelloWorld application, I got following error:

Run scala-cli hello.sc
[4](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:4)
Downloading https://github.com/coursier/jvm-index/raw/master/index.json
[5](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:5)
Downloaded https://github.com/coursier/jvm-index/raw/master/index.json
[6](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:6)
Downloading https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_windows_hotspot_17_35.zip
[7](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:7)
Still downloading:
[8](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:8)
https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_windows_hotspot_17_35.zip (61.85 %, 116710400 / 1886[9](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:9)0370)
9

[10](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:10)
Downloaded https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_windows_hotspot_17_35.zip
[11](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:11)
Exception in thread "main" java.lang.UnsupportedOperationException
[12](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:12)
	at java.nio.file.Files.setPosixFilePermissions(Files.java:2166)
[13](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:13)
	at scala.build.blooprifle.internal.Operations$.lockFiles(Operations.scala:38)
[14](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:14)
	at scala.build.blooprifle.internal.Operations$.check(Operations.scala:75)
[15](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:15)
	at scala.build.blooprifle.BloopRifle$.check$1(BloopRifle.scala:29)
[16](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:16)
	at scala.build.blooprifle.BloopRifle$.check(BloopRifle.scala:31)
[17](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:17)
	at scala.build.blooprifle.BloopRifle$.getCurrentBloopVersion(BloopRifle.scala:[18](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:18)1)
18
	at scala.build.bloop.BloopServer$.ensureBloopRunning(BloopServer.scala:85)
[19](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:19)
	at scala.build.bloop.BloopServer$.bsp(BloopServer.scala:153)
[20](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:20)
	at scala.build.bloop.BloopServer$.buildServer(BloopServer.scala:183)
[21](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:21)
	at scala.build.bloop.BloopServer$.withBuildServer(BloopServer.scala:248)
[22](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:22)
	at scala.build.Build$.build(Build.scala:408)
[23](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:23)
	at scala.build.Build$.build(Build.scala:432)
[24](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:24)
	at scala.cli.commands.Run$.run(Run.scala:87)
[25](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:25)
	at scala.cli.commands.Run$.run(Run.scala:25)
[26](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:26)
	at scala.cli.commands.Default.run(Default.scala:38)
[27](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:27)
	at scala.cli.commands.Default.run(Default.scala:10)
[28](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:28)
	at caseapp.core.app.CaseApp.main(CaseApp.scala:149)
[29](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:29)
	at caseapp.core.app.CommandsEntryPoint.main(CommandsEntryPoint.scala:116)
[30](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:30)
	at scala.cli.ScalaCliCommands.main(ScalaCliCommands.scala:89)
[31](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:31)
	at scala.cli.ScalaCli$.main0(ScalaCli.scala:148)
[32](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:32)
	at scala.cli.ScalaCli$.main(ScalaCli.scala:71)
[33](https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true#step:9:33)
	at scala.cli.ScalaCli.main(ScalaCli.scala)

https://github.com/lwronski/scala-cli-setup/runs/5266884042?check_suite_focus=true

Copy link
Contributor

@alexarchambault alexarchambault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had this one fixed locally 😅

@lwronski lwronski merged commit dd9482d into VirtusLab:main Feb 21, 2022
romanowski pushed a commit to romanowski/scala-cli that referenced this pull request Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants