Closed
Description
Vieras-Air:hello_world vieraproulx$ rustc main.rs
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: IoError { kind: PermissionDenied, desc: "couldn\'t create file", detail: Some("permission denied (Permission denied); path=main.o; mode=truncate; access=write") }', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libcore/result.rs:743
Vieras-Air:hello_world vieraproulx$ ls -l
total 32
-rw-r--r-- 1 vieraproulx staff 1572 Feb 9 18:28 main.0.o
-rw-r--r-- 1 vieraproulx staff 184 Feb 9 18:28 main.metadata.o
-rw-r--r-- 1 root staff 1572 Feb 9 18:25 main.o
-rw-r--r-- 1 vieraproulx staff 43 Feb 9 18:25 main.rs
Vieras-Air:hello_world vieraproulx$ RUST_BACKTRACE=1
Vieras-Air:hello_world vieraproulx$ rustc main.rs RUST_BACKTRACE=1
error: multiple input filenames provided
Vieras-Air:hello_world vieraproulx$
I have no idea why this is happening.