[INFO] cloning repository https://github.com/CertainLach/cppvtbl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CertainLach/cppvtbl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fcppvtbl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fcppvtbl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf2b5feabc1749611a2170cef380d80796c65abb [INFO] checking CertainLach/cppvtbl-rs against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fcppvtbl-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CertainLach/cppvtbl-rs on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CertainLach/cppvtbl-rs [INFO] finished tweaking git repo https://github.com/CertainLach/cppvtbl-rs [INFO] tweaked toml for git repo https://github.com/CertainLach/cppvtbl-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CertainLach/cppvtbl-rs 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d14b016165c5c379de0c9ca7ecc96571405361d6e19f8b0a63ae193cba3e5ad [INFO] running `Command { std: "docker" "start" "-a" "4d14b016165c5c379de0c9ca7ecc96571405361d6e19f8b0a63ae193cba3e5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d14b016165c5c379de0c9ca7ecc96571405361d6e19f8b0a63ae193cba3e5ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d14b016165c5c379de0c9ca7ecc96571405361d6e19f8b0a63ae193cba3e5ad", kill_on_drop: false }` [INFO] [stdout] 4d14b016165c5c379de0c9ca7ecc96571405361d6e19f8b0a63ae193cba3e5ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d81b762d7c8fdcd613b7e4789f25296d780979414232fcc4a968f58ac60a59c5 [INFO] running `Command { std: "docker" "start" "-a" "d81b762d7c8fdcd613b7e4789f25296d780979414232fcc4a968f58ac60a59c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking cppvtbl-macros v0.2.1 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking cppvtbl v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.10s [INFO] running `Command { std: "docker" "inspect" "d81b762d7c8fdcd613b7e4789f25296d780979414232fcc4a968f58ac60a59c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81b762d7c8fdcd613b7e4789f25296d780979414232fcc4a968f58ac60a59c5", kill_on_drop: false }` [INFO] [stdout] d81b762d7c8fdcd613b7e4789f25296d780979414232fcc4a968f58ac60a59c5 [INFO] checking CertainLach/cppvtbl-rs against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2Fcppvtbl-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CertainLach/cppvtbl-rs on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CertainLach/cppvtbl-rs [INFO] finished tweaking git repo https://github.com/CertainLach/cppvtbl-rs [INFO] tweaked toml for git repo https://github.com/CertainLach/cppvtbl-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CertainLach/cppvtbl-rs 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d731d20e518ad720accd92620202046453111af39d7a6405a7a997d51036ed0 [INFO] running `Command { std: "docker" "start" "-a" "9d731d20e518ad720accd92620202046453111af39d7a6405a7a997d51036ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d731d20e518ad720accd92620202046453111af39d7a6405a7a997d51036ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d731d20e518ad720accd92620202046453111af39d7a6405a7a997d51036ed0", kill_on_drop: false }` [INFO] [stdout] 9d731d20e518ad720accd92620202046453111af39d7a6405a7a997d51036ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77cb861ecd573efecfefeab3c68b78b979c7e3d31b2cbbb581c7c4424bbdefa [INFO] running `Command { std: "docker" "start" "-a" "d77cb861ecd573efecfefeab3c68b78b979c7e3d31b2cbbb581c7c4424bbdefa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating macros/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Checking cppvtbl-macros v0.2.1 (/tmp/fixit/macros) [INFO] [stderr] Migrating macros/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking cppvtbl v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [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[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::pin::Pin::<&'a mut T>::get_unchecked_mut` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::pin::Pin::<&'a mut T>::get_unchecked_mut` is unsafe and requires unsafe block [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] [stdout] For more information about this error, try `rustc --explain E0133`. [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[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [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[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [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] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.14s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cppvtbl v0.2.1 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "d77cb861ecd573efecfefeab3c68b78b979c7e3d31b2cbbb581c7c4424bbdefa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77cb861ecd573efecfefeab3c68b78b979c7e3d31b2cbbb581c7c4424bbdefa", kill_on_drop: false }` [INFO] [stdout] d77cb861ecd573efecfefeab3c68b78b979c7e3d31b2cbbb581c7c4424bbdefa