[INFO] cloning repository https://github.com/cosh-shell/cosh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cosh-shell/cosh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 201d9450d873518e62c18bcb72fbd2356a1fed57 [INFO] checking cosh-shell/cosh/201d9450d873518e62c18bcb72fbd2356a1fed57 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcosh-shell%2Fcosh" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cosh-shell/cosh on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cosh-shell/cosh [INFO] finished tweaking git repo https://github.com/cosh-shell/cosh [INFO] tweaked toml for git repo https://github.com/cosh-shell/cosh written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cosh-shell/cosh 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5616ee65229da4429b0a456bec98c60ec5cdcce943072eb0982fabc1c73af635 [INFO] running `Command { std: "docker" "start" "-a" "5616ee65229da4429b0a456bec98c60ec5cdcce943072eb0982fabc1c73af635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5616ee65229da4429b0a456bec98c60ec5cdcce943072eb0982fabc1c73af635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5616ee65229da4429b0a456bec98c60ec5cdcce943072eb0982fabc1c73af635", kill_on_drop: false }` [INFO] [stdout] 5616ee65229da4429b0a456bec98c60ec5cdcce943072eb0982fabc1c73af635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a7d3dc6077958652ac92506d014f3b008794498c92666cc05d6a0e5af841df9 [INFO] running `Command { std: "docker" "start" "-a" "8a7d3dc6077958652ac92506d014f3b008794498c92666cc05d6a0e5af841df9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking whoami v1.2.1 [INFO] [stderr] Checking is_executable v1.0.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking which v4.2.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking nu-ansi-term v0.36.0 [INFO] [stderr] Checking guess_host_triple v0.1.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clearscreen v1.0.9 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking reedline v0.2.0 [INFO] [stderr] Checking cosh v1.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cosh v1.0.0 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | let child = unsafe { Command::new(command).args(args).before_exec(|| { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | __________________________creates a temporary value which is freed while still in use [INFO] [stdout] | | [INFO] [stdout] 181 | | unsafe { [INFO] [stdout] 182 | | libc::signal(SIGINT, SIG_DFL); [INFO] [stdout] 183 | | libc::signal(SIGQUIT, SIG_DFL); [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | }) }.spawn(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | let child = unsafe { Command::new(command).args(args).before_exec(|| { [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | __________________________creates a temporary value which is freed while still in use [INFO] [stdout] | | [INFO] [stdout] 181 | | unsafe { [INFO] [stdout] 182 | | libc::signal(SIGINT, SIG_DFL); [INFO] [stdout] 183 | | libc::signal(SIGQUIT, SIG_DFL); [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | Ok(()) [INFO] [stdout] 186 | | }) }.spawn(); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______temporary value is freed at the end of this statement [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosh` (bin "cosh") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cosh` (bin "cosh" test) due to 1 previous error [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8a7d3dc6077958652ac92506d014f3b008794498c92666cc05d6a0e5af841df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a7d3dc6077958652ac92506d014f3b008794498c92666cc05d6a0e5af841df9", kill_on_drop: false }` [INFO] [stdout] 8a7d3dc6077958652ac92506d014f3b008794498c92666cc05d6a0e5af841df9