[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#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147995
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded filetime v0.2.14
[INFO] [stderr]   Downloaded clap_derive v3.0.0-beta.2
[INFO] [stderr]   Downloaded textwrap v0.12.1
[INFO] [stderr]   Downloaded itertools v0.10.0
[INFO] [stderr]   Downloaded os_str_bytes v2.4.0
[INFO] [stderr]   Downloaded clap v3.0.0-beta.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92529adca3bb83d4a749db504345e2a9cc5f2157a4873081583aa39178c0d9b0
[INFO] running `Command { std: "docker" "start" "-a" "92529adca3bb83d4a749db504345e2a9cc5f2157a4873081583aa39178c0d9b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92529adca3bb83d4a749db504345e2a9cc5f2157a4873081583aa39178c0d9b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92529adca3bb83d4a749db504345e2a9cc5f2157a4873081583aa39178c0d9b0", kill_on_drop: false }`
[INFO] [stdout] 92529adca3bb83d4a749db504345e2a9cc5f2157a4873081583aa39178c0d9b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4654c234e5df8a8131a1383a1d6fd4b8ec437615fa77a93654cb7573ed7ef66
[INFO] running `Command { std: "docker" "start" "-a" "d4654c234e5df8a8131a1383a1d6fd4b8ec437615fa77a93654cb7573ed7ef66", kill_on_drop: false }`
[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 num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]     Checking filetime v0.2.14
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_json v1.0.64
[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: 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)]` (part of `#[warn(unused)]`) 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<PathBuf, RifError> {
[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<dyn std::fmt::Display> {
[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)]` (part of `#[warn(unused)]`) 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<PathBuf, RifError> {
[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<dyn std::fmt::Display> {
[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] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/f5e2df741b4a9820a7579f0c8eccc951706a8782/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/f5e2df741b4a9820a7579f0c8eccc951706a8782/library/std/src/path.rs" }) }
[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] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/f5e2df741b4a9820a7579f0c8eccc951706a8782/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/f5e2df741b4a9820a7579f0c8eccc951706a8782/library/std/src/path.rs" }) }
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/rif/meta.rs:65:64
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn to_be_added_later(&'a self) -> impl Iterator<Item = &PathBuf> + 'a {
[INFO] [stdout]    |                               --                               ^^^^^^^^    -- the same lifetime is named here
[INFO] [stdout]    |                               |                                |
[INFO] [stdout]    |                               the lifetime is named here       the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn to_be_added_later(&'a self) -> impl Iterator<Item = &'a PathBuf> + 'a {
[INFO] [stdout]    |                                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/rif/meta.rs:65:64
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn to_be_added_later(&'a self) -> impl Iterator<Item = &PathBuf> + 'a {
[INFO] [stdout]    |                               --                               ^^^^^^^^    -- the same lifetime is named here
[INFO] [stdout]    |                               |                                |
[INFO] [stdout]    |                               the lifetime is named here       the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn to_be_added_later(&'a self) -> impl Iterator<Item = &'a PathBuf> + 'a {
[INFO] [stdout]    |                                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.27s
[INFO] running `Command { std: "docker" "inspect" "d4654c234e5df8a8131a1383a1d6fd4b8ec437615fa77a93654cb7573ed7ef66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4654c234e5df8a8131a1383a1d6fd4b8ec437615fa77a93654cb7573ed7ef66", kill_on_drop: false }`
[INFO] [stdout] d4654c234e5df8a8131a1383a1d6fd4b8ec437615fa77a93654cb7573ed7ef66
