[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] testing b1-team/phantom against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1-team%2Fphantom" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/b1-team/phantom on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] testing b1-team/phantom against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1-team%2Fphantom" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/b1-team/phantom on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35695f9469a0de79dbc53f3955831aa83efc985faea680832e99dc8db9cb684e [INFO] running `Command { std: "docker" "start" "-a" "35695f9469a0de79dbc53f3955831aa83efc985faea680832e99dc8db9cb684e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35695f9469a0de79dbc53f3955831aa83efc985faea680832e99dc8db9cb684e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35695f9469a0de79dbc53f3955831aa83efc985faea680832e99dc8db9cb684e", kill_on_drop: false }` [INFO] [stdout] 35695f9469a0de79dbc53f3955831aa83efc985faea680832e99dc8db9cb684e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc4a71487c07ca3ff8c56314f62d761515f48e83135825c7e28835206d1c572 [INFO] running `Command { std: "docker" "start" "-a" "fdc4a71487c07ca3ff8c56314f62d761515f48e83135825c7e28835206d1c572", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling windows-targets v0.48.1 [INFO] [stderr] Compiling windows-sys v0.48.0 [INFO] [stderr] Compiling 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: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: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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/option.rs:608:4 [INFO] [stdout] [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") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "fdc4a71487c07ca3ff8c56314f62d761515f48e83135825c7e28835206d1c572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc4a71487c07ca3ff8c56314f62d761515f48e83135825c7e28835206d1c572", kill_on_drop: false }` [INFO] [stdout] fdc4a71487c07ca3ff8c56314f62d761515f48e83135825c7e28835206d1c572