judge-server icon indicating copy to clipboard operation
judge-server copied to clipboard

Invalid Result IR, using Swift

Open addodelgrossi opened this issue 1 year ago • 2 comments

I'm trying to use swift language, but all executions return IR.

Judge Config

  swiftc: /opt/swift/usr/bin/swiftc

All execution result:

Execution Results
Test case #1:	IR

Is there any configuration required?

addodelgrossi avatar Apr 27 '23 20:04 addodelgrossi

There isn't any other configuration required to get Swift to work. Something is wrong here; usually these things happen because the runtime hits the sandbox in a way that hasn't been whitelisted.

Do self-tests pass?

Are any warnings printed during judge initialization?

Are you using the Docker images provided by https://github.com/DMOJ/runtimes-docker? I'd strongly recommend those, especially if you're using more niche languages, since we ensure that at least runtimes-docker works.

Xyene avatar May 03 '23 03:05 Xyene

Thanks for the reply !

I'm using default settings and docker images, I still haven't been able to resolve the issue.

Do you have any example of a judge's configuration with Swift configured?

addodelgrossi avatar May 08 '23 17:05 addodelgrossi