You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vakaras , would it be possible for you to tell me if your build system supports incremental builds or is it something we would have to add support for? We are using this tool as a part of our research survey and are interested to know whether this is by design or not.
Compilation of most of the crates fail (which have dependencies/do an incremental build) while trying to do an execute command on Ubuntu:
cargo (version): cargo 1.71.0-nightly (9e586fbd8 2023-04-25)
rustc (version): rustc 1.71.0-nightly (9ecda8de8 2023-04-30)
Incremental build fails as the folder inside docker container has read-only permissions.
Example log for a4-core-0.0.4
[INFO] running
Command { std: "docker" "create" "-v" "/mnt/workdisk/workspace/builds/corpus/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/workdisk/workspace/builds/corpus/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/workdisk/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/workdisk/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUST_BACKTRACE=1" "-e" "SYSROOT=/opt/rustwide/cargo-home/sysroot" "-e" "RUSTC=/opt/rustwide/cargo-home/rustc" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "4000000000" "--user" "1000:1000" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2023-05-01" "check" "--all" "--frozen", kill_on_drop: false }
[INFO] [stdout] 302e842301a3d14122bf8af7e41fdef270283bd5776a4d36a72186d2ffb8a40b
[INFO] running
Command { std: "docker" "start" "-a" "302e842301a3d14122bf8af7e41fdef270283bd5776a4d36a72186d2ffb8a40b", kill_on_drop: false }
[INFO] [stderr] Compiling proc-macro2 v1.0.56
[INFO] [stderr] Compiling semver v1.0.17
[INFO] [stderr] Compiling unicode-ident v1.0.8
[INFO] [stderr] Compiling quote v1.0.26
[INFO] [stderr] Compiling autocfg v1.1.0
[INFO] [stderr] Compiling serde_derive v1.0.162
[INFO] [stderr] Checking scopeguard v1.1.0
[INFO] [stderr] Compiling serde v1.0.162
[INFO] [stderr] Checking byteorder v1.4.3
[INFO] [stderr] Checking stable_deref_trait v1.2.0
[INFO] [stderr] Checking postcard-cobs v0.1.5-pre
[INFO] [stderr] error: could not create incremental compilation crate directory
on/build_script_build-3jzmlfhb9c0sf
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/build_script_build-2thk4anx2mlra
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/build_script_build-1p3bbaxndi6lu
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/autocfg-1383tcteq4hac
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/build_script_build-2kreamiv9p6e0
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/scopeguard-3mk5hhxwtma61
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/unicode_ident-hk3mhpu40sz8
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not compile
semver
(build script) due to previous error[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile
proc-macro2
(build script) due to previous error[INFO] [stderr] error: could not compile
autocfg
(lib) due to previous error[INFO] [stderr] error: could not compile
quote
(build script) due to previous error[INFO] [stderr] error: could not compile
serde
(build script) due to previous error[INFO] [stderr] error: could not compile
unicode-ident
(lib) due to previous error[INFO] [stderr] error: could not compile
scopeguard
(lib) due to previous error[INFO] [stderr] error: could not create incremental compilation crate directory
on/postcard_cobs-17w04ayoj1wv9
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/build_script_build-315lcg2sg9h0h
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not create incremental compilation crate directory
on/stable_deref_trait-1ci4ayhx9yi3j
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not compile
serde_derive
(build script) due to previous error[INFO] [stderr] error: could not compile
postcard-cobs
(lib) due to previous error[INFO] [stderr] error: could not compile
stable_deref_trait
(lib) due to previous error[INFO] [stderr] error: could not create incremental compilation crate directory
on/byteorder-1j0lx1kttsn67
: Read-only file system (os error 30)[INFO] [stderr]
[INFO] [stderr] error: could not compile
byteorder
(lib) due to previous error[INFO] running
Command { std: "docker" "inspect" "302e842301a3d14122bf8af7e41fdef270283bd5776a4d36a72186d2ffb8a40b", kill_on_drop: false }
[INFO] running
Command { std: "docker" "rm" "-f" "302e842301a3d14122bf8af7e41fdef270283bd5776a4d36a72186d2ffb8a40b", kill_on_drop: false }
[INFO] [stdout] 302e842301a3d14122bf8af7e41fdef270283bd5776a4d36a72186d2ffb8a40b
The text was updated successfully, but these errors were encountered: