[INFO] cloning repository https://github.com/Karthik-d-k/picars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Karthik-d-k/picars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarthik-d-k%2Fpicars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarthik-d-k%2Fpicars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18d32596593037101870f7391872636dbb0ee936 [INFO] checking Karthik-d-k/picars/18d32596593037101870f7391872636dbb0ee936 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKarthik-d-k%2Fpicars" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Karthik-d-k/picars on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Karthik-d-k/picars [INFO] finished tweaking git repo https://github.com/Karthik-d-k/picars [INFO] tweaked toml for git repo https://github.com/Karthik-d-k/picars written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Karthik-d-k/picars 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9037cad8ead5a89f5c509fcb51adb577e4ffb26eb23a0bcdca39af1c78d79bcb [INFO] running `Command { std: "docker" "start" "-a" "9037cad8ead5a89f5c509fcb51adb577e4ffb26eb23a0bcdca39af1c78d79bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9037cad8ead5a89f5c509fcb51adb577e4ffb26eb23a0bcdca39af1c78d79bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9037cad8ead5a89f5c509fcb51adb577e4ffb26eb23a0bcdca39af1c78d79bcb", kill_on_drop: false }` [INFO] [stdout] 9037cad8ead5a89f5c509fcb51adb577e4ffb26eb23a0bcdca39af1c78d79bcb [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27bf47fd8ce49610c9088e274ab7d00cf1ee188a61d20f4bd04ce66e988f6c78 [INFO] running `Command { std: "docker" "start" "-a" "27bf47fd8ce49610c9088e274ab7d00cf1ee188a61d20f4bd04ce66e988f6c78", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling target-lexicon v0.12.12 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling pyo3-build-config v0.18.3 [INFO] [stderr] Checking rppal v0.14.1 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pyo3-ffi v0.18.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling pyo3 v0.18.3 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking vahana v0.1.0 (/opt/rustwide/workdir/vahana) [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vahana/src/drive.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | let gpio = Gpio::new().context("Gpio init failed (drive)")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | let mut pwm = PWM::new(pwm_pin).context("PWM init failed")?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let dir = gpio.get(dir_pin).context("Gpio init failed")?.into_output(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(Self { pwm, dir }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vahana/src/drive.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 53 | let left_motor = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Motor::new(left_motor_pwm_pin, left_motor_dir_pin).context("LEFT MOTOR INIT FAILED")?; [INFO] [stdout] 55 | let right_motor = Motor::new(right_motor_pwm_pin, right_motor_dir_pin) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | left_motor, [INFO] [stdout] 60 | | right_motor, [INFO] [stdout] 61 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vahana/src/drive.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 97 | let mut pwm = PWM::new(pwm_pin).context("PWM init failed")?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Self { pwm }) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vahana` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "27bf47fd8ce49610c9088e274ab7d00cf1ee188a61d20f4bd04ce66e988f6c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bf47fd8ce49610c9088e274ab7d00cf1ee188a61d20f4bd04ce66e988f6c78", kill_on_drop: false }` [INFO] [stdout] 27bf47fd8ce49610c9088e274ab7d00cf1ee188a61d20f4bd04ce66e988f6c78