[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] checking Simhyeon/rif against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating rif v0.2.0 (/workspace/builds/worker-4-tc1/source) -> v0.2.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded indexmap v1.6.2 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded redox_syscall v0.2.8 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.2 [INFO] [stderr] Downloaded os_str_bytes v2.4.0 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded filetime v0.2.14 [INFO] [stderr] Downloaded syn v1.0.71 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c831320fa00a30e4b166f9be30a3e417094bcbcec9ce7ad155c7c43a8f76ff25 [INFO] running `Command { std: "docker" "start" "-a" "c831320fa00a30e4b166f9be30a3e417094bcbcec9ce7ad155c7c43a8f76ff25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c831320fa00a30e4b166f9be30a3e417094bcbcec9ce7ad155c7c43a8f76ff25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c831320fa00a30e4b166f9be30a3e417094bcbcec9ce7ad155c7c43a8f76ff25", kill_on_drop: false }` [INFO] [stdout] c831320fa00a30e4b166f9be30a3e417094bcbcec9ce7ad155c7c43a8f76ff25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ffdecacf3b588faabb50776b86e6212ad92a2be23dec1373d454b23647ebbfc [INFO] running `Command { std: "docker" "start" "-a" "8ffdecacf3b588faabb50776b86e6212ad92a2be23dec1373d454b23647ebbfc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rif v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `FileStatus` is more private than the item `Relations::set_file_status` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Relations::set_file_status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileStatus` is more private than the item `SingleFile::status` [INFO] [stdout] --> src/rif/rel.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub status: FileStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `SingleFile::status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_directory` is never used [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 `get_rif_directory` is never used [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 `blue` is never used [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rif.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] 40 + root_path: path.map(|p| p.as_ref().to_owned()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileStatus` is more private than the item `Relations::set_file_status` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Relations::set_file_status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileStatus` is more private than the item `SingleFile::status` [INFO] [stdout] --> src/rif/rel.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub status: FileStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `SingleFile::status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_directory` is never used [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 `get_rif_directory` is never used [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 `blue` is never used [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rif.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] 40 + root_path: path.map(|p| p.as_ref().to_owned()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.07s [INFO] running `Command { std: "docker" "inspect" "8ffdecacf3b588faabb50776b86e6212ad92a2be23dec1373d454b23647ebbfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffdecacf3b588faabb50776b86e6212ad92a2be23dec1373d454b23647ebbfc", kill_on_drop: false }` [INFO] [stdout] 8ffdecacf3b588faabb50776b86e6212ad92a2be23dec1373d454b23647ebbfc [INFO] checking Simhyeon/rif against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating rif v0.2.0 (/workspace/builds/worker-4-tc2/source) -> v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3288d53a1577d890482972ab40f48714e0254cf4743a8a4397dcfb2a0b8e6ed [INFO] running `Command { std: "docker" "start" "-a" "c3288d53a1577d890482972ab40f48714e0254cf4743a8a4397dcfb2a0b8e6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3288d53a1577d890482972ab40f48714e0254cf4743a8a4397dcfb2a0b8e6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3288d53a1577d890482972ab40f48714e0254cf4743a8a4397dcfb2a0b8e6ed", kill_on_drop: false }` [INFO] [stdout] c3288d53a1577d890482972ab40f48714e0254cf4743a8a4397dcfb2a0b8e6ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f34d0c124837fc7e726b71b46bb8b0786f627ffde01dadeb30eb130c044bf81 [INFO] running `Command { std: "docker" "start" "-a" "3f34d0c124837fc7e726b71b46bb8b0786f627ffde01dadeb30eb130c044bf81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rif v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `FileStatus` is more private than the item `Relations::set_file_status` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Relations::set_file_status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileStatus` is more private than the item `SingleFile::status` [INFO] [stdout] --> src/rif/rel.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub status: FileStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `SingleFile::status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_directory` is never used [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 `get_rif_directory` is never used [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 `blue` is never used [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rif.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] 40 + root_path: path.map(|p| p.as_ref().to_owned()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileStatus` is more private than the item `Relations::set_file_status` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Relations::set_file_status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileStatus` is more private than the item `SingleFile::status` [INFO] [stdout] --> src/rif/rel.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | pub status: FileStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `SingleFile::status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum FileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walk_directory` is never used [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 `get_rif_directory` is never used [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 `blue` is never used [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/rif.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 40 - root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stdout] 40 + root_path: path.map(|p| p.as_ref().to_owned()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s [INFO] running `Command { std: "docker" "inspect" "3f34d0c124837fc7e726b71b46bb8b0786f627ffde01dadeb30eb130c044bf81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f34d0c124837fc7e726b71b46bb8b0786f627ffde01dadeb30eb130c044bf81", kill_on_drop: false }` [INFO] [stdout] 3f34d0c124837fc7e726b71b46bb8b0786f627ffde01dadeb30eb130c044bf81