rust-lang / rustup

The Rust toolchain installer
https://rust-lang.github.io/rustup/
Apache License 2.0
6.18k stars 889 forks source link

Create file, then fail to create symlink on file exists. #2223

Open cheako opened 4 years ago

cheako commented 4 years ago

Problem

Hmm, I've spoken English all my life but don't you think this is a high bar? It excludes those like me who have autism. strace -f -e trace=file rustup target add wasm32-wasi

openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 4
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFLNK|0777, stx_size=102, ...}) = 0
symlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", "/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file") = -1 EEXIST (File exists)

Notice the O_CREAT flag, this creates a file. This precludes the symlink from returning anything other than EEXIST(-1).

Steps

I doubt there are any steps, you'll likely have to find all the spot in the code where temporary symlinks are created for "components". I'm sure there are only a handful.

Possible Solution(s) This is likely a function that's rarely called that likely works perfectly on Windows.

Notes

srv_websuite@olympus:~/src/websuite$ strace -f -e trace=file rustup target add wasm32-wasi
execve("/home/srv_websuite/.cargo/bin/rustup", ["rustup", "target", "add", "wasm32-wasi"], 0x7ffee747fc90 /* 28 vars */) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/proc/self/maps", O_RDONLY|O_CLOEXEC) = 3
getcwd("/home/srv_websuite/src/websuite", 512) = 32
readlink("/proc/self/exe", "/home/cheako/.cargo/bin/rustup", 256) = 30
getcwd("/home/srv_websuite/src/websuite", 512) = 32
statx(0, NULL, AT_STATX_SYNC_AS_STAT, STATX_ALL, NULL) = -1 EFAULT (Bad address)
statx(AT_FDCWD, "/home/srv_websuite/.cargo/bin/rustup-init", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a27700) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.terminfo", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a26480) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/terminfo", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/etc/terminfo/x/xterm-256color", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a26480) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/terminfo/78/xterm-256color", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a26480) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/lib/terminfo", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/lib/terminfo/x/xterm-256color", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=3535, ...}) = 0
openat(AT_FDCWD, "/lib/terminfo/x/xterm-256color", O_RDONLY|O_CLOEXEC) = 3
getcwd("/home/srv_websuite/src/websuite", 512) = 32
statx(AT_FDCWD, "/home/srv_websuite/.rustup", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/settings.toml", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=103, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/settings.toml", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=103, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
getcwd("/home/srv_websuite/src/websuite", 512) = 32
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite/src", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite/src/websuite", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/src/websuite", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite/src", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite/src/websuite", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/src/websuite/rust-toolchain", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/src", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite/src", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/src/rust-toolchain", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/srv_websuite", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/rust-toolchain", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/rust-toolchain", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/rust-toolchain", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/rust-installer-version", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=1, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/rust-installer-version", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=1, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/multirust-channel-manifest.toml", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=476341, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/multirust-channel-manifest.toml", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=476341, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/multirust-config.toml", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=702, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/multirust-config.toml", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=702, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=329, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=329, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/multirust-channel-manifest.toml", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=476341, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/multirust-channel-manifest.toml", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=476341, ...}) = 0
info: downloading component 'rust-std' for 'wasm32-wasi'
statx(AT_FDCWD, "/home/srv_websuite/.rustup/downloads", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/downloads/09f992a04e5f1bcb62281bb8f3c1bd2c0f07cd231fc67606b31156a42ca871f3", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=11920900, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/downloads/09f992a04e5f1bcb62281bb8f3c1bd2c0f07cd231fc67606b31156a42ca871f3", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=11920900, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=329, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=329, ...}) = 0
info: installing component 'rust-std' for 'wasm32-wasi'
openat(AT_FDCWD, "/home/srv_websuite/.rustup/downloads/09f992a04e5f1bcb62281bb8f3c1bd2c0f07cd231fc67606b31156a42ca871f3", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=11920900, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a25f20) = -1 ENOENT (No such file or directory)
mkdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir", 0777) = 0
strace: Process 28598 attached
[pid 28598] mkdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi", 0777) = 0
[pid 28598] mkdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib", 0777) = 0
[pid 28598] mkdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib", 0777) = 0
[pid 28598] mkdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi", 0777) = 0
[pid 28598] mkdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib", 0777) = 0
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libunicode_width-d690c8c411e8dfb0.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_std-75bef7d281c5ece1.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libgetopts-0756300602eb8923.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libproc_macro-e0097834bca8ca53.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/liballoc-d0c7ee8bd90e85a3.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libwasi-5ad18a641a25b1c4.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libdlmalloc-a0e2af5eb0ddcd35.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libpanic_unwind-e02a9e2f14a66155.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_alloc-1668523cfbb847b5.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libcompiler_builtins-512807c18ca0d136.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libbacktrace_sys-cfa91fe81bf25f56.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libcore-42165fd3412eada6.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libcfg_if-2252c3caad1309b7.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libpanic_abort-213594ad87092bf7.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/liblibc-62ed099cd4a0b3c8.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libunwind-009adb4994b6ba8a.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_demangle-2c13f848112b713b.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_core-3ef1ec53a0f8385b.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libstd-864a8cadb856deeb.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
  9.2 MiB /  11.4 MiB ( 81 %)   0 B/s in  1s ETA: Unknown[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libbacktrace-4f90061d1d46916d.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libterm-81bd35fdfa7d2f8d.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libhashbrown-48c653eab2e6049e.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libtest-bc8b1baf33ae6b1f.rlib", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
 11.4 MiB /  11.4 MiB (100 %)   9.2 MiB/s in  1s ETA:  0s
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/install.sh", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0755) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/manifest.in", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-installer-version", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/crt1.o", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/components", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 4
[pid 28598] +++ exited with 0 +++
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-installer-version", O_RDONLY|O_CLOEXEC) = 4
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=2, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/components", O_RDONLY|O_CLOEXEC) = 4
statx(4, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=21, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/manifest.in", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=1632, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libpanic_abort-213594ad87092bf7.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libpanic_abort-213594ad87092bf7.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libpanic_abort-213594ad87092bf7.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcfg_if-2252c3caad1309b7.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libcfg_if-2252c3caad1309b7.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcfg_if-2252c3caad1309b7.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcore-42165fd3412eada6.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libcore-42165fd3412eada6.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcore-42165fd3412eada6.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libdlmalloc-a0e2af5eb0ddcd35.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libdlmalloc-a0e2af5eb0ddcd35.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libdlmalloc-a0e2af5eb0ddcd35.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libproc_macro-e0097834bca8ca53.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libproc_macro-e0097834bca8ca53.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libproc_macro-e0097834bca8ca53.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_std-75bef7d281c5ece1.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_std-75bef7d281c5ece1.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_std-75bef7d281c5ece1.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libwasi-5ad18a641a25b1c4.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libwasi-5ad18a641a25b1c4.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libwasi-5ad18a641a25b1c4.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libgetopts-0756300602eb8923.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libgetopts-0756300602eb8923.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libgetopts-0756300602eb8923.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libstd-864a8cadb856deeb.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libstd-864a8cadb856deeb.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libstd-864a8cadb856deeb.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/liballoc-d0c7ee8bd90e85a3.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/liballoc-d0c7ee8bd90e85a3.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/liballoc-d0c7ee8bd90e85a3.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcompiler_builtins-512807c18ca0d136.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libcompiler_builtins-512807c18ca0d136.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcompiler_builtins-512807c18ca0d136.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libpanic_unwind-e02a9e2f14a66155.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libpanic_unwind-e02a9e2f14a66155.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libpanic_unwind-e02a9e2f14a66155.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/crt1.o", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/crt1.o", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/crt1.o") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libtest-bc8b1baf33ae6b1f.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libtest-bc8b1baf33ae6b1f.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libtest-bc8b1baf33ae6b1f.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libterm-81bd35fdfa7d2f8d.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libterm-81bd35fdfa7d2f8d.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libterm-81bd35fdfa7d2f8d.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_core-3ef1ec53a0f8385b.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_core-3ef1ec53a0f8385b.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_core-3ef1ec53a0f8385b.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libunicode_width-d690c8c411e8dfb0.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libunicode_width-d690c8c411e8dfb0.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libunicode_width-d690c8c411e8dfb0.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libhashbrown-48c653eab2e6049e.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libhashbrown-48c653eab2e6049e.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libhashbrown-48c653eab2e6049e.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_demangle-2c13f848112b713b.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_demangle-2c13f848112b713b.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_demangle-2c13f848112b713b.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libbacktrace-4f90061d1d46916d.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libbacktrace-4f90061d1d46916d.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libbacktrace-4f90061d1d46916d.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/liblibc-62ed099cd4a0b3c8.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/liblibc-62ed099cd4a0b3c8.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/liblibc-62ed099cd4a0b3c8.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_alloc-1668523cfbb847b5.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_alloc-1668523cfbb847b5.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_alloc-1668523cfbb847b5.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libunwind-009adb4994b6ba8a.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libunwind-009adb4994b6ba8a.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libunwind-009adb4994b6ba8a.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libbacktrace_sys-cfa91fe81bf25f56.rlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
rename("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib/libbacktrace_sys-cfa91fe81bf25f56.rlib", "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libbacktrace_sys-cfa91fe81bf25f56.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rust-std-wasm32-wasi", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24e50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rust-std-wasm32-wasi", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=329, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7fff78a24b80) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 4
statx(AT_FDCWD, "/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFLNK|0777, stx_size=102, ...}) = 0
symlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components", "/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file") = -1 EEXIST (File exists)
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=0, ...}) = 0
unlink("/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file") = 0
info: rolling back changes
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rust-std-wasm32-wasi") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libbacktrace_sys-cfa91fe81bf25f56.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libunwind-009adb4994b6ba8a.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_alloc-1668523cfbb847b5.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/liblibc-62ed099cd4a0b3c8.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libbacktrace-4f90061d1d46916d.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_demangle-2c13f848112b713b.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libhashbrown-48c653eab2e6049e.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libunicode_width-d690c8c411e8dfb0.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_core-3ef1ec53a0f8385b.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libterm-81bd35fdfa7d2f8d.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libtest-bc8b1baf33ae6b1f.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/crt1.o") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libpanic_unwind-e02a9e2f14a66155.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcompiler_builtins-512807c18ca0d136.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/liballoc-d0c7ee8bd90e85a3.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libstd-864a8cadb856deeb.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libgetopts-0756300602eb8923.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libwasi-5ad18a641a25b1c4.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/librustc_std_workspace_std-75bef7d281c5ece1.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libproc_macro-e0097834bca8ca53.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libdlmalloc-a0e2af5eb0ddcd35.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcore-42165fd3412eada6.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libcfg_if-2252c3caad1309b7.rlib") = 0
unlink("/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/wasm32-wasi/lib/libpanic_abort-213594ad87092bf7.rlib") = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
statx(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
unlink("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/components") = 0
unlink("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/install.sh") = 0
unlink("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-installer-version") = 0
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 6
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 7
openat(AT_FDCWD, "/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 8
rmdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi/lib") = 0
rmdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib/wasm32-wasi") = 0
rmdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib/rustlib") = 0
rmdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/lib") = 0
unlink("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi/manifest.in") = 0
rmdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir/rust-std-wasm32-wasi") = 0
rmdir("/home/srv_websuite/.rustup/tmp/_ehcsvi5f5e0c5dl_dir") = 0
error: could not create link from '/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components' to '/home/srv_websuite/.rustup/tmp/20hv76woc4zljcsy_file'
error: caused by: File exists (os error 17)
+++ exited with 1 +++
srv_websuite@olympus:~/src/websuite$ rustup --version
rustup 1.21.1 (7832b2ebe 2019-12-20)
srv_websuite@olympus:~/src/websuite$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/srv_websuite/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-unknown-linux-gnu

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.42.0-nightly (859764425 2020-01-07)
rbtcollins commented 4 years ago

I think this is the same situation as the other bug of yours I just analysed, where you've run rustup concurrently with either itself or with a cache-restore operation.

cheako commented 4 years ago

I'm not sure what a cache restore is. It should be noted that one bug report is about gitlab CI and this report is about a server ssh session and shell, vastly different scenarios and it would be surprising if they had something in common(although not impossible).

There is not another instance of rustup! There isn't any fancy caching going on as in the gitlab CI situation.

srv_websuite@olympus:~/src/websuite$ ps ax|grep rustup
 5155 pts/0    S+     0:00 grep rustup
srv_websuite@olympus:~/src/websuite$ rustup target add wasm32-wasi
info: downloading component 'rust-std' for 'wasm32-wasi'
info: installing component 'rust-std' for 'wasm32-wasi'
 11.4 MiB /  11.4 MiB (100 %)   7.8 MiB/s in  1s ETA:  0s
info: rolling back changes
error: could not create link from '/home/srv_websuite/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/components' to '/home/srv_websuite/.rustup/tmp/vz5otjmh02m9vdk1_file'
error: caused by: File exists (os error 17)
rbtcollins commented 4 years ago

Is this still occurring? I'm wondering if it was a bad component tarball.

cheako commented 4 years ago

I managed to find a code path that behaved in an ill mannered way. I don't think it's fine to say it's fixed if the solution is to ensure that the code is never run.

The code was run by the rustup binary. Is there some virtual machine where rustup runs code provided by the component tarball?

rbtcollins commented 4 years ago

We haven't determined what happened yet, so I'm not claiming it is or is not fixed.

There is no virtual machine, though you could consider untarring a form of VM if you squint just right.

In terms of ill manner, rustup preserved it's pre and post conditions as far as I can tell from the information given: although it failed to install the requested component, it did not corrupt already installed components or toolchains.

Thus my question about whether we have a bad component tarball. Do you happen to know what nightly build you had installed?

@kinnison might have more insight here.

cheako commented 4 years ago

Don't know, Feb 4th 9AM CST? There is a lot of information in the trace, but I can't locate a version. There are hex encoded numbers, might they mean something?