Sep 02 00:04:03.179 INFO checking const-concat-0.1.0 against master#1114ab684fbad001c4e580326d8eb4d8c4e917d3 for pr-53831 Sep 02 00:04:03.179 INFO running: cargo +1114ab684fbad001c4e580326d8eb4d8c4e917d3-alt check --frozen --all --all-targets Sep 02 00:04:03.179 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-53831/master#1114ab684fbad001c4e580326d8eb4d8c4e917d3:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53831/worker-3/master#1114ab684fbad001c4e580326d8eb4d8c4e917d3:/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 +1114ab684fbad001c4e580326d8eb4d8c4e917d3-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Sep 02 00:04:03.325 INFO blam! 298b7d903e50fc5831a13045bc55e14c21e9f159ad8f9a3778eee6c63d732177 Sep 02 00:04:03.329 INFO running `"docker" "start" "-a" "298b7d903e50fc5831a13045bc55e14c21e9f159ad8f9a3778eee6c63d732177"` Sep 02 00:04:04.016 INFO kablam! Checking const-concat v0.1.0 (file:///source) Sep 02 00:04:04.567 INFO kablam! error[E0658]: unions in const fn are unstable (see issue #51909) Sep 02 00:04:04.567 INFO kablam! --> src/lib.rs:10:5 Sep 02 00:04:04.567 INFO kablam! | Sep 02 00:04:04.568 INFO kablam! 10 | Transmute { from }.to Sep 02 00:04:04.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Sep 02 00:04:04.568 INFO kablam! | Sep 02 00:04:04.568 INFO kablam! = help: add #![feature(const_fn_union)] to the crate attributes to enable Sep 02 00:04:04.568 INFO kablam! Sep 02 00:04:04.569 INFO kablam! error: aborting due to previous error Sep 02 00:04:04.569 INFO kablam! Sep 02 00:04:04.569 INFO kablam! For more information about this error, try `rustc --explain E0658`. Sep 02 00:04:04.574 INFO kablam! error: Could not compile `const-concat`. Sep 02 00:04:04.574 INFO kablam! warning: build failed, waiting for other jobs to finish... Sep 02 00:04:04.721 INFO kablam! error[E0658]: unions in const fn are unstable (see issue #51909) Sep 02 00:04:04.721 INFO kablam! --> src/lib.rs:10:5 Sep 02 00:04:04.721 INFO kablam! | Sep 02 00:04:04.721 INFO kablam! 10 | Transmute { from }.to Sep 02 00:04:04.721 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Sep 02 00:04:04.721 INFO kablam! | Sep 02 00:04:04.721 INFO kablam! = help: add #![feature(const_fn_union)] to the crate attributes to enable Sep 02 00:04:04.721 INFO kablam! Sep 02 00:04:04.802 INFO kablam! error[E0308]: mismatched types Sep 02 00:04:04.802 INFO kablam! --> src/lib.rs:33:13 Sep 02 00:04:04.802 INFO kablam! | Sep 02 00:04:04.802 INFO kablam! 33 | / &$crate::concat::< Sep 02 00:04:04.802 INFO kablam! 34 | | [u8; $a.len()], Sep 02 00:04:04.802 INFO kablam! 35 | | [u8; $b.len()], Sep 02 00:04:04.802 INFO kablam! 36 | | [u8; $a.len() + $b.len()], Sep 02 00:04:04.802 INFO kablam! 37 | | >($a.as_bytes(), $b.as_bytes()) Sep 02 00:04:04.802 INFO kablam! | |___________________________________________^ expected slice, found array Sep 02 00:04:04.803 INFO kablam! ... Sep 02 00:04:04.803 INFO kablam! 57 | const GREETING: &str = const_concat!(SALUTATION, ", ", TARGET, "!"); Sep 02 00:04:04.803 INFO kablam! | -------------------------------------------- in this macro invocation Sep 02 00:04:04.803 INFO kablam! | Sep 02 00:04:04.803 INFO kablam! = note: expected type `&'static [u8]` Sep 02 00:04:04.803 INFO kablam! found type `&[u8; _]` Sep 02 00:04:04.803 INFO kablam! Sep 02 00:04:04.817 INFO kablam! error: aborting due to 2 previous errors Sep 02 00:04:04.817 INFO kablam! Sep 02 00:04:04.817 INFO kablam! Some errors occurred: E0308, E0658. Sep 02 00:04:04.817 INFO kablam! For more information about an error, try `rustc --explain E0308`. Sep 02 00:04:04.826 INFO kablam! error: Could not compile `const-concat`. Sep 02 00:04:04.826 INFO kablam! Sep 02 00:04:04.826 INFO kablam! To learn more, run the command again with --verbose. Sep 02 00:04:04.827 INFO kablam! su: No module specific data is present Sep 02 00:04:05.376 INFO running `"docker" "rm" "-f" "298b7d903e50fc5831a13045bc55e14c21e9f159ad8f9a3778eee6c63d732177"` Sep 02 00:04:05.474 INFO blam! 298b7d903e50fc5831a13045bc55e14c21e9f159ad8f9a3778eee6c63d732177