[INFO] cloning repository https://github.com/HaNaK0/project_manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HaNaK0/project_manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaNaK0%2Fproject_manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaNaK0%2Fproject_manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54dcca71e2cb780c9ab30f98fcf9d9745e67eeca [INFO] testing HaNaK0/project_manager against try#ece70b22820429ebf0c6d388c32356a14c58fc2f for pr-107251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaNaK0%2Fproject_manager" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HaNaK0/project_manager on toolchain ece70b22820429ebf0c6d388c32356a14c58fc2f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HaNaK0/project_manager [INFO] finished tweaking git repo https://github.com/HaNaK0/project_manager [INFO] tweaked toml for git repo https://github.com/HaNaK0/project_manager written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HaNaK0/project_manager 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" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b772a2cbab59f2da624d24dbd9a48014eb4ccf5c92bcf5cb57db58eb67beec84 [INFO] running `Command { std: "docker" "start" "-a" "b772a2cbab59f2da624d24dbd9a48014eb4ccf5c92bcf5cb57db58eb67beec84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b772a2cbab59f2da624d24dbd9a48014eb4ccf5c92bcf5cb57db58eb67beec84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b772a2cbab59f2da624d24dbd9a48014eb4ccf5c92bcf5cb57db58eb67beec84", kill_on_drop: false }` [INFO] [stdout] b772a2cbab59f2da624d24dbd9a48014eb4ccf5c92bcf5cb57db58eb67beec84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+ece70b22820429ebf0c6d388c32356a14c58fc2f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71aaa7ad259951cee9e7581789ab72f064e0c1f469931ea5ce55d91d78108b3e [INFO] running `Command { std: "docker" "start" "-a" "71aaa7ad259951cee9e7581789ab72f064e0c1f469931ea5ce55d91d78108b3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling num-traits 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 num-integer v0.1.44 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling project_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | fn open_project(project_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(project_dirs) = &ProjectDirs::from("", "HaNa", "project_manager") { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 156 | | Ok(project_dirs.config_dir()) [INFO] [stdout] 157 | | } else { [INFO] [stdout] | | - temporary value is freed at the end of this statement [INFO] [stdout] 158 | | Err(anyhow!("failed finding the config directory")) [INFO] [stdout] 159 | | }? [INFO] [stdout] | |__________- borrow later used by call [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 154 ~ let binding = ProjectDirs::from("", "HaNa", "project_manager"); [INFO] [stdout] 155 ~ let mut config_path: PathBuf = [INFO] [stdout] 156 ~ if let Some(project_dirs) = &binding { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `project_manager` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "71aaa7ad259951cee9e7581789ab72f064e0c1f469931ea5ce55d91d78108b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71aaa7ad259951cee9e7581789ab72f064e0c1f469931ea5ce55d91d78108b3e", kill_on_drop: false }` [INFO] [stdout] 71aaa7ad259951cee9e7581789ab72f064e0c1f469931ea5ce55d91d78108b3e