[INFO] fetching crate you-can-build-macros 0.0.14... [INFO] testing you-can-build-macros-0.0.14 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate you-can-build-macros 0.0.14 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate you-can-build-macros 0.0.14 [INFO] finished tweaking crates.io crate you-can-build-macros 0.0.14 [INFO] tweaked toml for crates.io crate you-can-build-macros 0.0.14 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate you-can-build-macros 0.0.14 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9400d71ccc0a8096d09572ec557b11a05277eb6e238bdd79b04622709b929d61 [INFO] running `Command { std: "docker" "start" "-a" "9400d71ccc0a8096d09572ec557b11a05277eb6e238bdd79b04622709b929d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9400d71ccc0a8096d09572ec557b11a05277eb6e238bdd79b04622709b929d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9400d71ccc0a8096d09572ec557b11a05277eb6e238bdd79b04622709b929d61", kill_on_drop: false }` [INFO] [stdout] 9400d71ccc0a8096d09572ec557b11a05277eb6e238bdd79b04622709b929d61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c6b043d806dd3f3e7abedd332293f3accd33d094c17ad9f619d2a6676d0cbf3 [INFO] running `Command { std: "docker" "start" "-a" "1c6b043d806dd3f3e7abedd332293f3accd33d094c17ad9f619d2a6676d0cbf3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling you-can-build-macros v0.0.14 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(rustc_is_unstable, feature(proc_macro_diagnostic, proc_macro_span))] [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` 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: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(rustc_is_unstable))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(rustc_is_unstable)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | if cfg!(rustc_is_unstable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(rustc_is_unstable)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.38s [INFO] running `Command { std: "docker" "inspect" "1c6b043d806dd3f3e7abedd332293f3accd33d094c17ad9f619d2a6676d0cbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c6b043d806dd3f3e7abedd332293f3accd33d094c17ad9f619d2a6676d0cbf3", kill_on_drop: false }` [INFO] [stdout] 1c6b043d806dd3f3e7abedd332293f3accd33d094c17ad9f619d2a6676d0cbf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82b0c71bb7a3fd7f65fd3a123cd9abbb4fcc7321b46578de02c802ca63ff318b [INFO] running `Command { std: "docker" "start" "-a" "82b0c71bb7a3fd7f65fd3a123cd9abbb4fcc7321b46578de02c802ca63ff318b", kill_on_drop: false }` [INFO] [stderr] Compiling you-can-build-macros v0.0.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(rustc_is_unstable, feature(proc_macro_diagnostic, proc_macro_span))] [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` 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: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(rustc_is_unstable, feature(proc_macro_diagnostic, proc_macro_span))] [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` 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: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(rustc_is_unstable))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(rustc_is_unstable)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(not(rustc_is_unstable))] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | if cfg!(rustc_is_unstable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(rustc_is_unstable)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(rustc_is_unstable)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | if cfg!(rustc_is_unstable) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stdout] --> lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(rustc_is_unstable)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / if_unstable! { [INFO] [stdout] 50 | | then { [INFO] [stdout] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stdout] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [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(rustc_is_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `if_unstable` (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.49s [INFO] running `Command { std: "docker" "inspect" "82b0c71bb7a3fd7f65fd3a123cd9abbb4fcc7321b46578de02c802ca63ff318b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b0c71bb7a3fd7f65fd3a123cd9abbb4fcc7321b46578de02c802ca63ff318b", kill_on_drop: false }` [INFO] [stdout] 82b0c71bb7a3fd7f65fd3a123cd9abbb4fcc7321b46578de02c802ca63ff318b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 713302dad1928faf7916e08c394f0403548f3e98fffa9d0ea5c47aac5e877b11 [INFO] running `Command { std: "docker" "start" "-a" "713302dad1928faf7916e08c394f0403548f3e98fffa9d0ea5c47aac5e877b11", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stderr] --> lib.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(rustc_is_unstable, feature(proc_macro_diagnostic, proc_macro_span))] [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(rustc_is_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` 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: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stderr] --> lib.rs:17:23 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(not(rustc_is_unstable))] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | / if_unstable! { [INFO] [stderr] 50 | | then { [INFO] [stderr] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stderr] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [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(rustc_is_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stderr] --> lib.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | #[cfg(rustc_is_unstable)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | / if_unstable! { [INFO] [stderr] 50 | | then { [INFO] [stderr] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stderr] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [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(rustc_is_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stderr] --> lib.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | if cfg!(rustc_is_unstable) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | / if_unstable! { [INFO] [stderr] 50 | | then { [INFO] [stderr] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stderr] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [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(rustc_is_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_is_unstable` [INFO] [stderr] --> lib.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(rustc_is_unstable)] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | / if_unstable! { [INFO] [stderr] 50 | | then { [INFO] [stderr] 51 | | proc_macro::Diagnostic::spanned( [INFO] [stderr] 52 | | vec![Span::call_site().parent().unwrap_or_else(Span::call_site)], [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [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(rustc_is_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_is_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `if_unstable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `you-can-build-macros` (lib) generated 5 warnings [INFO] [stderr] warning: `you-can-build-macros` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/you_can_build_macros-bc2e2e47559e8f5b) [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 you_can_build_macros [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] running `Command { std: "docker" "inspect" "713302dad1928faf7916e08c394f0403548f3e98fffa9d0ea5c47aac5e877b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "713302dad1928faf7916e08c394f0403548f3e98fffa9d0ea5c47aac5e877b11", kill_on_drop: false }` [INFO] [stdout] 713302dad1928faf7916e08c394f0403548f3e98fffa9d0ea5c47aac5e877b11