[INFO] cloning repository https://github.com/Aelto/tw3-hook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aelto/tw3-hook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-hook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-hook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] afbac01a5dcf5c87b27294595b35acaad5e70ce8
[INFO] building Aelto/tw3-hook against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelto%2Ftw3-hook" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Aelto/tw3-hook on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Aelto/tw3-hook
[INFO] finished tweaking git repo https://github.com/Aelto/tw3-hook
[INFO] tweaked toml for git repo https://github.com/Aelto/tw3-hook written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Aelto/tw3-hook 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e87bf127f8732364bdaebd9edcbdf0a5444e9e6dfb1afcec3f3407d3468fa0e3
[INFO] running `Command { std: "docker" "start" "-a" "e87bf127f8732364bdaebd9edcbdf0a5444e9e6dfb1afcec3f3407d3468fa0e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e87bf127f8732364bdaebd9edcbdf0a5444e9e6dfb1afcec3f3407d3468fa0e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e87bf127f8732364bdaebd9edcbdf0a5444e9e6dfb1afcec3f3407d3468fa0e3", kill_on_drop: false }`
[INFO] [stdout] e87bf127f8732364bdaebd9edcbdf0a5444e9e6dfb1afcec3f3407d3468fa0e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5ec237d4c0edef5aa06d018d34587714abee29cdf3be264843849df2ed4bda6
[INFO] running `Command { std: "docker" "start" "-a" "f5ec237d4c0edef5aa06d018d34587714abee29cdf3be264843849df2ed4bda6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.5
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling typewit v1.7.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling windows-targets v0.48.5
[INFO] [stderr]    Compiling konst_kernel v0.3.6
[INFO] [stderr]    Compiling path-dedot v3.1.1
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling iced-x86 v1.20.0
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling aho-corasick v1.1.1
[INFO] [stderr]    Compiling const_panic v0.2.8
[INFO] [stderr]    Compiling plain v0.2.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling path-absolutize v3.1.1
[INFO] [stderr]    Compiling windows-core v0.51.1
[INFO] [stderr]    Compiling konst v0.3.6
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling slice-pool2 v0.4.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling region v3.0.0
[INFO] [stderr]    Compiling sysinfo v0.29.10
[INFO] [stderr]    Compiling mmap-fixed-fixed v0.1.3
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling cstr v0.2.11
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling stopwatch2 v2.0.0
[INFO] [stderr]    Compiling widestring v1.0.2
[INFO] [stderr]    Compiling windows v0.51.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling libudis86-sys v0.2.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling shrinkwraprs v0.3.0
[INFO] [stderr]    Compiling retour v0.3.1
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling scroll_derive v0.11.1
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling ctor v0.2.4
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling scroll v0.11.0
[INFO] [stderr]    Compiling goblin v0.6.1
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling dll-syringe v0.15.2
[INFO] [stderr]    Compiling ilhook v2.1.0
[INFO] [stderr]    Compiling twhook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker`
[INFO] [stdout]   --> src/lib.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[ctor::ctor]
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Sub`
[INFO] [stdout]  --> src/lib.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{net::TcpStream, ops::Sub, sync::Mutex};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GetModuleHandleA` and `PCWSTR`
[INFO] [stdout]   --> src/lib.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout] 9  |     core::{HSTRING, PCWSTR},
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 10 |     Win32::System::LibraryLoader::{GetModuleHandleA, GetModuleHandleW},
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::UI::WindowsAndMessaging::MessageBoxA`
[INFO] [stdout]  --> src/game/cfunction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::MessageBoxA;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `retour::GenericDetour`
[INFO] [stdout]    --> src/lib.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     use retour::GenericDetour;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `retour::RawDetour`
[INFO] [stdout]    --> src/lib.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     use retour::RawDetour;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]  --> src/game/sdk.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | unsafe fn register_global_function<F>(name: &str, callback: F) {}
[INFO] [stdout]   |                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback`
[INFO] [stdout]  --> src/game/sdk.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | unsafe fn register_global_function<F>(name: &str, callback: F) {}
[INFO] [stdout]   |                                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `dll_syringe::process`, `dll_syringe::Syringe`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dll_syringe::{process::OwnedProcess, Syringe};
[INFO] [stdout]   |                   ^^^^^^^                ^^^^^^^ no `Syringe` in the root
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   could not find `process` in `dll_syringe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a1`
[INFO] [stdout]    --> src/lib.rs:140:7
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn sf(a1: VoidPtr, ctx: *mut GlobalScriptingContext, ret: *mut std::ffi::c_void) {
[INFO] [stdout]     |       ^^ help: if this is intentional, prefix it with an underscore: `_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> src/lib.rs:140:54
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn sf(a1: VoidPtr, ctx: *mut GlobalScriptingContext, ret: *mut std::ffi::c_void) {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset_address` is never used
[INFO] [stdout]   --> src/lib.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn offset_address(addr: isize) -> isize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disable_pause_on_offfocus` is never used
[INFO] [stdout]    --> src/lib.rs:122:11
[INFO] [stdout]     |
[INFO] [stdout] 122 | unsafe fn disable_pause_on_offfocus() {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vanilla_compilation_step` is never used
[INFO] [stdout]    --> src/lib.rs:127:11
[INFO] [stdout]     |
[INFO] [stdout] 127 | unsafe fn vanilla_compilation_step() {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_script_functions_stub` is never used
[INFO] [stdout]    --> src/lib.rs:134:11
[INFO] [stdout]     |
[INFO] [stdout] 134 | unsafe fn register_script_functions_stub() {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sf` is never used
[INFO] [stdout]    --> src/lib.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn sf(a1: VoidPtr, ctx: *mut GlobalScriptingContext, ret: *mut std::ffi::c_void) {
[INFO] [stdout]     |    ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `db_get` is never used
[INFO] [stdout]    --> src/lib.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn db_get() {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_global_function` is never used
[INFO] [stdout]  --> src/game/sdk.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | unsafe fn register_global_function<F>(name: &str, callback: F) {}
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twhook` (bin "twhookrun") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f5ec237d4c0edef5aa06d018d34587714abee29cdf3be264843849df2ed4bda6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5ec237d4c0edef5aa06d018d34587714abee29cdf3be264843849df2ed4bda6", kill_on_drop: false }`
[INFO] [stdout] f5ec237d4c0edef5aa06d018d34587714abee29cdf3be264843849df2ed4bda6
