[INFO] cloning repository https://github.com/fee1-dead/flatt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fee1-dead/flatt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fflatt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fflatt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 995c22fdc9ac0283f46d211f0ec97b684ddd68d1 [INFO] checking fee1-dead/flatt against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffee1-dead%2Fflatt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fee1-dead/flatt [INFO] finished tweaking git repo https://github.com/fee1-dead/flatt [INFO] tweaked toml for git repo https://github.com/fee1-dead/flatt written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fee1-dead/flatt on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fee1-dead/flatt already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/flatt_derive/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `flatt_derive` library target) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.10 [INFO] [stderr] Downloaded quote v1.0.29 [INFO] [stderr] Downloaded proc-macro2 v1.0.64 [INFO] [stderr] Downloaded syn v2.0.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dc7b7ade56833758457be2646c9c543da3fce6c65411783152de4a5e134366f [INFO] running `Command { std: "docker" "start" "-a" "1dc7b7ade56833758457be2646c9c543da3fce6c65411783152de4a5e134366f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dc7b7ade56833758457be2646c9c543da3fce6c65411783152de4a5e134366f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc7b7ade56833758457be2646c9c543da3fce6c65411783152de4a5e134366f", kill_on_drop: false }` [INFO] [stdout] 1dc7b7ade56833758457be2646c9c543da3fce6c65411783152de4a5e134366f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 142f02e379a137cf78341709a8e582cfe8ce118c51feff60c846fd72cf9e781a [INFO] running `Command { std: "docker" "start" "-a" "142f02e379a137cf78341709a8e582cfe8ce118c51feff60c846fd72cf9e781a", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/flatt_derive/Cargo.toml: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `flatt_derive` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Checking syn v2.0.24 [INFO] [stderr] Checking flatt_derive v0.1.0 (/opt/rustwide/workdir/flatt_derive) [INFO] [stderr] Checking flatt v0.1.0 (/opt/rustwide/workdir/flatt) [INFO] [stderr] Checking flattt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: meta-variables within meta-variable expressions must be referenced using a dollar sign [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: meta-variables within meta-variable expressions must be referenced using a dollar sign [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth [INFO] [stdout] --> src/main.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | generic_const_exprs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ManuallyDrop`, `align_of`, `offset_of`, and `size_of` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem::{align_of, offset_of, size_of, ManuallyDrop, MaybeUninit}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flatt::Inaccessible` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use flatt::Inaccessible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `take_te_ref` [INFO] [stdout] --> src/main.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | macro_rules! take_te_ref { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `Bar` [INFO] [stdout] --> src/main.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | macro_rules! Bar { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | offset_of, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | maybe_uninit_uninit_array [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: meta-variables within meta-variable expressions must be referenced using a dollar sign [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: meta-variables within meta-variable expressions must be referenced using a dollar sign [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth [INFO] [stdout] --> src/main.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth [INFO] [stdout] --> src/main.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): TypeOp` is not satisfied [INFO] [stdout] --> src/main.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | ([$ty1:ty, $($ty:ty),*$(,)?]$([])?) => { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 129 | | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] 130 | | }; [INFO] [stdout] | |_____^ the trait `TypeOp` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TypeOp`: [INFO] [stdout] Choose [INFO] [stdout] Choose [INFO] [stdout] Min [INFO] [stdout] MinGreaterThan [INFO] [stdout] TypeVal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): TypeOp` is not satisfied [INFO] [stdout] --> src/main.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | ([$ty1:ty, $($ty:ty),*$(,)?][][$e:expr]) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 132 | | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] 133 | | }; [INFO] [stdout] | |_____^ the trait `TypeOp` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TypeOp`: [INFO] [stdout] Choose [INFO] [stdout] Choose [INFO] [stdout] Min [INFO] [stdout] MinGreaterThan [INFO] [stdout] TypeVal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | generic_const_exprs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ManuallyDrop`, `align_of`, `offset_of`, and `size_of` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem::{align_of, offset_of, size_of, ManuallyDrop, MaybeUninit}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flatt::Inaccessible` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use flatt::Inaccessible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `take_te_ref` [INFO] [stdout] --> src/main.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | macro_rules! take_te_ref { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `Bar` [INFO] [stdout] --> src/main.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | macro_rules! Bar { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | offset_of, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | maybe_uninit_uninit_array [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_ref` [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let x_ref = &*Guard::new( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn takes(mut x: Hihi) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): TypeOp` is not satisfied [INFO] [stdout] --> src/main.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | ([$ty1:ty, $($ty:ty),*$(,)?]$([])?) => { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 129 | | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] 130 | | }; [INFO] [stdout] | |_____^ the trait `TypeOp` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TypeOp`: [INFO] [stdout] Choose [INFO] [stdout] Choose [INFO] [stdout] Min [INFO] [stdout] MinGreaterThan [INFO] [stdout] TypeVal [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flattt` (bin "flattt") due to 7 previous errors; 8 warnings emitted [INFO] [stdout] error[E0277]: the trait bound `(): TypeOp` is not satisfied [INFO] [stdout] --> src/main.rs:131:49 [INFO] [stdout] | [INFO] [stdout] 131 | ([$ty1:ty, $($ty:ty),*$(,)?][][$e:expr]) => { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 132 | | $(${ignore(ty)} as TypeOp>::Result)* [INFO] [stdout] 133 | | }; [INFO] [stdout] | |_____^ the trait `TypeOp` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TypeOp`: [INFO] [stdout] Choose [INFO] [stdout] Choose [INFO] [stdout] Min [INFO] [stdout] MinGreaterThan [INFO] [stdout] TypeVal [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `x_ref` [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let x_ref = &*Guard::new( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn takes(mut x: Hihi) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flattt` (bin "flattt" test) due to 7 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "142f02e379a137cf78341709a8e582cfe8ce118c51feff60c846fd72cf9e781a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142f02e379a137cf78341709a8e582cfe8ce118c51feff60c846fd72cf9e781a", kill_on_drop: false }` [INFO] [stdout] 142f02e379a137cf78341709a8e582cfe8ce118c51feff60c846fd72cf9e781a