[INFO] fetching crate proc-macro-hack 0.5.20+deprecated... [INFO] testing proc-macro-hack-0.5.20+deprecated against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate proc-macro-hack 0.5.20+deprecated into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate proc-macro-hack 0.5.20+deprecated [INFO] finished tweaking crates.io crate proc-macro-hack 0.5.20+deprecated [INFO] tweaked toml for crates.io crate proc-macro-hack 0.5.20+deprecated written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate proc-macro-hack 0.5.20+deprecated on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.116 [INFO] [stderr] Downloaded toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Downloaded toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Downloaded serde_spanned v1.1.1 [INFO] [stderr] Downloaded demo-hack v0.0.5 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Downloaded toml v1.1.2+spec-1.1.0 [INFO] [stderr] Downloaded hashbrown v0.17.0 [INFO] [stderr] Downloaded memchr v2.8.0 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded indexmap v2.14.0 [INFO] [stderr] Downloaded winnow v1.0.1 [INFO] [stderr] Downloaded dissimilar v1.0.11 [INFO] [stderr] Downloaded zmij v1.0.21 [INFO] [stderr] Downloaded demo-hack-impl v0.0.5 [INFO] [stderr] Downloaded itoa v1.0.18 [INFO] [stderr] Downloaded target-triple v1.0.0 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f992daccaba8955b59ec2d45e433f7f630ebd27113b5203c2af819843329cbb0 [INFO] running `Command { std: "docker" "start" "-a" "f992daccaba8955b59ec2d45e433f7f630ebd27113b5203c2af819843329cbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f992daccaba8955b59ec2d45e433f7f630ebd27113b5203c2af819843329cbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f992daccaba8955b59ec2d45e433f7f630ebd27113b5203c2af819843329cbb0", kill_on_drop: false }` [INFO] [stdout] f992daccaba8955b59ec2d45e433f7f630ebd27113b5203c2af819843329cbb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 116040d5ac8b107d5deaeb627ce2b39611da9ee2313c375de4af105577a0e0e2 [INFO] running `Command { std: "docker" "start" "-a" "116040d5ac8b107d5deaeb627ce2b39611da9ee2313c375de4af105577a0e0e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `need_proc_macro_hack` [INFO] [stdout] --> src/lib.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | if args.only_hack_old_rustc && cfg!(not(need_proc_macro_hack)) { [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(need_proc_macro_hack)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_proc_macro_hack)");` 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 1.17s [INFO] running `Command { std: "docker" "inspect" "116040d5ac8b107d5deaeb627ce2b39611da9ee2313c375de4af105577a0e0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "116040d5ac8b107d5deaeb627ce2b39611da9ee2313c375de4af105577a0e0e2", kill_on_drop: false }` [INFO] [stdout] 116040d5ac8b107d5deaeb627ce2b39611da9ee2313c375de4af105577a0e0e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79e9d8b99dc9e9921433d5229e9eb757a284f44f9f6bef92526b60a727aaca3c [INFO] running `Command { std: "docker" "start" "-a" "79e9d8b99dc9e9921433d5229e9eb757a284f44f9f6bef92526b60a727aaca3c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dissimilar v1.0.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `need_proc_macro_hack` [INFO] [stdout] --> src/lib.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | if args.only_hack_old_rustc && cfg!(not(need_proc_macro_hack)) { [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(need_proc_macro_hack)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_proc_macro_hack)");` 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] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling demo-hack-impl v0.0.5 [INFO] [stderr] Compiling demo-hack v0.0.5 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling trybuild v1.0.116 [INFO] [stdout] warning: unexpected `cfg` condition name: `need_proc_macro_hack` [INFO] [stdout] --> src/lib.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | if args.only_hack_old_rustc && cfg!(not(need_proc_macro_hack)) { [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(need_proc_macro_hack)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_proc_macro_hack)");` 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 `test` profile [unoptimized + debuginfo] target(s) in 17.22s [INFO] running `Command { std: "docker" "inspect" "79e9d8b99dc9e9921433d5229e9eb757a284f44f9f6bef92526b60a727aaca3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e9d8b99dc9e9921433d5229e9eb757a284f44f9f6bef92526b60a727aaca3c", kill_on_drop: false }` [INFO] [stdout] 79e9d8b99dc9e9921433d5229e9eb757a284f44f9f6bef92526b60a727aaca3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff108e45557c4e85ab1f6c3415f54624546f34063550477a52c9f028d601c9fd [INFO] running `Command { std: "docker" "start" "-a" "ff108e45557c4e85ab1f6c3415f54624546f34063550477a52c9f028d601c9fd", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `need_proc_macro_hack` [INFO] [stderr] --> src/lib.rs:267:45 [INFO] [stderr] | [INFO] [stderr] 267 | if args.only_hack_old_rustc && cfg!(not(need_proc_macro_hack)) { [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(need_proc_macro_hack)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_proc_macro_hack)");` 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: `proc-macro-hack` (lib) generated 1 warning [INFO] [stderr] warning: `proc-macro-hack` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proc_macro_hack-1e3d6b426ecdd25c) [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-c7f91a26d0e942a6) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `need_proc_macro_hack` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:267:45 [INFO] [stderr] | [INFO] [stderr] 267 | if args.only_hack_old_rustc && cfg!(not(need_proc_macro_hack)) { [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(need_proc_macro_hack)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(need_proc_macro_hack)");` 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] Compiling quote v0.6.13 [INFO] [stderr] warning: `proc-macro-hack` (lib) generated 1 warning [INFO] [stderr] Compiling demo-hack-impl v0.0.5 [INFO] [stderr] Checking demo-hack v0.0.5 [INFO] [stderr] Checking proc-macro-hack-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/proc-macro-hack) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.18s [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui ... ok [INFO] [stdout] [INFO] [stderr] test tests/ui/private.rs ... ok [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.31s [INFO] [stderr] test tests/ui/unexpected-arg.rs ... ok [INFO] [stdout] [INFO] [stderr] test tests/ui/unexpected.rs ... ok [INFO] [stderr] test tests/ui/unknown-arg.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] Doc-tests proc_macro_hack [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 105) ... ok [INFO] [stdout] test src/lib.rs - (line 39) ... ok [INFO] [stdout] test src/lib.rs - (line 71) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff108e45557c4e85ab1f6c3415f54624546f34063550477a52c9f028d601c9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff108e45557c4e85ab1f6c3415f54624546f34063550477a52c9f028d601c9fd", kill_on_drop: false }` [INFO] [stdout] ff108e45557c4e85ab1f6c3415f54624546f34063550477a52c9f028d601c9fd