[INFO] cloning repository https://github.com/RdStudios9145/Kobold-Ray-Tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RdStudios9145/Kobold-Ray-Tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRdStudios9145%2FKobold-Ray-Tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRdStudios9145%2FKobold-Ray-Tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54e368caad70d9c4d4d5122a3b61c5de87a26882 [INFO] checking RdStudios9145/Kobold-Ray-Tracer/54e368caad70d9c4d4d5122a3b61c5de87a26882 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%2FRdStudios9145%2FKobold-Ray-Tracer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RdStudios9145/Kobold-Ray-Tracer 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/RdStudios9145/Kobold-Ray-Tracer [INFO] finished tweaking git repo https://github.com/RdStudios9145/Kobold-Ray-Tracer [INFO] tweaked toml for git repo https://github.com/RdStudios9145/Kobold-Ray-Tracer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RdStudios9145/Kobold-Ray-Tracer 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b3da2f3fd10ad67ae2ada5311b559984ce3be6611a5b2a3aa6974a14dfecd01 [INFO] running `Command { std: "docker" "start" "-a" "8b3da2f3fd10ad67ae2ada5311b559984ce3be6611a5b2a3aa6974a14dfecd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b3da2f3fd10ad67ae2ada5311b559984ce3be6611a5b2a3aa6974a14dfecd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3da2f3fd10ad67ae2ada5311b559984ce3be6611a5b2a3aa6974a14dfecd01", kill_on_drop: false }` [INFO] [stdout] 8b3da2f3fd10ad67ae2ada5311b559984ce3be6611a5b2a3aa6974a14dfecd01 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5309165503048c88fbde00739da1400ca3b5b073dd4dce4514fd7aee8f93fc9 [INFO] running `Command { std: "docker" "start" "-a" "c5309165503048c88fbde00739da1400ca3b5b073dd4dce4514fd7aee8f93fc9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling hot-lib-reloader-macro v0.6.5 [INFO] [stderr] Checking glfw v0.56.0 [INFO] [stderr] Checking hot-lib-reloader v0.6.5 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_asserts` [INFO] [stdout] --> lib/src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | if cfg!(debug_asserts) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is a config with a similar name: `debug_assertions` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_asserts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_asserts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug_asserts` [INFO] [stdout] --> lib/src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | if cfg!(debug_asserts) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is a config with a similar name: `debug_assertions` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_asserts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_asserts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib/src/Backend/OpenGL.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> lib/src/Backend/OpenGL.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_binding` is never used [INFO] [stdout] --> lib/src/buffer.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl VertexArray { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_binding() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_binding` is never used [INFO] [stdout] --> lib/src/buffer.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Buffer { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear_binding(ty: BufferType) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verts` and `name` are never read [INFO] [stdout] --> lib/src/object.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct ObjectType { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | verts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub(crate) tris: Vec, [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> lib/src/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(scenes: Vec) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let mut glfw = glfw::init(fail_on_errors!()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | windows: Vec::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lib/src/Backend/OpenGL.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 45 | let (mut window, events) = glfw [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let win = Arc::new(Mutex::new(&mut window)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | events: Arc::new(events), [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] --> lib/src/Backend/OpenGL.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | gl::load_with(|s| win.lock().unwrap().get_proc_address(s)); [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_binding` is never used [INFO] [stdout] --> lib/src/buffer.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl VertexArray { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_binding() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_binding` is never used [INFO] [stdout] --> lib/src/buffer.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Buffer { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn clear_binding(ty: BufferType) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verts` and `name` are never read [INFO] [stdout] --> lib/src/object.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct ObjectType { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | verts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub(crate) tris: Vec, [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> lib/src/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(scenes: Vec) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let mut glfw = glfw::init(fail_on_errors!()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | windows: Vec::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> lib/src/Backend/OpenGL.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 45 | let (mut window, events) = glfw [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let win = Arc::new(Mutex::new(&mut window)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | events: Arc::new(events), [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] --> lib/src/Backend/OpenGL.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | gl::load_with(|s| win.lock().unwrap().get_proc_address(s)); [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] [stderr] error: could not compile `lib` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lib` (lib) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5309165503048c88fbde00739da1400ca3b5b073dd4dce4514fd7aee8f93fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5309165503048c88fbde00739da1400ca3b5b073dd4dce4514fd7aee8f93fc9", kill_on_drop: false }` [INFO] [stdout] c5309165503048c88fbde00739da1400ca3b5b073dd4dce4514fd7aee8f93fc9