[INFO] fetching crate hotpatch_macros 0.3.0...
[INFO] testing hotpatch_macros-0.3.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate hotpatch_macros 0.3.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate hotpatch_macros 0.3.0
[INFO] finished tweaking crates.io crate hotpatch_macros 0.3.0
[INFO] tweaked toml for crates.io crate hotpatch_macros 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hotpatch_macros 0.3.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.114)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c03158b16e3600fa07c57e4b97077a496197ff741f9bacfd295ccba0411a9d4c
[INFO] running `Command { std: "docker" "start" "-a" "c03158b16e3600fa07c57e4b97077a496197ff741f9bacfd295ccba0411a9d4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c03158b16e3600fa07c57e4b97077a496197ff741f9bacfd295ccba0411a9d4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c03158b16e3600fa07c57e4b97077a496197ff741f9bacfd295ccba0411a9d4c", kill_on_drop: false }`
[INFO] [stdout] c03158b16e3600fa07c57e4b97077a496197ff741f9bacfd295ccba0411a9d4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f309cb611266663bb1290b983fcec7370131a041cf344ab93b45d2a53f808e1b
[INFO] running `Command { std: "docker" "start" "-a" "f309cb611266663bb1290b983fcec7370131a041cf344ab93b45d2a53f808e1b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling hotpatch_macros v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/item_fn.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout]    |                        ^                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout] 55 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/item_fn.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout]     |                        ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 107 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout] 107 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.75s
[INFO] running `Command { std: "docker" "inspect" "f309cb611266663bb1290b983fcec7370131a041cf344ab93b45d2a53f808e1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f309cb611266663bb1290b983fcec7370131a041cf344ab93b45d2a53f808e1b", kill_on_drop: false }`
[INFO] [stdout] f309cb611266663bb1290b983fcec7370131a041cf344ab93b45d2a53f808e1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 7fab12f859149aec1b7142e7dfc456b08af93bbe6406fb243e20fd1237b53366
[INFO] running `Command { std: "docker" "start" "-a" "7fab12f859149aec1b7142e7dfc456b08af93bbe6406fb243e20fd1237b53366", kill_on_drop: false }`
[INFO] [stderr]    Compiling hotpatch_macros v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/item_fn.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout]    |                        ^                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout] 55 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/item_fn.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout]     |                        ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 107 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout] 107 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/item_fn.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout]    |                        ^                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout] 55 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/item_fn.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout]     |                        ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 107 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stdout] 107 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s
[INFO] running `Command { std: "docker" "inspect" "7fab12f859149aec1b7142e7dfc456b08af93bbe6406fb243e20fd1237b53366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fab12f859149aec1b7142e7dfc456b08af93bbe6406fb243e20fd1237b53366", kill_on_drop: false }`
[INFO] [stdout] 7fab12f859149aec1b7142e7dfc456b08af93bbe6406fb243e20fd1237b53366
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e0a5c3e61a2e531d278221be9d1f626551d54e7912c42f18c814c0ab1ee7e733
[INFO] running `Command { std: "docker" "start" "-a" "e0a5c3e61a2e531d278221be9d1f626551d54e7912c42f18c814c0ab1ee7e733", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]   --> src/item_fn.rs:55:24
[INFO] [stderr]    |
[INFO] [stderr] 55 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr]    |                        ^                              ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 55 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr] 55 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/item_fn.rs:107:24
[INFO] [stderr]     |
[INFO] [stderr] 107 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr]     |                        ^                              ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 107 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr] 107 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `hotpatch_macros` (lib) generated 2 warnings (run `cargo fix --lib -p hotpatch_macros` to apply 2 suggestions)
[INFO] [stderr] warning: `hotpatch_macros` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/hotpatch_macros/1576d419c0ddc1c9/deps/hotpatch_macros-1576d419c0ddc1c9)
[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 hotpatch_macros
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]   --> src/item_fn.rs:55:24
[INFO] [stderr]    |
[INFO] [stderr] 55 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr]    |                        ^                              ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 55 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr] 55 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/item_fn.rs:107:24
[INFO] [stderr]     |
[INFO] [stderr] 107 |         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr]     |                        ^                              ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 107 -         Some(mpath) => (quote! {concat!("::", #mpath)}),
[INFO] [stderr] 107 +         Some(mpath) => quote! {concat!("::", #mpath)} ,
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - patch (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - patchable (line 23) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - patch (line 55) stdout ----
[INFO] [stdout] error: cannot find attribute `patch` in this scope
[INFO] [stdout]   --> src/lib.rs:59:3
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[patch(mymod::baz)] // looks like: mod mymod { fn baz() {} }
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 59 - #[patch(mymod::baz)] // looks like: mod mymod { fn baz() {} }
[INFO] [stdout] 59 + #[path(mymod::baz)] // looks like: mod mymod { fn baz() {} }
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 55 + use hotpatch_macros::patch;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patch` in this scope
[INFO] [stdout]   --> src/lib.rs:56:3
[INFO] [stdout]    |
[INFO] [stdout] 56 | #[patch]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 56 - #[patch]
[INFO] [stdout] 56 + #[path]
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 55 + use hotpatch_macros::patch;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - patchable (line 23) stdout ----
[INFO] [stdout] error: cannot find attribute `patchable` in this scope
[INFO] [stdout]   --> src/lib.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[patchable(mymod::baz)] // will look for the function ::mymod::baz instead of ::bar
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 23 + use hotpatch_macros::patchable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `patchable` in this scope
[INFO] [stdout]   --> src/lib.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[patchable]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 23 + use hotpatch_macros::patchable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - patch (line 55)
[INFO] [stdout]     src/lib.rs - patchable (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e0a5c3e61a2e531d278221be9d1f626551d54e7912c42f18c814c0ab1ee7e733", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0a5c3e61a2e531d278221be9d1f626551d54e7912c42f18c814c0ab1ee7e733", kill_on_drop: false }`
[INFO] [stdout] e0a5c3e61a2e531d278221be9d1f626551d54e7912c42f18c814c0ab1ee7e733
