[INFO] fetching crate selinux 0.4.6... [INFO] checking selinux-0.4.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate selinux 0.4.6 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate selinux 0.4.6 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 selinux 0.4.6 [INFO] finished tweaking crates.io crate selinux 0.4.6 [INFO] tweaked toml for crates.io crate selinux 0.4.6 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] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] 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] dcd32d12a1692ae84018fa4b722d01e62e2cdd91c5ae48508277e38aa7cff02e [INFO] running `Command { std: "docker" "start" "-a" "dcd32d12a1692ae84018fa4b722d01e62e2cdd91c5ae48508277e38aa7cff02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcd32d12a1692ae84018fa4b722d01e62e2cdd91c5ae48508277e38aa7cff02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd32d12a1692ae84018fa4b722d01e62e2cdd91c5ae48508277e38aa7cff02e", kill_on_drop: false }` [INFO] [stdout] dcd32d12a1692ae84018fa4b722d01e62e2cdd91c5ae48508277e38aa7cff02e [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] 0b22741c1a52b3e0e0e8db1675309806fce040f18db4d31845358316f97cff91 [INFO] running `Command { std: "docker" "start" "-a" "0b22741c1a52b3e0e0e8db1675309806fce040f18db4d31845358316f97cff91", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling io-lifetimes v2.0.3 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling io-extras v0.18.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking sdd v3.0.3 [INFO] [stderr] Compiling socketpair v0.19.5 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking reference-counted-singleton v0.1.5 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking scc v2.1.17 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Compiling selinux-sys v0.6.12 [INFO] [stderr] Checking selinux v0.4.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/avc/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | AVC.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `SecurityContext<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/avc/tests.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 83 | let avc = super::AccessVectorCache::initialize(options).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let mut context = avc.security_context_from_security_id(sid).unwrap(); [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 `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/label/tests.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 79 | let labeler = super::Labeler::::new(&[], false).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | [INFO] [stdout] 81 | if let Err(r) = labeler.get_digests_all_partial_matches_by_path("/tmp") { [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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/avc/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | AVC.as_ptr() [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `selinux` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0b22741c1a52b3e0e0e8db1675309806fce040f18db4d31845358316f97cff91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b22741c1a52b3e0e0e8db1675309806fce040f18db4d31845358316f97cff91", kill_on_drop: false }` [INFO] [stdout] 0b22741c1a52b3e0e0e8db1675309806fce040f18db4d31845358316f97cff91