[INFO] fetching crate windows_firewall 0.3.0... [INFO] testing windows_firewall-0.3.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate windows_firewall 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate windows_firewall 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate windows_firewall 0.3.0 [INFO] tweaked toml for crates.io crate windows_firewall 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_firewall 0.3.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows_firewall 0.3.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a9f691d60c1bd8239890af5d404effadabb25bc9dcbfdcacdbfcf3a34d2fe2b [INFO] running `Command { std: "docker" "start" "-a" "9a9f691d60c1bd8239890af5d404effadabb25bc9dcbfdcacdbfcf3a34d2fe2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a9f691d60c1bd8239890af5d404effadabb25bc9dcbfdcacdbfcf3a34d2fe2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9f691d60c1bd8239890af5d404effadabb25bc9dcbfdcacdbfcf3a34d2fe2b", kill_on_drop: false }` [INFO] [stdout] 9a9f691d60c1bd8239890af5d404effadabb25bc9dcbfdcacdbfcf3a34d2fe2b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b1d649a4ff93864ab3ec0a14ac74e2ed599906cd5ccad0fde1d62aad950f6e [INFO] running `Command { std: "docker" "start" "-a" "e9b1d649a4ff93864ab3ec0a14ac74e2ed599906cd5ccad0fde1d62aad950f6e", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.2 [INFO] [stderr] Compiling windows_firewall v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] warning: windows_firewall@0.3.0: This library is designed for Windows only. [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling typed-builder v0.22.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.51s [INFO] running `Command { std: "docker" "inspect" "e9b1d649a4ff93864ab3ec0a14ac74e2ed599906cd5ccad0fde1d62aad950f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b1d649a4ff93864ab3ec0a14ac74e2ed599906cd5ccad0fde1d62aad950f6e", kill_on_drop: false }` [INFO] [stdout] e9b1d649a4ff93864ab3ec0a14ac74e2ed599906cd5ccad0fde1d62aad950f6e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fc751d72c01c5fcec5f5ba00a518e8337b2fb8245614ecc79b94eb9b04771e0 [INFO] running `Command { std: "docker" "start" "-a" "0fc751d72c01c5fcec5f5ba00a518e8337b2fb8245614ecc79b94eb9b04771e0", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling ipconfig v0.3.2 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] warning: windows_firewall@0.3.0: This library is designed for Windows only. [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling scc v2.3.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling windows_firewall v0.3.0 (/opt/rustwide/workdir) [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[E0432]: unresolved imports `windows_firewall::remove_rule`, `windows_firewall::rule_exists`, `windows_firewall::ActionFirewallWindows`, `windows_firewall::DirectionFirewallWindows`, `windows_firewall::ProtocolFirewallWindows`, `windows_firewall::WindowsFirewallRule` [INFO] [stdout] --> tests/tests.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | remove_rule, rule_exists, ActionFirewallWindows, DirectionFirewallWindows, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ no `DirectionFirewallWindows` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ActionFirewallWindows` in the root [INFO] [stdout] | | no `rule_exists` in the root [INFO] [stdout] | no `remove_rule` in the root [INFO] [stdout] 952 | ProtocolFirewallWindows, WindowsFirewallRule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `WindowsFirewallRule` in the root [INFO] [stdout] | | [INFO] [stdout] | no `ProtocolFirewallWindows` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::remove_rule [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::rule_exists [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::ActionFirewallWindows [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::DirectionFirewallWindows [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::ProtocolFirewallWindows [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::WindowsFirewallRule [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ipconfig::get_adapters` [INFO] [stdout] --> tests/tests.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use ipconfig::get_adapters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `get_adapters` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ipconfig::get_adapters` [INFO] [stdout] --> tests/tests.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | use ipconfig::get_adapters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `get_adapters` 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] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | similarly named function `main` defined here [INFO] [stdout] | help: a function with a similar name exists: `main` [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] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | similarly named function `main` defined here [INFO] [stdout] | help: a function with a similar name exists: `main` [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.3.0: This library is designed for Windows only. [INFO] [stderr] error: could not compile `windows_firewall` (test "tests") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "0fc751d72c01c5fcec5f5ba00a518e8337b2fb8245614ecc79b94eb9b04771e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc751d72c01c5fcec5f5ba00a518e8337b2fb8245614ecc79b94eb9b04771e0", kill_on_drop: false }` [INFO] [stdout] 0fc751d72c01c5fcec5f5ba00a518e8337b2fb8245614ecc79b94eb9b04771e0