[INFO] fetching crate gluac-rs 0.1.3... [INFO] checking gluac-rs-0.1.3 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate gluac-rs 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate gluac-rs 0.1.3 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gluac-rs 0.1.3 [INFO] finished tweaking crates.io crate gluac-rs 0.1.3 [INFO] tweaked toml for crates.io crate gluac-rs 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate gluac-rs 0.1.3 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.2.8 [INFO] [stderr] Downloaded libc v0.2.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd74fe34af78032c3c314af3db121c4092b22086d1d085c383f329ba5d72119d [INFO] running `Command { std: "docker" "start" "-a" "cd74fe34af78032c3c314af3db121c4092b22086d1d085c383f329ba5d72119d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd74fe34af78032c3c314af3db121c4092b22086d1d085c383f329ba5d72119d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd74fe34af78032c3c314af3db121c4092b22086d1d085c383f329ba5d72119d", kill_on_drop: false }` [INFO] [stdout] cd74fe34af78032c3c314af3db121c4092b22086d1d085c383f329ba5d72119d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 845bc2e09628571d8194e797cc7d44416302505bb463d906f9af09d71b4a0009 [INFO] running `Command { std: "docker" "start" "-a" "845bc2e09628571d8194e797cc7d44416302505bb463d906f9af09d71b4a0009", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking gluac-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/tests/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/api.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | / std::ffi::CString::new($str) [INFO] [stdout] 66 | | .expect("Tried to create a Lua string from a string that contained a NUL byte (\\0)!") [INFO] [stdout] | |__________________________________________________________________________________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 67 | .as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/tests/tests.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | / lua_string!(std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) [INFO] [stdout] 57 | | .join("src/tests/hello_world.lua") [INFO] [stdout] 58 | | .to_string_lossy() [INFO] [stdout] 59 | | .to_string()), [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lua_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "845bc2e09628571d8194e797cc7d44416302505bb463d906f9af09d71b4a0009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845bc2e09628571d8194e797cc7d44416302505bb463d906f9af09d71b4a0009", kill_on_drop: false }` [INFO] [stdout] 845bc2e09628571d8194e797cc7d44416302505bb463d906f9af09d71b4a0009 [INFO] checking gluac-rs-0.1.3 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate gluac-rs 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate gluac-rs 0.1.3 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gluac-rs 0.1.3 [INFO] finished tweaking crates.io crate gluac-rs 0.1.3 [INFO] tweaked toml for crates.io crate gluac-rs 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate gluac-rs 0.1.3 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d210294c386d7ffca2b51c230ee751fce897367656bf61c5d8eb1d27bc0268b9 [INFO] running `Command { std: "docker" "start" "-a" "d210294c386d7ffca2b51c230ee751fce897367656bf61c5d8eb1d27bc0268b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d210294c386d7ffca2b51c230ee751fce897367656bf61c5d8eb1d27bc0268b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d210294c386d7ffca2b51c230ee751fce897367656bf61c5d8eb1d27bc0268b9", kill_on_drop: false }` [INFO] [stdout] d210294c386d7ffca2b51c230ee751fce897367656bf61c5d8eb1d27bc0268b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b58b4d8363ddc516b5e203b14be3ca10e5d2920fac87b876cea456c2cf8985d0 [INFO] running `Command { std: "docker" "start" "-a" "b58b4d8363ddc516b5e203b14be3ca10e5d2920fac87b876cea456c2cf8985d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking gluac-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/tests/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/lua.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 134 | let result_srv = Library::new("lua_shared_srv.so"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | match Library::new("lua_shared.so") { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gluac-rs` (lib) due to 2 previous errors [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/lua.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 134 | let result_srv = Library::new("lua_shared_srv.so"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | match Library::new("lua_shared.so") { [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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/api.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | / std::ffi::CString::new($str) [INFO] [stdout] 66 | | .expect("Tried to create a Lua string from a string that contained a NUL byte (\\0)!") [INFO] [stdout] | |__________________________________________________________________________________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 67 | .as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/tests/tests.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | / lua_string!(std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) [INFO] [stdout] 57 | | .join("src/tests/hello_world.lua") [INFO] [stdout] 58 | | .to_string_lossy() [INFO] [stdout] 59 | | .to_string()), [INFO] [stdout] | |_____________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lua_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gluac-rs` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b58b4d8363ddc516b5e203b14be3ca10e5d2920fac87b876cea456c2cf8985d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b58b4d8363ddc516b5e203b14be3ca10e5d2920fac87b876cea456c2cf8985d0", kill_on_drop: false }` [INFO] [stdout] b58b4d8363ddc516b5e203b14be3ca10e5d2920fac87b876cea456c2cf8985d0