[INFO] cloning repository https://github.com/HeroicKatora/static-alloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HeroicKatora/static-alloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeroicKatora%2Fstatic-alloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeroicKatora%2Fstatic-alloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0732720d47a38f0065d47675003e583be04b3f39 [INFO] checking HeroicKatora/static-alloc/0732720d47a38f0065d47675003e583be04b3f39 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeroicKatora%2Fstatic-alloc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HeroicKatora/static-alloc on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HeroicKatora/static-alloc [INFO] finished tweaking git repo https://github.com/HeroicKatora/static-alloc [INFO] tweaked toml for git repo https://github.com/HeroicKatora/static-alloc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ac622f3cffdd990b5b36c83c55d5f6a0ce67773dd201c38ec08bd096a7e10a8 [INFO] running `Command { std: "docker" "start" "-a" "1ac622f3cffdd990b5b36c83c55d5f6a0ce67773dd201c38ec08bd096a7e10a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ac622f3cffdd990b5b36c83c55d5f6a0ce67773dd201c38ec08bd096a7e10a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac622f3cffdd990b5b36c83c55d5f6a0ce67773dd201c38ec08bd096a7e10a8", kill_on_drop: false }` [INFO] [stdout] 1ac622f3cffdd990b5b36c83c55d5f6a0ce67773dd201c38ec08bd096a7e10a8 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdbff8a132befb446dd6720c00a6ad2b28871428d1e06326e8d6a1a8ac04d676 [INFO] running `Command { std: "docker" "start" "-a" "fdbff8a132befb446dd6720c00a6ad2b28871428d1e06326e8d6a1a8ac04d676", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `DISABLED` in required-features of target `huuuuuge`: `DISABLED` is not present in [features] section [INFO] [stderr] Checking alloc-traits v0.1.1 (/opt/rustwide/workdir/alloc-traits) [INFO] [stderr] Checking fill v0.1.1 (/opt/rustwide/workdir/fill) [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Compiling unsize v1.1.0 (/opt/rustwide/workdir/unsize) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> fill/src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | #[doc = $content] extern { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 67 | insert_as_doc!(include_str!("../Readme.md")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `insert_as_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> fill/src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | #[doc = $content] extern { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] ... [INFO] [stdout] 67 | insert_as_doc!(include_str!("../Readme.md")); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `insert_as_doc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking static-alloc v0.2.5 (/opt/rustwide/workdir/static-alloc) [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_51` [INFO] [stdout] --> unsize/src/lib.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(rustc_1_51)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(rustc_1_51)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_51)");` 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: unused doc comment [INFO] [stdout] --> unsize/src/lib.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | / /// ``` [INFO] [stdout] 415 | | /// use unsize::{Coercion, CoerceUnsized}; [INFO] [stdout] 416 | | /// fn arg0(fptr: &F) -> &dyn FnOnce() { [INFO] [stdout] 417 | | /// fptr.unsize(Coercion::<_, dyn FnOnce()>::to_fn_once()) [INFO] [stdout] ... | [INFO] [stdout] 429 | | /// arg6(&|_,_,_,_,_,_| {}); [INFO] [stdout] 430 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 431 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unsize/src/lib.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / /// Ensure that using `CoerceUnsized` does not import as_sized_ptr. [INFO] [stdout] 528 | | /// [INFO] [stdout] 529 | | /// ```compile_fail [INFO] [stdout] 530 | | /// use unsize::CoerceUnsized; [INFO] [stdout] ... | [INFO] [stdout] 534 | | /// let _ = ptr.as_sized_ptr(); [INFO] [stdout] 535 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 536 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_51` [INFO] [stdout] --> unsize/src/lib.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(rustc_1_51)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(rustc_1_51)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_51)");` 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: unused doc comment [INFO] [stdout] --> unsize/src/lib.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 414 | / /// ``` [INFO] [stdout] 415 | | /// use unsize::{Coercion, CoerceUnsized}; [INFO] [stdout] 416 | | /// fn arg0(fptr: &F) -> &dyn FnOnce() { [INFO] [stdout] 417 | | /// fptr.unsize(Coercion::<_, dyn FnOnce()>::to_fn_once()) [INFO] [stdout] ... | [INFO] [stdout] 429 | | /// arg6(&|_,_,_,_,_,_| {}); [INFO] [stdout] 430 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 431 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unsize/src/lib.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | / /// Ensure that using `CoerceUnsized` does not import as_sized_ptr. [INFO] [stdout] 528 | | /// [INFO] [stdout] 529 | | /// ```compile_fail [INFO] [stdout] 530 | | /// use unsize::CoerceUnsized; [INFO] [stdout] ... | [INFO] [stdout] 534 | | /// let _ = ptr.as_sized_ptr(); [INFO] [stdout] 535 | | /// ``` [INFO] [stdout] | |_______^ [INFO] [stdout] 536 | extern {} [INFO] [stdout] | --------- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking exit-stack v0.1.0 (/opt/rustwide/workdir/exit-stack) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking without-alloc v0.2.2 (/opt/rustwide/workdir/without-alloc) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_1_51` [INFO] [stdout] --> unsize/tests/unsize.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(rustc_1_51)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(rustc_1_51)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_1_51)");` 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: field `0` is never read [INFO] [stdout] --> static-alloc/tests/leak_box.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | struct PanicOnDrop(usize); [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> exit-stack/src/lib.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn set<'stack>(mut self: Pin<&'stack mut Self>, val: Mem) [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | match self.into_ref().slot() { [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 `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> exit-stack/src/lib.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn set<'stack>(mut self: Pin<&'stack mut Self>, val: Mem) [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | match self.into_ref().slot() { [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exit-stack` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exit-stack` (lib test) due to 2 previous errors [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> without-alloc/src/rc.rs:759:20 [INFO] [stdout] | [INFO] [stdout] 759 | struct Foo(u32); [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> without-alloc/src/fixed_vec.rs:805:24 [INFO] [stdout] | [INFO] [stdout] 805 | struct HasDrop(usize); [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fdbff8a132befb446dd6720c00a6ad2b28871428d1e06326e8d6a1a8ac04d676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdbff8a132befb446dd6720c00a6ad2b28871428d1e06326e8d6a1a8ac04d676", kill_on_drop: false }` [INFO] [stdout] fdbff8a132befb446dd6720c00a6ad2b28871428d1e06326e8d6a1a8ac04d676