Sep 02 17:38:24.158 INFO checking const-concat-0.1.0 against try#952c7dbfa2628309f557b367929ffc17af20b332 for pr-53851 Sep 02 17:38:24.158 INFO running: cargo +952c7dbfa2628309f557b367929ffc17af20b332-alt check --frozen --all --all-targets Sep 02 17:38:24.158 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53851/try#952c7dbfa2628309f557b367929ffc17af20b332:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53851/worker-1/try#952c7dbfa2628309f557b367929ffc17af20b332:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +952c7dbfa2628309f557b367929ffc17af20b332-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 02 17:38:24.317 INFO blam! 9b3f084a2d0e0e03b2da306635fdc68e4b8d9d1886cdb9e2ef9ad46ecdf1b680 Sep 02 17:38:24.320 INFO running `"docker" "start" "-a" "9b3f084a2d0e0e03b2da306635fdc68e4b8d9d1886cdb9e2ef9ad46ecdf1b680"` Sep 02 17:38:24.957 INFO kablam! Checking const-concat v0.1.0 (file:///source) Sep 02 17:38:25.695 INFO kablam! error[E0658]: unions in const fn are unstable (see issue #51909) Sep 02 17:38:25.695 INFO kablam! --> src/lib.rs:10:5 Sep 02 17:38:25.695 INFO kablam! | Sep 02 17:38:25.695 INFO kablam! 10 | Transmute { from }.to Sep 02 17:38:25.695 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Sep 02 17:38:25.695 INFO kablam! | Sep 02 17:38:25.696 INFO kablam! = help: add #![feature(const_fn_union)] to the crate attributes to enable Sep 02 17:38:25.696 INFO kablam! Sep 02 17:38:25.699 INFO kablam! error: aborting due to previous error Sep 02 17:38:25.699 INFO kablam! Sep 02 17:38:25.699 INFO kablam! For more information about this error, try `rustc --explain E0658`. Sep 02 17:38:25.706 INFO kablam! error: Could not compile `const-concat`. Sep 02 17:38:25.706 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 02 17:38:25.767 INFO kablam! error[E0597]: borrowed value does not live long enough Sep 02 17:38:25.767 INFO kablam! --> src/lib.rs:33:14 Sep 02 17:38:25.767 INFO kablam! | Sep 02 17:38:25.767 INFO kablam! 33 | &$crate::concat::< Sep 02 17:38:25.767 INFO kablam! | ______________^ Sep 02 17:38:25.767 INFO kablam! 34 | | [u8; $a.len()], Sep 02 17:38:25.767 INFO kablam! 35 | | [u8; $b.len()], Sep 02 17:38:25.768 INFO kablam! 36 | | [u8; $a.len() + $b.len()], Sep 02 17:38:25.768 INFO kablam! 37 | | >($a.as_bytes(), $b.as_bytes()) Sep 02 17:38:25.768 INFO kablam! | |___________________________________________^ temporary value does not live long enough Sep 02 17:38:25.768 INFO kablam! ... Sep 02 17:38:25.768 INFO kablam! 41 | }}; Sep 02 17:38:25.768 INFO kablam! | - temporary value only lives until here Sep 02 17:38:25.768 INFO kablam! ... Sep 02 17:38:25.768 INFO kablam! 57 | const GREETING: &str = const_concat!(SALUTATION, ", ", TARGET, "!"); Sep 02 17:38:25.768 INFO kablam! | -------------------------------------------- in this macro invocation Sep 02 17:38:25.768 INFO kablam! | Sep 02 17:38:25.768 INFO kablam! = note: borrowed value must be valid for the static lifetime... Sep 02 17:38:25.768 INFO kablam! Sep 02 17:38:25.772 INFO kablam! error[E0658]: unions in const fn are unstable (see issue #51909) Sep 02 17:38:25.772 INFO kablam! --> src/lib.rs:10:5 Sep 02 17:38:25.772 INFO kablam! | Sep 02 17:38:25.772 INFO kablam! 10 | Transmute { from }.to Sep 02 17:38:25.772 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Sep 02 17:38:25.772 INFO kablam! | Sep 02 17:38:25.772 INFO kablam! = help: add #![feature(const_fn_union)] to the crate attributes to enable Sep 02 17:38:25.772 INFO kablam! Sep 02 17:38:25.848 INFO kablam! error[E0308]: mismatched types Sep 02 17:38:25.849 INFO kablam! --> src/lib.rs:33:13 Sep 02 17:38:25.849 INFO kablam! | Sep 02 17:38:25.849 INFO kablam! 33 | / &$crate::concat::< Sep 02 17:38:25.849 INFO kablam! 34 | | [u8; $a.len()], Sep 02 17:38:25.849 INFO kablam! 35 | | [u8; $b.len()], Sep 02 17:38:25.849 INFO kablam! 36 | | [u8; $a.len() + $b.len()], Sep 02 17:38:25.849 INFO kablam! 37 | | >($a.as_bytes(), $b.as_bytes()) Sep 02 17:38:25.849 INFO kablam! | |___________________________________________^ expected slice, found array Sep 02 17:38:25.849 INFO kablam! ... Sep 02 17:38:25.849 INFO kablam! 57 | const GREETING: &str = const_concat!(SALUTATION, ", ", TARGET, "!"); Sep 02 17:38:25.849 INFO kablam! | -------------------------------------------- in this macro invocation Sep 02 17:38:25.849 INFO kablam! | Sep 02 17:38:25.849 INFO kablam! = note: expected type `&'static [u8]` Sep 02 17:38:25.849 INFO kablam! found type `&[u8; _]` Sep 02 17:38:25.849 INFO kablam! Sep 02 17:38:25.854 INFO kablam! error[E0597]: borrowed value does not live long enough Sep 02 17:38:25.854 INFO kablam! --> src/lib.rs:33:14 Sep 02 17:38:25.855 INFO kablam! | Sep 02 17:38:25.855 INFO kablam! 33 | &$crate::concat::< Sep 02 17:38:25.855 INFO kablam! | ______________^ Sep 02 17:38:25.855 INFO kablam! 34 | | [u8; $a.len()], Sep 02 17:38:25.855 INFO kablam! 35 | | [u8; $b.len()], Sep 02 17:38:25.855 INFO kablam! 36 | | [u8; $a.len() + $b.len()], Sep 02 17:38:25.855 INFO kablam! 37 | | >($a.as_bytes(), $b.as_bytes()) Sep 02 17:38:25.855 INFO kablam! | |___________________________________________^ temporary value does not live long enough Sep 02 17:38:25.855 INFO kablam! ... Sep 02 17:38:25.855 INFO kablam! 41 | }}; Sep 02 17:38:25.855 INFO kablam! | - temporary value only lives until here Sep 02 17:38:25.855 INFO kablam! ... Sep 02 17:38:25.855 INFO kablam! 58 | const GREETING_TRAILING_COMMA: &str = const_concat!(SALUTATION, ", ", TARGET, "!",); Sep 02 17:38:25.855 INFO kablam! | --------------------------------------------- in this macro invocation Sep 02 17:38:25.855 INFO kablam! | Sep 02 17:38:25.855 INFO kablam! = note: borrowed value must be valid for the static lifetime... Sep 02 17:38:25.855 INFO kablam! Sep 02 17:38:25.880 INFO kablam! error[E0308]: mismatched types Sep 02 17:38:25.880 INFO kablam! --> src/lib.rs:33:13 Sep 02 17:38:25.880 INFO kablam! | Sep 02 17:38:25.880 INFO kablam! 33 | / &$crate::concat::< Sep 02 17:38:25.880 INFO kablam! 34 | | [u8; $a.len()], Sep 02 17:38:25.880 INFO kablam! 35 | | [u8; $b.len()], Sep 02 17:38:25.880 INFO kablam! 36 | | [u8; $a.len() + $b.len()], Sep 02 17:38:25.880 INFO kablam! 37 | | >($a.as_bytes(), $b.as_bytes()) Sep 02 17:38:25.881 INFO kablam! | |___________________________________________^ expected slice, found array Sep 02 17:38:25.881 INFO kablam! ... Sep 02 17:38:25.881 INFO kablam! 58 | const GREETING_TRAILING_COMMA: &str = const_concat!(SALUTATION, ", ", TARGET, "!",); Sep 02 17:38:25.881 INFO kablam! | --------------------------------------------- in this macro invocation Sep 02 17:38:25.881 INFO kablam! | Sep 02 17:38:25.881 INFO kablam! = note: expected type `&'static [u8]` Sep 02 17:38:25.881 INFO kablam! found type `&[u8; _]` Sep 02 17:38:25.881 INFO kablam! Sep 02 17:38:25.885 INFO kablam! error: aborting due to 5 previous errors Sep 02 17:38:25.885 INFO kablam! Sep 02 17:38:25.885 INFO kablam! Some errors occurred: E0308, E0597, E0658. Sep 02 17:38:25.885 INFO kablam! For more information about an error, try `rustc --explain E0308`. Sep 02 17:38:25.892 INFO kablam! error: Could not compile `const-concat`. Sep 02 17:38:25.892 INFO kablam! Sep 02 17:38:25.892 INFO kablam! To learn more, run the command again with --verbose. Sep 02 17:38:25.894 INFO kablam! su: No module specific data is present Sep 02 17:38:26.390 INFO running `"docker" "rm" "-f" "9b3f084a2d0e0e03b2da306635fdc68e4b8d9d1886cdb9e2ef9ad46ecdf1b680"` Sep 02 17:38:26.484 INFO blam! 9b3f084a2d0e0e03b2da306635fdc68e4b8d9d1886cdb9e2ef9ad46ecdf1b680