Sep 06 08:33:15.634 INFO checking const-concat-0.1.0 against try#51ff957df5095d92d1d3d4682207ee8b7ad408a8 for pr-53854 Sep 06 08:33:15.634 INFO running: cargo +51ff957df5095d92d1d3d4682207ee8b7ad408a8-alt check --frozen --all --all-targets Sep 06 08:33:15.634 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53854/try#51ff957df5095d92d1d3d4682207ee8b7ad408a8:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53854/worker-1/try#51ff957df5095d92d1d3d4682207ee8b7ad408a8:/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=1000" "-e" "CMD=cargo +51ff957df5095d92d1d3d4682207ee8b7ad408a8-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 06 08:33:15.781 INFO blam! 142db288064802bbdf846c0a61d7dabaa5a40aa81d51f7dc8bbf6533316284e3 Sep 06 08:33:15.784 INFO running `"docker" "start" "-a" "142db288064802bbdf846c0a61d7dabaa5a40aa81d51f7dc8bbf6533316284e3"` Sep 06 08:33:16.665 INFO kablam! usermod: no changes Sep 06 08:33:16.685 INFO kablam! Checking const-concat v0.1.0 (file:///source) Sep 06 08:33:16.932 INFO kablam! error[E0658]: unions in const fn are unstable (see issue #51909) Sep 06 08:33:16.932 INFO kablam! --> src/lib.rs:10:5 Sep 06 08:33:16.932 INFO kablam! | Sep 06 08:33:16.932 INFO kablam! 10 | Transmute { from }.to Sep 06 08:33:16.932 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Sep 06 08:33:16.932 INFO kablam! | Sep 06 08:33:16.932 INFO kablam! = help: add #![feature(const_fn_union)] to the crate attributes to enable Sep 06 08:33:16.932 INFO kablam! Sep 06 08:33:16.933 INFO kablam! error: aborting due to previous error Sep 06 08:33:16.933 INFO kablam! Sep 06 08:33:16.933 INFO kablam! For more information about this error, try `rustc --explain E0658`. Sep 06 08:33:16.939 INFO kablam! error: Could not compile `const-concat`. Sep 06 08:33:16.939 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 06 08:33:16.974 INFO kablam! error[E0658]: unions in const fn are unstable (see issue #51909) Sep 06 08:33:16.974 INFO kablam! --> src/lib.rs:10:5 Sep 06 08:33:16.974 INFO kablam! | Sep 06 08:33:16.974 INFO kablam! 10 | Transmute { from }.to Sep 06 08:33:16.974 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Sep 06 08:33:16.974 INFO kablam! | Sep 06 08:33:16.974 INFO kablam! = help: add #![feature(const_fn_union)] to the crate attributes to enable Sep 06 08:33:16.974 INFO kablam! Sep 06 08:33:17.019 INFO kablam! error[E0308]: mismatched types Sep 06 08:33:17.019 INFO kablam! --> src/lib.rs:33:13 Sep 06 08:33:17.019 INFO kablam! | Sep 06 08:33:17.019 INFO kablam! 33 | / &$crate::concat::< Sep 06 08:33:17.019 INFO kablam! 34 | | [u8; $a.len()], Sep 06 08:33:17.019 INFO kablam! 35 | | [u8; $b.len()], Sep 06 08:33:17.019 INFO kablam! 36 | | [u8; $a.len() + $b.len()], Sep 06 08:33:17.019 INFO kablam! 37 | | >($a.as_bytes(), $b.as_bytes()) Sep 06 08:33:17.019 INFO kablam! | |___________________________________________^ expected slice, found array Sep 06 08:33:17.019 INFO kablam! ... Sep 06 08:33:17.019 INFO kablam! 57 | const GREETING: &str = const_concat!(SALUTATION, ", ", TARGET, "!"); Sep 06 08:33:17.019 INFO kablam! | -------------------------------------------- in this macro invocation Sep 06 08:33:17.019 INFO kablam! | Sep 06 08:33:17.019 INFO kablam! = note: expected type `&'static [u8]` Sep 06 08:33:17.019 INFO kablam! found type `&[u8; _]` Sep 06 08:33:17.019 INFO kablam! Sep 06 08:33:17.029 INFO kablam! error: aborting due to 2 previous errors Sep 06 08:33:17.029 INFO kablam! Sep 06 08:33:17.029 INFO kablam! Some errors occurred: E0308, E0658. Sep 06 08:33:17.029 INFO kablam! For more information about an error, try `rustc --explain E0308`. Sep 06 08:33:17.037 INFO kablam! error: Could not compile `const-concat`. Sep 06 08:33:17.037 INFO kablam! Sep 06 08:33:17.037 INFO kablam! To learn more, run the command again with --verbose. Sep 06 08:33:17.039 INFO kablam! su: No module specific data is present Sep 06 08:33:17.760 INFO running `"docker" "rm" "-f" "142db288064802bbdf846c0a61d7dabaa5a40aa81d51f7dc8bbf6533316284e3"` Sep 06 08:33:17.867 INFO blam! 142db288064802bbdf846c0a61d7dabaa5a40aa81d51f7dc8bbf6533316284e3