[INFO] cloning repository https://github.com/b1-team/phantom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b1-team/phantom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1-team%2Fphantom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1-team%2Fphantom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f4a6ddf3d2c576a44f364af6a6ff66ff21b303f [INFO] checking b1-team/phantom against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1-team%2Fphantom" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/b1-team/phantom [INFO] finished tweaking git repo https://github.com/b1-team/phantom [INFO] tweaked toml for git repo https://github.com/b1-team/phantom written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/b1-team/phantom on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/b1-team/phantom 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking b1-team/phantom against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1-team%2Fphantom" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/b1-team/phantom [INFO] finished tweaking git repo https://github.com/b1-team/phantom [INFO] tweaked toml for git repo https://github.com/b1-team/phantom written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/b1-team/phantom on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/b1-team/phantom 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 835b2a6e177faa1f82d4464cf1f62fcd826fbe9a9e7ddf254d0218e96de3b881 [INFO] running `Command { std: "docker" "start" "-a" "835b2a6e177faa1f82d4464cf1f62fcd826fbe9a9e7ddf254d0218e96de3b881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "835b2a6e177faa1f82d4464cf1f62fcd826fbe9a9e7ddf254d0218e96de3b881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835b2a6e177faa1f82d4464cf1f62fcd826fbe9a9e7ddf254d0218e96de3b881", kill_on_drop: false }` [INFO] [stdout] 835b2a6e177faa1f82d4464cf1f62fcd826fbe9a9e7ddf254d0218e96de3b881 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51360f97c2cf3547a70e822b28e38af855815a30f8dac5d8300c07a45abfc24a [INFO] running `Command { std: "docker" "start" "-a" "51360f97c2cf3547a70e822b28e38af855815a30f8dac5d8300c07a45abfc24a", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Checking windows-targets v0.48.1 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Checking phantom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_allocation_protection(allocation: *mut c_void, allocation_size: usize) -> c_ulong { [INFO] [stdout] | ------- expected `u64` because of return type [INFO] [stdout] ... [INFO] [stdout] 38 | return p_mem_info.Protect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 38 | return p_mem_info.Protect.into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_allocation_protection(allocation: *mut c_void, allocation_size: usize) -> c_ulong { [INFO] [stdout] | ------- expected `u64` because of return type [INFO] [stdout] ... [INFO] [stdout] 38 | return p_mem_info.Protect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 38 | return p_mem_info.Protect.into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 186 | if check_allocation_protection( [INFO] [stdout] | ________________- [INFO] [stdout] 187 | | ((*(*exception_data).ContextRecord).Rip) as *mut c_void, [INFO] [stdout] 188 | | INFO.sh.len(), [INFO] [stdout] 189 | | ) == PAGE_EXECUTE_READ [INFO] [stdout] | | - ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | |_____________| [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 189 | ) == PAGE_EXECUTE_READ.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 186 | if check_allocation_protection( [INFO] [stdout] | ________________- [INFO] [stdout] 187 | | ((*(*exception_data).ContextRecord).Rip) as *mut c_void, [INFO] [stdout] 188 | | INFO.sh.len(), [INFO] [stdout] 189 | | ) == PAGE_EXECUTE_READ [INFO] [stdout] | | - ^^^^^^^^^^^^^^^^^ expected `u64`, found `u32` [INFO] [stdout] | |_____________| [INFO] [stdout] | expected because this is `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `u64` [INFO] [stdout] | [INFO] [stdout] 189 | ) == PAGE_EXECUTE_READ.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> c_long { [INFO] [stdout] | ------ expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 221 | return EXCEPTION_CONTINUE_EXECUTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 221 | return EXCEPTION_CONTINUE_EXECUTION.into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> c_long { [INFO] [stdout] | ------ expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 221 | return EXCEPTION_CONTINUE_EXECUTION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 221 | return EXCEPTION_CONTINUE_EXECUTION.into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> c_long { [INFO] [stdout] | ------ expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 231 | EXCEPTION_CONTINUE_EXECUTION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 231 | EXCEPTION_CONTINUE_EXECUTION.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> c_long { [INFO] [stdout] | ------ expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 231 | EXCEPTION_CONTINUE_EXECUTION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 231 | EXCEPTION_CONTINUE_EXECUTION.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | AddVectoredExceptionHandler(1, Some(intercept_shellcode_exception)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "system" fn(_) -> i32` [INFO] [stdout] found fn item `unsafe extern "system" fn(_) -> i64 {intercept_shellcode_exception}` [INFO] [stdout] help: the type constructed contains `unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i64 {intercept_shellcode_exception}` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | AddVectoredExceptionHandler(1, Some(intercept_shellcode_exception)); [INFO] [stdout] | ^^^^^-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | AddVectoredExceptionHandler(1, Some(intercept_shellcode_exception)); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "system" fn(_) -> i32` [INFO] [stdout] found fn item `unsafe extern "system" fn(_) -> i64 {intercept_shellcode_exception}` [INFO] [stdout] help: the type constructed contains `unsafe extern "system" fn(*mut EXCEPTION_POINTERS) -> i64 {intercept_shellcode_exception}` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | AddVectoredExceptionHandler(1, Some(intercept_shellcode_exception)); [INFO] [stdout] | ^^^^^-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `phantom` (bin "phantom" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `phantom` (bin "phantom") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "51360f97c2cf3547a70e822b28e38af855815a30f8dac5d8300c07a45abfc24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51360f97c2cf3547a70e822b28e38af855815a30f8dac5d8300c07a45abfc24a", kill_on_drop: false }` [INFO] [stdout] 51360f97c2cf3547a70e822b28e38af855815a30f8dac5d8300c07a45abfc24a