Skip to content

cargo run:Error finalizing incremental compilation session directory ... Permission denied (os error 13) #76727

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

Closed
SJanJan opened this issue Sep 15, 2020 · 3 comments
Labels
A-incr-comp Area: Incremental compilation E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example

Comments

@SJanJan
Copy link

SJanJan commented Sep 15, 2020

what is the probrem? How to solve it?thank you.

@tesuji
Copy link
Contributor

tesuji commented Sep 15, 2020

I recommend opening a topic in https://users.rust-lang.org/ first.
It is also very helpful to include a reproduce, if not the command you run,
OS version, filesystem type, Rust version, your network/firewalll conditions, etc...
It's nothing we can do without those information.

@jyn514 jyn514 added A-incr-comp Area: Incremental compilation E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Sep 15, 2020
@SJanJan
Copy link
Author

SJanJan commented Sep 15, 2020

I recommend opening a topic in https://users.rust-lang.org/ first.
It is also very helpful to include a reproduce, if not the command you run,
OS version, filesystem type, Rust version, your network/firewalll conditions, etc...
It's nothing we can do without those information.

ok,thank you.

@SJanJan SJanJan closed this as completed Sep 15, 2020
@Guozhanxin
Copy link

os

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

kernel

Linux LAPTOP-HGRKL30R 4.4.0-18362-Microsoft #1049-Microsoft Thu Aug 14 12:01:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux

rust

rustc --version
rustc 1.50.0 (cb75ad5 2021-02-10)
cargo --version
cargo 1.50.0 (f04e7fab7 2021-02-04)

filesystem

mount
rootfs on / type wslfs (rw,noatime)
none on /dev type tmpfs (rw,noatime,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,gid=5,mode=620)
none on /run type tmpfs (rw,nosuid,noexec,noatime,mode=755)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,noatime)
none on /run/shm type tmpfs (rw,nosuid,nodev,noatime)
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,noatime,mode=755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
C:\ on /mnt/c type drvfs (rw,noatime,uid=1000,gid=1000,case=off)
D:\ on /mnt/d type drvfs (rw,noatime,uid=1000,gid=1000,case=off)
E:\ on /mnt/e type drvfs (rw,noatime,uid=1000,gid=1000,case=off)

log

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
Projects
None yet
Development

No branches or pull requests

4 participants