[INFO] cloning repository https://github.com/hungtrungthinh/Open-NGFW [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hungtrungthinh/Open-NGFW" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhungtrungthinh%2FOpen-NGFW", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhungtrungthinh%2FOpen-NGFW'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b943518556a6094a91951aadc3b3461325754123 [INFO] testing hungtrungthinh/Open-NGFW against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhungtrungthinh%2FOpen-NGFW" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 75% (1388/1846) Updating files: 76% (1403/1846) Updating files: 77% (1422/1846) Updating files: 78% (1440/1846) Updating files: 79% (1459/1846) Updating files: 79% (1468/1846) Updating files: 80% (1477/1846) Updating files: 81% (1496/1846) Updating files: 82% (1514/1846) Updating files: 83% (1533/1846) Updating files: 84% (1551/1846) Updating files: 85% (1570/1846) Updating files: 86% (1588/1846) Updating files: 87% (1607/1846) Updating files: 88% (1625/1846) Updating files: 89% (1643/1846) Updating files: 90% (1662/1846) Updating files: 91% (1680/1846) Updating files: 92% (1699/1846) Updating files: 93% (1717/1846) Updating files: 94% (1736/1846) Updating files: 95% (1754/1846) Updating files: 96% (1773/1846) Updating files: 97% (1791/1846) Updating files: 98% (1810/1846) Updating files: 99% (1828/1846) Updating files: 100% (1846/1846) Updating files: 100% (1846/1846), done. [INFO] started tweaking git repo https://github.com/hungtrungthinh/Open-NGFW [INFO] finished tweaking git repo https://github.com/hungtrungthinh/Open-NGFW [INFO] tweaked toml for git repo https://github.com/hungtrungthinh/Open-NGFW written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hungtrungthinh/Open-NGFW on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hungtrungthinh/Open-NGFW 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cb3418b9f8a14a3b0868bd13aa7c2c9f079ad3f7ec237a23960ae5c75083d82 [INFO] running `Command { std: "docker" "start" "-a" "6cb3418b9f8a14a3b0868bd13aa7c2c9f079ad3f7ec237a23960ae5c75083d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cb3418b9f8a14a3b0868bd13aa7c2c9f079ad3f7ec237a23960ae5c75083d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb3418b9f8a14a3b0868bd13aa7c2c9f079ad3f7ec237a23960ae5c75083d82", kill_on_drop: false }` [INFO] [stdout] 6cb3418b9f8a14a3b0868bd13aa7c2c9f079ad3f7ec237a23960ae5c75083d82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2c18e523a81e68dd9fdb008303cd9d54025390ffa8a411032de3130c29a17c8 [INFO] running `Command { std: "docker" "start" "-a" "c2c18e523a81e68dd9fdb008303cd9d54025390ffa8a411032de3130c29a17c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pnet_base v0.35.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pnet_sys v0.35.0 [INFO] [stderr] Compiling pnet_macros_support v0.35.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pnet_packet v0.35.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling pnet_datalink v0.35.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling pnet_transport v0.35.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling open-ngfw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/firewall.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/firewall.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/firewall.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogType` [INFO] [stdout] --> src/firewall.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::logging::{LogManager, LogType, LogMetadata}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/api.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | response::{Html, Json}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NatType` [INFO] [stdout] --> src/api.rs:12:295 [INFO] [stdout] | [INFO] [stdout] 12 | ... WifiSsid, RuleAction, Protocol, Direction, LogEntry, NatRule, NatType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> src/logging.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/logging.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::time::{interval, sleep}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/logging.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> src/logging.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/firewall_db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_if_addrs::get_if_addrs` [INFO] [stdout] --> src/network_db.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use get_if_addrs::get_if_addrs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogType` [INFO] [stdout] --> src/main.rs:22:115 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::logging::{LogManager, LogConfig, RotationConfig, RetentionConfig, PerformanceConfig, RotationInterval, LogType, LogMetadata}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `firewall` [INFO] [stdout] --> src/api.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | State((firewall, network_manager, log_manager)): State, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_firewall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network_manager` [INFO] [stdout] --> src/api.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | State((firewall, network_manager, log_manager)): State, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_port` is assigned to, but never used [INFO] [stdout] --> src/network.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | let mut found_port = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_port` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `found_supported` is assigned to, but never used [INFO] [stdout] --> src/network.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 479 | let mut found_supported = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_found_supported` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_port` is never read [INFO] [stdout] --> src/network.rs:486:29 [INFO] [stdout] | [INFO] [stdout] 486 | ... found_port = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `found_supported` is never read [INFO] [stdout] --> src/network.rs:495:29 [INFO] [stdout] | [INFO] [stdout] 495 | ... found_supported = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/logging.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | let config = self.config.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / for line in content.lines() { [INFO] [stdout] 71 | | if line.starts_with("PRETTY_NAME=") { [INFO] [stdout] 72 | | return line.trim_start_matches("PRETTY_NAME=").trim_matches('"').to_string(); [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____________^ expected `String`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 74 ~ } [INFO] [stdout] 75 + /* `std::string::String` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `open-ngfw` (bin "open-ngfw") due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2c18e523a81e68dd9fdb008303cd9d54025390ffa8a411032de3130c29a17c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2c18e523a81e68dd9fdb008303cd9d54025390ffa8a411032de3130c29a17c8", kill_on_drop: false }` [INFO] [stdout] c2c18e523a81e68dd9fdb008303cd9d54025390ffa8a411032de3130c29a17c8