Problem description:
Created trivial Swift REPL using your template, used your sample code as well as a simple line of my own - same behaviour.
Upgraded from free account to Hacker status - still same.
Expected behavior:
Program runs and prints a few lines
Actual behavior:
Repl Resources tab shows RAM exceeded with “At limit” warning
Console shows:
swiftc -o main main.swift
nix error: building nix env: exit status 100
Output has been trimmed to the last 20 lines
cp: cannot create directory ‘llvm-project/compiler-rt’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/debuginfo-tests’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/flang’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/libc’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/libclc’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/libcxx’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/libcxxabi’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/libunwind’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/lld’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/lldb’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/llvm’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/mlir’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/openmp’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/parallel-libs’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/polly’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/pstl’: Disk quota exceeded
cp: cannot create directory ‘llvm-project/utils’: Disk quota exceeded
builder for ‘/nix/store/jh230i8crfhj13fq7cbvmxg2d5frj09c-swift-5.4.2.drv’ failed with exit code 1
error: build of ‘/nix/store/jh230i8crfhj13fq7cbvmxg2d5frj09c-swift-5.4.2.drv’ failed
Steps to reproduce:
- Create a repl using Swift template
- Enter a simple Swift expression eg
print("Hello replers")
- Run
Bug appears at this link:
https://replit.com/@AndyDentPerth/TayWest02#main.swift
also someone else’s Swift repl from a couple of months ago fails with same error
https://replit.com/@MosheHadad/Swift-testing?v=1
Browser/OS/Device:
Chrome 103.0.5060.134/macOS 12.6.1/iMac 27"