[INFO] fetching crate linkme 0.3.17... [INFO] checking linkme-0.3.17 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate linkme 0.3.17 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate linkme 0.3.17 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 linkme 0.3.17 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate linkme 0.3.17 [INFO] tweaked toml for crates.io crate linkme 0.3.17 written to /workspace/builds/worker-2-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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linkme-impl v0.3.17 [INFO] [stderr] Downloaded dissimilar v1.0.7 [INFO] [stderr] Downloaded basic-toml v0.1.8 [INFO] [stderr] Downloaded trybuild v1.0.89 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef4d045a46bb23aafa3921ef58fc1154d9e16361fdad114b081311f464d1d77f [INFO] running `Command { std: "docker" "start" "-a" "ef4d045a46bb23aafa3921ef58fc1154d9e16361fdad114b081311f464d1d77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef4d045a46bb23aafa3921ef58fc1154d9e16361fdad114b081311f464d1d77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4d045a46bb23aafa3921ef58fc1154d9e16361fdad114b081311f464d1d77f", kill_on_drop: false }` [INFO] [stdout] ef4d045a46bb23aafa3921ef58fc1154d9e16361fdad114b081311f464d1d77f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8e1e312f14c159cc98a63c4d3973ef547871c59ebc8d4926b91c213dea6a9d6 [INFO] running `Command { std: "docker" "start" "-a" "b8e1e312f14c159cc98a63c4d3973ef547871c59ebc8d4926b91c213dea6a9d6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Compiling linkme-impl v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking linkme v0.3.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/distributed_slice.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | struct NonCopy(i32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 | struct NonCopy(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "b8e1e312f14c159cc98a63c4d3973ef547871c59ebc8d4926b91c213dea6a9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e1e312f14c159cc98a63c4d3973ef547871c59ebc8d4926b91c213dea6a9d6", kill_on_drop: false }` [INFO] [stdout] b8e1e312f14c159cc98a63c4d3973ef547871c59ebc8d4926b91c213dea6a9d6 [INFO] checking linkme-0.3.17 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate linkme 0.3.17 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate linkme 0.3.17 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 linkme 0.3.17 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate linkme 0.3.17 [INFO] tweaked toml for crates.io crate linkme 0.3.17 written to /workspace/builds/worker-2-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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b08c3a29fd80d52e791a28147b377b6afa7a5a9a7576faf90dc2e7678134b3f8 [INFO] running `Command { std: "docker" "start" "-a" "b08c3a29fd80d52e791a28147b377b6afa7a5a9a7576faf90dc2e7678134b3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b08c3a29fd80d52e791a28147b377b6afa7a5a9a7576faf90dc2e7678134b3f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08c3a29fd80d52e791a28147b377b6afa7a5a9a7576faf90dc2e7678134b3f8", kill_on_drop: false }` [INFO] [stdout] b08c3a29fd80d52e791a28147b377b6afa7a5a9a7576faf90dc2e7678134b3f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 158990f4cd1b295ba17a9add4b8f0a3ee6e36af7b175c74078395e426c3d6ee8 [INFO] running `Command { std: "docker" "start" "-a" "158990f4cd1b295ba17a9add4b8f0a3ee6e36af7b175c74078395e426c3d6ee8", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Compiling linkme-impl v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking linkme v0.3.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/distributed_slice.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | struct NonCopy(i32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 | struct NonCopy(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `macro_rules!` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/distributed_slice.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | #[distributed_slice] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_empty` [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 `distributed_slice` (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/distributed_slice.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[distributed_slice] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_non_copy` [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 `distributed_slice` (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/distributed_slice.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[distributed_slice] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_interior_mutable` [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 `distributed_slice` (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/distributed_slice.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[distributed_slice] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_elided_lifetime` [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 `distributed_slice` (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/distributed_slice.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | #[distributed_slice] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: reove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_legacy_syntax` [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 `distributed_slice` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linkme` (test "distributed_slice") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "158990f4cd1b295ba17a9add4b8f0a3ee6e36af7b175c74078395e426c3d6ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158990f4cd1b295ba17a9add4b8f0a3ee6e36af7b175c74078395e426c3d6ee8", kill_on_drop: false }` [INFO] [stdout] 158990f4cd1b295ba17a9add4b8f0a3ee6e36af7b175c74078395e426c3d6ee8