[INFO] fetching crate macro_pub 0.1.0... [INFO] testing macro_pub-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate macro_pub 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate macro_pub 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fab9f53b611da1beacc2d4c9b38b627db0d0a39fe65e483a646c87898fef473b [INFO] running `Command { std: "docker" "start" "-a" "fab9f53b611da1beacc2d4c9b38b627db0d0a39fe65e483a646c87898fef473b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fab9f53b611da1beacc2d4c9b38b627db0d0a39fe65e483a646c87898fef473b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab9f53b611da1beacc2d4c9b38b627db0d0a39fe65e483a646c87898fef473b", kill_on_drop: false }` [INFO] [stdout] fab9f53b611da1beacc2d4c9b38b627db0d0a39fe65e483a646c87898fef473b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d1d60206db9aab36b7e47cf57a00d8ed0f982e25e4050b1257fba744f402f4e [INFO] running `Command { std: "docker" "start" "-a" "1d1d60206db9aab36b7e47cf57a00d8ed0f982e25e4050b1257fba744f402f4e", 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.95s [INFO] running `Command { std: "docker" "inspect" "1d1d60206db9aab36b7e47cf57a00d8ed0f982e25e4050b1257fba744f402f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1d60206db9aab36b7e47cf57a00d8ed0f982e25e4050b1257fba744f402f4e", kill_on_drop: false }` [INFO] [stdout] 1d1d60206db9aab36b7e47cf57a00d8ed0f982e25e4050b1257fba744f402f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee908e8ca9e3250a4c4864e4dfdbb0555a8df7dbb9f81e648e5edbcaea3d1aaa [INFO] running `Command { std: "docker" "start" "-a" "ee908e8ca9e3250a4c4864e4dfdbb0555a8df7dbb9f81e648e5edbcaea3d1aaa", 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-28; 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 0.85s [INFO] running `Command { std: "docker" "inspect" "ee908e8ca9e3250a4c4864e4dfdbb0555a8df7dbb9f81e648e5edbcaea3d1aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee908e8ca9e3250a4c4864e4dfdbb0555a8df7dbb9f81e648e5edbcaea3d1aaa", kill_on_drop: false }` [INFO] [stdout] ee908e8ca9e3250a4c4864e4dfdbb0555a8df7dbb9f81e648e5edbcaea3d1aaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18b909e4f9c86d0bfba6bfd9bc8a4cdad976dd1e457d4bbeb0b574a3862c9e52 [INFO] running `Command { std: "docker" "start" "-a" "18b909e4f9c86d0bfba6bfd9bc8a4cdad976dd1e457d4bbeb0b574a3862c9e52", 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: `macro_pub` (lib test) generated 1 warning (1 duplicate) [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-28; 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [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 94) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "18b909e4f9c86d0bfba6bfd9bc8a4cdad976dd1e457d4bbeb0b574a3862c9e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b909e4f9c86d0bfba6bfd9bc8a4cdad976dd1e457d4bbeb0b574a3862c9e52", kill_on_drop: false }` [INFO] [stdout] 18b909e4f9c86d0bfba6bfd9bc8a4cdad976dd1e457d4bbeb0b574a3862c9e52