[INFO] fetching crate git-repo-manager 0.7.14... [INFO] checking git-repo-manager-0.7.14 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate git-repo-manager 0.7.14 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate git-repo-manager 0.7.14 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate git-repo-manager 0.7.14 [INFO] finished tweaking crates.io crate git-repo-manager 0.7.14 [INFO] tweaked toml for crates.io crate git-repo-manager 0.7.14 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate git-repo-manager 0.7.14 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e27130ec1aaa5701538c6f99c8628a2e3d840d774417ec4e6673b27d1f1996f6 [INFO] running `Command { std: "docker" "start" "-a" "e27130ec1aaa5701538c6f99c8628a2e3d840d774417ec4e6673b27d1f1996f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e27130ec1aaa5701538c6f99c8628a2e3d840d774417ec4e6673b27d1f1996f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27130ec1aaa5701538c6f99c8628a2e3d840d774417ec4e6673b27d1f1996f6", kill_on_drop: false }` [INFO] [stdout] e27130ec1aaa5701538c6f99c8628a2e3d840d774417ec4e6673b27d1f1996f6 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc9910ef4ef551c96a5ca7b052acddf11f5399c10b63e835d26fff0a5e4a61c1 [INFO] running `Command { std: "docker" "start" "-a" "fc9910ef4ef551c96a5ca7b052acddf11f5399c10b63e835d26fff0a5e4a61c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking winnow v0.5.4 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking clap_builder v4.3.21 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking castaway v0.1.2 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking url-escape v0.1.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling libnghttp2-sys v0.1.8+1.55.1 [INFO] [stderr] Compiling curl-sys v0.4.65+curl-8.2.1 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking parse_link_header v0.3.3 [INFO] [stderr] Checking comfy-table v7.0.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking git2 v0.17.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking clap v4.3.21 [INFO] [stderr] Checking git-repo-manager v0.7.14 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `dir` does not live long enough [INFO] [stdout] --> src/grm/main.rs:164:58 [INFO] [stdout] | [INFO] [stdout] 156 | let dir = match std::env::current_dir() { [INFO] [stdout] | --- binding `dir` declared here [INFO] [stdout] ... [INFO] [stdout] 164 | match table::show_single_repo_status(&dir) { [INFO] [stdout] | -------------------------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 176 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `dir` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result<(impl std::fmt::Display, Vec), std::string::String>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 175 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `repo` does not live long enough [INFO] [stdout] --> src/grm/main.rs:594:60 [INFO] [stdout] | [INFO] [stdout] 589 | let repo = repo::RepoHandle::open(&cwd, true).unwrap_or_else(|error| { [INFO] [stdout] | ---- binding `repo` declared here [INFO] [stdout] ... [INFO] [stdout] 594 | match table::get_worktree_status_table(&repo, &cwd) { [INFO] [stdout] | ---------------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 606 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `repo` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result<(impl std::fmt::Display, Vec), std::string::String>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 605 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `dir` does not live long enough [INFO] [stdout] --> src/grm/main.rs:164:58 [INFO] [stdout] | [INFO] [stdout] 156 | let dir = match std::env::current_dir() { [INFO] [stdout] | --- binding `dir` declared here [INFO] [stdout] ... [INFO] [stdout] 164 | match table::show_single_repo_status(&dir) { [INFO] [stdout] | -------------------------------^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 176 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `dir` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result<(impl std::fmt::Display, Vec), std::string::String>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 175 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `repo` does not live long enough [INFO] [stdout] --> src/grm/main.rs:594:60 [INFO] [stdout] | [INFO] [stdout] 589 | let repo = repo::RepoHandle::open(&cwd, true).unwrap_or_else(|error| { [INFO] [stdout] | ---- binding `repo` declared here [INFO] [stdout] ... [INFO] [stdout] 594 | match table::get_worktree_status_table(&repo, &cwd) { [INFO] [stdout] | ---------------------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 606 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `repo` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result<(impl std::fmt::Display, Vec), std::string::String>` [INFO] [stdout] | [INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped [INFO] [stdout] | [INFO] [stdout] 605 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-repo-manager` (bin "grm") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `git-repo-manager` (bin "grm" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fc9910ef4ef551c96a5ca7b052acddf11f5399c10b63e835d26fff0a5e4a61c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9910ef4ef551c96a5ca7b052acddf11f5399c10b63e835d26fff0a5e4a61c1", kill_on_drop: false }` [INFO] [stdout] fc9910ef4ef551c96a5ca7b052acddf11f5399c10b63e835d26fff0a5e4a61c1