[INFO] fetching crate wrestic-rs 1.0.0... [INFO] testing wrestic-rs-1.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wrestic-rs 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wrestic-rs 1.0.0 [INFO] finished tweaking crates.io crate wrestic-rs 1.0.0 [INFO] tweaked toml for crates.io crate wrestic-rs 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wrestic-rs 1.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wrestic-rs 1.0.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded color-print-proc-macro v0.3.5 [INFO] [stderr] Downloaded is-terminal v0.4.10 [INFO] [stderr] Downloaded cmd_lib_macros v1.9.3 [INFO] [stderr] Downloaded any-object-storage v0.1.0 [INFO] [stderr] Downloaded clap_complete v4.5.1 [INFO] [stderr] Downloaded zeroize v1.6.0 [INFO] [stderr] Downloaded async-trait v0.1.73 [INFO] [stderr] Downloaded tar v0.4.40 [INFO] [stderr] Downloaded indicatif v0.17.8 [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded pest v2.7.4 [INFO] [stderr] Downloaded regex-automata v0.4.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded syn v2.0.48 [INFO] [stderr] Downloaded pest_derive v2.7.4 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.76 [INFO] [stderr] Downloaded flate2 v1.0.28 [INFO] [stderr] Downloaded portable-atomic v1.4.3 [INFO] [stderr] Downloaded os_pipe v1.1.5 [INFO] [stderr] Downloaded tempfile v3.8.0 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded which v6.0.1 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded sudo v0.6.0 [INFO] [stderr] Downloaded env_logger v0.10.1 [INFO] [stderr] Downloaded color-print v0.3.5 [INFO] [stderr] Downloaded ucd-trie v0.1.6 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded pest_generator v2.7.4 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded filetime v0.2.22 [INFO] [stderr] Downloaded xattr v1.0.1 [INFO] [stderr] Downloaded cmd_lib v1.9.3 [INFO] [stderr] Downloaded pest_meta v2.7.4 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c7cc5285c42fac1d551aac71461360898346ec4fc5cf6b0619176b467d5c58f [INFO] running `Command { std: "docker" "start" "-a" "4c7cc5285c42fac1d551aac71461360898346ec4fc5cf6b0619176b467d5c58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c7cc5285c42fac1d551aac71461360898346ec4fc5cf6b0619176b467d5c58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7cc5285c42fac1d551aac71461360898346ec4fc5cf6b0619176b467d5c58f", kill_on_drop: false }` [INFO] [stdout] 4c7cc5285c42fac1d551aac71461360898346ec4fc5cf6b0619176b467d5c58f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cfeba5fc6f17cbab0eda4ca47a44c5f0936be8f9f56d187f353a9b00f20e754 [INFO] running `Command { std: "docker" "start" "-a" "1cfeba5fc6f17cbab0eda4ca47a44c5f0936be8f9f56d187f353a9b00f20e754", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anstream v0.6.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling faccess v0.2.4 [INFO] [stderr] Compiling xattr v1.0.1 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling sudo v0.6.0 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling color-print-proc-macro v0.3.5 [INFO] [stderr] Compiling cmd_lib_macros v1.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling color-print v0.3.5 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling pest v2.7.4 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling cmd_lib v1.9.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling clap_complete v4.5.1 [INFO] [stderr] Compiling pest_meta v2.7.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling pest_generator v2.7.4 [INFO] [stderr] Compiling pest_derive v2.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling any-object-storage v0.1.0 [INFO] [stderr] Compiling wrestic-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `exec` that must be used [INFO] [stdout] --> src/modules/update.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | / Command::new("sudo") [INFO] [stdout] 59 | | .arg("-E") [INFO] [stdout] 60 | | .arg("tar") [INFO] [stdout] 61 | | .arg("-xvf") [INFO] [stdout] ... | [INFO] [stdout] 64 | | .arg(extract_path_parent.to_str().unwrap()) [INFO] [stdout] 65 | | .exec(); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = Command::new("sudo") [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/utils/set_environment_variables.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | for env in &setting.env { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 8 - for env in &setting.env { [INFO] [stdout] 8 + while let Some(env) = &setting.env { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 8 - for env in &setting.env { [INFO] [stdout] 8 + if let Some(env) = &setting.env { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.48s [INFO] running `Command { std: "docker" "inspect" "1cfeba5fc6f17cbab0eda4ca47a44c5f0936be8f9f56d187f353a9b00f20e754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfeba5fc6f17cbab0eda4ca47a44c5f0936be8f9f56d187f353a9b00f20e754", kill_on_drop: false }` [INFO] [stdout] 1cfeba5fc6f17cbab0eda4ca47a44c5f0936be8f9f56d187f353a9b00f20e754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 583e5946f2dbad8c7e0045da695a700896f1f1abdf81bbefadd545f3e2429b2d [INFO] running `Command { std: "docker" "start" "-a" "583e5946f2dbad8c7e0045da695a700896f1f1abdf81bbefadd545f3e2429b2d", kill_on_drop: false }` [INFO] [stderr] Compiling wrestic-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `exec` that must be used [INFO] [stdout] --> src/modules/update.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | / Command::new("sudo") [INFO] [stdout] 59 | | .arg("-E") [INFO] [stdout] 60 | | .arg("tar") [INFO] [stdout] 61 | | .arg("-xvf") [INFO] [stdout] ... | [INFO] [stdout] 64 | | .arg(extract_path_parent.to_str().unwrap()) [INFO] [stdout] 65 | | .exec(); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = Command::new("sudo") [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/utils/set_environment_variables.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | for env in &setting.env { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 8 - for env in &setting.env { [INFO] [stdout] 8 + while let Some(env) = &setting.env { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 8 - for env in &setting.env { [INFO] [stdout] 8 + if let Some(env) = &setting.env { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "583e5946f2dbad8c7e0045da695a700896f1f1abdf81bbefadd545f3e2429b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583e5946f2dbad8c7e0045da695a700896f1f1abdf81bbefadd545f3e2429b2d", kill_on_drop: false }` [INFO] [stdout] 583e5946f2dbad8c7e0045da695a700896f1f1abdf81bbefadd545f3e2429b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e39828698841d7f2ed6a7bc900ec08a4fb5f496f8724f8cb121bbd991dc1057b [INFO] running `Command { std: "docker" "start" "-a" "e39828698841d7f2ed6a7bc900ec08a4fb5f496f8724f8cb121bbd991dc1057b", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `exec` that must be used [INFO] [stderr] --> src/modules/update.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | / Command::new("sudo") [INFO] [stderr] 59 | | .arg("-E") [INFO] [stderr] 60 | | .arg("tar") [INFO] [stderr] 61 | | .arg("-xvf") [INFO] [stderr] ... | [INFO] [stderr] 64 | | .arg(extract_path_parent.to_str().unwrap()) [INFO] [stderr] 65 | | .exec(); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 58 | let _ = Command::new("sudo") [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/utils/set_environment_variables.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | for env in &setting.env { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 8 - for env in &setting.env { [INFO] [stderr] 8 + while let Some(env) = &setting.env { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 8 - for env in &setting.env { [INFO] [stderr] 8 + if let Some(env) = &setting.env { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wrestic-rs` (bin "wrestic-rs" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wrestic_rs-f04900f1ae2a56ee) [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" "e39828698841d7f2ed6a7bc900ec08a4fb5f496f8724f8cb121bbd991dc1057b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39828698841d7f2ed6a7bc900ec08a4fb5f496f8724f8cb121bbd991dc1057b", kill_on_drop: false }` [INFO] [stdout] e39828698841d7f2ed6a7bc900ec08a4fb5f496f8724f8cb121bbd991dc1057b