[INFO] fetching crate windows_firewall 0.1.5... [INFO] checking windows_firewall-0.1.5 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate windows_firewall 0.1.5 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate windows_firewall 0.1.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate windows_firewall 0.1.5 [INFO] tweaked toml for crates.io crate windows_firewall 0.1.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_firewall 0.1.5 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows_firewall 0.1.5 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd0b3f5facb5970529b2473ad0a0c6adf2ea29ab64072b08f08d8666d4eda23f [INFO] running `Command { std: "docker" "start" "-a" "cd0b3f5facb5970529b2473ad0a0c6adf2ea29ab64072b08f08d8666d4eda23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0b3f5facb5970529b2473ad0a0c6adf2ea29ab64072b08f08d8666d4eda23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0b3f5facb5970529b2473ad0a0c6adf2ea29ab64072b08f08d8666d4eda23f", kill_on_drop: false }` [INFO] [stdout] cd0b3f5facb5970529b2473ad0a0c6adf2ea29ab64072b08f08d8666d4eda23f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c49e2d4c2d3ca67595d5d338aa7919d30e863fcacb57f169e64ec4273a8037a6 [INFO] running `Command { std: "docker" "start" "-a" "c49e2d4c2d3ca67595d5d338aa7919d30e863fcacb57f169e64ec4273a8037a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking once_cell v1.21.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling windows_firewall v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking sdd v3.0.8 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] warning: windows_firewall@0.1.5: This library is designed for Windows only. [INFO] [stderr] Checking scc v2.3.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling typed-builder-macro v0.21.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking typed-builder v0.21.0 [INFO] [stdout] error[E0432]: unresolved imports `windows_firewall::add_rule`, `windows_firewall::add_rule_if_not_exists`, `windows_firewall::get_active_profile`, `windows_firewall::get_firewall_state`, `windows_firewall::get_rule`, `windows_firewall::list_incoming_rules`, `windows_firewall::list_outgoing_rules`, `windows_firewall::list_rules`, `windows_firewall::remove_rule`, `windows_firewall::rule_exists`, `windows_firewall::set_firewall_state`, `windows_firewall::update_rule` [INFO] [stdout] --> tests/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | add_rule, add_rule_if_not_exists, get_active_profile, get_firewall_state, get_rule, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ no `get_rule` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `get_firewall_state` in the root [INFO] [stdout] | | | no `get_active_profile` in the root [INFO] [stdout] | | no `add_rule_if_not_exists` in the root [INFO] [stdout] | no `add_rule` in the root [INFO] [stdout] 10 | list_incoming_rules, list_outgoing_rules, list_rules, remove_rule, rule_exists, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ no `rule_exists` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `remove_rule` in the root [INFO] [stdout] | | | no `list_rules` in the root [INFO] [stdout] | | no `list_outgoing_rules` in the root [INFO] [stdout] | no `list_incoming_rules` in the root [INFO] [stdout] 11 | set_firewall_state, update_rule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_firewall::ActionFirewallWindows`, `windows_firewall::DirectionFirewallWindows`, `windows_firewall::InterfaceTypes`, `windows_firewall::InterfaceTypes`, `windows_firewall::ProfileFirewallWindows`, `windows_firewall::ProtocolFirewallWindows` [INFO] [stdout] --> tests/tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ActionFirewallWindows, DirectionFirewallWindows, InterfaceTypes::Lan, InterfaceTypes::Wireless, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ could not find `InterfaceTypes` in `windows_firewall` [INFO] [stdout] | | | | [INFO] [stdout] | | | could not find `InterfaceTypes` in `windows_firewall` [INFO] [stdout] | | no `DirectionFirewallWindows` in the root [INFO] [stdout] | no `ActionFirewallWindows` in the root [INFO] [stdout] 15 | ProfileFirewallWindows, ProtocolFirewallWindows, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `ProtocolFirewallWindows` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ProfileFirewallWindows` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> tests/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::NetworkManagement::WindowsFirewall::INetFwRule; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> tests/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::Com::{CoInitializeEx, CoUninitialize, COINIT_APARTMENTTHREADED}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `windows_firewall::WindowsFirewallRule`, `windows_firewall::WindowsFirewallRuleSettings` [INFO] [stdout] --> tests/tests.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use windows_firewall::{WindowsFirewallRule, WindowsFirewallRuleSettings}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WindowsFirewallRuleSettings` in the root [INFO] [stdout] | | [INFO] [stdout] | no `WindowsFirewallRule` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Private` in this scope [INFO] [stdout] --> tests/tests.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let profiles = [Private, Domain, Public]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Domain` in this scope [INFO] [stdout] --> tests/tests.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let profiles = [Private, Domain, Public]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Public` in this scope [INFO] [stdout] --> tests/tests.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let profiles = [Private, Domain, Public]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Private` in this scope [INFO] [stdout] --> tests/tests.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let profiles = [Private, Domain, Public]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Domain` in this scope [INFO] [stdout] --> tests/tests.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | let profiles = [Private, Domain, Public]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Public` in this scope [INFO] [stdout] --> tests/tests.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | let profiles = [Private, Domain, Public]; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: windows_firewall@0.1.5: This library is designed for Windows only. [INFO] [stderr] error: could not compile `windows_firewall` (test "tests") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "c49e2d4c2d3ca67595d5d338aa7919d30e863fcacb57f169e64ec4273a8037a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49e2d4c2d3ca67595d5d338aa7919d30e863fcacb57f169e64ec4273a8037a6", kill_on_drop: false }` [INFO] [stdout] c49e2d4c2d3ca67595d5d338aa7919d30e863fcacb57f169e64ec4273a8037a6