[INFO] fetching crate metastruct_macro 0.1.3... [INFO] checking metastruct_macro-0.1.3 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate metastruct_macro 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate metastruct_macro 0.1.3 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate metastruct_macro 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate metastruct_macro 0.1.3 [INFO] tweaked toml for crates.io crate metastruct_macro 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding darling v0.13.4 (available: v0.20.10) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.89) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2da6eb6f59355bd1600322fd14ebdf7f34597ed634bd1d84652480a0db59667e [INFO] running `Command { std: "docker" "start" "-a" "2da6eb6f59355bd1600322fd14ebdf7f34597ed634bd1d84652480a0db59667e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2da6eb6f59355bd1600322fd14ebdf7f34597ed634bd1d84652480a0db59667e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da6eb6f59355bd1600322fd14ebdf7f34597ed634bd1d84652480a0db59667e", kill_on_drop: false }` [INFO] [stdout] 2da6eb6f59355bd1600322fd14ebdf7f34597ed634bd1d84652480a0db59667e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d419d4da3f0d25c3be0298e063dc5d651eaf12a108c628e5ffd9766d4465602 [INFO] running `Command { std: "docker" "start" "-a" "1d419d4da3f0d25c3be0298e063dc5d651eaf12a108c628e5ffd9766d4465602", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking darling v0.13.4 [INFO] [stderr] Compiling metastruct_macro v0.1.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/lifetime.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/exclude_from_group.rs from 2021 edition to 2024 [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/lifetime.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 11 | map_foo_fields!(&'a _, foo, |_, field| *total += *field as u64); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `map_foo_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 22 | / only_group1!(foo, |_, x| { [INFO] [stdout] 23 | | count += 1; [INFO] [stdout] 24 | | total += *x [INFO] [stdout] 25 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `only_group1` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 32 | / only_group2!(foo, |_, x| { [INFO] [stdout] 33 | | count += 1; [INFO] [stdout] 34 | | total += *x [INFO] [stdout] 35 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `only_group2` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 42 | / both_groups!(foo, |_, x| { [INFO] [stdout] 43 | | count += 1; [INFO] [stdout] 44 | | total += *x [INFO] [stdout] 45 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `both_groups` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 52 | / neither_group!(foo, |_, x| { [INFO] [stdout] 53 | | count += 1; [INFO] [stdout] 54 | | total += *x [INFO] [stdout] 55 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `neither_group` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/bimapping.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.67s [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/bimapping.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[metastruct(bimappings( [INFO] [stdout] 4 | | bimap_foo(other_type = "Foo", self_mutable, other_by_value), [INFO] [stdout] 5 | | bimap_foo_into_foo(other_type = "IntoFoo", self_mutable, other_by_value) [INFO] [stdout] 6 | | ))] [INFO] [stdout] | |___^ [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] 8 | pub struct Foo { [INFO] [stdout] | - help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 43 | / bimap_foo!(&mut x_foo, y_foo.clone(), |_, x, y| { [INFO] [stdout] 44 | | *x = y; [INFO] [stdout] 45 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `bimap_foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/bimapping.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[metastruct(bimappings( [INFO] [stdout] 4 | | bimap_foo(other_type = "Foo", self_mutable, other_by_value), [INFO] [stdout] 5 | | bimap_foo_into_foo(other_type = "IntoFoo", self_mutable, other_by_value) [INFO] [stdout] 6 | | ))] [INFO] [stdout] | |___^ [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] 8 | pub struct Foo { [INFO] [stdout] | - help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 67 | / bimap_foo_into_foo!(&mut x_foo, y_foo, |_, x, y| { [INFO] [stdout] 68 | | set_from(x, y); [INFO] [stdout] 69 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: this warning originates in the macro `bimap_foo_into_foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling metastruct_macro v0.1.3 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 22 | / only_group1!(foo, |_, x| { [INFO] [stdout] 23 | | count += 1; [INFO] [stdout] 24 | | total += *x [INFO] [stdout] 25 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `only_group1` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 32 | / only_group2!(foo, |_, x| { [INFO] [stdout] 33 | | count += 1; [INFO] [stdout] 34 | | total += *x [INFO] [stdout] 35 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `only_group2` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 42 | / both_groups!(foo, |_, x| { [INFO] [stdout] 43 | | count += 1; [INFO] [stdout] 44 | | total += *x [INFO] [stdout] 45 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `both_groups` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/lifetime.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 11 | map_foo_fields!(&'a _, foo, |_, field| *total += *field as u64); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `map_foo_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/bimapping.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[metastruct(bimappings( [INFO] [stdout] 4 | | bimap_foo(other_type = "Foo", self_mutable, other_by_value), [INFO] [stdout] 5 | | bimap_foo_into_foo(other_type = "IntoFoo", self_mutable, other_by_value) [INFO] [stdout] 6 | | ))] [INFO] [stdout] | |___^ [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] 8 | pub struct Foo { [INFO] [stdout] | - help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 43 | / bimap_foo!(&mut x_foo, y_foo.clone(), |_, x, y| { [INFO] [stdout] 44 | | *x = y; [INFO] [stdout] 45 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bimap_foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/exclude_from_group.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Foo { [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] ... [INFO] [stdout] 52 | / neither_group!(foo, |_, x| { [INFO] [stdout] 53 | | count += 1; [INFO] [stdout] 54 | | total += *x [INFO] [stdout] 55 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `neither_group` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/bimapping.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[metastruct(bimappings( [INFO] [stdout] 4 | | bimap_foo(other_type = "Foo", self_mutable, other_by_value), [INFO] [stdout] 5 | | bimap_foo_into_foo(other_type = "IntoFoo", self_mutable, other_by_value) [INFO] [stdout] 6 | | ))] [INFO] [stdout] | |___^ [INFO] [stdout] 7 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] 8 | pub struct Foo { [INFO] [stdout] | - help: desugar the match ergonomics: `&mut` [INFO] [stdout] ... [INFO] [stdout] 67 | / bimap_foo_into_foo!(&mut x_foo, y_foo, |_, x, y| { [INFO] [stdout] 68 | | set_from(x, y); [INFO] [stdout] 69 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bimap_foo_into_foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metastruct_macro` (test "lifetime") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `metastruct_macro` (test "bimapping") due to 2 previous errors [INFO] [stderr] error: could not compile `metastruct_macro` (test "exclude_from_group") due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1d419d4da3f0d25c3be0298e063dc5d651eaf12a108c628e5ffd9766d4465602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d419d4da3f0d25c3be0298e063dc5d651eaf12a108c628e5ffd9766d4465602", kill_on_drop: false }` [INFO] [stdout] 1d419d4da3f0d25c3be0298e063dc5d651eaf12a108c628e5ffd9766d4465602