[INFO] fetching crate detect-duplicates 0.2.1...
[INFO] testing detect-duplicates-0.2.1 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate detect-duplicates 0.2.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate detect-duplicates 0.2.1
[INFO] finished tweaking crates.io crate detect-duplicates 0.2.1
[INFO] tweaked toml for crates.io crate detect-duplicates 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate detect-duplicates 0.2.1 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate detect-duplicates 0.2.1 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.18
[INFO] [stderr]   Downloaded indexmap v1.8.2
[INFO] [stderr]   Downloaded os_str_bytes v6.1.0
[INFO] [stderr]   Downloaded clap_lex v0.2.0
[INFO] [stderr]   Downloaded clap_derive v3.1.18
[INFO] [stderr]   Downloaded proc-macro2 v1.0.39
[INFO] [stderr]   Downloaded unicode-ident v1.0.0
[INFO] [stderr]   Downloaded syn v1.0.95
[INFO] [stderr]   Downloaded clap v3.1.18
[INFO] [stderr]   Downloaded libc v0.2.126
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 169f79395298b0f41a4c5ccac4bbdf9ad118c815972d2ec96e5562b5af8fe929
[INFO] running `Command { std: "docker" "start" "-a" "169f79395298b0f41a4c5ccac4bbdf9ad118c815972d2ec96e5562b5af8fe929", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "169f79395298b0f41a4c5ccac4bbdf9ad118c815972d2ec96e5562b5af8fe929", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "169f79395298b0f41a4c5ccac4bbdf9ad118c815972d2ec96e5562b5af8fe929", kill_on_drop: false }`
[INFO] [stdout] 169f79395298b0f41a4c5ccac4bbdf9ad118c815972d2ec96e5562b5af8fe929
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 551a35ef55ec653db743d5011a36f704cf94f65ecde7ae30ea577aa57e4cbb41
[INFO] running `Command { std: "docker" "start" "-a" "551a35ef55ec653db743d5011a36f704cf94f65ecde7ae30ea577aa57e4cbb41", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling os_str_bytes v6.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling clap_lex v0.2.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.1.18
[INFO] [stderr]    Compiling clap v3.1.18
[INFO] [stderr]    Compiling detect-duplicates v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.64s
[INFO] running `Command { std: "docker" "inspect" "551a35ef55ec653db743d5011a36f704cf94f65ecde7ae30ea577aa57e4cbb41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "551a35ef55ec653db743d5011a36f704cf94f65ecde7ae30ea577aa57e4cbb41", kill_on_drop: false }`
[INFO] [stdout] 551a35ef55ec653db743d5011a36f704cf94f65ecde7ae30ea577aa57e4cbb41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f92650ead7be04c0ddbc5588a01bc4d0d824a2d37605184afcb30ed025be1f08
[INFO] running `Command { std: "docker" "start" "-a" "f92650ead7be04c0ddbc5588a01bc4d0d824a2d37605184afcb30ed025be1f08", kill_on_drop: false }`
[INFO] [stderr]    Compiling detect-duplicates v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "f92650ead7be04c0ddbc5588a01bc4d0d824a2d37605184afcb30ed025be1f08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f92650ead7be04c0ddbc5588a01bc4d0d824a2d37605184afcb30ed025be1f08", kill_on_drop: false }`
[INFO] [stdout] f92650ead7be04c0ddbc5588a01bc4d0d824a2d37605184afcb30ed025be1f08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 66ab3d76a79fd596d63445f259f58b5261c684978fcd489f020df47255c76b5d
[INFO] running `Command { std: "docker" "start" "-a" "66ab3d76a79fd596d63445f259f58b5261c684978fcd489f020df47255c76b5d", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/duplicates-5927ad92fb8260cf)
[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/main.rs (/opt/rustwide/target/debug/deps/detect_duplicates-47690ff33cd35125)
[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 duplicates
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/duplicates.rs - duplicates::get_duplicates (line 26) - compile ... FAILED
[INFO] [stdout] test src/duplicates.rs - duplicates::get_duplicates_hashed (line 71) - compile ... FAILED
[INFO] [stdout] test src/paths.rs - paths::get_descendants (line 11) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/duplicates.rs - duplicates::get_duplicates (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Path::from("files/a.txt"), 
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Path::from("files/b.txt"), 
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Path::from("files/more_files/c.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     Path::from("files/more_files/d.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Path::from("files/more_files/even_more_files/e.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     Path::from("files/more_files/even_more_files/f.txt")
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_duplicates` in this scope
[INFO] [stdout]   --> src/duplicates.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 | let duplicates = get_duplicates(&paths);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 25 + use duplicates::duplicates::get_duplicates;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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/duplicates.rs - duplicates::get_duplicates_hashed (line 71) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     Path::from("files/a.txt"), 
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     Path::from("files/b.txt"), 
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Path::from("files/more_files/c.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     Path::from("files/more_files/d.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     Path::from("files/more_files/even_more_files/e.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/duplicates.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 80 |     Path::from("files/more_files/even_more_files/f.txt")
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 70 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_duplicates` in this scope
[INFO] [stdout]   --> src/duplicates.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 | let duplicates = get_duplicates(&paths);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 70 + use duplicates::duplicates::get_duplicates;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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/paths.rs - paths::get_descendants (line 11) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Path::from("files/a.txt"), 
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Path::from("files/b.txt"), 
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Path::from("files/more_files/c.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Path::from("files/more_files/d.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     Path::from("files/more_files/even_more_files/e.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     Path::from("files/more_files/even_more_files/f.txt")
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_descendants` in this scope
[INFO] [stdout]   --> src/paths.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | let descendants = get_descendants(Path::from("files/more_files"));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 11 + use duplicates::paths::get_descendants;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 | let descendants = get_descendants(Path::from("files/more_files"));
[INFO] [stdout]    |                                   ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     Path::from("files/more_files/c.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Path::from("files/more_files/d.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Path::from("files/more_files/even_more_files/e.txt"),
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path::from("files/more_files/even_more_files/f.txt")
[INFO] [stdout]    |     ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_descendants` in this scope
[INFO] [stdout]   --> src/paths.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 | let descendants = get_descendants(Path::from("files"));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 30 - let descendants = get_descendants(Path::from("files"));
[INFO] [stdout] 30 + let descendants = descendants(Path::from("files"));
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 11 + use duplicates::paths::get_descendants;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/paths.rs:30:35
[INFO] [stdout]    |
[INFO] [stdout] 30 | let descendants = get_descendants(Path::from("files"));
[INFO] [stdout]    |                                   ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 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/lib.rs - (line 13) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 | let base_path = Path::from("files");
[INFO] [stdout]    |                 ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_descendants` in this scope
[INFO] [stdout]   --> src/lib.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 | let descendants = get_descendants(base_path);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use duplicates::paths::get_descendants;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_duplicates_hashed` in this scope
[INFO] [stdout]   --> src/lib.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | let duplicates = get_duplicates_hashed(&descendants);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use duplicates::duplicates::get_duplicates_hashed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/duplicates.rs - duplicates::get_duplicates (line 26)
[INFO] [stdout]     src/duplicates.rs - duplicates::get_duplicates_hashed (line 71)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/paths.rs - paths::get_descendants (line 11)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "66ab3d76a79fd596d63445f259f58b5261c684978fcd489f020df47255c76b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66ab3d76a79fd596d63445f259f58b5261c684978fcd489f020df47255c76b5d", kill_on_drop: false }`
[INFO] [stdout] 66ab3d76a79fd596d63445f259f58b5261c684978fcd489f020df47255c76b5d
