[INFO] cloning repository https://github.com/Simhyeon/rif [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simhyeon/rif" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 107ce1a374b69c528a621342520bba48a749f57a [INFO] testing Simhyeon/rif against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Simhyeon/rif [INFO] finished tweaking git repo https://github.com/Simhyeon/rif [INFO] tweaked toml for git repo https://github.com/Simhyeon/rif written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Simhyeon/rif already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf160f93e045f12b9793cbca296a9ca8b43be111e4ab67f498aeb07946b29f18 [INFO] running `Command { std: "docker" "start" "-a" "bf160f93e045f12b9793cbca296a9ca8b43be111e4ab67f498aeb07946b29f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf160f93e045f12b9793cbca296a9ca8b43be111e4ab67f498aeb07946b29f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf160f93e045f12b9793cbca296a9ca8b43be111e4ab67f498aeb07946b29f18", kill_on_drop: false }` [INFO] [stdout] bf160f93e045f12b9793cbca296a9ca8b43be111e4ab67f498aeb07946b29f18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d689ba382332973465789eb8875bc5f11e6bcbffb6efa98cc63d6fd132ccbe6b [INFO] running `Command { std: "docker" "start" "-a" "d689ba382332973465789eb8875bc5f11e6bcbffb6efa98cc63d6fd132ccbe6b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rif v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0446]: crate-private type `FileStatus` in public interface [INFO] [stdout] --> src/rif/rel.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn set_file_status(&mut self, file_path: &Path, file_status: FileStatus) -> Result<(), RifError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private type [INFO] [stdout] | [INFO] [stdout] ::: src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | -------------------------- `FileStatus` declared as crate-private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: crate-private type `FileStatus` in public interface [INFO] [stdout] --> src/checker.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn check(&mut self, rif_list: &mut Relations) -> Result, RifError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private type [INFO] [stdout] | [INFO] [stdout] ::: src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | -------------------------- `FileStatus` declared as crate-private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: crate-private type `FileStatus` in public interface [INFO] [stdout] --> src/rif/rel.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub status: FileStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't leak crate-private type [INFO] [stdout] | [INFO] [stdout] ::: src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | -------------------------- `FileStatus` declared as crate-private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `walk_directory` [INFO] [stdout] --> src/utils.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn walk_directory(path: &Path, f: &mut dyn FnMut(PathBuf) -> Result<(), RifError>) -> Result<(), RifError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_rif_directory` [INFO] [stdout] --> src/utils.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_rif_directory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `blue` [INFO] [stdout] --> src/utils.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn blue(string : &str) -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rif` due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d689ba382332973465789eb8875bc5f11e6bcbffb6efa98cc63d6fd132ccbe6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d689ba382332973465789eb8875bc5f11e6bcbffb6efa98cc63d6fd132ccbe6b", kill_on_drop: false }` [INFO] [stdout] d689ba382332973465789eb8875bc5f11e6bcbffb6efa98cc63d6fd132ccbe6b