[INFO] fetching crate macro_pub 0.1.0... [INFO] testing macro_pub-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate macro_pub 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate macro_pub 0.1.0 [INFO] finished tweaking crates.io crate macro_pub 0.1.0 [INFO] tweaked toml for crates.io crate macro_pub 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate macro_pub 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate macro_pub 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xxhash-rust v0.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2443cf09c13dc9a48180b43e280771cc9bd9e2b788d9a4bfce1c60f032cddcbf [INFO] running `Command { std: "docker" "start" "-a" "2443cf09c13dc9a48180b43e280771cc9bd9e2b788d9a4bfce1c60f032cddcbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2443cf09c13dc9a48180b43e280771cc9bd9e2b788d9a4bfce1c60f032cddcbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2443cf09c13dc9a48180b43e280771cc9bd9e2b788d9a4bfce1c60f032cddcbf", kill_on_drop: false }` [INFO] [stdout] 2443cf09c13dc9a48180b43e280771cc9bd9e2b788d9a4bfce1c60f032cddcbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8acaa1682e8d6715ddc75558e691366fff096aeee9f7a6cee08650a827bafa8 [INFO] running `Command { std: "docker" "start" "-a" "d8acaa1682e8d6715ddc75558e691366fff096aeee9f7a6cee08650a827bafa8", kill_on_drop: false }` [INFO] [stderr] Compiling macro_pub v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling xxhash-rust v0.8.5 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_simple_decl_macro` [INFO] [stdout] --> src/lib.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | let has_simple_decl_macro = cfg!(has_simple_decl_macro); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_simple_decl_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_simple_decl_macro)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "d8acaa1682e8d6715ddc75558e691366fff096aeee9f7a6cee08650a827bafa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8acaa1682e8d6715ddc75558e691366fff096aeee9f7a6cee08650a827bafa8", kill_on_drop: false }` [INFO] [stdout] d8acaa1682e8d6715ddc75558e691366fff096aeee9f7a6cee08650a827bafa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73bdfbcf78d51cadd74ac52a87bf1f777dde566bce99d5ea6d99b9d0a86dd8f6 [INFO] running `Command { std: "docker" "start" "-a" "73bdfbcf78d51cadd74ac52a87bf1f777dde566bce99d5ea6d99b9d0a86dd8f6", kill_on_drop: false }` [INFO] [stderr] Compiling xxhash-rust v0.8.5 [INFO] [stderr] Compiling macro_pub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_simple_decl_macro` [INFO] [stdout] --> src/lib.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | let has_simple_decl_macro = cfg!(has_simple_decl_macro); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_simple_decl_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_simple_decl_macro)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_simple_decl_macro` [INFO] [stdout] --> src/lib.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | let has_simple_decl_macro = cfg!(has_simple_decl_macro); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_simple_decl_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_simple_decl_macro)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_simple_decl_macro` [INFO] [stdout] --> examples/attributes_work.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(has_simple_decl_macro, cfg_attr(doc, feature(decl_macro, rustc_attrs)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_simple_decl_macro)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_simple_decl_macro)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `macro` is experimental [INFO] [stdout] --> examples/attributes_work.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_pub] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] = warning: unstable syntax can change at any point in the future, causing a hard error! [INFO] [stdout] = note: for more information, see issue #65860 [INFO] [stdout] = note: this warning originates in the attribute macro `macro_pub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "73bdfbcf78d51cadd74ac52a87bf1f777dde566bce99d5ea6d99b9d0a86dd8f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73bdfbcf78d51cadd74ac52a87bf1f777dde566bce99d5ea6d99b9d0a86dd8f6", kill_on_drop: false }` [INFO] [stdout] 73bdfbcf78d51cadd74ac52a87bf1f777dde566bce99d5ea6d99b9d0a86dd8f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 293141c6da7117ad2c8957378f73ad38c7c01c15bdfa0c86e955f1cd5d06af34 [INFO] running `Command { std: "docker" "start" "-a" "293141c6da7117ad2c8957378f73ad38c7c01c15bdfa0c86e955f1cd5d06af34", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `has_simple_decl_macro` [INFO] [stderr] --> src/lib.rs:131:38 [INFO] [stderr] | [INFO] [stderr] 131 | let has_simple_decl_macro = cfg!(has_simple_decl_macro); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_simple_decl_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_simple_decl_macro)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `macro_pub` (lib) generated 1 warning [INFO] [stderr] warning: unexpected `cfg` condition name: `has_simple_decl_macro` [INFO] [stderr] --> examples/attributes_work.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(has_simple_decl_macro, cfg_attr(doc, feature(decl_macro, rustc_attrs)))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_simple_decl_macro)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_simple_decl_macro)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `macro` is experimental [INFO] [stderr] --> examples/attributes_work.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | #[macro_pub] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #39412 for more information [INFO] [stderr] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stderr] = warning: unstable syntax can change at any point in the future, causing a hard error! [INFO] [stderr] = note: for more information, see issue #65860 [INFO] [stderr] = note: this warning originates in the attribute macro `macro_pub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `macro_pub` (example "attributes_work") generated 2 warnings [INFO] [stderr] warning: `macro_pub` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/macro_pub-958cf16b0d0c873e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests macro_pub [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 111) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/lib.rs - (line 94) ... ok [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "293141c6da7117ad2c8957378f73ad38c7c01c15bdfa0c86e955f1cd5d06af34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293141c6da7117ad2c8957378f73ad38c7c01c15bdfa0c86e955f1cd5d06af34", kill_on_drop: false }` [INFO] [stdout] 293141c6da7117ad2c8957378f73ad38c7c01c15bdfa0c86e955f1cd5d06af34