[INFO] cloning repository https://github.com/ethanbissbort/flux-framework-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ethanbissbort/flux-framework-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanbissbort%2Fflux-framework-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanbissbort%2Fflux-framework-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2e875a95c0d750cbd8c85cc0fe8263adbafe71a [INFO] testing ethanbissbort/flux-framework-rust against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fethanbissbort%2Fflux-framework-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ethanbissbort/flux-framework-rust [INFO] finished tweaking git repo https://github.com/ethanbissbort/flux-framework-rust [INFO] tweaked toml for git repo https://github.com/ethanbissbort/flux-framework-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ethanbissbort/flux-framework-rust on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ethanbissbort/flux-framework-rust 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v6.0.3 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded ssh-key v0.6.7 [INFO] [stderr] Downloaded ssh2 v0.9.5 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded pnet_macros_support v0.34.0 [INFO] [stderr] Downloaded no-std-net v0.6.0 [INFO] [stderr] Downloaded pnet_transport v0.34.0 [INFO] [stderr] Downloaded pnet_packet v0.34.0 [INFO] [stderr] Downloaded pnet_macros v0.34.0 [INFO] [stderr] Downloaded pnet_base v0.34.0 [INFO] [stderr] Downloaded pnet_datalink v0.34.0 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] [stderr] Downloaded execute v0.2.13 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded execute-command-tokens v0.1.7 [INFO] [stderr] Downloaded execute-command-macro v0.1.9 [INFO] [stderr] Downloaded clap_complete v4.5.52 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded libz-sys v1.1.22 [INFO] [stderr] Downloaded pnet_sys v0.34.0 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded pnet v0.34.0 [INFO] [stderr] Downloaded execute-command-macro-impl v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 267f32c2b11a99014e2cf8651819bc994166a2985718c9f77c88e542a8ee2221 [INFO] running `Command { std: "docker" "start" "-a" "267f32c2b11a99014e2cf8651819bc994166a2985718c9f77c88e542a8ee2221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "267f32c2b11a99014e2cf8651819bc994166a2985718c9f77c88e542a8ee2221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267f32c2b11a99014e2cf8651819bc994166a2985718c9f77c88e542a8ee2221", kill_on_drop: false }` [INFO] [stdout] 267f32c2b11a99014e2cf8651819bc994166a2985718c9f77c88e542a8ee2221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 807e9228ba849ae7e52479ee5b1ccfe7ecff15285dba1a25594453b5154545dd [INFO] running `Command { std: "docker" "start" "-a" "807e9228ba849ae7e52479ee5b1ccfe7ecff15285dba1a25594453b5154545dd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pnet_base v0.34.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling pnet_macros_support v0.34.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [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 sha2 v0.10.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pnet_sys v0.34.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling execute-command-tokens v0.1.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling ssh-encoding v0.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling pnet v0.34.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ssh-cipher v0.2.0 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pnet_macros v0.34.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling execute-command-macro-impl v0.1.10 [INFO] [stderr] Compiling execute-command-macro v0.1.9 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling execute v0.2.13 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pnet_packet v0.34.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling ssh-key v0.6.7 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling clap_complete v4.5.52 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pnet_transport v0.34.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling pnet_datalink v0.34.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling flux-framework v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prompt_input` [INFO] [stdout] --> src/modules/timezone.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | user_input::{prompt_input, prompt_with_default}, [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 variable: `required_mb` [INFO] [stdout] --> src/helpers/file_ops.rs:409:37 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn check_disk_space(path: &str, required_mb: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_mb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/helpers/file_ops.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | if let Ok(metadata) = std::fs::metadata(path) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_fw` [INFO] [stdout] --> src/modules/firewall.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let default_fw = if distro.is_debian_based() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_fw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/hostname.rs:79:60 [INFO] [stdout] | [INFO] [stdout] 79 | async fn execute_hostname(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable_cloud` [INFO] [stdout] --> src/modules/netdata.rs:166:54 [INFO] [stdout] | [INFO] [stdout] 166 | async fn configure_netdata(&self, web_port: u16, enable_cloud: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_cloud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/network.rs:107:59 [INFO] [stdout] | [INFO] [stdout] 107 | async fn execute_network(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distro` [INFO] [stdout] --> src/modules/network.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let distro = detect_distro()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/network.rs:374:56 [INFO] [stdout] | [INFO] [stdout] 374 | async fn configure_interface_networkmanager(&self, config: &NetworkConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/update.rs:102:58 [INFO] [stdout] | [INFO] [stdout] 102 | async fn execute_update(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/modules/update.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | for (i, package) in packages.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distro` [INFO] [stdout] --> src/modules/update.rs:435:38 [INFO] [stdout] | [INFO] [stdout] 435 | fn get_essential_packages(&self, distro: &Distribution, include_dev: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_service_ports` is never used [INFO] [stdout] --> src/modules/firewall.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl FirewallModule { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_service_ports(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_user_from_groups` is never used [INFO] [stdout] --> src/modules/user.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 25 | impl UserModule { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | async fn remove_user_from_groups(&self, username: &str, groups: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/workflows/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BaseWorkflow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 105 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/helpers/validation.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | if port_num == 0 || port_num > 65535 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "807e9228ba849ae7e52479ee5b1ccfe7ecff15285dba1a25594453b5154545dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807e9228ba849ae7e52479ee5b1ccfe7ecff15285dba1a25594453b5154545dd", kill_on_drop: false }` [INFO] [stdout] 807e9228ba849ae7e52479ee5b1ccfe7ecff15285dba1a25594453b5154545dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09d73fe1b45b4867274519f8fe54451b3e5a3f4647885d2476a696c1417f0d3f [INFO] running `Command { std: "docker" "start" "-a" "09d73fe1b45b4867274519f8fe54451b3e5a3f4647885d2476a696c1417f0d3f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling h2 v0.3.26 [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 regex v1.11.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling pnet_macros v0.34.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling pnet_packet v0.34.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling pnet_transport v0.34.0 [INFO] [stderr] Compiling pnet v0.34.0 [INFO] [stderr] Compiling flux-framework v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prompt_input` [INFO] [stdout] --> src/modules/timezone.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | user_input::{prompt_input, prompt_with_default}, [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 variable: `required_mb` [INFO] [stdout] --> src/helpers/file_ops.rs:409:37 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn check_disk_space(path: &str, required_mb: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_mb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/helpers/file_ops.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | if let Ok(metadata) = std::fs::metadata(path) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_fw` [INFO] [stdout] --> src/modules/firewall.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let default_fw = if distro.is_debian_based() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_fw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/hostname.rs:79:60 [INFO] [stdout] | [INFO] [stdout] 79 | async fn execute_hostname(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable_cloud` [INFO] [stdout] --> src/modules/netdata.rs:166:54 [INFO] [stdout] | [INFO] [stdout] 166 | async fn configure_netdata(&self, web_port: u16, enable_cloud: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_cloud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/network.rs:107:59 [INFO] [stdout] | [INFO] [stdout] 107 | async fn execute_network(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distro` [INFO] [stdout] --> src/modules/network.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let distro = detect_distro()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/network.rs:374:56 [INFO] [stdout] | [INFO] [stdout] 374 | async fn configure_interface_networkmanager(&self, config: &NetworkConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/update.rs:102:58 [INFO] [stdout] | [INFO] [stdout] 102 | async fn execute_update(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/modules/update.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | for (i, package) in packages.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distro` [INFO] [stdout] --> src/modules/update.rs:435:38 [INFO] [stdout] | [INFO] [stdout] 435 | fn get_essential_packages(&self, distro: &Distribution, include_dev: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prompt_input` [INFO] [stdout] --> src/modules/timezone.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | user_input::{prompt_input, prompt_with_default}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_service_ports` is never used [INFO] [stdout] --> src/modules/firewall.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl FirewallModule { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_service_ports(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_user_from_groups` is never used [INFO] [stdout] --> src/modules/user.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 25 | impl UserModule { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | async fn remove_user_from_groups(&self, username: &str, groups: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/workflows/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BaseWorkflow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 105 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/helpers/validation.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | if port_num == 0 || port_num > 65535 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `required_mb` [INFO] [stdout] --> src/helpers/file_ops.rs:409:37 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn check_disk_space(path: &str, required_mb: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_mb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/helpers/file_ops.rs:410:15 [INFO] [stdout] | [INFO] [stdout] 410 | if let Ok(metadata) = std::fs::metadata(path) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_fw` [INFO] [stdout] --> src/modules/firewall.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | let default_fw = if distro.is_debian_based() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_fw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/hostname.rs:79:60 [INFO] [stdout] | [INFO] [stdout] 79 | async fn execute_hostname(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enable_cloud` [INFO] [stdout] --> src/modules/netdata.rs:166:54 [INFO] [stdout] | [INFO] [stdout] 166 | async fn configure_netdata(&self, web_port: u16, enable_cloud: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_cloud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/network.rs:107:59 [INFO] [stdout] | [INFO] [stdout] 107 | async fn execute_network(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distro` [INFO] [stdout] --> src/modules/network.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let distro = detect_distro()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/modules/network.rs:374:56 [INFO] [stdout] | [INFO] [stdout] 374 | async fn configure_interface_networkmanager(&self, config: &NetworkConfig) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/update.rs:102:58 [INFO] [stdout] | [INFO] [stdout] 102 | async fn execute_update(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/modules/update.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | for (i, package) in packages.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distro` [INFO] [stdout] --> src/modules/update.rs:435:38 [INFO] [stdout] | [INFO] [stdout] 435 | fn get_essential_packages(&self, distro: &Distribution, include_dev: bool) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_service_ports` is never used [INFO] [stdout] --> src/modules/firewall.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl FirewallModule { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_service_ports(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_user_from_groups` is never used [INFO] [stdout] --> src/modules/user.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 25 | impl UserModule { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | async fn remove_user_from_groups(&self, username: &str, groups: &[&str]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/workflows/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BaseWorkflow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 105 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/helpers/validation.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | if port_num == 0 || port_num > 65535 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 42.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "09d73fe1b45b4867274519f8fe54451b3e5a3f4647885d2476a696c1417f0d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d73fe1b45b4867274519f8fe54451b3e5a3f4647885d2476a696c1417f0d3f", kill_on_drop: false }` [INFO] [stdout] 09d73fe1b45b4867274519f8fe54451b3e5a3f4647885d2476a696c1417f0d3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dec2a4cf06e5051419aeabc89ac30fd9e0b574afc40eafba7dbd1a92fd0a451c [INFO] running `Command { std: "docker" "start" "-a" "dec2a4cf06e5051419aeabc89ac30fd9e0b574afc40eafba7dbd1a92fd0a451c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `prompt_input` [INFO] [stderr] --> src/modules/timezone.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | user_input::{prompt_input, prompt_with_default}, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `required_mb` [INFO] [stderr] --> src/helpers/file_ops.rs:409:37 [INFO] [stderr] | [INFO] [stderr] 409 | pub fn check_disk_space(path: &str, required_mb: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_required_mb` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `metadata` [INFO] [stderr] --> src/helpers/file_ops.rs:410:15 [INFO] [stderr] | [INFO] [stderr] 410 | if let Ok(metadata) = std::fs::metadata(path) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `default_fw` [INFO] [stderr] --> src/modules/firewall.rs:421:17 [INFO] [stderr] | [INFO] [stderr] 421 | let default_fw = if distro.is_debian_based() { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_fw` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/modules/hostname.rs:79:60 [INFO] [stderr] | [INFO] [stderr] 79 | async fn execute_hostname(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `enable_cloud` [INFO] [stderr] --> src/modules/netdata.rs:166:54 [INFO] [stderr] | [INFO] [stderr] 166 | async fn configure_netdata(&self, web_port: u16, enable_cloud: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_cloud` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/modules/network.rs:107:59 [INFO] [stderr] | [INFO] [stderr] 107 | async fn execute_network(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `distro` [INFO] [stderr] --> src/modules/network.rs:279:13 [INFO] [stderr] | [INFO] [stderr] 279 | let distro = detect_distro()?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/modules/network.rs:374:56 [INFO] [stderr] | [INFO] [stderr] 374 | async fn configure_interface_networkmanager(&self, config: &NetworkConfig) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/modules/update.rs:102:58 [INFO] [stderr] | [INFO] [stderr] 102 | async fn execute_update(&self, matches: &ArgMatches, ctx: &ModuleContext<'_>) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/modules/update.rs:246:14 [INFO] [stderr] | [INFO] [stderr] 246 | for (i, package) in packages.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `distro` [INFO] [stderr] --> src/modules/update.rs:435:38 [INFO] [stderr] | [INFO] [stderr] 435 | fn get_essential_packages(&self, distro: &Distribution, include_dev: bool) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_distro` [INFO] [stderr] [INFO] [stderr] warning: method `get_service_ports` is never used [INFO] [stderr] --> src/modules/firewall.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 32 | impl FirewallModule { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 245 | fn get_service_ports(&self) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `remove_user_from_groups` is never used [INFO] [stderr] --> src/modules/user.rs:205:14 [INFO] [stderr] | [INFO] [stderr] 25 | impl UserModule { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 205 | async fn remove_user_from_groups(&self, username: &str, groups: &[&str]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `description` are never read [INFO] [stderr] --> src/workflows/mod.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct BaseWorkflow { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 105 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 106 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/helpers/validation.rs:71:25 [INFO] [stderr] | [INFO] [stderr] 71 | if port_num == 0 || port_num > 65535 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `flux-framework` (lib) generated 16 warnings (run `cargo fix --lib -p flux-framework` to apply 12 suggestions) [INFO] [stderr] warning: `flux-framework` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flux_framework-161030d9807d359a) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test modules::network::tests::test_netmask_to_prefix_class_b_subnets ... ok [INFO] [stdout] test modules::network::tests::test_netmask_to_prefix_class_c_subnets ... ok [INFO] [stdout] test helpers::validation::tests::test_validate_hostname ... ok [INFO] [stdout] test modules::network::tests::test_prefix_to_netmask ... ok [INFO] [stdout] test modules::network::tests::test_netmask_to_prefix_edge_cases ... ok [INFO] [stdout] test modules::network::tests::test_normalize_netmask ... ok [INFO] [stdout] test modules::network::tests::test_roundtrip_conversion ... ok [INFO] [stdout] test modules::network::tests::test_netmask_to_prefix_common_masks ... ok [INFO] [stdout] test helpers::validation::tests::test_validate_ip ... ok [INFO] [stdout] test helpers::validation::tests::test_validate_username ... ok [INFO] [stdout] test helpers::file_ops::tests::test_backup_file ... ok [INFO] [stdout] test modules::network::tests::test_netmask_to_prefix_class_a_subnets ... ok [INFO] [stdout] test helpers::file_ops::tests::test_safe_write_file ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/flux-e9d7edf17954701a) [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/test_config.rs (/opt/rustwide/target/debug/deps/test_config-37a9e0186da6c8ce) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_config_get_set ... ok [INFO] [stdout] test test_config_invalid_port ... ok [INFO] [stdout] test test_config_module_config ... ok [INFO] [stdout] test test_default_config ... ok [INFO] [stdout] test test_general_config_default ... ok [INFO] [stdout] test test_config_all ... ok [INFO] [stdout] test test_config_invalid_boolean ... ok [INFO] [stdout] test test_config_save_load ... ok [INFO] [stderr] Running tests/test_error.rs (/opt/rustwide/target/debug/deps/test_error-85cf1a30720874dc) [INFO] [stdout] test test_config_from_nonexistent_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_validation.rs (/opt/rustwide/target/debug/deps/test_validation-99aba6c981c5095f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_error_propagation ... ok [INFO] [stdout] test test_io_error_conversion ... ok [INFO] [stdout] test test_error_creation ... ok [INFO] [stdout] test test_result_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_ip_network_validation ... ok [INFO] [stdout] test test_ip_validation ... ok [INFO] [stdout] test test_ssh_key_validation ... ok [INFO] [stdout] test test_path_validation ... ok [INFO] [stdout] test test_email_validation ... ok [INFO] [stdout] test test_port_validation ... ok [INFO] [stdout] test test_url_validation ... ok [INFO] [stdout] test test_vlan_validation ... ok [INFO] [stdout] test test_hostname_validation ... ok [INFO] [stdout] test test_github_username_validation ... ok [INFO] [stdout] test test_username_validation ... ok [INFO] [stderr] Doc-tests flux_framework [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dec2a4cf06e5051419aeabc89ac30fd9e0b574afc40eafba7dbd1a92fd0a451c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec2a4cf06e5051419aeabc89ac30fd9e0b574afc40eafba7dbd1a92fd0a451c", kill_on_drop: false }` [INFO] [stdout] dec2a4cf06e5051419aeabc89ac30fd9e0b574afc40eafba7dbd1a92fd0a451c