[INFO] fetching crate yew-scanner 0.3.0... [INFO] checking yew-scanner-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate yew-scanner 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate yew-scanner 0.3.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 yew-scanner 0.3.0 [INFO] finished tweaking crates.io crate yew-scanner 0.3.0 [INFO] tweaked toml for crates.io crate yew-scanner 0.3.0 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 160 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding gloo v0.8.1 (available: v0.11.0) [INFO] [stderr] Adding gloo v0.10.0 (available: v0.11.0) [INFO] [stderr] Adding gloo-console v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-dialogs v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding gloo-events v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-history v0.1.5 (available: v0.2.2) [INFO] [stderr] Adding gloo-net v0.3.1 (available: v0.6.0) [INFO] [stderr] Adding gloo-net v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding gloo-render v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding gloo-storage v0.2.2 (available: v0.3.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding gloo-worker v0.2.1 (available: v0.5.0) [INFO] [stderr] Adding gloo-worker v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding image v0.24.9 (available: v0.25.2) [INFO] [stderr] Adding implicit-clone v0.4.9 (available: v0.5.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.2.0) [INFO] [stderr] Adding rustc_version v0.1.7 (available: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (available: v1.0.23) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (available: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2d2161a03004ad690a11ec1b914804f24d049505918825348498e123d7cfeb43 [INFO] running `Command { std: "docker" "start" "-a" "2d2161a03004ad690a11ec1b914804f24d049505918825348498e123d7cfeb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d2161a03004ad690a11ec1b914804f24d049505918825348498e123d7cfeb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2161a03004ad690a11ec1b914804f24d049505918825348498e123d7cfeb43", kill_on_drop: false }` [INFO] [stdout] 2d2161a03004ad690a11ec1b914804f24d049505918825348498e123d7cfeb43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4a60a7cc3a6d92cfb32ad73331a969f515b86f529350aa7274c0a9a0fdebb2b2 [INFO] running `Command { std: "docker" "start" "-a" "4a60a7cc3a6d92cfb32ad73331a969f515b86f529350aa7274c0a9a0fdebb2b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bardecoder v0.5.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yew-scanner v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::MediaTrackConstraints::facing_mode`: Use `set_facing_mode()` instead. [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | .facing_mode(&VideoFacingModeEnum::Environment.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MediaTrackConstraints::frame_rate`: Use `set_frame_rate()` instead. [INFO] [stdout] --> src/lib.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | .frame_rate(&4.into()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MediaStreamConstraints::video`: Use `set_video()` instead. [INFO] [stdout] --> src/lib.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | constraints.video(&video_constraints); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MediaTrackConstraints::facing_mode`: Use `set_facing_mode()` instead. [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | .facing_mode(&VideoFacingModeEnum::Environment.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MediaTrackConstraints::frame_rate`: Use `set_frame_rate()` instead. [INFO] [stdout] --> src/lib.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | .frame_rate(&4.into()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::MediaStreamConstraints::video`: Use `set_video()` instead. [INFO] [stdout] --> src/lib.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | constraints.video(&video_constraints); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 44 | let mut constraints = MediaStreamConstraints::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let mut video_constraints = MediaTrackConstraints::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | match window().navigator().media_devices() { [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] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 44 | let mut constraints = MediaStreamConstraints::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let mut video_constraints = MediaTrackConstraints::new(); [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | match window().navigator().media_devices() { [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] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yew-scanner` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yew-scanner` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a60a7cc3a6d92cfb32ad73331a969f515b86f529350aa7274c0a9a0fdebb2b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a60a7cc3a6d92cfb32ad73331a969f515b86f529350aa7274c0a9a0fdebb2b2", kill_on_drop: false }` [INFO] [stdout] 4a60a7cc3a6d92cfb32ad73331a969f515b86f529350aa7274c0a9a0fdebb2b2