[INFO] cloning repository https://github.com/synetic707/rust-recv-hook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synetic707/rust-recv-hook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47ebb6e6c50146d6892d07cb2d202009028d9607
[INFO] checking synetic707/rust-recv-hook against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-recv-hook" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/synetic707/rust-recv-hook on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/synetic707/rust-recv-hook
[INFO] finished tweaking git repo https://github.com/synetic707/rust-recv-hook
[INFO] tweaked toml for git repo https://github.com/synetic707/rust-recv-hook written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/synetic707/rust-recv-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" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16b69e961fc132a274d4fbc43420e8ca754b1f1974a7f1d6a820bad09ab33fc3
[INFO] running `Command { std: "docker" "start" "-a" "16b69e961fc132a274d4fbc43420e8ca754b1f1974a7f1d6a820bad09ab33fc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16b69e961fc132a274d4fbc43420e8ca754b1f1974a7f1d6a820bad09ab33fc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16b69e961fc132a274d4fbc43420e8ca754b1f1974a7f1d6a820bad09ab33fc3", kill_on_drop: false }`
[INFO] [stdout] 16b69e961fc132a274d4fbc43420e8ca754b1f1974a7f1d6a820bad09ab33fc3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31c2af466ec6b0c06033bc4c19cb2c9e31c2ccd44812b7590cdba54f165d7610
[INFO] running `Command { std: "docker" "start" "-a" "31c2af466ec6b0c06033bc4c19cb2c9e31c2ccd44812b7590cdba54f165d7610", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking gcc v0.3.54
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling user32-sys v0.1.3
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]     Checking rust-recv-hook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/hooks.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[naked]
[INFO] [stdout]    |   ^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[unsafe(naked)]
[INFO] [stdout]    |   +++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]   --> src/lib.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::minwindef::DWORD;
[INFO] [stdout]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwinbase`
[INFO] [stdout]   --> src/lib.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::minwinbase::LPTHREAD_START_ROUTINE;
[INFO] [stdout]    |             ^^^^^^^^^^ could not find `minwinbase` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]  --> src/helpers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::minwindef::*;
[INFO] [stdout]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]  --> src/hooks.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::minwindef::*;
[INFO] [stdout]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winnt`
[INFO] [stdout]  --> src/hooks.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::winnt::*;
[INFO] [stdout]   |             ^^^^^ could not find `winnt` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/hooks.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     asm!(
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/hooks.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[naked]
[INFO] [stdout]    |   ^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[unsafe(naked)]
[INFO] [stdout]    |   +++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]   --> src/lib.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::minwindef::DWORD;
[INFO] [stdout]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwinbase`
[INFO] [stdout]   --> src/lib.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::minwinbase::LPTHREAD_START_ROUTINE;
[INFO] [stdout]    |             ^^^^^^^^^^ could not find `minwinbase` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation
[INFO] [stdout]   --> src/hooks.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     return 0;
[INFO] [stdout]    |     --------- not allowed in naked functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0-nightly and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(asm, naked_functions)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(asm, naked_functions)]
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]  --> src/helpers.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::minwindef::*;
[INFO] [stdout]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]  --> src/hooks.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::minwindef::*;
[INFO] [stdout]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winnt`
[INFO] [stdout]  --> src/hooks.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::winnt::*;
[INFO] [stdout]   |             ^^^^^ could not find `winnt` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     loop {
[INFO] [stdout] 24 | |         thread::sleep(std::time::Duration::from_millis(250));
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 26 |
[INFO] [stdout] 27 |       return 0;
[INFO] [stdout]    |       ^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0787.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/hooks.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     asm!(
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-recv-hook` (lib test) due to 8 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0787]: naked functions must contain a single `naked_asm!` invocation
[INFO] [stdout]   --> src/hooks.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub unsafe extern "system" fn real_recv(_s: SOCKET, _buf: *mut c_char, _len: c_int, _flags: c_int) -> i32{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     return 0;
[INFO] [stdout]    |     --------- not allowed in naked functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0-nightly and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(asm, naked_functions)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(asm, naked_functions)]
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     loop {
[INFO] [stdout] 24 | |         thread::sleep(std::time::Duration::from_millis(250));
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 26 |
[INFO] [stdout] 27 |       return 0;
[INFO] [stdout]    |       ^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0787.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-recv-hook` (lib) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "31c2af466ec6b0c06033bc4c19cb2c9e31c2ccd44812b7590cdba54f165d7610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31c2af466ec6b0c06033bc4c19cb2c9e31c2ccd44812b7590cdba54f165d7610", kill_on_drop: false }`
[INFO] [stdout] 31c2af466ec6b0c06033bc4c19cb2c9e31c2ccd44812b7590cdba54f165d7610
