[INFO] fetching crate rif 0.2.0...
[INFO] testing rif-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate rif 0.2.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate rif 0.2.0
[INFO] finished tweaking crates.io crate rif 0.2.0
[INFO] tweaked toml for crates.io crate rif 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rif 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rif 0.2.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded indexmap v1.6.2
[INFO] [stderr]   Downloaded serde_derive v1.0.125
[INFO] [stderr]   Downloaded itertools v0.10.0
[INFO] [stderr]   Downloaded serde v1.0.125
[INFO] [stderr]   Downloaded filetime v0.2.14
[INFO] [stderr]   Downloaded syn v1.0.71
[INFO] [stderr]   Downloaded libc v0.2.94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b2edf6e3f7b068aa76c7874dda83f98c4283f4dd70495c0aaf66bd038005493
[INFO] running `Command { std: "docker" "start" "-a" "1b2edf6e3f7b068aa76c7874dda83f98c4283f4dd70495c0aaf66bd038005493", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b2edf6e3f7b068aa76c7874dda83f98c4283f4dd70495c0aaf66bd038005493", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b2edf6e3f7b068aa76c7874dda83f98c4283f4dd70495c0aaf66bd038005493", kill_on_drop: false }`
[INFO] [stdout] 1b2edf6e3f7b068aa76c7874dda83f98c4283f4dd70495c0aaf66bd038005493
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c861f653ac743352204e2112dd13139d2a22eee38c2e8fc9b898c9054bb501ca
[INFO] running `Command { std: "docker" "start" "-a" "c861f653ac743352204e2112dd13139d2a22eee38c2e8fc9b898c9054bb501ca", 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 libc v0.2.94
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[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 chrono v0.4.19
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling rif v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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] [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 10.51s
[INFO] running `Command { std: "docker" "inspect" "c861f653ac743352204e2112dd13139d2a22eee38c2e8fc9b898c9054bb501ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c861f653ac743352204e2112dd13139d2a22eee38c2e8fc9b898c9054bb501ca", kill_on_drop: false }`
[INFO] [stdout] c861f653ac743352204e2112dd13139d2a22eee38c2e8fc9b898c9054bb501ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c84baf15c65c5eb401c1be9c98f3492db68f01c2ff6270bdc7173cb4b73e90b
[INFO] running `Command { std: "docker" "start" "-a" "9c84baf15c65c5eb401c1be9c98f3492db68f01c2ff6270bdc7173cb4b73e90b", kill_on_drop: false }`
[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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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] [stderr]    Compiling rif v0.2.0 (/opt/rustwide/workdir)
[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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "9c84baf15c65c5eb401c1be9c98f3492db68f01c2ff6270bdc7173cb4b73e90b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c84baf15c65c5eb401c1be9c98f3492db68f01c2ff6270bdc7173cb4b73e90b", kill_on_drop: false }`
[INFO] [stdout] 9c84baf15c65c5eb401c1be9c98f3492db68f01c2ff6270bdc7173cb4b73e90b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a9b256095576726e19aaf6d939e56648aaefe849103c0be2ab29e4976cdbee5e
[INFO] running `Command { std: "docker" "start" "-a" "a9b256095576726e19aaf6d939e56648aaefe849103c0be2ab29e4976cdbee5e", kill_on_drop: false }`
[INFO] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) }
[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]    |                                               ^^^^^^^^
[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] help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr] 40 -             root_path: path.map(|p| p.as_ref().clone().to_owned()),
[INFO] [stderr] 40 +             root_path: path.map(|p| p.as_ref().to_owned()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/rif/meta.rs:65:64
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn to_be_added_later(&'a self) -> impl Iterator<Item = &PathBuf> + 'a {
[INFO] [stderr]    |                               --                               ^^^^^^^^    -- the same lifetime is named here
[INFO] [stderr]    |                               |                                |
[INFO] [stderr]    |                               the lifetime is named here       the same lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn to_be_added_later(&'a self) -> impl Iterator<Item = &'a PathBuf> + 'a {
[INFO] [stderr]    |                                                                 ++
[INFO] [stderr] 
[INFO] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs:2303:1: 2303:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/path.rs" }) }
[INFO] [stderr] warning: `rif` (lib) generated 2 warnings (run `cargo fix --lib -p rif` to apply 2 suggestions)
[INFO] [stderr] warning: `rif` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rif-716a9f6f139e91ce)
[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-e21454f3d03e0ed9)
[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]    Doc-tests rif
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/utils.rs - utils::strip_path (line 97) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::relativize_path (line 130) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 99 | 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] 97 + 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] 100 | let stripped = strip_path(&target_path, None);
[INFO] [stdout]     |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  97 + use rif::utils::strip_path;
[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] 101 | 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]  97 + 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:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 | let stripped2 = strip_path(&target_path, Some(PathBuf::from("/home/user")));
[INFO] [stdout]     |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  97 + use rif::utils::strip_path;
[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] 103 | 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]  97 + 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] 104 | 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]  97 + use std::path::PathBuf;
[INFO] [stdout]     |
[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::relativize_path (line 130) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `relativize_path` in this scope
[INFO] [stdout]    --> src/utils.rs:132:16
[INFO] [stdout]     |
[INFO] [stdout] 132 | let absolute = relativize_path(PathBuf::from("/home/user/test/example"));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 130 + use rif::utils::relativize_path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/utils.rs:132:32
[INFO] [stdout]     |
[INFO] [stdout] 132 | 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] 130 + 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] 133 | 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] 130 + 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:135:16
[INFO] [stdout]     |
[INFO] [stdout] 135 | let dotslash = relativize_path(PathBuf::from("./test/example"));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 130 + use rif::utils::relativize_path;
[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] 135 | 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] 130 + 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] 136 | 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] 130 + use std::path::PathBuf;
[INFO] [stdout]     |
[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.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a9b256095576726e19aaf6d939e56648aaefe849103c0be2ab29e4976cdbee5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9b256095576726e19aaf6d939e56648aaefe849103c0be2ab29e4976cdbee5e", kill_on_drop: false }`
[INFO] [stdout] a9b256095576726e19aaf6d939e56648aaefe849103c0be2ab29e4976cdbee5e
