[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 master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "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-1-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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing Simhyeon/rif against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "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-1-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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing Simhyeon/rif against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Frif" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/rif on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "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-1-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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef476cd183a67c63144dd8ce64936ceeea0e6c811c5183711c5bfb8e305bc98c [INFO] running `Command { std: "docker" "start" "-a" "ef476cd183a67c63144dd8ce64936ceeea0e6c811c5183711c5bfb8e305bc98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef476cd183a67c63144dd8ce64936ceeea0e6c811c5183711c5bfb8e305bc98c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef476cd183a67c63144dd8ce64936ceeea0e6c811c5183711c5bfb8e305bc98c", kill_on_drop: false }` [INFO] [stdout] ef476cd183a67c63144dd8ce64936ceeea0e6c811c5183711c5bfb8e305bc98c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfc57435b1bb8c5c6df58e199dac213dc881d17f3d29f731d550045420085bab [INFO] running `Command { std: "docker" "start" "-a" "dfc57435b1bb8c5c6df58e199dac213dc881d17f3d29f731d550045420085bab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling autocfg v1.0.1 [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] Compiling either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling filetime v0.2.14 [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] 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] | ^^^^^^^^ help: remove this redundant call [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] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.95s [INFO] running `Command { std: "docker" "inspect" "dfc57435b1bb8c5c6df58e199dac213dc881d17f3d29f731d550045420085bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc57435b1bb8c5c6df58e199dac213dc881d17f3d29f731d550045420085bab", kill_on_drop: false }` [INFO] [stdout] dfc57435b1bb8c5c6df58e199dac213dc881d17f3d29f731d550045420085bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a38693ae02d91e1534094f134f5f7ede5d2631eacb1630dce61830fc15bb2de1 [INFO] running `Command { std: "docker" "start" "-a" "a38693ae02d91e1534094f134f5f7ede5d2631eacb1630dce61830fc15bb2de1", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^^^^^^^ help: remove this redundant call [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] [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] | ^^^^^^^^ help: remove this redundant call [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] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "a38693ae02d91e1534094f134f5f7ede5d2631eacb1630dce61830fc15bb2de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38693ae02d91e1534094f134f5f7ede5d2631eacb1630dce61830fc15bb2de1", kill_on_drop: false }` [INFO] [stdout] a38693ae02d91e1534094f134f5f7ede5d2631eacb1630dce61830fc15bb2de1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db2feb7d12047b067da6d5b32aa15a5a378bd28b4316f2ac18c6ed03f6c3e275 [INFO] running `Command { std: "docker" "start" "-a" "db2feb7d12047b067da6d5b32aa15a5a378bd28b4316f2ac18c6ed03f6c3e275", kill_on_drop: false }` [INFO] [stderr] warning: type `FileStatus` is more private than the item `Relations::set_file_status` [INFO] [stderr] --> src/rif/rel.rs:360:5 [INFO] [stderr] | [INFO] [stderr] 360 | pub fn set_file_status(&mut self, file_path: &Path, file_status: FileStatus) -> Result<(), RifError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Relations::set_file_status` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/models.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) enum FileStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `FileStatus` is more private than the item `SingleFile::status` [INFO] [stderr] --> src/rif/rel.rs:747:5 [INFO] [stderr] | [INFO] [stderr] 747 | pub status: FileStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ field `SingleFile::status` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `FileStatus` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/models.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) enum FileStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `walk_directory` is never used [INFO] [stderr] --> src/utils.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn walk_directory(path: &Path, f: &mut dyn FnMut(PathBuf) -> Result<(), RifError>) -> Result<(), RifError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_rif_directory` is never used [INFO] [stderr] --> src/utils.rs:158:8 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn get_rif_directory() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `blue` is never used [INFO] [stderr] --> src/utils.rs:268:8 [INFO] [stderr] | [INFO] [stderr] 268 | pub fn blue(string : &str) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/rif.rs:40:47 [INFO] [stderr] | [INFO] [stderr] 40 | root_path: path.map(|p| p.as_ref().clone().to_owned()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rif` (lib) generated 6 warnings (run `cargo fix --lib -p rif` to apply 1 suggestion) [INFO] [stderr] warning: `rif` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rif-73dd7d59709ae7b8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/rif-a7c94fd6004ba29d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rif [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/utils.rs - utils::relativize_path (line 130) ... FAILED [INFO] [stdout] test src/utils.rs - utils::strip_path (line 97) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils.rs - utils::relativize_path (line 130) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 4 | let absolute = relativize_path(PathBuf::from("/home/user/test/example")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(absolute, PathBuf::from("example")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 7 | let dotslash = relativize_path(PathBuf::from("./test/example")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(absolute, PathBuf::from("example")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `relativize_path` in this scope [INFO] [stdout] --> src/utils.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 4 | let absolute = relativize_path(PathBuf::from("/home/user/test/example")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `relativize_path` in this scope [INFO] [stdout] --> src/utils.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 7 | let dotslash = relativize_path(PathBuf::from("./test/example")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::strip_path (line 97) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 4 | let target_path = PathBuf::from("/home/user/test/target"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(stripped, PathBuf::from("target")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 8 | let stripped2 = strip_path(&target_path, Some(PathBuf::from("/home/user"))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/utils.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(stripped, PathBuf::from("test/target")); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strip_path` in this scope [INFO] [stdout] --> src/utils.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 5 | let stripped = strip_path(&target_path, None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strip_path` in this scope [INFO] [stdout] --> src/utils.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 8 | let stripped2 = strip_path(&target_path, Some(PathBuf::from("/home/user"))); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/utils.rs - utils::relativize_path (line 130) [INFO] [stdout] src/utils.rs - utils::strip_path (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "db2feb7d12047b067da6d5b32aa15a5a378bd28b4316f2ac18c6ed03f6c3e275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db2feb7d12047b067da6d5b32aa15a5a378bd28b4316f2ac18c6ed03f6c3e275", kill_on_drop: false }` [INFO] [stdout] db2feb7d12047b067da6d5b32aa15a5a378bd28b4316f2ac18c6ed03f6c3e275