[INFO] cloning repository https://github.com/almedso/ocs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/almedso/ocs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falmedso%2Focs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falmedso%2Focs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f94cf9213ca31b37e2e99783972b9d9c98ed1088 [INFO] building almedso/ocs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falmedso%2Focs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/almedso/ocs [INFO] finished tweaking git repo https://github.com/almedso/ocs [INFO] tweaked toml for git repo https://github.com/almedso/ocs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/almedso/ocs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/almedso/ocs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded tokei v12.1.2 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded indicatif v0.17.8 [INFO] [stderr] Downloaded clap v4.5.17 [INFO] [stderr] Downloaded clap_builder v4.5.17 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded grep-searcher v0.1.14 [INFO] [stderr] Downloaded cc v1.1.5 [INFO] [stderr] Downloaded pest v2.7.13 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded dashmap v4.0.2 [INFO] [stderr] Downloaded pest_meta v2.7.13 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded pest_derive v2.7.13 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded bstr v1.10.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded pest_generator v2.7.13 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.0 [INFO] [stderr] Downloaded csv v1.3.0 [INFO] [stderr] Downloaded libz-sys v1.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e93623e5ea029e2b4c9e3e11bbce56d1816e5b4c537ef36bc14dcc728d0ce831 [INFO] running `Command { std: "docker" "start" "-a" "e93623e5ea029e2b4c9e3e11bbce56d1816e5b4c537ef36bc14dcc728d0ce831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e93623e5ea029e2b4c9e3e11bbce56d1816e5b4c537ef36bc14dcc728d0ce831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93623e5ea029e2b4c9e3e11bbce56d1816e5b4c537ef36bc14dcc728d0ce831", kill_on_drop: false }` [INFO] [stdout] e93623e5ea029e2b4c9e3e11bbce56d1816e5b4c537ef36bc14dcc728d0ce831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f7b0c797b32e926f335a30d19965a7ff5a96a9ce9ff5275cea46c99decaa9f [INFO] running `Command { std: "docker" "start" "-a" "17f7b0c797b32e926f335a30d19965a7ff5a96a9ce9ff5275cea46c99decaa9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling grep-searcher v0.1.14 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokei v12.1.2 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling ocs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/git.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | for commit in &args.commit { [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] 13 - for commit in &args.commit { [INFO] [stdout] 13 + while let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 13 - for commit in &args.commit { [INFO] [stdout] 13 + if let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [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/git.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | for commit in &args.commit { [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] 13 - for commit in &args.commit { [INFO] [stdout] 13 + while let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 13 - for commit in &args.commit { [INFO] [stdout] 13 + if let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "17f7b0c797b32e926f335a30d19965a7ff5a96a9ce9ff5275cea46c99decaa9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f7b0c797b32e926f335a30d19965a7ff5a96a9ce9ff5275cea46c99decaa9f", kill_on_drop: false }` [INFO] [stdout] 17f7b0c797b32e926f335a30d19965a7ff5a96a9ce9ff5275cea46c99decaa9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c74091ff9c093052aff01a5bc3b4adebe40cd8c7aea8dc3f6f280d0e0f0b4f1 [INFO] running `Command { std: "docker" "start" "-a" "7c74091ff9c093052aff01a5bc3b4adebe40cd8c7aea8dc3f6f280d0e0f0b4f1", kill_on_drop: false }` [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/git.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | for commit in &args.commit { [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] 13 - for commit in &args.commit { [INFO] [stdout] 13 + while let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 13 - for commit in &args.commit { [INFO] [stdout] 13 + if let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ocs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/git.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | for commit in &args.commit { [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] 13 - for commit in &args.commit { [INFO] [stdout] 13 + while let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 13 - for commit in &args.commit { [INFO] [stdout] 13 + if let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [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/git.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | for commit in &args.commit { [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] 13 - for commit in &args.commit { [INFO] [stdout] 13 + while let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 13 - for commit in &args.commit { [INFO] [stdout] 13 + if let Some(commit) = &args.commit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/progress.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &PROGRESS.commit_analysing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(pb) = &raw const PROGRESS.commit_analysing { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "7c74091ff9c093052aff01a5bc3b4adebe40cd8c7aea8dc3f6f280d0e0f0b4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c74091ff9c093052aff01a5bc3b4adebe40cd8c7aea8dc3f6f280d0e0f0b4f1", kill_on_drop: false }` [INFO] [stdout] 7c74091ff9c093052aff01a5bc3b4adebe40cd8c7aea8dc3f6f280d0e0f0b4f1