[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/107ce1a374b69c528a621342520bba48a749f57a against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-2-tc1/source) -> v0.2.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded syn v1.0.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30dd648442de160d0e8800809be0b282f44c346ba33c01259aaf396011aad04b [INFO] running `Command { std: "docker" "start" "-a" "30dd648442de160d0e8800809be0b282f44c346ba33c01259aaf396011aad04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30dd648442de160d0e8800809be0b282f44c346ba33c01259aaf396011aad04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30dd648442de160d0e8800809be0b282f44c346ba33c01259aaf396011aad04b", kill_on_drop: false }` [INFO] [stdout] 30dd648442de160d0e8800809be0b282f44c346ba33c01259aaf396011aad04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96013efecb647271d40f1ab72ffeb248c8101410d75bb9f754b9a67c2e28cf19 [INFO] running `Command { std: "docker" "start" "-a" "96013efecb647271d40f1ab72ffeb248c8101410d75bb9f754b9a67c2e28cf19", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.93s [INFO] running `Command { std: "docker" "inspect" "96013efecb647271d40f1ab72ffeb248c8101410d75bb9f754b9a67c2e28cf19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96013efecb647271d40f1ab72ffeb248c8101410d75bb9f754b9a67c2e28cf19", kill_on_drop: false }` [INFO] [stdout] 96013efecb647271d40f1ab72ffeb248c8101410d75bb9f754b9a67c2e28cf19