[INFO] fetching crate prehook-macros 1.0.0...
[INFO] testing prehook-macros-1.0.0 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate prehook-macros 1.0.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate prehook-macros 1.0.0
[INFO] finished tweaking crates.io crate prehook-macros 1.0.0
[INFO] tweaked toml for crates.io crate prehook-macros 1.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate prehook-macros 1.0.0 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate prehook-macros 1.0.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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40712211334e3b52b44cb35bc9524790b5f78fdf17701b1700947f3e110e6f61
[INFO] running `Command { std: "docker" "start" "-a" "40712211334e3b52b44cb35bc9524790b5f78fdf17701b1700947f3e110e6f61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40712211334e3b52b44cb35bc9524790b5f78fdf17701b1700947f3e110e6f61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40712211334e3b52b44cb35bc9524790b5f78fdf17701b1700947f3e110e6f61", kill_on_drop: false }`
[INFO] [stdout] 40712211334e3b52b44cb35bc9524790b5f78fdf17701b1700947f3e110e6f61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f62538fa5ce674a0a2f2e94f39a614727cf9757daf77786527ae9a9657254cc
[INFO] running `Command { std: "docker" "start" "-a" "4f62538fa5ce674a0a2f2e94f39a614727cf9757daf77786527ae9a9657254cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling prehook-macros v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.90s
[INFO] running `Command { std: "docker" "inspect" "4f62538fa5ce674a0a2f2e94f39a614727cf9757daf77786527ae9a9657254cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f62538fa5ce674a0a2f2e94f39a614727cf9757daf77786527ae9a9657254cc", kill_on_drop: false }`
[INFO] [stdout] 4f62538fa5ce674a0a2f2e94f39a614727cf9757daf77786527ae9a9657254cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89d309d9270d5a9377279a4bdb41d61755fb435f4b75316aa903db8c44500040
[INFO] running `Command { std: "docker" "start" "-a" "89d309d9270d5a9377279a4bdb41d61755fb435f4b75316aa903db8c44500040", kill_on_drop: false }`
[INFO] [stderr]    Compiling prehook-macros v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "89d309d9270d5a9377279a4bdb41d61755fb435f4b75316aa903db8c44500040", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89d309d9270d5a9377279a4bdb41d61755fb435f4b75316aa903db8c44500040", kill_on_drop: false }`
[INFO] [stdout] 89d309d9270d5a9377279a4bdb41d61755fb435f4b75316aa903db8c44500040
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8aa474ca8f3fb8fb177846b50a608cf365f28194f1bbbd09377f70f404671070
[INFO] running `Command { std: "docker" "start" "-a" "8aa474ca8f3fb8fb177846b50a608cf365f28194f1bbbd09377f70f404671070", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prehook_macros-4ada2acd41aef019)
[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 prehook_macros
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - hook (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - hook (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - interpose (line 247) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - hook (line 31) stdout ----
[INFO] [stdout] error: cannot find attribute `hook` in this scope
[INFO] [stdout]   --> src/lib.rs:32:3
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[hook(kind = "retn", symbol = "check_license")]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 31 + use prehook_macros::hook;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `call_original` in this scope
[INFO] [stdout]   --> src/lib.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let result = call_original!(key);
[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 - hook (line 40) stdout ----
[INFO] [stdout] error: cannot find attribute `hook` in this scope
[INFO] [stdout]   --> src/lib.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[hook(kind = "jmp_back", offset = 0x1234)]
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]    |
[INFO] [stdout] 40 + use prehook_macros::hook;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Registers` in this scope
[INFO] [stdout]   --> src/lib.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn my_inline_hook(reg: &mut Registers) {
[INFO] [stdout]    |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - interpose (line 247) stdout ----
[INFO] [stdout] error: cannot find attribute `interpose` in this scope
[INFO] [stdout]    --> src/lib.rs:248:3
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[interpose(symbol = "malloc")]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]     |
[INFO] [stdout] 247 + use prehook_macros::interpose;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `call_original` in this scope
[INFO] [stdout]    --> src/lib.rs:251:5
[INFO] [stdout]     |
[INFO] [stdout] 251 |     call_original!(size)
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/lib.rs:249:35
[INFO] [stdout]     |
[INFO] [stdout] 249 | fn my_malloc(size: usize) -> *mut c_void {
[INFO] [stdout]     |                                   ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 247 + use std::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 247 + use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 247 + use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - hook (line 31)
[INFO] [stdout]     src/lib.rs - hook (line 40)
[INFO] [stdout]     src/lib.rs - interpose (line 247)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.35s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8aa474ca8f3fb8fb177846b50a608cf365f28194f1bbbd09377f70f404671070", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8aa474ca8f3fb8fb177846b50a608cf365f28194f1bbbd09377f70f404671070", kill_on_drop: false }`
[INFO] [stdout] 8aa474ca8f3fb8fb177846b50a608cf365f28194f1bbbd09377f70f404671070
