[INFO] fetching crate vtable 0.1.11... [INFO] checking vtable-0.1.11 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate vtable 0.1.11 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate vtable 0.1.11 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vtable 0.1.11 [INFO] finished tweaking crates.io crate vtable 0.1.11 [INFO] tweaked toml for crates.io crate vtable 0.1.11 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 897c0a97cbbf06efb449799881aceabf6d0e53f527e300e1854c9569bf049a70 [INFO] running `Command { std: "docker" "start" "-a" "897c0a97cbbf06efb449799881aceabf6d0e53f527e300e1854c9569bf049a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "897c0a97cbbf06efb449799881aceabf6d0e53f527e300e1854c9569bf049a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "897c0a97cbbf06efb449799881aceabf6d0e53f527e300e1854c9569bf049a70", kill_on_drop: false }` [INFO] [stdout] 897c0a97cbbf06efb449799881aceabf6d0e53f527e300e1854c9569bf049a70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a3fc78f88012ed618067c515819485dc90d5604a6c7608e936c5a9cfc2e537 [INFO] running `Command { std: "docker" "start" "-a" "42a3fc78f88012ed618067c515819485dc90d5604a6c7608e936c5a9cfc2e537", kill_on_drop: false }` [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling const-field-offset-macro v0.1.3 [INFO] [stderr] Compiling vtable-macro v0.1.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking const-field-offset v0.1.3 [INFO] [stderr] Checking vtable v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> tests/test_vrc.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, const_field_offset::FieldOffsets)] [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | e: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | x: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | foo: Rc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 ~ e: (), [INFO] [stdout] 20 ~ x: (), [INFO] [stdout] 21 ~ foo: (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/test_vrc.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, const_field_offset::FieldOffsets)] [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | some: SomeStruct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | another_struct: SomeStruct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 159 ~ some: (), [INFO] [stdout] 160 ~ another_struct: (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "42a3fc78f88012ed618067c515819485dc90d5604a6c7608e936c5a9cfc2e537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a3fc78f88012ed618067c515819485dc90d5604a6c7608e936c5a9cfc2e537", kill_on_drop: false }` [INFO] [stdout] 42a3fc78f88012ed618067c515819485dc90d5604a6c7608e936c5a9cfc2e537 [INFO] checking vtable-0.1.11 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate vtable 0.1.11 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate vtable 0.1.11 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vtable 0.1.11 [INFO] finished tweaking crates.io crate vtable 0.1.11 [INFO] tweaked toml for crates.io crate vtable 0.1.11 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8692f518e002562717896364d34ef691d2891a6076dfb35fd5112b53a322007 [INFO] running `Command { std: "docker" "start" "-a" "f8692f518e002562717896364d34ef691d2891a6076dfb35fd5112b53a322007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8692f518e002562717896364d34ef691d2891a6076dfb35fd5112b53a322007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8692f518e002562717896364d34ef691d2891a6076dfb35fd5112b53a322007", kill_on_drop: false }` [INFO] [stdout] f8692f518e002562717896364d34ef691d2891a6076dfb35fd5112b53a322007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d15e9827bde9b544e95fda1513b7422c1adac2e4ff0c6d0e4eda4d15403dd543 [INFO] running `Command { std: "docker" "start" "-a" "d15e9827bde9b544e95fda1513b7422c1adac2e4ff0c6d0e4eda4d15403dd543", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling const-field-offset-macro v0.1.3 [INFO] [stderr] Compiling vtable-macro v0.1.10 [INFO] [stderr] Checking const-field-offset v0.1.3 [INFO] [stderr] Checking vtable v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> tests/test_vrc.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, const_field_offset::FieldOffsets)] [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | e: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | x: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | foo: Rc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 ~ e: (), [INFO] [stdout] 20 ~ x: (), [INFO] [stdout] 21 ~ foo: (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> tests/test_vrc.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, const_field_offset::FieldOffsets)] [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | some: SomeStruct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 160 | another_struct: SomeStruct, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 159 ~ some: (), [INFO] [stdout] 160 ~ another_struct: (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_vrc.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, const_field_offset::FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated constant `FIELD_OFFSETS` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `const_field_offset::FieldOffsets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_vrc.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Debug, const_field_offset::FieldOffsets)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current associated constant `FIELD_OFFSETS` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `const_field_offset::FieldOffsets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_vtable.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test3` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the attribute macro `vtable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/test_vtable.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | #[vtable] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `pin` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the attribute macro `vtable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vtable` (test "test_vrc") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vtable` (test "test_vtable") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "d15e9827bde9b544e95fda1513b7422c1adac2e4ff0c6d0e4eda4d15403dd543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15e9827bde9b544e95fda1513b7422c1adac2e4ff0c6d0e4eda4d15403dd543", kill_on_drop: false }` [INFO] [stdout] d15e9827bde9b544e95fda1513b7422c1adac2e4ff0c6d0e4eda4d15403dd543