[INFO] cloning repository https://github.com/CragglesG/pkgman
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CragglesG/pkgman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCragglesG%2Fpkgman", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCragglesG%2Fpkgman'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bee083e6cdad87adbb29b0760ff20ecdb078a0b8
[INFO] checking CragglesG/pkgman against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCragglesG%2Fpkgman" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CragglesG/pkgman
[INFO] finished tweaking git repo https://github.com/CragglesG/pkgman
[INFO] tweaked toml for git repo https://github.com/CragglesG/pkgman written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CragglesG/pkgman on toolchain ddcf048784667508cd676fef4667f88ae15628a3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CragglesG/pkgman 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea4e62601ddbc677fc62698018dc8c27e912a3b85a82796a96d53c2290992246
[INFO] running `Command { std: "docker" "start" "-a" "ea4e62601ddbc677fc62698018dc8c27e912a3b85a82796a96d53c2290992246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea4e62601ddbc677fc62698018dc8c27e912a3b85a82796a96d53c2290992246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea4e62601ddbc677fc62698018dc8c27e912a3b85a82796a96d53c2290992246", kill_on_drop: false }`
[INFO] [stdout] ea4e62601ddbc677fc62698018dc8c27e912a3b85a82796a96d53c2290992246
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1fdf79bb8f645bafaee50fe98047cfac79cb8888f50808a3649fa8a32b1d5b2d
[INFO] running `Command { std: "docker" "start" "-a" "1fdf79bb8f645bafaee50fe98047cfac79cb8888f50808a3649fa8a32b1d5b2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking clap_builder v4.5.37
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking clap v4.5.37
[INFO] [stderr]     Checking pkgman v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs};
[INFO] [stdout]   |           ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:59:33
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     match cli.command {
[INFO] [stdout] 57 | |         Some(Commands::Install { package }) => install(package),
[INFO] [stdout]    | |                                                ---------------- this is found to be of type `()`
[INFO] [stdout] 58 | |         Some(Commands::Uninstall { package }) => uninstall(package),
[INFO] [stdout]    | |                                                  ------------------ this is found to be of type `()`
[INFO] [stdout] 59 | |         Some(Commands::List) => list(),
[INFO] [stdout]    | |                                 ^^^^^^ expected `()`, found `Result<String, Error>`
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |         None => println!("No command? That's not meant to happen!"),
[INFO] [stdout] 66 | |     }
[INFO] [stdout]    | |_____- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<std::string::String, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `path` does not live long enough
[INFO] [stdout]   --> src/main.rs:86:26
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let path = entry?.path();
[INFO] [stdout]    |             ---- binding `path` declared here
[INFO] [stdout] 85 |         if path.is_dir() {
[INFO] [stdout] 86 |             let ending = path.to_str().unwrap().split("/");
[INFO] [stdout]    |                          ^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 89 |     }
[INFO] [stdout]    |     - `path` dropped here while still borrowed
[INFO] [stdout] 90 |     let mut return_string: String = String::from("");
[INFO] [stdout] 91 |     for pkg in pkgs {
[INFO] [stdout]    |                ---- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pkgman` (bin "pkgman") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{fs};
[INFO] [stdout]   |           ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/main.rs:59:33
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     match cli.command {
[INFO] [stdout] 57 | |         Some(Commands::Install { package }) => install(package),
[INFO] [stdout]    | |                                                ---------------- this is found to be of type `()`
[INFO] [stdout] 58 | |         Some(Commands::Uninstall { package }) => uninstall(package),
[INFO] [stdout]    | |                                                  ------------------ this is found to be of type `()`
[INFO] [stdout] 59 | |         Some(Commands::List) => list(),
[INFO] [stdout]    | |                                 ^^^^^^ expected `()`, found `Result<String, Error>`
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |         None => println!("No command? That's not meant to happen!"),
[INFO] [stdout] 66 | |     }
[INFO] [stdout]    | |_____- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<std::string::String, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `path` does not live long enough
[INFO] [stdout]   --> src/main.rs:86:26
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let path = entry?.path();
[INFO] [stdout]    |             ---- binding `path` declared here
[INFO] [stdout] 85 |         if path.is_dir() {
[INFO] [stdout] 86 |             let ending = path.to_str().unwrap().split("/");
[INFO] [stdout]    |                          ^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 89 |     }
[INFO] [stdout]    |     - `path` dropped here while still borrowed
[INFO] [stdout] 90 |     let mut return_string: String = String::from("");
[INFO] [stdout] 91 |     for pkg in pkgs {
[INFO] [stdout]    |                ---- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pkgman` (bin "pkgman" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1fdf79bb8f645bafaee50fe98047cfac79cb8888f50808a3649fa8a32b1d5b2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1fdf79bb8f645bafaee50fe98047cfac79cb8888f50808a3649fa8a32b1d5b2d", kill_on_drop: false }`
[INFO] [stdout] 1fdf79bb8f645bafaee50fe98047cfac79cb8888f50808a3649fa8a32b1d5b2d
