[INFO] fetching crate scoopie 0.1.0...
[INFO] testing scoopie-0.1.0 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate scoopie 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate scoopie 0.1.0
[INFO] finished tweaking crates.io crate scoopie 0.1.0
[INFO] tweaked toml for crates.io crate scoopie 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate scoopie 0.1.0 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate scoopie 0.1.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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22bb0c0f384252a13d9be15eedf7f1f33da584a676125e029613123352290771
[INFO] running `Command { std: "docker" "start" "-a" "22bb0c0f384252a13d9be15eedf7f1f33da584a676125e029613123352290771", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22bb0c0f384252a13d9be15eedf7f1f33da584a676125e029613123352290771", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22bb0c0f384252a13d9be15eedf7f1f33da584a676125e029613123352290771", kill_on_drop: false }`
[INFO] [stdout] 22bb0c0f384252a13d9be15eedf7f1f33da584a676125e029613123352290771
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7be8d0ba9ecd9d1166162fbd9ba18a5bd07ba20e1e8dd6ae2a591ea83e6147d
[INFO] running `Command { std: "docker" "start" "-a" "c7be8d0ba9ecd9d1166162fbd9ba18a5bd07ba20e1e8dd6ae2a591ea83e6147d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling rustix v0.38.13
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]    Compiling linux-raw-sys v0.4.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling rustls v0.21.7
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling minreq v2.10.0
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling webpki-roots v0.25.2
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling sha2 v0.10.7
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling regex-lite v0.1.0
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling colored v2.0.4
[INFO] [stderr]    Compiling spinoff v0.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.92
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.16.1+1.7.1
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.4
[INFO] [stderr]    Compiling argh_shared v0.1.12
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling argh_derive v0.1.12
[INFO] [stderr]    Compiling git2 v0.18.0
[INFO] [stderr]    Compiling argh v0.1.12
[INFO] [stderr]    Compiling scoopie v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/core/buckets/manifest.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/core/download/downloader.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |             .map_err(|_| (ScoopieError::FailedToGetMetadata(file_path.to_path_buf())))?;
[INFO] [stdout]     |                          ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -             .map_err(|_| (ScoopieError::FailedToGetMetadata(file_path.to_path_buf())))?;
[INFO] [stdout] 149 +             .map_err(|_| ScoopieError::FailedToGetMetadata(file_path.to_path_buf()) )?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/core/install/extractor.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn infer(path: &PathBuf) -> Self {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `manifest`
[INFO] [stdout]   --> src/core/install/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let manifest = manifest.unwrap();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `download` is never used
[INFO] [stdout]   --> src/commands/init.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn download(file: PathBuf, url: &str) -> Result<(), ScoopieError> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `download` is never used
[INFO] [stdout]    --> src/core/config.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn download(self) -> Download {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `app_dir`, `persist_dir`, and `shims_dir` are never used
[INFO] [stdout]    --> src/core/config.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub trait DefaultDirs {
[INFO] [stdout]     |           ----------- associated functions in this trait
[INFO] [stdout] ...
[INFO] [stdout] 131 |     fn app_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 132 |     fn cache_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout] 133 |     fn persist_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 134 |     fn buckets_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout] 135 |     fn shims_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SevenZipArchive`, `ExeFile`, `MsiFile`, and `InnoFile` are never constructed
[INFO] [stdout]  --> src/core/install/extractor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum FileKind {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     SevenZipArchive,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     ExeFile,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     MsiFile,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     InnoFile,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `FileKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnableToGetChunk`, `AppsDirUnavailable`, `ShimsDirUnavailable`, `PersistDirUnavailable`, and `UnableToOpenEnvRegistry` are never constructed
[INFO] [stdout]   --> src/error.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ScoopieError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 |     UnableToGetChunk(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     AppsDirUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 |     ShimsDirUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 55 |     PersistDirUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     UnableToOpenEnvRegistry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScoopieError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/utils/pwsh.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Pwsh {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn run(profile: Option<&String>, prog: &str) -> Result<String, ScoopieError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.47s
[INFO] running `Command { std: "docker" "inspect" "c7be8d0ba9ecd9d1166162fbd9ba18a5bd07ba20e1e8dd6ae2a591ea83e6147d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7be8d0ba9ecd9d1166162fbd9ba18a5bd07ba20e1e8dd6ae2a591ea83e6147d", kill_on_drop: false }`
[INFO] [stdout] c7be8d0ba9ecd9d1166162fbd9ba18a5bd07ba20e1e8dd6ae2a591ea83e6147d
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b794919de4d3025701f8bb351a72c4d23bd3d4df2753881146610bab4985881
[INFO] running `Command { std: "docker" "start" "-a" "3b794919de4d3025701f8bb351a72c4d23bd3d4df2753881146610bab4985881", kill_on_drop: false }`
[INFO] [stderr]    Compiling scoopie v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/core/buckets/manifest.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/core/download/downloader.rs:149:26
[INFO] [stdout]     |
[INFO] [stdout] 149 |             .map_err(|_| (ScoopieError::FailedToGetMetadata(file_path.to_path_buf())))?;
[INFO] [stdout]     |                          ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -             .map_err(|_| (ScoopieError::FailedToGetMetadata(file_path.to_path_buf())))?;
[INFO] [stdout] 149 +             .map_err(|_| ScoopieError::FailedToGetMetadata(file_path.to_path_buf()) )?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/core/install/extractor.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn infer(path: &PathBuf) -> Self {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `manifest`
[INFO] [stdout]   --> src/core/install/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let manifest = manifest.unwrap();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `download` is never used
[INFO] [stdout]   --> src/commands/init.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn download(file: PathBuf, url: &str) -> Result<(), ScoopieError> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `download` is never used
[INFO] [stdout]    --> src/core/config.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn download(self) -> Download {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `app_dir`, `persist_dir`, and `shims_dir` are never used
[INFO] [stdout]    --> src/core/config.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub trait DefaultDirs {
[INFO] [stdout]     |           ----------- associated functions in this trait
[INFO] [stdout] ...
[INFO] [stdout] 131 |     fn app_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 132 |     fn cache_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout] 133 |     fn persist_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 134 |     fn buckets_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout] 135 |     fn shims_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SevenZipArchive`, `ExeFile`, `MsiFile`, and `InnoFile` are never constructed
[INFO] [stdout]  --> src/core/install/extractor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum FileKind {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     SevenZipArchive,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     ExeFile,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     MsiFile,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     InnoFile,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `FileKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UnableToGetChunk`, `AppsDirUnavailable`, `ShimsDirUnavailable`, `PersistDirUnavailable`, and `UnableToOpenEnvRegistry` are never constructed
[INFO] [stdout]   --> src/error.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ScoopieError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 |     UnableToGetChunk(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     AppsDirUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 |     ShimsDirUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 55 |     PersistDirUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     UnableToOpenEnvRegistry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScoopieError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `run` is never used
[INFO] [stdout]   --> src/utils/pwsh.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Pwsh {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn run(profile: Option<&String>, prog: &str) -> Result<String, ScoopieError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s
[INFO] running `Command { std: "docker" "inspect" "3b794919de4d3025701f8bb351a72c4d23bd3d4df2753881146610bab4985881", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b794919de4d3025701f8bb351a72c4d23bd3d4df2753881146610bab4985881", kill_on_drop: false }`
[INFO] [stdout] 3b794919de4d3025701f8bb351a72c4d23bd3d4df2753881146610bab4985881
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3357ac60ddfb50f3107d0eaf1eb4ec5414916bb22d6c10f5e72262a78002248b
[INFO] running `Command { std: "docker" "start" "-a" "3357ac60ddfb50f3107d0eaf1eb4ec5414916bb22d6c10f5e72262a78002248b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/core/buckets/manifest.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/core/download/downloader.rs:149:26
[INFO] [stderr]     |
[INFO] [stderr] 149 |             .map_err(|_| (ScoopieError::FailedToGetMetadata(file_path.to_path_buf())))?;
[INFO] [stderr]     |                          ^                                                          ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 149 -             .map_err(|_| (ScoopieError::FailedToGetMetadata(file_path.to_path_buf())))?;
[INFO] [stderr] 149 +             .map_err(|_| ScoopieError::FailedToGetMetadata(file_path.to_path_buf()) )?;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]   --> src/core/install/extractor.rs:13:18
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn infer(path: &PathBuf) -> Self {
[INFO] [stderr]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `manifest`
[INFO] [stderr]   --> src/core/install/mod.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let manifest = manifest.unwrap();
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manifest`
[INFO] [stderr] 
[INFO] [stderr] warning: function `download` is never used
[INFO] [stderr]   --> src/commands/init.rs:86:4
[INFO] [stderr]    |
[INFO] [stderr] 86 | fn download(file: PathBuf, url: &str) -> Result<(), ScoopieError> {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `download` is never used
[INFO] [stderr]    --> src/core/config.rs:122:12
[INFO] [stderr]     |
[INFO] [stderr] 113 | impl Config {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub fn download(self) -> Download {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `app_dir`, `persist_dir`, and `shims_dir` are never used
[INFO] [stderr]    --> src/core/config.rs:131:8
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub trait DefaultDirs {
[INFO] [stderr]     |           ----------- associated functions in this trait
[INFO] [stderr] ...
[INFO] [stderr] 131 |     fn app_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 132 |     fn cache_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stderr] 133 |     fn persist_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 134 |     fn buckets_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stderr] 135 |     fn shims_dir() -> Result<PathBuf, Self::Error>;
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `SevenZipArchive`, `ExeFile`, `MsiFile`, and `InnoFile` are never constructed
[INFO] [stderr]  --> src/core/install/extractor.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum FileKind {
[INFO] [stderr]   |          -------- variants in this enum
[INFO] [stderr] 5 |     SevenZipArchive,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 6 |     ExeFile,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 7 |     MsiFile,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr] 8 |     InnoFile,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `FileKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `UnableToGetChunk`, `AppsDirUnavailable`, `ShimsDirUnavailable`, `PersistDirUnavailable`, and `UnableToOpenEnvRegistry` are never constructed
[INFO] [stderr]   --> src/error.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum ScoopieError {
[INFO] [stderr]    |          ------------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 37 |     UnableToGetChunk(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     AppsDirUnavailable,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 54 |     ShimsDirUnavailable,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 55 |     PersistDirUnavailable,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 66 |     UnableToOpenEnvRegistry,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ScoopieError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `run` is never used
[INFO] [stderr]   --> src/utils/pwsh.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl Pwsh {
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 67 |     pub fn run(profile: Option<&String>, prog: &str) -> Result<String, ScoopieError> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `scoopie` (bin "scoopie" test) generated 10 warnings (run `cargo fix --bin "scoopie" -p scoopie --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/scoopie-2209e44990f9d0a4)
[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] running `Command { std: "docker" "inspect" "3357ac60ddfb50f3107d0eaf1eb4ec5414916bb22d6c10f5e72262a78002248b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3357ac60ddfb50f3107d0eaf1eb4ec5414916bb22d6c10f5e72262a78002248b", kill_on_drop: false }`
[INFO] [stdout] 3357ac60ddfb50f3107d0eaf1eb4ec5414916bb22d6c10f5e72262a78002248b
