[INFO] fetching crate cppvtbl 0.2.1... [INFO] checking cppvtbl-0.2.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate cppvtbl 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cppvtbl 0.2.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cppvtbl 0.2.1 [INFO] finished tweaking crates.io crate cppvtbl 0.2.1 [INFO] tweaked toml for crates.io crate cppvtbl 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cppvtbl-macros v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afcea2f1ef70bf064adebba1a9cc06c9b59c6f90a7ee51422d4d8a9ff5dadae5 [INFO] running `Command { std: "docker" "start" "-a" "afcea2f1ef70bf064adebba1a9cc06c9b59c6f90a7ee51422d4d8a9ff5dadae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afcea2f1ef70bf064adebba1a9cc06c9b59c6f90a7ee51422d4d8a9ff5dadae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afcea2f1ef70bf064adebba1a9cc06c9b59c6f90a7ee51422d4d8a9ff5dadae5", kill_on_drop: false }` [INFO] [stdout] afcea2f1ef70bf064adebba1a9cc06c9b59c6f90a7ee51422d4d8a9ff5dadae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd675097851a86ba38e743f2fc916a016c49c2a24fe0b97f57b4d3cfdde6c050 [INFO] running `Command { std: "docker" "start" "-a" "cd675097851a86ba38e743f2fc916a016c49c2a24fe0b97f57b4d3cfdde6c050", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cppvtbl-macros v0.2.1 [INFO] [stderr] Checking cppvtbl v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] running `Command { std: "docker" "inspect" "cd675097851a86ba38e743f2fc916a016c49c2a24fe0b97f57b4d3cfdde6c050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd675097851a86ba38e743f2fc916a016c49c2a24fe0b97f57b4d3cfdde6c050", kill_on_drop: false }` [INFO] [stdout] cd675097851a86ba38e743f2fc916a016c49c2a24fe0b97f57b4d3cfdde6c050 [INFO] checking cppvtbl-0.2.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate cppvtbl 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cppvtbl 0.2.1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cppvtbl 0.2.1 [INFO] finished tweaking crates.io crate cppvtbl 0.2.1 [INFO] tweaked toml for crates.io crate cppvtbl 0.2.1 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" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac84a4df1bb2e43c809a72a03e8f6a8a3b3b61aed3e01d85c0e060fe831e5034 [INFO] running `Command { std: "docker" "start" "-a" "ac84a4df1bb2e43c809a72a03e8f6a8a3b3b61aed3e01d85c0e060fe831e5034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac84a4df1bb2e43c809a72a03e8f6a8a3b3b61aed3e01d85c0e060fe831e5034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac84a4df1bb2e43c809a72a03e8f6a8a3b3b61aed3e01d85c0e060fe831e5034", kill_on_drop: false }` [INFO] [stdout] ac84a4df1bb2e43c809a72a03e8f6a8a3b3b61aed3e01d85c0e060fe831e5034 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f9f08b1c84d0f4957a80576c3ab32d5bfd3981d0de832dfa9e506c3c5c7c90a [INFO] running `Command { std: "docker" "start" "-a" "9f9f08b1c84d0f4957a80576c3ab32d5bfd3981d0de832dfa9e506c3c5c7c90a", 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] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cppvtbl-macros v0.2.1 [INFO] [stderr] Checking cppvtbl v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Migrating tests/basic.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/generics.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `basic` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/basic.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> tests/basic.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | { unsafe #[vtable]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::pin::Pin::<&'a mut T>::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_PrintableVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 15 | #[impl_vtables(Operator, Printable)] [INFO] [stdout] | ------------------------------------ in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_PrintableVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 17 | #[impl_vtables(Operator)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | #[impl_vtables(Operator)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 17 | #[impl_vtables(Operator)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 17 | #[impl_vtables(Operator)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::pin::Pin::<&'a mut T>::get_unchecked_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 17 | #[impl_vtables(Operator)] [INFO] [stdout] | ------------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_OperatorVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `generics` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/generics.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> tests/generics.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | { unsafe #[vtable]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/generics.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 8 | #[impl_vtables(Test)] [INFO] [stdout] | --------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> tests/generics.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | #[impl_vtables(Test)] [INFO] [stdout] | --------------------- in this procedural macro expansion [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_TestVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> tests/generics.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 8 | #[impl_vtables(Test)] [INFO] [stdout] | --------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `unsafe_impl_TestVtable` which comes from the expansion of the attribute macro `impl_vtables` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.38s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to parse manifest at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] feature `macros` includes `cppvtbl-macros` which is neither a dependency nor another feature [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" "9f9f08b1c84d0f4957a80576c3ab32d5bfd3981d0de832dfa9e506c3c5c7c90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9f08b1c84d0f4957a80576c3ab32d5bfd3981d0de832dfa9e506c3c5c7c90a", kill_on_drop: false }` [INFO] [stdout] 9f9f08b1c84d0f4957a80576c3ab32d5bfd3981d0de832dfa9e506c3c5c7c90a