[INFO] updating cached repository https://github.com/anlumo/webgl_rust_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de33ec152d1c85301c3c208dd5fa91e340802d6b [INFO] checking anlumo/webgl_rust_demo/de33ec152d1c85301c3c208dd5fa91e340802d6b 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%2Fanlumo%2Fwebgl_rust_demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anlumo/webgl_rust_demo 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/anlumo/webgl_rust_demo [INFO] finished tweaking git repo https://github.com/anlumo/webgl_rust_demo [INFO] tweaked toml for git repo https://github.com/anlumo/webgl_rust_demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anlumo/webgl_rust_demo 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] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 62089c4520cbeaa1f191078e566fd96e9f7a0f65e7e98e28303c2604ee7f718d [INFO] running `Command { std: "docker" "start" "-a" "62089c4520cbeaa1f191078e566fd96e9f7a0f65e7e98e28303c2604ee7f718d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62089c4520cbeaa1f191078e566fd96e9f7a0f65e7e98e28303c2604ee7f718d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62089c4520cbeaa1f191078e566fd96e9f7a0f65e7e98e28303c2604ee7f718d", kill_on_drop: false }` [INFO] [stdout] 62089c4520cbeaa1f191078e566fd96e9f7a0f65e7e98e28303c2604ee7f718d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 86c663dbf2fa5ef5447bd190af8367cbe5ff21f4b1d960e7bf5dfe67191eedb4 [INFO] running `Command { std: "docker" "start" "-a" "86c663dbf2fa5ef5447bd190af8367cbe5ff21f4b1d960e7bf5dfe67191eedb4", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.47 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling bumpalo v2.4.3 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.47 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling wee_alloc v0.4.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking futures v0.1.27 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.47 [INFO] [stderr] Compiling weedle v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.47 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.47 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.47 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.47 [INFO] [stderr] Compiling web-sys v0.3.24 [INFO] [stderr] Checking js-sys v0.3.24 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.24 [INFO] [stderr] Checking wasm-bindgen-test v0.2.47 [INFO] [stderr] Checking webgl_rust_demo v0.1.0 (/opt/rustwide/workdir) [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] --> tests/app.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 27 | let promise = js_sys::Promise::resolve(&JsValue::from(42)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | JsFuture::from(promise) [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] [stderr] error: could not compile `webgl_rust_demo` (test "app") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> src/shader_program.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 12 | let shader = gl.create_shader(match self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | match gl.get_shader_parameter(&shader, WebGL::COMPILE_STATUS).as_bool() { [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] = 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] --> src/shader_program.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 52 | let vertex_shader = ShaderSource::VertexShader(vertex_shader).compile(gl)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let fragment_shader = ShaderSource::FragmentShader(fragment_shader).compile(gl).map_err(|err| { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let program = gl.create_program().ok_or_else(|| js_sys::Error::new("Cannot create shader program")).map_err(|err| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | match gl.get_program_parameter(&program, WebGL::LINK_STATUS).as_bool() { [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] [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] --> src/shader_program.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 12 | let shader = gl.create_shader(match self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | match gl.get_shader_parameter(&shader, WebGL::COMPILE_STATUS).as_bool() { [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] = 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] --> src/cube.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 53 | ... let vertex_buffer = gl.create_buffer().ok_or_else(|| js_sys::Error::new("WebGL is out of memory"))?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ... let index_buffer = gl.create_buffer().ok_or_else(|| js_sys::Error::new("WebGL is out of memory"))?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | ... let memory_buffer = wasm_bindgen::memory().dyn_into::()?.buffer(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ... let vertices_location = VERTEX_VEC.as_ptr() as u32 / 4; [INFO] [stdout] 60 | ... let vertex_array = js_sys::Float32Array::new(&memory_buffer).subarray(vertices_location, vertices_location + VERTEX_VEC.len() as u32); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | ... let index_array = js_sys::Uint16Array::new(&memory_buffer).subarray(indices_location, indices_location + INDEX_VEC.len() as u32); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | ... Ok(Self { [INFO] [stdout] | __________^ [INFO] [stdout] 68 | | ... gl: gl.clone(), [INFO] [stdout] 69 | | ... vertex_buffer, [INFO] [stdout] 70 | | ... index_buffer, [INFO] [stdout] 71 | | ... program: ShaderProgram::new(&gl, include_str!("shaders/cube.vs"), include_str!("shaders/cube.fs"), &["vertexPosition"], &["vert... [INFO] [stdout] 72 | | ... }) [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] | [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] --> src/shader_program.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 52 | let vertex_shader = ShaderSource::VertexShader(vertex_shader).compile(gl)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let fragment_shader = ShaderSource::FragmentShader(fragment_shader).compile(gl).map_err(|err| { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let program = gl.create_program().ok_or_else(|| js_sys::Error::new("Cannot create shader program")).map_err(|err| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | match gl.get_program_parameter(&program, WebGL::LINK_STATUS).as_bool() { [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] [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] --> src/cube.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 53 | ... let vertex_buffer = gl.create_buffer().ok_or_else(|| js_sys::Error::new("WebGL is out of memory"))?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ... let index_buffer = gl.create_buffer().ok_or_else(|| js_sys::Error::new("WebGL is out of memory"))?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | ... let memory_buffer = wasm_bindgen::memory().dyn_into::()?.buffer(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | ... let vertices_location = VERTEX_VEC.as_ptr() as u32 / 4; [INFO] [stdout] 60 | ... let vertex_array = js_sys::Float32Array::new(&memory_buffer).subarray(vertices_location, vertices_location + VERTEX_VEC.len() as u32); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | ... let index_array = js_sys::Uint16Array::new(&memory_buffer).subarray(indices_location, indices_location + INDEX_VEC.len() as u32); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | ... Ok(Self { [INFO] [stdout] | __________^ [INFO] [stdout] 68 | | ... gl: gl.clone(), [INFO] [stdout] 69 | | ... vertex_buffer, [INFO] [stdout] 70 | | ... index_buffer, [INFO] [stdout] 71 | | ... program: ShaderProgram::new(&gl, include_str!("shaders/cube.vs"), include_str!("shaders/cube.fs"), &["vertexPosition"], &["vert... [INFO] [stdout] 72 | | ... }) [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] | [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] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webgl_rust_demo` (lib) due to 4 previous errors [INFO] [stderr] error: could not compile `webgl_rust_demo` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "86c663dbf2fa5ef5447bd190af8367cbe5ff21f4b1d960e7bf5dfe67191eedb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c663dbf2fa5ef5447bd190af8367cbe5ff21f4b1d960e7bf5dfe67191eedb4", kill_on_drop: false }` [INFO] [stdout] 86c663dbf2fa5ef5447bd190af8367cbe5ff21f4b1d960e7bf5dfe67191eedb4