[INFO] fetching crate rustsynth 0.4.0... [INFO] checking rustsynth-0.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rustsynth 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rustsynth 0.4.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustsynth 0.4.0 [INFO] finished tweaking crates.io crate rustsynth 0.4.0 [INFO] tweaked toml for crates.io crate rustsynth 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.63.0 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a67581edcfe2ca67c67b1f16b881318c4212bb47b1e4565fe4894fa6d9a2df81 [INFO] running `Command { std: "docker" "start" "-a" "a67581edcfe2ca67c67b1f16b881318c4212bb47b1e4565fe4894fa6d9a2df81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a67581edcfe2ca67c67b1f16b881318c4212bb47b1e4565fe4894fa6d9a2df81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67581edcfe2ca67c67b1f16b881318c4212bb47b1e4565fe4894fa6d9a2df81", kill_on_drop: false }` [INFO] [stdout] a67581edcfe2ca67c67b1f16b881318c4212bb47b1e4565fe4894fa6d9a2df81 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be2b21210d3d1d980a0eff1cc331ee96b4a7a4ef4c55ae187eea2eabcb085ed [INFO] running `Command { std: "docker" "start" "-a" "7be2b21210d3d1d980a0eff1cc331ee96b4a7a4ef4c55ae187eea2eabcb085ed", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rustsynth-derive v0.4.0 [INFO] [stderr] Compiling rustsynth-sys v0.4.0 [INFO] [stderr] Checking rustsynth v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/plugin.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'core> Plugin<'core> { [INFO] [stdout] | ----- lifetime `'core` declared here [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn functions(&'core self) -> PluginFunctions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/plugin.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'core> Plugin<'core> { [INFO] [stdout] | ----- lifetime `'core` declared here [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn functions(&'core self) -> PluginFunctions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core` [INFO] [stdout] --> src/frame.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | core: CoreRef<'core>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_src` [INFO] [stdout] --> src/frame.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | prop_src: Option<&Frame<'core>>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/frame.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | format: VideoFormat, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/frame.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | width: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/frame.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | height: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core` [INFO] [stdout] --> src/frame.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | core: CoreRef<'core>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_src` [INFO] [stdout] --> src/frame.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | prop_src: Option<&Frame<'core>>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/frame.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | format: VideoFormat, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/frame.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | width: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/frame.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | height: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vsscript/environment.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 68 | let environment = Self { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | match unsafe { environment.error() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: unused variable: `index` [INFO] [stdout] --> src/vsscript/environment.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn clear_output(&self, index: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `copy_map`, `set_cache_mode`, `map_set_empty`, `new_video_frame`, `request_frame_filter`, and `get_frame_filter` are never used [INFO] [stdout] --> src/api.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl API { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | pub(crate) unsafe fn copy_map(&self, map: *mut ffi::VSMap) -> *mut ffi::VSMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub(crate) unsafe fn set_cache_mode(&self, node: *mut ffi::VSNode, mode: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub(crate) unsafe fn map_set_empty(&self, map: *mut ffi::VSMap, key: *const c_char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub(crate) unsafe fn new_video_frame( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub(crate) unsafe fn request_frame_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub(crate) unsafe fn get_frame_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_ptr` is never used [INFO] [stdout] --> src/frame.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 114 | impl<'core> FrameRefMut<'core> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) unsafe fn from_ptr(handle: *mut ffi::VSFrame) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsynth` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vsscript/environment.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 68 | let environment = Self { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | match unsafe { environment.error() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] warning: unused variable: `index` [INFO] [stdout] --> src/vsscript/environment.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn clear_output(&self, index: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `copy_map`, `set_cache_mode`, `map_set_empty`, `new_video_frame`, `request_frame_filter`, and `get_frame_filter` are never used [INFO] [stdout] --> src/api.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl API { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | pub(crate) unsafe fn copy_map(&self, map: *mut ffi::VSMap) -> *mut ffi::VSMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub(crate) unsafe fn set_cache_mode(&self, node: *mut ffi::VSNode, mode: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub(crate) unsafe fn map_set_empty(&self, map: *mut ffi::VSMap, key: *const c_char) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub(crate) unsafe fn new_video_frame( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub(crate) unsafe fn request_frame_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub(crate) unsafe fn get_frame_filter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_ptr` is never used [INFO] [stdout] --> src/frame.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 114 | impl<'core> FrameRefMut<'core> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) unsafe fn from_ptr(handle: *mut ffi::VSFrame) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustsynth` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7be2b21210d3d1d980a0eff1cc331ee96b4a7a4ef4c55ae187eea2eabcb085ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be2b21210d3d1d980a0eff1cc331ee96b4a7a4ef4c55ae187eea2eabcb085ed", kill_on_drop: false }` [INFO] [stdout] 7be2b21210d3d1d980a0eff1cc331ee96b4a7a4ef4c55ae187eea2eabcb085ed